prime/asm/Kyoto/Particles/CParticleElectric.s

5282 lines
258 KiB
ArmAsm

.include "macros.inc"
.section .data
.balign 8
.global lbl_803EF7B8
lbl_803EF7B8:
# ROM: 0x3EC7B8
.4byte 0
.4byte 0
.4byte __dt__17CParticleElectricFv
.4byte Update__17CParticleElectricFd
.4byte Render__17CParticleElectricFv
.4byte SetOrientation__17CParticleElectricFRC12CTransform4f
.4byte SetTranslation__17CParticleElectricFRC9CVector3f
.4byte SetGlobalOrientation__17CParticleElectricFRC12CTransform4f
.4byte SetGlobalTranslation__17CParticleElectricFRC9CVector3f
.4byte SetGlobalScale__17CParticleElectricFRC9CVector3f
.4byte SetLocalScale__17CParticleElectricFRC9CVector3f
.4byte SetParticleEmission__17CParticleElectricFb
.4byte SetModulationColor__17CParticleElectricFRC6CColor
.4byte SetGeneratorRate__12CParticleGenFf
.4byte GetOrientation__17CParticleElectricCFv
.4byte GetTranslation__17CParticleElectricCFv
.4byte GetGlobalOrientation__17CParticleElectricCFv
.4byte GetGlobalTranslation__17CParticleElectricCFv
.4byte GetGlobalScale__17CParticleElectricFv
.4byte GetParticleEmission__17CParticleElectricFv
.4byte GetModulationColor__17CParticleElectricFv
.4byte GetGeneratorRate__12CParticleGenCFv
.4byte IsSystemDeletable__17CParticleElectricFv
.4byte GetBounds__17CParticleElectricFv
.4byte GetParticleCount__17CParticleElectricFv
.4byte SystemHasLight__17CParticleElectricFv
.4byte GetLight__17CParticleElectricFv
.4byte DestroyParticles__17CParticleElectricFv
.4byte AddModifier__12CParticleGenFP5CWarp
.4byte Get4CharId__17CParticleElectricFv
.section .sdata
.balign 8
.global lbl_805A8A10
lbl_805A8A10:
# ROM: 0x3F63B0
.2byte 0x00000063
.global lbl_805A8A12
lbl_805A8A12:
# ROM: 0x3F63B2
.2byte 0x00000000
.global lbl_805A8A14
lbl_805A8A14:
# ROM: 0x3F63B4
.4byte 0
.global lbl_805A8A18
lbl_805A8A18:
# ROM: 0x3F63B8
.4byte 0
.4byte 0
.section .text, "ax"
.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, mskInvertedBox__6CAABox@ha
/* 8035F2E8 0035C248 38 83 67 54 */ addi r4, r3, mskInvertedBox__6CAABox@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, mskInvertedBox__6CAABox@ha
/* 8035F324 0035C284 38 83 67 54 */ addi r4, r3, mskInvertedBox__6CAABox@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, mGlobalTimer__10CStopwatch+4@sda21(r13)
/* 80360864 0035D7C4 80 0D A6 78 */ lwz r0, mGlobalTimer__10CStopwatch@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, mGlobalTimer__10CStopwatch+4@sda21(r13)
/* 80360964 0035D8C4 80 0D A6 78 */ lwz r0, mGlobalTimer__10CStopwatch@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, sZeroVector__9CVector3f@ha
/* 803610D8 0035E038 38 00 00 00 */ li r0, 0
/* 803610DC 0035E03C 3B E4 66 A0 */ addi r31, r4, sZeroVector__9CVector3f@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, sZeroVector__9CVector3f@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, sZeroVector__9CVector3f@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, sUpVector__9CVector3f@ha
/* 803617E8 0035E748 38 83 66 F4 */ addi r4, r3, sUpVector__9CVector3f@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, sUpVector__9CVector3f@ha
/* 803618E0 0035E840 38 C3 66 F4 */ addi r6, r3, sUpVector__9CVector3f@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, sUpVector__9CVector3f@ha
/* 803619A4 0035E904 38 C3 66 F4 */ addi r6, r3, sUpVector__9CVector3f@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__Q24rstl80list<Q217CParticleElectric24CParticleElectricManager,Q24rstl17rmemory_allocator>Fv"
/* 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<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>,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, __vt__12CParticleGen@ha
/* 80361ECC 0035EE2C 38 7E 00 04 */ addi r3, r30, 4
/* 80361ED0 0035EE30 38 04 DD 08 */ addi r0, r4, __vt__12CParticleGen@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__Q24rstl40list<P5CWarp,Q24rstl17rmemory_allocator>Fv"
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<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>,32>Fv"
"__dt__Q24rstl74reserved_vector<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>,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<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>,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<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>,32>Fv"
"clear__Q24rstl74reserved_vector<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>,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<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>>__4rstlFPQ24rstl45auto_ptr<Q217CParticleElectric12CLineManager>"
/* 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<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>>__4rstlFPQ24rstl45auto_ptr<Q217CParticleElectric12CLineManager>"
"destroy<Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>>__4rstlFPQ24rstl45auto_ptr<Q217CParticleElectric12CLineManager>":
/* 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_ptr<Q217CParticleElectric12CLineManager>Fv"
/* 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_ptr<Q217CParticleElectric12CLineManager>Fv"
"__dt__Q24rstl45auto_ptr<Q217CParticleElectric12CLineManager>Fv":
/* 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, __vt__12CParticleGen@ha
/* 8036217C 0035F0DC 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80362180 0035F0E0 38 05 DD 08 */ addi r0, r5, __vt__12CParticleGen@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, sZeroVector__9CVector3f@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, sIdentity__12CTransform4f@ha
/* 803621E4 0035F144 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@l
/* 803621E8 0035F148 3B 45 66 A0 */ addi r26, r5, sZeroVector__9CVector3f@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, sIdentity__12CTransform4f@ha
/* 8036221C 0035F17C 38 7F 00 74 */ addi r3, r31, 0x74
/* 80362220 0035F180 38 84 66 70 */ addi r4, r4, sIdentity__12CTransform4f@l
/* 80362224 0035F184 4B FB 09 51 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80362228 0035F188 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 8036222C 0035F18C 3C 80 80 5A */ lis r4, sIdentity__12CTransform4f@ha
/* 80362230 0035F190 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@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, sIdentity__12CTransform4f@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, sIdentity__12CTransform4f@ha
/* 80362260 0035F1C0 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@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, sZeroVector__9CVector3f@ha
/* 8036228C 0035F1EC 38 83 66 A0 */ addi r4, r3, sZeroVector__9CVector3f@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, mskInvertedBox__6CAABox@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, mskInvertedBox__6CAABox@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, sZeroVector__9CVector3f@ha
/* 803626A8 0035F608 3B 43 66 A0 */ addi r26, r3, sZeroVector__9CVector3f@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, kUnknownType__10CCallStack@ha
/* 803626DC 0035F63C 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l
/* 803626E0 0035F640 38 C4 6A A8 */ addi r6, r4, kUnknownType__10CCallStack@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, sZeroVector__9CVector3f@ha
/* 8036278C 0035F6EC 3B 43 66 A0 */ addi r26, r3, sZeroVector__9CVector3f@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__Q24rstl36vector<f,Q24rstl17rmemory_allocator>FRCQ24rstl36vector<f,Q24rstl17rmemory_allocator>"
/* 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, mskInvertedBox__6CAABox@ha
/* 80362C8C 0035FBEC 90 17 00 24 */ stw r0, 0x24(r23)
/* 80362C90 0035FBF0 C0 03 67 54 */ lfs f0, mskInvertedBox__6CAABox@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_ptr<Q217CParticleElectric12CLineManager>Fv"
/* 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__Q24rstl80list<Q217CParticleElectric24CParticleElectricManager,Q24rstl17rmemory_allocator>Fv"
"__dt__Q24rstl80list<Q217CParticleElectric24CParticleElectricManager,Q24rstl17rmemory_allocator>Fv":
/* 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, kUnknownType__10CCallStack@ha
/* 80362E78 0035FDD8 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l
/* 80362E7C 0035FDDC 38 C4 6A A8 */ addi r6, r4, kUnknownType__10CCallStack@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
.section .sdata2, "a"
.balign 8
.global lbl_805AEA68
lbl_805AEA68:
# ROM: 0x3FB308
.float 1.0
.global lbl_805AEA6C
lbl_805AEA6C:
# ROM: 0x3FB30C
.4byte 0x7F7FFFFF
.global lbl_805AEA70
lbl_805AEA70:
# ROM: 0x3FB310
.4byte 0xFF7FFFFF
.global lbl_805AEA74
lbl_805AEA74:
# ROM: 0x3FB314
.4byte 0
.global lbl_805AEA78
lbl_805AEA78:
# ROM: 0x3FB318
.double 4.503601774854144E15
.global lbl_805AEA80
lbl_805AEA80:
# ROM: 0x3FB320
.4byte 0x3F911111
.4byte 0x11111111
.global lbl_805AEA88
lbl_805AEA88:
# ROM: 0x3FB328
.float 0.5
.global lbl_805AEA8C
lbl_805AEA8C:
# ROM: 0x3FB32C
.float 2.0
.global lbl_805AEA90
lbl_805AEA90:
# ROM: 0x3FB330
.4byte 0xBEE66666
.global lbl_805AEA94
lbl_805AEA94:
# ROM: 0x3FB334
.float 0.45
.global lbl_805AEA98
lbl_805AEA98:
# ROM: 0x3FB338
.4byte 0x3727C5AC
.global lbl_805AEA9C
lbl_805AEA9C:
# ROM: 0x3FB33C
.4byte 0x43B40000
.global lbl_805AEAA0
lbl_805AEAA0:
# ROM: 0x3FB340
.4byte 0x41800000
.global lbl_805AEAA4
lbl_805AEAA4:
# ROM: 0x3FB344
.float -1.0
.global lbl_805AEAA8
lbl_805AEAA8:
# ROM: 0x3FB348
.float 0.017453292
.4byte 0
.global lbl_805AEAB0
lbl_805AEAB0:
# ROM: 0x3FB350
.4byte 0
.4byte 0
.global lbl_805AEAB8
lbl_805AEAB8:
# ROM: 0x3FB358
.4byte 0x40400000
.4byte 0
.section .rodata
.balign 8
.global lbl_803D83E8
lbl_803D83E8:
# ROM: 0x3D53E8
.4byte 0x00000009
.4byte 0x00000001
.4byte 0x000000FF
.4byte 0
.global lbl_803D83F8
lbl_803D83F8:
# ROM: 0x3D53F8
.asciz "??(??)"
.balign 4