prime/asm/Kyoto_CWD/CRainSplashGenerator.s

1224 lines
62 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f
SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f:
/* 80269C80 00266BE0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80269C84 00266BE4 7C 08 02 A6 */ mflr r0
/* 80269C88 00266BE8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80269C8C 00266BEC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80269C90 00266BF0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80269C94 00266BF4 7C 9E 23 78 */ mr r30, r4
/* 80269C98 00266BF8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80269C9C 00266BFC 7C 7D 1B 78 */ mr r29, r3
/* 80269CA0 00266C00 3B FD 00 04 */ addi r31, r29, 4
/* 80269CA4 00266C04 48 00 00 10 */ b lbl_80269CB4
lbl_80269CA8:
/* 80269CA8 00266C08 7F E3 FB 78 */ mr r3, r31
/* 80269CAC 00266C0C 48 00 05 41 */ bl SetActive__Q220CRainSplashGenerator11SSplashLine
/* 80269CB0 00266C10 3B FF 00 18 */ addi r31, r31, 0x18
lbl_80269CB4:
/* 80269CB4 00266C14 80 1D 00 00 */ lwz r0, 0(r29)
/* 80269CB8 00266C18 1C 00 00 18 */ mulli r0, r0, 0x18
/* 80269CBC 00266C1C 7C 7D 02 14 */ add r3, r29, r0
/* 80269CC0 00266C20 38 03 00 04 */ addi r0, r3, 4
/* 80269CC4 00266C24 7C 1F 00 40 */ cmplw r31, r0
/* 80269CC8 00266C28 40 82 FF E0 */ bne lbl_80269CA8
/* 80269CCC 00266C2C C0 1E 00 00 */ lfs f0, 0(r30)
/* 80269CD0 00266C30 D0 1D 00 64 */ stfs f0, 0x64(r29)
/* 80269CD4 00266C34 C0 1E 00 04 */ lfs f0, 4(r30)
/* 80269CD8 00266C38 D0 1D 00 68 */ stfs f0, 0x68(r29)
/* 80269CDC 00266C3C C0 1E 00 08 */ lfs f0, 8(r30)
/* 80269CE0 00266C40 D0 1D 00 6C */ stfs f0, 0x6c(r29)
/* 80269CE4 00266C44 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80269CE8 00266C48 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80269CEC 00266C4C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80269CF0 00266C50 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80269CF4 00266C54 7C 08 03 A6 */ mtlr r0
/* 80269CF8 00266C58 38 21 00 20 */ addi r1, r1, 0x20
/* 80269CFC 00266C5C 4E 80 00 20 */ blr
.global IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager
IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager:
/* 80269D00 00266C60 80 03 00 00 */ lwz r0, 0(r3)
/* 80269D04 00266C64 38 A3 00 04 */ addi r5, r3, 4
/* 80269D08 00266C68 38 80 00 00 */ li r4, 0
/* 80269D0C 00266C6C 1C 00 00 18 */ mulli r0, r0, 0x18
/* 80269D10 00266C70 7C 63 02 14 */ add r3, r3, r0
/* 80269D14 00266C74 38 63 00 04 */ addi r3, r3, 4
/* 80269D18 00266C78 48 00 00 18 */ b lbl_80269D30
lbl_80269D1C:
/* 80269D1C 00266C7C 88 05 00 16 */ lbz r0, 0x16(r5)
/* 80269D20 00266C80 38 A5 00 18 */ addi r5, r5, 0x18
/* 80269D24 00266C84 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 80269D28 00266C88 7C 80 03 78 */ or r0, r4, r0
/* 80269D2C 00266C8C 54 04 06 3E */ clrlwi r4, r0, 0x18
lbl_80269D30:
/* 80269D30 00266C90 7C 05 18 40 */ cmplw r5, r3
/* 80269D34 00266C94 40 82 FF E8 */ bne lbl_80269D1C
/* 80269D38 00266C98 54 83 06 3E */ clrlwi r3, r4, 0x18
/* 80269D3C 00266C9C 4E 80 00 20 */ blr
.global Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f
Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f:
/* 80269D40 00266CA0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80269D44 00266CA4 7C 08 02 A6 */ mflr r0
/* 80269D48 00266CA8 90 01 00 34 */ stw r0, 0x34(r1)
/* 80269D4C 00266CAC DB E1 00 28 */ stfd f31, 0x28(r1)
/* 80269D50 00266CB0 FF E0 10 90 */ fmr f31, f2
/* 80269D54 00266CB4 DB C1 00 20 */ stfd f30, 0x20(r1)
/* 80269D58 00266CB8 FF C0 08 90 */ fmr f30, f1
/* 80269D5C 00266CBC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80269D60 00266CC0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80269D64 00266CC4 7C 9E 23 78 */ mr r30, r4
/* 80269D68 00266CC8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80269D6C 00266CCC 7C 7D 1B 78 */ mr r29, r3
/* 80269D70 00266CD0 3B FD 00 04 */ addi r31, r29, 4
/* 80269D74 00266CD4 48 00 00 1C */ b lbl_80269D90
lbl_80269D78:
/* 80269D78 00266CD8 FC 20 F0 90 */ fmr f1, f30
/* 80269D7C 00266CDC 7F E3 FB 78 */ mr r3, r31
/* 80269D80 00266CE0 FC 40 F8 90 */ fmr f2, f31
/* 80269D84 00266CE4 7F C4 F3 78 */ mr r4, r30
/* 80269D88 00266CE8 48 00 01 DD */ bl Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f
/* 80269D8C 00266CEC 3B FF 00 18 */ addi r31, r31, 0x18
lbl_80269D90:
/* 80269D90 00266CF0 80 1D 00 00 */ lwz r0, 0(r29)
/* 80269D94 00266CF4 1C 00 00 18 */ mulli r0, r0, 0x18
/* 80269D98 00266CF8 7C 7D 02 14 */ add r3, r29, r0
/* 80269D9C 00266CFC 38 03 00 04 */ addi r0, r3, 4
/* 80269DA0 00266D00 7C 1F 00 40 */ cmplw r31, r0
/* 80269DA4 00266D04 40 82 FF D4 */ bne lbl_80269D78
/* 80269DA8 00266D08 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80269DAC 00266D0C CB E1 00 28 */ lfd f31, 0x28(r1)
/* 80269DB0 00266D10 CB C1 00 20 */ lfd f30, 0x20(r1)
/* 80269DB4 00266D14 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80269DB8 00266D18 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80269DBC 00266D1C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80269DC0 00266D20 7C 08 03 A6 */ mtlr r0
/* 80269DC4 00266D24 38 21 00 30 */ addi r1, r1, 0x30
/* 80269DC8 00266D28 4E 80 00 20 */ blr
.global Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager
Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager:
/* 80269DCC 00266D2C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80269DD0 00266D30 7C 08 02 A6 */ mflr r0
/* 80269DD4 00266D34 90 01 00 24 */ stw r0, 0x24(r1)
/* 80269DD8 00266D38 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 80269DDC 00266D3C FF E0 08 90 */ fmr f31, f1
/* 80269DE0 00266D40 93 E1 00 14 */ stw r31, 0x14(r1)
/* 80269DE4 00266D44 93 C1 00 10 */ stw r30, 0x10(r1)
/* 80269DE8 00266D48 7C 9E 23 78 */ mr r30, r4
/* 80269DEC 00266D4C 93 A1 00 0C */ stw r29, 0xc(r1)
/* 80269DF0 00266D50 7C 7D 1B 78 */ mr r29, r3
/* 80269DF4 00266D54 3B FD 00 04 */ addi r31, r29, 4
/* 80269DF8 00266D58 48 00 00 18 */ b lbl_80269E10
lbl_80269DFC:
/* 80269DFC 00266D5C FC 20 F8 90 */ fmr f1, f31
/* 80269E00 00266D60 7F E3 FB 78 */ mr r3, r31
/* 80269E04 00266D64 7F C4 F3 78 */ mr r4, r30
/* 80269E08 00266D68 48 00 02 C9 */ bl Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager
/* 80269E0C 00266D6C 3B FF 00 18 */ addi r31, r31, 0x18
lbl_80269E10:
/* 80269E10 00266D70 80 1D 00 00 */ lwz r0, 0(r29)
/* 80269E14 00266D74 1C 00 00 18 */ mulli r0, r0, 0x18
/* 80269E18 00266D78 7C 7D 02 14 */ add r3, r29, r0
/* 80269E1C 00266D7C 38 03 00 04 */ addi r0, r3, 4
/* 80269E20 00266D80 7C 1F 00 40 */ cmplw r31, r0
/* 80269E24 00266D84 40 82 FF D8 */ bne lbl_80269DFC
/* 80269E28 00266D88 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80269E2C 00266D8C CB E1 00 18 */ lfd f31, 0x18(r1)
/* 80269E30 00266D90 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80269E34 00266D94 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80269E38 00266D98 83 A1 00 0C */ lwz r29, 0xc(r1)
/* 80269E3C 00266D9C 7C 08 03 A6 */ mtlr r0
/* 80269E40 00266DA0 38 21 00 20 */ addi r1, r1, 0x20
/* 80269E44 00266DA4 4E 80 00 20 */ blr
.global __ct__Q220CRainSplashGenerator11SRainSplash
__ct__Q220CRainSplashGenerator11SRainSplash:
/* 80269E48 00266DA8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80269E4C 00266DAC 38 A0 00 01 */ li r5, 1
/* 80269E50 00266DB0 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2)
/* 80269E54 00266DB4 38 00 00 04 */ li r0, 4
/* 80269E58 00266DB8 C0 42 BB 48 */ lfs f2, lbl_805AD868@sda21(r2)
/* 80269E5C 00266DBC 34 E3 00 04 */ addic. r7, r3, 4
/* 80269E60 00266DC0 C0 22 BB 4C */ lfs f1, lbl_805AD86C@sda21(r2)
/* 80269E64 00266DC4 FC 00 18 18 */ frsp f0, f3
/* 80269E68 00266DC8 88 C2 BB 50 */ lbz r6, lbl_805AD870@sda21(r2)
/* 80269E6C 00266DCC 88 81 00 1E */ lbz r4, 0x1e(r1)
/* 80269E70 00266DD0 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18
/* 80269E74 00266DD4 D0 61 00 08 */ stfs f3, 8(r1)
/* 80269E78 00266DD8 54 88 06 3E */ clrlwi r8, r4, 0x18
/* 80269E7C 00266DDC D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80269E80 00266DE0 D0 61 00 10 */ stfs f3, 0x10(r1)
/* 80269E84 00266DE4 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80269E88 00266DE8 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80269E8C 00266DEC 98 C1 00 1C */ stb r6, 0x1c(r1)
/* 80269E90 00266DF0 98 A1 00 1D */ stb r5, 0x1d(r1)
/* 80269E94 00266DF4 98 81 00 1E */ stb r4, 0x1e(r1)
/* 80269E98 00266DF8 90 03 00 00 */ stw r0, 0(r3)
/* 80269E9C 00266DFC 41 82 00 24 */ beq lbl_80269EC0
/* 80269EA0 00266E00 D0 07 00 00 */ stfs f0, 0(r7)
/* 80269EA4 00266E04 D0 67 00 04 */ stfs f3, 4(r7)
/* 80269EA8 00266E08 D0 67 00 08 */ stfs f3, 8(r7)
/* 80269EAC 00266E0C D0 47 00 0C */ stfs f2, 0xc(r7)
/* 80269EB0 00266E10 D0 27 00 10 */ stfs f1, 0x10(r7)
/* 80269EB4 00266E14 98 C7 00 14 */ stb r6, 0x14(r7)
/* 80269EB8 00266E18 98 A7 00 15 */ stb r5, 0x15(r7)
/* 80269EBC 00266E1C 99 07 00 16 */ stb r8, 0x16(r7)
lbl_80269EC0:
/* 80269EC0 00266E20 34 E7 00 18 */ addic. r7, r7, 0x18
/* 80269EC4 00266E24 41 82 00 24 */ beq lbl_80269EE8
/* 80269EC8 00266E28 D0 07 00 00 */ stfs f0, 0(r7)
/* 80269ECC 00266E2C D0 67 00 04 */ stfs f3, 4(r7)
/* 80269ED0 00266E30 D0 67 00 08 */ stfs f3, 8(r7)
/* 80269ED4 00266E34 D0 47 00 0C */ stfs f2, 0xc(r7)
/* 80269ED8 00266E38 D0 27 00 10 */ stfs f1, 0x10(r7)
/* 80269EDC 00266E3C 98 C7 00 14 */ stb r6, 0x14(r7)
/* 80269EE0 00266E40 98 A7 00 15 */ stb r5, 0x15(r7)
/* 80269EE4 00266E44 99 07 00 16 */ stb r8, 0x16(r7)
lbl_80269EE8:
/* 80269EE8 00266E48 34 E7 00 18 */ addic. r7, r7, 0x18
/* 80269EEC 00266E4C 41 82 00 24 */ beq lbl_80269F10
/* 80269EF0 00266E50 D0 07 00 00 */ stfs f0, 0(r7)
/* 80269EF4 00266E54 D0 67 00 04 */ stfs f3, 4(r7)
/* 80269EF8 00266E58 D0 67 00 08 */ stfs f3, 8(r7)
/* 80269EFC 00266E5C D0 47 00 0C */ stfs f2, 0xc(r7)
/* 80269F00 00266E60 D0 27 00 10 */ stfs f1, 0x10(r7)
/* 80269F04 00266E64 98 C7 00 14 */ stb r6, 0x14(r7)
/* 80269F08 00266E68 98 A7 00 15 */ stb r5, 0x15(r7)
/* 80269F0C 00266E6C 99 07 00 16 */ stb r8, 0x16(r7)
lbl_80269F10:
/* 80269F10 00266E70 34 E7 00 18 */ addic. r7, r7, 0x18
/* 80269F14 00266E74 41 82 00 24 */ beq lbl_80269F38
/* 80269F18 00266E78 D0 07 00 00 */ stfs f0, 0(r7)
/* 80269F1C 00266E7C D0 67 00 04 */ stfs f3, 4(r7)
/* 80269F20 00266E80 D0 67 00 08 */ stfs f3, 8(r7)
/* 80269F24 00266E84 D0 47 00 0C */ stfs f2, 0xc(r7)
/* 80269F28 00266E88 D0 27 00 10 */ stfs f1, 0x10(r7)
/* 80269F2C 00266E8C 98 C7 00 14 */ stb r6, 0x14(r7)
/* 80269F30 00266E90 98 A7 00 15 */ stb r5, 0x15(r7)
/* 80269F34 00266E94 99 07 00 16 */ stb r8, 0x16(r7)
lbl_80269F38:
/* 80269F38 00266E98 3C 80 80 5A */ lis r4, skZero3f@ha
/* 80269F3C 00266E9C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4)
/* 80269F40 00266EA0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2)
/* 80269F44 00266EA4 D0 23 00 64 */ stfs f1, 0x64(r3)
/* 80269F48 00266EA8 C0 24 00 04 */ lfs f1, 4(r4)
/* 80269F4C 00266EAC D0 23 00 68 */ stfs f1, 0x68(r3)
/* 80269F50 00266EB0 C0 24 00 08 */ lfs f1, 8(r4)
/* 80269F54 00266EB4 D0 23 00 6C */ stfs f1, 0x6c(r3)
/* 80269F58 00266EB8 D0 03 00 70 */ stfs f0, 0x70(r3)
/* 80269F5C 00266EBC 38 21 00 20 */ addi r1, r1, 0x20
/* 80269F60 00266EC0 4E 80 00 20 */ blr
.global Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f
Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f:
/* 80269F64 00266EC4 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80269F68 00266EC8 7C 08 02 A6 */ mflr r0
/* 80269F6C 00266ECC 90 01 00 84 */ stw r0, 0x84(r1)
/* 80269F70 00266ED0 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 80269F74 00266ED4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 80269F78 00266ED8 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 80269F7C 00266EDC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 80269F80 00266EE0 DB A1 00 50 */ stfd f29, 0x50(r1)
/* 80269F84 00266EE4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0
/* 80269F88 00266EE8 DB 81 00 40 */ stfd f28, 0x40(r1)
/* 80269F8C 00266EEC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0
/* 80269F90 00266EF0 DB 61 00 30 */ stfd f27, 0x30(r1)
/* 80269F94 00266EF4 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0
/* 80269F98 00266EF8 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 80269F9C 00266EFC 7C 7B 1B 78 */ mr r27, r3
/* 80269FA0 00266F00 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2)
/* 80269FA4 00266F04 C0 83 00 00 */ lfs f4, 0(r3)
/* 80269FA8 00266F08 FF A0 08 90 */ fmr f29, f1
/* 80269FAC 00266F0C 7C 9C 23 78 */ mr r28, r4
/* 80269FB0 00266F10 FC 04 18 40 */ fcmpo cr0, f4, f3
/* 80269FB4 00266F14 40 81 00 E0 */ ble lbl_8026A094
/* 80269FB8 00266F18 C0 1B 00 0C */ lfs f0, 0xc(r27)
/* 80269FBC 00266F1C EF E2 00 32 */ fmuls f31, f2, f0
/* 80269FC0 00266F20 E0 1B A0 15 */ psq_l f0, 21(r27), 1, qr2
/* 80269FC4 00266F24 EC 1F 00 32 */ fmuls f0, f31, f0
/* 80269FC8 00266F28 EF C4 00 28 */ fsubs f30, f4, f0
/* 80269FCC 00266F2C FC 1E 18 40 */ fcmpo cr0, f30, f3
/* 80269FD0 00266F30 40 80 00 08 */ bge lbl_80269FD8
/* 80269FD4 00266F34 FF C0 18 90 */ fmr f30, f3
lbl_80269FD8:
/* 80269FD8 00266F38 EC 04 F0 28 */ fsubs f0, f4, f30
/* 80269FDC 00266F3C 88 1B 00 14 */ lbz r0, 0x14(r27)
/* 80269FE0 00266F40 C0 22 BB 58 */ lfs f1, lbl_805AD878@sda21(r2)
/* 80269FE4 00266F44 38 80 00 00 */ li r4, 0
/* 80269FE8 00266F48 1C 00 00 06 */ mulli r0, r0, 6
/* 80269FEC 00266F4C EC 00 F8 24 */ fdivs f0, f0, f31
/* 80269FF0 00266F50 54 03 06 3E */ clrlwi r3, r0, 0x18
/* 80269FF4 00266F54 EC 01 00 2A */ fadds f0, f1, f0
/* 80269FF8 00266F58 FC 00 00 1E */ fctiwz f0, f0
/* 80269FFC 00266F5C D8 01 00 08 */ stfd f0, 8(r1)
/* 8026A000 00266F60 83 C1 00 0C */ lwz r30, 0xc(r1)
/* 8026A004 00266F64 48 09 E4 B5 */ bl SetLineWidth__3CGXFUc12_GXTexOffset
/* 8026A008 00266F68 57 C5 04 3E */ clrlwi r5, r30, 0x10
/* 8026A00C 00266F6C 38 60 00 B0 */ li r3, 0xb0
/* 8026A010 00266F70 38 80 00 00 */ li r4, 0
/* 8026A014 00266F74 48 09 E5 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 8026A018 00266F78 C3 62 BB 5C */ lfs f27, lbl_805AD87C@sda21(r2)
/* 8026A01C 00266F7C 3B A0 00 00 */ li r29, 0
/* 8026A020 00266F80 C3 82 BB 58 */ lfs f28, lbl_805AD878@sda21(r2)
/* 8026A024 00266F84 3F E0 CC 01 */ lis r31, 0xcc01
/* 8026A028 00266F88 48 00 00 60 */ b lbl_8026A088
lbl_8026A02C:
/* 8026A02C 00266F8C EC 9B 07 B2 */ fmuls f4, f27, f30
/* 8026A030 00266F90 C0 5B 00 04 */ lfs f2, 4(r27)
/* 8026A034 00266F94 EC 7E E0 28 */ fsubs f3, f30, f28
/* 8026A038 00266F98 C0 1C 00 00 */ lfs f0, 0(r28)
/* 8026A03C 00266F9C C0 DB 00 10 */ lfs f6, 0x10(r27)
/* 8026A040 00266FA0 EC 3E 07 72 */ fmuls f1, f30, f29
/* 8026A044 00266FA4 EC A4 00 F2 */ fmuls f5, f4, f3
/* 8026A048 00266FA8 C0 9B 00 08 */ lfs f4, 8(r27)
/* 8026A04C 00266FAC C0 7C 00 04 */ lfs f3, 4(r28)
/* 8026A050 00266FB0 EC 1E 00 BA */ fmadds f0, f30, f2, f0
/* 8026A054 00266FB4 C0 5C 00 08 */ lfs f2, 8(r28)
/* 8026A058 00266FB8 EC A6 01 72 */ fmuls f5, f6, f5
/* 8026A05C 00266FBC EC 7E 19 3A */ fmadds f3, f30, f4, f3
/* 8026A060 00266FC0 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31)
/* 8026A064 00266FC4 EC 05 10 2A */ fadds f0, f5, f2
/* 8026A068 00266FC8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31)
/* 8026A06C 00266FCC D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31)
/* 8026A070 00266FD0 48 11 F8 E5 */ bl __cvt_fp2unsigned
/* 8026A074 00266FD4 64 60 FF FF */ oris r0, r3, 0xffff
/* 8026A078 00266FD8 EF DE F8 2A */ fadds f30, f30, f31
/* 8026A07C 00266FDC 60 00 FF 00 */ ori r0, r0, 0xff00
/* 8026A080 00266FE0 3B BD 00 01 */ addi r29, r29, 1
/* 8026A084 00266FE4 90 1F 80 00 */ stw r0, 0xCC008000@l(r31)
lbl_8026A088:
/* 8026A088 00266FE8 7C 1D F0 00 */ cmpw r29, r30
/* 8026A08C 00266FEC 41 80 FF A0 */ blt lbl_8026A02C
/* 8026A090 00266FF0 48 09 E4 F1 */ bl End__3CGXFv
lbl_8026A094:
/* 8026A094 00266FF4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 8026A098 00266FF8 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8026A09C 00266FFC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 8026A0A0 00267000 CB C1 00 60 */ lfd f30, 0x60(r1)
/* 8026A0A4 00267004 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0
/* 8026A0A8 00267008 CB A1 00 50 */ lfd f29, 0x50(r1)
/* 8026A0AC 0026700C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0
/* 8026A0B0 00267010 CB 81 00 40 */ lfd f28, 0x40(r1)
/* 8026A0B4 00267014 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0
/* 8026A0B8 00267018 CB 61 00 30 */ lfd f27, 0x30(r1)
/* 8026A0BC 0026701C BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8026A0C0 00267020 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8026A0C4 00267024 7C 08 03 A6 */ mtlr r0
/* 8026A0C8 00267028 38 21 00 80 */ addi r1, r1, 0x80
/* 8026A0CC 0026702C 4E 80 00 20 */ blr
.global Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager
Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager:
/* 8026A0D0 00267030 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8026A0D4 00267034 7C 08 02 A6 */ mflr r0
/* 8026A0D8 00267038 90 01 00 24 */ stw r0, 0x24(r1)
/* 8026A0DC 0026703C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8026A0E0 00267040 7C 9F 23 78 */ mr r31, r4
/* 8026A0E4 00267044 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8026A0E8 00267048 7C 7E 1B 78 */ mr r30, r3
/* 8026A0EC 0026704C 88 83 00 16 */ lbz r4, 0x16(r3)
/* 8026A0F0 00267050 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 8026A0F4 00267054 41 82 00 E0 */ beq lbl_8026A1D4
/* 8026A0F8 00267058 C0 BE 00 00 */ lfs f5, 0(r30)
/* 8026A0FC 0026705C C0 02 BB 60 */ lfs f0, lbl_805AD880@sda21(r2)
/* 8026A100 00267060 FC 05 00 40 */ fcmpo cr0, f5, f0
/* 8026A104 00267064 4C 40 13 82 */ cror 2, 0, 2
/* 8026A108 00267068 40 82 00 3C */ bne lbl_8026A144
/* 8026A10C 0026706C C0 42 BB 58 */ lfs f2, lbl_805AD878@sda21(r2)
/* 8026A110 00267070 C0 02 BB 68 */ lfs f0, lbl_805AD888@sda21(r2)
/* 8026A114 00267074 EC 42 28 28 */ fsubs f2, f2, f5
/* 8026A118 00267078 C0 62 BB 64 */ lfs f3, lbl_805AD884@sda21(r2)
/* 8026A11C 0026707C EC 00 01 72 */ fmuls f0, f0, f5
/* 8026A120 00267080 EC 83 00 BA */ fmadds f4, f3, f2, f0
/* 8026A124 00267084 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2
/* 8026A128 00267088 88 01 00 08 */ lbz r0, 8(r1)
/* 8026A12C 0026708C 98 1E 00 14 */ stb r0, 0x14(r30)
/* 8026A130 00267090 C0 5E 00 0C */ lfs f2, 0xc(r30)
/* 8026A134 00267094 C0 1E 00 00 */ lfs f0, 0(r30)
/* 8026A138 00267098 EC 01 00 BA */ fmadds f0, f1, f2, f0
/* 8026A13C 0026709C D0 1E 00 00 */ stfs f0, 0(r30)
/* 8026A140 002670A0 48 00 00 94 */ b lbl_8026A1D4
lbl_8026A144:
/* 8026A144 002670A4 88 7E 00 15 */ lbz r3, 0x15(r30)
/* 8026A148 002670A8 28 03 00 00 */ cmplwi r3, 0
/* 8026A14C 002670AC 41 82 00 10 */ beq lbl_8026A15C
/* 8026A150 002670B0 38 03 FF FF */ addi r0, r3, -1
/* 8026A154 002670B4 98 1E 00 15 */ stb r0, 0x15(r30)
/* 8026A158 002670B8 48 00 00 7C */ b lbl_8026A1D4
lbl_8026A15C:
/* 8026A15C 002670BC 38 00 00 00 */ li r0, 0
/* 8026A160 002670C0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2)
/* 8026A164 002670C4 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18
/* 8026A168 002670C8 C0 22 BB 6C */ lfs f1, lbl_805AD88C@sda21(r2)
/* 8026A16C 002670CC 98 9E 00 16 */ stb r4, 0x16(r30)
/* 8026A170 002670D0 C0 42 BB 70 */ lfs f2, lbl_805AD890@sda21(r2)
/* 8026A174 002670D4 D0 1E 00 00 */ stfs f0, 0(r30)
/* 8026A178 002670D8 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 8026A17C 002670DC 48 0A 83 C9 */ bl Range__9CRandom16Fff
/* 8026A180 002670E0 D0 3E 00 0C */ stfs f1, 0xc(r30)
/* 8026A184 002670E4 C0 22 BB 74 */ lfs f1, lbl_805AD894@sda21(r2)
/* 8026A188 002670E8 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 8026A18C 002670EC C0 42 BB 78 */ lfs f2, lbl_805AD898@sda21(r2)
/* 8026A190 002670F0 48 0A 83 B5 */ bl Range__9CRandom16Fff
/* 8026A194 002670F4 D0 3E 00 10 */ stfs f1, 0x10(r30)
/* 8026A198 002670F8 C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2)
/* 8026A19C 002670FC 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 8026A1A0 00267100 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2)
/* 8026A1A4 00267104 48 0A 83 A1 */ bl Range__9CRandom16Fff
/* 8026A1A8 00267108 D0 3E 00 04 */ stfs f1, 4(r30)
/* 8026A1AC 0026710C C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2)
/* 8026A1B0 00267110 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 8026A1B4 00267114 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2)
/* 8026A1B8 00267118 48 0A 83 8D */ bl Range__9CRandom16Fff
/* 8026A1BC 0026711C D0 3E 00 08 */ stfs f1, 8(r30)
/* 8026A1C0 00267120 38 80 00 01 */ li r4, 1
/* 8026A1C4 00267124 38 A0 00 02 */ li r5, 2
/* 8026A1C8 00267128 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 8026A1CC 0026712C 48 0A 83 C9 */ bl Range__9CRandom16Fii
/* 8026A1D0 00267130 98 7E 00 15 */ stb r3, 0x15(r30)
lbl_8026A1D4:
/* 8026A1D4 00267134 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8026A1D8 00267138 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8026A1DC 0026713C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8026A1E0 00267140 7C 08 03 A6 */ mtlr r0
/* 8026A1E4 00267144 38 21 00 20 */ addi r1, r1, 0x20
/* 8026A1E8 00267148 4E 80 00 20 */ blr
.global SetActive__Q220CRainSplashGenerator11SSplashLine
SetActive__Q220CRainSplashGenerator11SSplashLine:
/* 8026A1EC 0026714C 88 03 00 16 */ lbz r0, 0x16(r3)
/* 8026A1F0 00267150 38 80 00 01 */ li r4, 1
/* 8026A1F4 00267154 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8026A1F8 00267158 98 03 00 16 */ stb r0, 0x16(r3)
/* 8026A1FC 0026715C 4E 80 00 20 */ blr
.global DoDraw__20CRainSplashGeneratorCFRC12CTransform4f
DoDraw__20CRainSplashGeneratorCFRC12CTransform4f:
/* 8026A200 00267160 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8026A204 00267164 7C 08 02 A6 */ mflr r0
/* 8026A208 00267168 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2)
/* 8026A20C 0026716C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8026A210 00267170 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8026A214 00267174 7C 7F 1B 78 */ mr r31, r3
/* 8026A218 00267178 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8026A21C 0026717C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8026A220 00267180 7C 9D 23 78 */ mr r29, r4
/* 8026A224 00267184 C0 23 00 28 */ lfs f1, 0x28(r3)
/* 8026A228 00267188 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8026A22C 0026718C 4C 40 13 82 */ cror 2, 0, 2
/* 8026A230 00267190 41 82 01 74 */ beq lbl_8026A3A4
/* 8026A234 00267194 3C 60 80 3D */ lis r3, lbl_803D53F8@ha
/* 8026A238 00267198 38 63 53 F8 */ addi r3, r3, lbl_803D53F8@l
/* 8026A23C 0026719C 48 09 DB ED */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList
/* 8026A240 002671A0 38 60 00 01 */ li r3, 1
/* 8026A244 002671A4 48 09 EC 0D */ bl SetNumChans__3CGXFUc
/* 8026A248 002671A8 38 60 00 01 */ li r3, 1
/* 8026A24C 002671AC 48 09 EA 45 */ bl SetNumTevStages__3CGXFUc
/* 8026A250 002671B0 38 60 00 00 */ li r3, 0
/* 8026A254 002671B4 38 80 00 00 */ li r4, 0
/* 8026A258 002671B8 38 A0 00 01 */ li r5, 1
/* 8026A25C 002671BC 38 C0 00 01 */ li r6, 1
/* 8026A260 002671C0 38 E0 00 00 */ li r7, 0
/* 8026A264 002671C4 39 00 00 00 */ li r8, 0
/* 8026A268 002671C8 39 20 00 02 */ li r9, 2
/* 8026A26C 002671CC 48 09 EA 61 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn
/* 8026A270 002671D0 38 60 00 01 */ li r3, 1
/* 8026A274 002671D4 38 80 00 04 */ li r4, 4
/* 8026A278 002671D8 38 A0 00 05 */ li r5, 5
/* 8026A27C 002671DC 38 C0 00 00 */ li r6, 0
/* 8026A280 002671E0 48 09 E6 51 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp
/* 8026A284 002671E4 38 60 00 00 */ li r3, 0
/* 8026A288 002671E8 48 09 EB 8D */ bl SetNumTexGens__3CGXFUc
/* 8026A28C 002671EC 38 60 00 00 */ li r3, 0
/* 8026A290 002671F0 38 80 00 FF */ li r4, 0xff
/* 8026A294 002671F4 38 A0 00 FF */ li r5, 0xff
/* 8026A298 002671F8 38 C0 00 04 */ li r6, 4
/* 8026A29C 002671FC 48 09 E6 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8026A2A0 00267200 38 60 00 01 */ li r3, 1
/* 8026A2A4 00267204 38 80 00 03 */ li r4, 3
/* 8026A2A8 00267208 38 A0 00 00 */ li r5, 0
/* 8026A2AC 0026720C 48 09 E5 D1 */ bl SetZMode__3CGXFb10_GXCompareb
/* 8026A2B0 00267210 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 8026A2B4 00267214 38 60 00 00 */ li r3, 0
/* 8026A2B8 00267218 48 0A 00 01 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8026A2BC 0026721C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 8026A2C0 00267220 38 60 00 01 */ li r3, 1
/* 8026A2C4 00267224 48 09 FF F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8026A2C8 00267228 7F A3 EB 78 */ mr r3, r29
/* 8026A2CC 0026722C 48 0A 23 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 8026A2D0 00267230 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 8026A2D4 00267234 2C 00 00 00 */ cmpwi r0, 0
/* 8026A2D8 00267238 40 81 00 C0 */ ble lbl_8026A398
/* 8026A2DC 0026723C 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 8026A2E0 00267240 80 7F 00 3C */ lwz r3, 0x3c(r31)
/* 8026A2E4 00267244 7C 00 18 00 */ cmpw r0, r3
/* 8026A2E8 00267248 41 81 00 78 */ bgt lbl_8026A360
/* 8026A2EC 0026724C 1F C3 00 74 */ mulli r30, r3, 0x74
/* 8026A2F0 00267250 7C 7D 1B 78 */ mr r29, r3
/* 8026A2F4 00267254 48 00 00 24 */ b lbl_8026A318
lbl_8026A2F8:
/* 8026A2F8 00267258 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8026A2FC 0026725C C0 3F 00 30 */ lfs f1, 0x30(r31)
/* 8026A300 00267260 7C 60 F2 14 */ add r3, r0, r30
/* 8026A304 00267264 C0 5F 00 28 */ lfs f2, 0x28(r31)
/* 8026A308 00267268 38 83 00 64 */ addi r4, r3, 0x64
/* 8026A30C 0026726C 4B FF FA 35 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f
/* 8026A310 00267270 3B DE 00 74 */ addi r30, r30, 0x74
/* 8026A314 00267274 3B BD 00 01 */ addi r29, r29, 1
lbl_8026A318:
/* 8026A318 00267278 80 1F 00 04 */ lwz r0, 4(r31)
/* 8026A31C 0026727C 7C 1D 00 00 */ cmpw r29, r0
/* 8026A320 00267280 41 80 FF D8 */ blt lbl_8026A2F8
/* 8026A324 00267284 3B A0 00 00 */ li r29, 0
/* 8026A328 00267288 3B C0 00 00 */ li r30, 0
/* 8026A32C 0026728C 48 00 00 24 */ b lbl_8026A350
lbl_8026A330:
/* 8026A330 00267290 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8026A334 00267294 C0 3F 00 30 */ lfs f1, 0x30(r31)
/* 8026A338 00267298 7C 60 F2 14 */ add r3, r0, r30
/* 8026A33C 0026729C C0 5F 00 28 */ lfs f2, 0x28(r31)
/* 8026A340 002672A0 38 83 00 64 */ addi r4, r3, 0x64
/* 8026A344 002672A4 4B FF F9 FD */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f
/* 8026A348 002672A8 3B DE 00 74 */ addi r30, r30, 0x74
/* 8026A34C 002672AC 3B BD 00 01 */ addi r29, r29, 1
lbl_8026A350:
/* 8026A350 002672B0 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 8026A354 002672B4 7C 1D 00 00 */ cmpw r29, r0
/* 8026A358 002672B8 41 80 FF D8 */ blt lbl_8026A330
/* 8026A35C 002672BC 48 00 00 3C */ b lbl_8026A398
lbl_8026A360:
/* 8026A360 002672C0 1F C3 00 74 */ mulli r30, r3, 0x74
/* 8026A364 002672C4 7C 7D 1B 78 */ mr r29, r3
/* 8026A368 002672C8 48 00 00 24 */ b lbl_8026A38C
lbl_8026A36C:
/* 8026A36C 002672CC 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8026A370 002672D0 C0 3F 00 30 */ lfs f1, 0x30(r31)
/* 8026A374 002672D4 7C 60 F2 14 */ add r3, r0, r30
/* 8026A378 002672D8 C0 5F 00 28 */ lfs f2, 0x28(r31)
/* 8026A37C 002672DC 38 83 00 64 */ addi r4, r3, 0x64
/* 8026A380 002672E0 4B FF F9 C1 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f
/* 8026A384 002672E4 3B DE 00 74 */ addi r30, r30, 0x74
/* 8026A388 002672E8 3B BD 00 01 */ addi r29, r29, 1
lbl_8026A38C:
/* 8026A38C 002672EC 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 8026A390 002672F0 7C 1D 00 00 */ cmpw r29, r0
/* 8026A394 002672F4 41 80 FF D8 */ blt lbl_8026A36C
lbl_8026A398:
/* 8026A398 002672F8 38 60 00 06 */ li r3, 6
/* 8026A39C 002672FC 38 80 00 00 */ li r4, 0
/* 8026A3A0 00267300 48 09 E1 19 */ bl SetLineWidth__3CGXFUc12_GXTexOffset
lbl_8026A3A4:
/* 8026A3A4 00267304 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8026A3A8 00267308 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8026A3AC 0026730C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8026A3B0 00267310 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8026A3B4 00267314 7C 08 03 A6 */ mtlr r0
/* 8026A3B8 00267318 38 21 00 20 */ addi r1, r1, 0x20
/* 8026A3BC 0026731C 4E 80 00 20 */ blr
.global Draw__20CRainSplashGeneratorCFRC12CTransform4f
Draw__20CRainSplashGeneratorCFRC12CTransform4f:
/* 8026A3C0 00267320 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026A3C4 00267324 7C 08 02 A6 */ mflr r0
/* 8026A3C8 00267328 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026A3CC 0026732C 88 03 00 48 */ lbz r0, 0x48(r3)
/* 8026A3D0 00267330 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8026A3D4 00267334 41 82 00 08 */ beq lbl_8026A3DC
/* 8026A3D8 00267338 4B FF FE 29 */ bl DoDraw__20CRainSplashGeneratorCFRC12CTransform4f
lbl_8026A3DC:
/* 8026A3DC 0026733C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026A3E0 00267340 7C 08 03 A6 */ mtlr r0
/* 8026A3E4 00267344 38 21 00 10 */ addi r1, r1, 0x10
/* 8026A3E8 00267348 4E 80 00 20 */ blr
.global Update__20CRainSplashGeneratorFfR13CStateManager
Update__20CRainSplashGeneratorFfR13CStateManager:
/* 8026A3EC 0026734C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026A3F0 00267350 7C 08 02 A6 */ mflr r0
/* 8026A3F4 00267354 FC 40 08 90 */ fmr f2, f1
/* 8026A3F8 00267358 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026A3FC 0026735C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026A400 00267360 7C 7F 1B 78 */ mr r31, r3
/* 8026A404 00267364 80 A4 08 50 */ lwz r5, 0x850(r4)
/* 8026A408 00267368 80 C4 08 80 */ lwz r6, 0x880(r4)
/* 8026A40C 0026736C 80 E5 00 C4 */ lwz r7, 0xc4(r5)
/* 8026A410 00267370 38 A0 00 00 */ li r5, 0
/* 8026A414 00267374 D0 43 00 28 */ stfs f2, 0x28(r3)
/* 8026A418 00267378 2C 07 00 00 */ cmpwi r7, 0
/* 8026A41C 0026737C 88 03 00 48 */ lbz r0, 0x48(r3)
/* 8026A420 00267380 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 8026A424 00267384 98 03 00 48 */ stb r0, 0x48(r3)
/* 8026A428 00267388 41 82 00 40 */ beq lbl_8026A468
/* 8026A42C 0026738C 88 06 00 24 */ lbz r0, 0x24(r6)
/* 8026A430 00267390 28 00 00 00 */ cmplwi r0, 0
/* 8026A434 00267394 41 82 00 34 */ beq lbl_8026A468
/* 8026A438 00267398 C0 26 00 30 */ lfs f1, 0x30(r6)
/* 8026A43C 0026739C C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2)
/* 8026A440 002673A0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8026A444 002673A4 41 82 00 24 */ beq lbl_8026A468
/* 8026A448 002673A8 2C 07 00 02 */ cmpwi r7, 2
/* 8026A44C 002673AC 41 82 00 08 */ beq lbl_8026A454
/* 8026A450 002673B0 48 00 00 18 */ b lbl_8026A468
lbl_8026A454:
/* 8026A454 002673B4 48 00 00 29 */ bl UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff
/* 8026A458 002673B8 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 8026A45C 002673BC 38 60 00 01 */ li r3, 1
/* 8026A460 002673C0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8026A464 002673C4 98 1F 00 48 */ stb r0, 0x48(r31)
lbl_8026A468:
/* 8026A468 002673C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026A46C 002673CC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026A470 002673D0 7C 08 03 A6 */ mtlr r0
/* 8026A474 002673D4 38 21 00 10 */ addi r1, r1, 0x10
/* 8026A478 002673D8 4E 80 00 20 */ blr
.global UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff
UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff:
/* 8026A47C 002673DC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8026A480 002673E0 7C 08 02 A6 */ mflr r0
/* 8026A484 002673E4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8026A488 002673E8 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 8026A48C 002673EC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 8026A490 002673F0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026A494 002673F4 93 C1 00 08 */ stw r30, 8(r1)
/* 8026A498 002673F8 C0 02 BB 84 */ lfs f0, lbl_805AD8A4@sda21(r2)
/* 8026A49C 002673FC 7C 7E 1B 78 */ mr r30, r3
/* 8026A4A0 00267400 C0 62 BB 58 */ lfs f3, lbl_805AD878@sda21(r2)
/* 8026A4A4 00267404 FF E0 10 90 */ fmr f31, f2
/* 8026A4A8 00267408 EC 00 00 72 */ fmuls f0, f0, f1
/* 8026A4AC 0026740C C0 23 00 20 */ lfs f1, 0x20(r3)
/* 8026A4B0 00267410 7C 9F 23 78 */ mr r31, r4
/* 8026A4B4 00267414 EC 21 F8 2A */ fadds f1, f1, f31
/* 8026A4B8 00267418 EC 03 00 24 */ fdivs f0, f3, f0
/* 8026A4BC 0026741C D0 23 00 20 */ stfs f1, 0x20(r3)
/* 8026A4C0 00267420 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 8026A4C4 00267424 80 03 00 40 */ lwz r0, 0x40(r3)
/* 8026A4C8 00267428 2C 00 00 00 */ cmpwi r0, 0
/* 8026A4CC 0026742C 40 81 00 44 */ ble lbl_8026A510
/* 8026A4D0 00267430 80 DE 00 38 */ lwz r6, 0x38(r30)
/* 8026A4D4 00267434 80 BE 00 3C */ lwz r5, 0x3c(r30)
/* 8026A4D8 00267438 7C 06 28 00 */ cmpw r6, r5
/* 8026A4DC 0026743C 41 81 00 2C */ bgt lbl_8026A508
/* 8026A4E0 00267440 FC 20 F8 90 */ fmr f1, f31
/* 8026A4E4 00267444 80 DE 00 04 */ lwz r6, 4(r30)
/* 8026A4E8 00267448 48 00 00 49 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif
/* 8026A4EC 0026744C FC 20 F8 90 */ fmr f1, f31
/* 8026A4F0 00267450 80 DE 00 38 */ lwz r6, 0x38(r30)
/* 8026A4F4 00267454 7F C3 F3 78 */ mr r3, r30
/* 8026A4F8 00267458 7F E4 FB 78 */ mr r4, r31
/* 8026A4FC 0026745C 38 A0 00 00 */ li r5, 0
/* 8026A500 00267460 48 00 00 31 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif
/* 8026A504 00267464 48 00 00 0C */ b lbl_8026A510
lbl_8026A508:
/* 8026A508 00267468 FC 20 F8 90 */ fmr f1, f31
/* 8026A50C 0026746C 48 00 00 25 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif
lbl_8026A510:
/* 8026A510 00267470 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8026A514 00267474 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8026A518 00267478 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 8026A51C 0026747C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026A520 00267480 83 C1 00 08 */ lwz r30, 8(r1)
/* 8026A524 00267484 7C 08 03 A6 */ mtlr r0
/* 8026A528 00267488 38 21 00 20 */ addi r1, r1, 0x20
/* 8026A52C 0026748C 4E 80 00 20 */ blr
.global UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif
UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif:
/* 8026A530 00267490 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8026A534 00267494 7C 08 02 A6 */ mflr r0
/* 8026A538 00267498 90 01 00 34 */ stw r0, 0x34(r1)
/* 8026A53C 0026749C DB E1 00 28 */ stfd f31, 0x28(r1)
/* 8026A540 002674A0 FF E0 08 90 */ fmr f31, f1
/* 8026A544 002674A4 BF 41 00 10 */ stmw r26, 0x10(r1)
/* 8026A548 002674A8 7C BD 2B 78 */ mr r29, r5
/* 8026A54C 002674AC 1F DD 00 74 */ mulli r30, r29, 0x74
/* 8026A550 002674B0 7C 7A 1B 78 */ mr r26, r3
/* 8026A554 002674B4 7C 9B 23 78 */ mr r27, r4
/* 8026A558 002674B8 7C DC 33 78 */ mr r28, r6
/* 8026A55C 002674BC 48 00 00 64 */ b lbl_8026A5C0
lbl_8026A560:
/* 8026A560 002674C0 80 1A 00 0C */ lwz r0, 0xc(r26)
/* 8026A564 002674C4 FC 20 F8 90 */ fmr f1, f31
/* 8026A568 002674C8 7F 64 DB 78 */ mr r4, r27
/* 8026A56C 002674CC 7F E0 F2 14 */ add r31, r0, r30
/* 8026A570 002674D0 7F E3 FB 78 */ mr r3, r31
/* 8026A574 002674D4 4B FF F8 59 */ bl Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager
/* 8026A578 002674D8 7F E3 FB 78 */ mr r3, r31
/* 8026A57C 002674DC 4B FF F7 85 */ bl IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager
/* 8026A580 002674E0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8026A584 002674E4 40 82 00 34 */ bne lbl_8026A5B8
/* 8026A588 002674E8 80 7A 00 40 */ lwz r3, 0x40(r26)
/* 8026A58C 002674EC 38 03 FF FF */ addi r0, r3, -1
/* 8026A590 002674F0 90 1A 00 40 */ stw r0, 0x40(r26)
/* 8026A594 002674F4 80 7A 00 3C */ lwz r3, 0x3c(r26)
/* 8026A598 002674F8 38 03 00 01 */ addi r0, r3, 1
/* 8026A59C 002674FC 90 1A 00 3C */ stw r0, 0x3c(r26)
/* 8026A5A0 00267500 80 7A 00 3C */ lwz r3, 0x3c(r26)
/* 8026A5A4 00267504 80 1A 00 04 */ lwz r0, 4(r26)
/* 8026A5A8 00267508 7C 03 00 00 */ cmpw r3, r0
/* 8026A5AC 0026750C 41 80 00 0C */ blt lbl_8026A5B8
/* 8026A5B0 00267510 38 00 00 00 */ li r0, 0
/* 8026A5B4 00267514 90 1A 00 3C */ stw r0, 0x3c(r26)
lbl_8026A5B8:
/* 8026A5B8 00267518 3B DE 00 74 */ addi r30, r30, 0x74
/* 8026A5BC 0026751C 3B BD 00 01 */ addi r29, r29, 1
lbl_8026A5C0:
/* 8026A5C0 00267520 7C 1D E0 00 */ cmpw r29, r28
/* 8026A5C4 00267524 41 80 FF 9C */ blt lbl_8026A560
/* 8026A5C8 00267528 CB E1 00 28 */ lfd f31, 0x28(r1)
/* 8026A5CC 0026752C BB 41 00 10 */ lmw r26, 0x10(r1)
/* 8026A5D0 00267530 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8026A5D4 00267534 7C 08 03 A6 */ mtlr r0
/* 8026A5D8 00267538 38 21 00 30 */ addi r1, r1, 0x30
/* 8026A5DC 0026753C 4E 80 00 20 */ blr
.global GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi
GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi:
/* 8026A5E0 00267540 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8026A5E4 00267544 7C 08 02 A6 */ mflr r0
/* 8026A5E8 00267548 90 01 00 34 */ stw r0, 0x34(r1)
/* 8026A5EC 0026754C BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8026A5F0 00267550 7C 7A 1B 78 */ mr r26, r3
/* 8026A5F4 00267554 7C 9B 23 78 */ mr r27, r4
/* 8026A5F8 00267558 7C BC 2B 78 */ mr r28, r5
/* 8026A5FC 0026755C 88 03 00 48 */ lbz r0, 0x48(r3)
/* 8026A600 00267560 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8026A604 00267564 41 82 00 B4 */ beq lbl_8026A6B8
/* 8026A608 00267568 C0 3A 00 20 */ lfs f1, 0x20(r26)
/* 8026A60C 0026756C C0 1A 00 24 */ lfs f0, 0x24(r26)
/* 8026A610 00267570 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8026A614 00267574 40 81 00 A4 */ ble lbl_8026A6B8
/* 8026A618 00267578 80 7A 00 34 */ lwz r3, 0x34(r26)
/* 8026A61C 0026757C 7C DF 33 78 */ mr r31, r6
/* 8026A620 00267580 3B C0 00 00 */ li r30, 0
/* 8026A624 00267584 48 00 00 7C */ b lbl_8026A6A0
lbl_8026A628:
/* 8026A628 00267588 80 9A 00 40 */ lwz r4, 0x40(r26)
/* 8026A62C 0026758C 80 1A 00 04 */ lwz r0, 4(r26)
/* 8026A630 00267590 7C 04 00 00 */ cmpw r4, r0
/* 8026A634 00267594 40 80 00 78 */ bge lbl_8026A6AC
/* 8026A638 00267598 C0 3A 00 2C */ lfs f1, 0x2c(r26)
/* 8026A63C 0026759C 7F 64 DB 78 */ mr r4, r27
/* 8026A640 002675A0 7F 85 E3 78 */ mr r5, r28
/* 8026A644 002675A4 7F E6 FB 78 */ mr r6, r31
/* 8026A648 002675A8 38 FA 00 10 */ addi r7, r26, 0x10
/* 8026A64C 002675AC 48 00 03 D9 */ bl GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f
/* 8026A650 002675B0 7C 7D 1B 78 */ mr r29, r3
/* 8026A654 002675B4 C0 BA 00 1C */ lfs f5, 0x1c(r26)
/* 8026A658 002675B8 1C 1D 00 0C */ mulli r0, r29, 0xc
/* 8026A65C 002675BC C0 7A 00 18 */ lfs f3, 0x18(r26)
/* 8026A660 002675C0 C0 3A 00 14 */ lfs f1, 0x14(r26)
/* 8026A664 002675C4 7F 43 D3 78 */ mr r3, r26
/* 8026A668 002675C8 38 81 00 08 */ addi r4, r1, 8
/* 8026A66C 002675CC 7C BB 02 14 */ add r5, r27, r0
/* 8026A670 002675D0 C0 85 00 08 */ lfs f4, 8(r5)
/* 8026A674 002675D4 C0 45 00 04 */ lfs f2, 4(r5)
/* 8026A678 002675D8 C0 05 00 00 */ lfs f0, 0(r5)
/* 8026A67C 002675DC EC 85 01 32 */ fmuls f4, f5, f4
/* 8026A680 002675E0 EC 43 00 B2 */ fmuls f2, f3, f2
/* 8026A684 002675E4 EC 01 00 32 */ fmuls f0, f1, f0
/* 8026A688 002675E8 D0 81 00 10 */ stfs f4, 0x10(r1)
/* 8026A68C 002675EC D0 01 00 08 */ stfs f0, 8(r1)
/* 8026A690 002675F0 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 8026A694 002675F4 48 00 00 39 */ bl AddPoint__20CRainSplashGeneratorFRC9CVector3f
/* 8026A698 002675F8 7F A3 EB 78 */ mr r3, r29
/* 8026A69C 002675FC 3B DE 00 01 */ addi r30, r30, 1
lbl_8026A6A0:
/* 8026A6A0 00267600 80 1A 00 44 */ lwz r0, 0x44(r26)
/* 8026A6A4 00267604 7C 1E 00 00 */ cmpw r30, r0
/* 8026A6A8 00267608 41 80 FF 80 */ blt lbl_8026A628
lbl_8026A6AC:
/* 8026A6AC 0026760C 90 7A 00 34 */ stw r3, 0x34(r26)
/* 8026A6B0 00267610 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2)
/* 8026A6B4 00267614 D0 1A 00 20 */ stfs f0, 0x20(r26)
lbl_8026A6B8:
/* 8026A6B8 00267618 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 8026A6BC 0026761C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8026A6C0 00267620 7C 08 03 A6 */ mtlr r0
/* 8026A6C4 00267624 38 21 00 30 */ addi r1, r1, 0x30
/* 8026A6C8 00267628 4E 80 00 20 */ blr
.global AddPoint__20CRainSplashGeneratorFRC9CVector3f
AddPoint__20CRainSplashGeneratorFRC9CVector3f:
/* 8026A6CC 0026762C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026A6D0 00267630 7C 08 02 A6 */ mflr r0
/* 8026A6D4 00267634 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026A6D8 00267638 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026A6DC 0026763C 7C 7F 1B 78 */ mr r31, r3
/* 8026A6E0 00267640 80 63 00 38 */ lwz r3, 0x38(r3)
/* 8026A6E4 00267644 80 1F 00 04 */ lwz r0, 4(r31)
/* 8026A6E8 00267648 7C 03 00 00 */ cmpw r3, r0
/* 8026A6EC 0026764C 41 80 00 0C */ blt lbl_8026A6F8
/* 8026A6F0 00267650 38 00 00 00 */ li r0, 0
/* 8026A6F4 00267654 90 1F 00 38 */ stw r0, 0x38(r31)
lbl_8026A6F8:
/* 8026A6F8 00267658 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 8026A6FC 0026765C 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8026A700 00267660 1C 00 00 74 */ mulli r0, r0, 0x74
/* 8026A704 00267664 7C 63 02 14 */ add r3, r3, r0
/* 8026A708 00267668 4B FF F5 79 */ bl SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f
/* 8026A70C 0026766C 80 7F 00 40 */ lwz r3, 0x40(r31)
/* 8026A710 00267670 38 03 00 01 */ addi r0, r3, 1
/* 8026A714 00267674 90 1F 00 40 */ stw r0, 0x40(r31)
/* 8026A718 00267678 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 8026A71C 0026767C 38 03 00 01 */ addi r0, r3, 1
/* 8026A720 00267680 90 1F 00 38 */ stw r0, 0x38(r31)
/* 8026A724 00267684 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026A728 00267688 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026A72C 0026768C 7C 08 03 A6 */ mtlr r0
/* 8026A730 00267690 38 21 00 10 */ addi r1, r1, 0x10
/* 8026A734 00267694 4E 80 00 20 */ blr
.global __ct__20CRainSplashGeneratorFRC9CVector3fiiff
__ct__20CRainSplashGeneratorFRC9CVector3fiiff:
/* 8026A738 00267698 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8026A73C 0026769C 7C 08 02 A6 */ mflr r0
/* 8026A740 002676A0 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8026A744 002676A4 DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 8026A748 002676A8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 8026A74C 002676AC DB C1 00 90 */ stfd f30, 0x90(r1)
/* 8026A750 002676B0 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 8026A754 002676B4 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 8026A758 002676B8 93 C1 00 88 */ stw r30, 0x88(r1)
/* 8026A75C 002676BC 93 A1 00 84 */ stw r29, 0x84(r1)
/* 8026A760 002676C0 93 81 00 80 */ stw r28, 0x80(r1)
/* 8026A764 002676C4 7C 7F 1B 78 */ mr r31, r3
/* 8026A768 002676C8 38 00 00 00 */ li r0, 0
/* 8026A76C 002676CC 90 03 00 04 */ stw r0, 4(r3)
/* 8026A770 002676D0 7C 9C 23 78 */ mr r28, r4
/* 8026A774 002676D4 FF C0 08 90 */ fmr f30, f1
/* 8026A778 002676D8 7C BD 2B 78 */ mr r29, r5
/* 8026A77C 002676DC 90 03 00 08 */ stw r0, 8(r3)
/* 8026A780 002676E0 FF E0 10 90 */ fmr f31, f2
/* 8026A784 002676E4 7C DE 33 78 */ mr r30, r6
/* 8026A788 002676E8 38 7F 00 10 */ addi r3, r31, 0x10
/* 8026A78C 002676EC 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8026A790 002676F0 38 80 00 63 */ li r4, 0x63
/* 8026A794 002676F4 48 0A 7E 59 */ bl __ct__9CRandom16FUi
/* 8026A798 002676F8 C0 3C 00 00 */ lfs f1, 0(r28)
/* 8026A79C 002676FC C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2)
/* 8026A7A0 00267700 D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 8026A7A4 00267704 C0 22 BB 54 */ lfs f1, lbl_805AD874@sda21(r2)
/* 8026A7A8 00267708 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8026A7AC 0026770C C0 1C 00 04 */ lfs f0, 4(r28)
/* 8026A7B0 00267710 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 8026A7B4 00267714 C0 1C 00 08 */ lfs f0, 8(r28)
/* 8026A7B8 00267718 D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 8026A7BC 0026771C D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 8026A7C0 00267720 D0 3F 00 28 */ stfs f1, 0x28(r31)
/* 8026A7C4 00267724 D3 DF 00 2C */ stfs f30, 0x2c(r31)
/* 8026A7C8 00267728 40 81 00 0C */ ble lbl_8026A7D4
/* 8026A7CC 0026772C C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2)
/* 8026A7D0 00267730 48 00 00 0C */ b lbl_8026A7DC
lbl_8026A7D4:
/* 8026A7D4 00267734 C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2)
/* 8026A7D8 00267738 EC 00 07 F2 */ fmuls f0, f0, f31
lbl_8026A7DC:
/* 8026A7DC 0026773C D0 1F 00 30 */ stfs f0, 0x30(r31)
/* 8026A7E0 00267740 38 60 00 00 */ li r3, 0
/* 8026A7E4 00267744 7C 1E E8 00 */ cmpw r30, r29
/* 8026A7E8 00267748 7F C0 F3 78 */ mr r0, r30
/* 8026A7EC 0026774C 90 7F 00 34 */ stw r3, 0x34(r31)
/* 8026A7F0 00267750 90 7F 00 38 */ stw r3, 0x38(r31)
/* 8026A7F4 00267754 90 7F 00 3C */ stw r3, 0x3c(r31)
/* 8026A7F8 00267758 90 7F 00 40 */ stw r3, 0x40(r31)
/* 8026A7FC 0026775C 40 81 00 08 */ ble lbl_8026A804
/* 8026A800 00267760 7F A0 EB 78 */ mr r0, r29
lbl_8026A804:
/* 8026A804 00267764 90 1F 00 44 */ stw r0, 0x44(r31)
/* 8026A808 00267768 38 80 00 00 */ li r4, 0
/* 8026A80C 0026776C 38 A0 00 01 */ li r5, 1
/* 8026A810 00267770 7F E3 FB 78 */ mr r3, r31
/* 8026A814 00267774 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 8026A818 00267778 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8026A81C 0026777C 7F A4 EB 78 */ mr r4, r29
/* 8026A820 00267780 98 1F 00 48 */ stb r0, 0x48(r31)
/* 8026A824 00267784 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 8026A828 00267788 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 8026A82C 0026778C 98 1F 00 48 */ stb r0, 0x48(r31)
/* 8026A830 00267790 48 00 03 89 */ bl sub_8026abb8
/* 8026A834 00267794 3B C0 00 00 */ li r30, 0
/* 8026A838 00267798 48 00 00 74 */ b lbl_8026A8AC
lbl_8026A83C:
/* 8026A83C 0026779C 38 61 00 08 */ addi r3, r1, 8
/* 8026A840 002677A0 4B FF F6 09 */ bl __ct__Q220CRainSplashGenerator11SRainSplash
/* 8026A844 002677A4 7F E3 FB 78 */ mr r3, r31
/* 8026A848 002677A8 38 81 00 08 */ addi r4, r1, 8
/* 8026A84C 002677AC 48 00 00 9D */ bl "push_back__Q24rstl45vector<Q220CRainSplashGenerator11SRainSplash>FRCQ220CRainSplashGenerator11SRainSplash"
/* 8026A850 002677B0 80 A1 00 08 */ lwz r5, 8(r1)
/* 8026A854 002677B4 38 60 00 00 */ li r3, 0
/* 8026A858 002677B8 2C 05 00 00 */ cmpwi r5, 0
/* 8026A85C 002677BC 40 81 00 44 */ ble lbl_8026A8A0
/* 8026A860 002677C0 2C 05 00 08 */ cmpwi r5, 8
/* 8026A864 002677C4 38 85 FF F8 */ addi r4, r5, -8
/* 8026A868 002677C8 40 81 00 20 */ ble lbl_8026A888
/* 8026A86C 002677CC 38 04 00 07 */ addi r0, r4, 7
/* 8026A870 002677D0 54 00 E8 FE */ srwi r0, r0, 3
/* 8026A874 002677D4 7C 09 03 A6 */ mtctr r0
/* 8026A878 002677D8 2C 04 00 00 */ cmpwi r4, 0
/* 8026A87C 002677DC 40 81 00 0C */ ble lbl_8026A888
lbl_8026A880:
/* 8026A880 002677E0 38 63 00 08 */ addi r3, r3, 8
/* 8026A884 002677E4 42 00 FF FC */ bdnz lbl_8026A880
lbl_8026A888:
/* 8026A888 002677E8 7C 03 28 50 */ subf r0, r3, r5
/* 8026A88C 002677EC 7C 09 03 A6 */ mtctr r0
/* 8026A890 002677F0 7C 03 28 00 */ cmpw r3, r5
/* 8026A894 002677F4 40 80 00 0C */ bge lbl_8026A8A0
lbl_8026A898:
/* 8026A898 002677F8 38 63 00 01 */ addi r3, r3, 1
/* 8026A89C 002677FC 42 00 FF FC */ bdnz lbl_8026A898
lbl_8026A8A0:
/* 8026A8A0 00267800 38 00 00 00 */ li r0, 0
/* 8026A8A4 00267804 3B DE 00 01 */ addi r30, r30, 1
/* 8026A8A8 00267808 90 01 00 08 */ stw r0, 8(r1)
lbl_8026A8AC:
/* 8026A8AC 0026780C 7C 1E E8 00 */ cmpw r30, r29
/* 8026A8B0 00267810 41 80 FF 8C */ blt lbl_8026A83C
/* 8026A8B4 00267814 7F E3 FB 78 */ mr r3, r31
/* 8026A8B8 00267818 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 8026A8BC 0026781C CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 8026A8C0 00267820 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 8026A8C4 00267824 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 8026A8C8 00267828 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8026A8CC 0026782C 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8026A8D0 00267830 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 8026A8D4 00267834 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8026A8D8 00267838 83 81 00 80 */ lwz r28, 0x80(r1)
/* 8026A8DC 0026783C 7C 08 03 A6 */ mtlr r0
/* 8026A8E0 00267840 38 21 00 B0 */ addi r1, r1, 0xb0
/* 8026A8E4 00267844 4E 80 00 20 */ blr
.global "push_back__Q24rstl45vector<Q220CRainSplashGenerator11SRainSplash>FRCQ220CRainSplashGenerator11SRainSplash"
"push_back__Q24rstl45vector<Q220CRainSplashGenerator11SRainSplash>FRCQ220CRainSplashGenerator11SRainSplash":
/* 8026A8E8 00267848 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026A8EC 0026784C 7C 08 02 A6 */ mflr r0
/* 8026A8F0 00267850 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026A8F4 00267854 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026A8F8 00267858 7C 9F 23 78 */ mr r31, r4
/* 8026A8FC 0026785C 93 C1 00 08 */ stw r30, 8(r1)
/* 8026A900 00267860 7C 7E 1B 78 */ mr r30, r3
/* 8026A904 00267864 80 03 00 04 */ lwz r0, 4(r3)
/* 8026A908 00267868 80 A3 00 08 */ lwz r5, 8(r3)
/* 8026A90C 0026786C 7C 00 28 00 */ cmpw r0, r5
/* 8026A910 00267870 41 80 00 18 */ blt lbl_8026A928
/* 8026A914 00267874 2C 05 00 00 */ cmpwi r5, 0
/* 8026A918 00267878 38 80 00 04 */ li r4, 4
/* 8026A91C 0026787C 41 82 00 08 */ beq lbl_8026A924
/* 8026A920 00267880 54 A4 08 3C */ slwi r4, r5, 1
lbl_8026A924:
/* 8026A924 00267884 48 00 02 95 */ bl sub_8026abb8
lbl_8026A928:
/* 8026A928 00267888 80 1E 00 04 */ lwz r0, 4(r30)
/* 8026A92C 0026788C 7F E4 FB 78 */ mr r4, r31
/* 8026A930 00267890 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8026A934 00267894 1C 00 00 74 */ mulli r0, r0, 0x74
/* 8026A938 00267898 7C 63 02 14 */ add r3, r3, r0
/* 8026A93C 0026789C 48 00 00 29 */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash
/* 8026A940 002678A0 80 7E 00 04 */ lwz r3, 4(r30)
/* 8026A944 002678A4 38 03 00 01 */ addi r0, r3, 1
/* 8026A948 002678A8 90 1E 00 04 */ stw r0, 4(r30)
/* 8026A94C 002678AC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026A950 002678B0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8026A954 002678B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026A958 002678B8 7C 08 03 A6 */ mtlr r0
/* 8026A95C 002678BC 38 21 00 10 */ addi r1, r1, 0x10
/* 8026A960 002678C0 4E 80 00 20 */ blr
.global __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash
__ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash:
/* 8026A964 002678C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026A968 002678C8 7C 08 02 A6 */ mflr r0
/* 8026A96C 002678CC 28 03 00 00 */ cmplwi r3, 0
/* 8026A970 002678D0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026A974 002678D4 41 82 00 08 */ beq lbl_8026A97C
/* 8026A978 002678D8 48 00 00 15 */ bl __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash
lbl_8026A97C:
/* 8026A97C 002678DC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026A980 002678E0 7C 08 03 A6 */ mtlr r0
/* 8026A984 002678E4 38 21 00 10 */ addi r1, r1, 0x10
/* 8026A988 002678E8 4E 80 00 20 */ blr
.global __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash
__as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash:
/* 8026A98C 002678EC 80 04 00 00 */ lwz r0, 0(r4)
/* 8026A990 002678F0 38 C4 00 04 */ addi r6, r4, 4
/* 8026A994 002678F4 38 A3 00 04 */ addi r5, r3, 4
/* 8026A998 002678F8 90 03 00 00 */ stw r0, 0(r3)
/* 8026A99C 002678FC 80 03 00 00 */ lwz r0, 0(r3)
/* 8026A9A0 00267900 7C 09 03 A6 */ mtctr r0
/* 8026A9A4 00267904 2C 00 00 00 */ cmpwi r0, 0
/* 8026A9A8 00267908 40 81 00 58 */ ble lbl_8026AA00
lbl_8026A9AC:
/* 8026A9AC 0026790C 28 05 00 00 */ cmplwi r5, 0
/* 8026A9B0 00267910 41 82 00 44 */ beq lbl_8026A9F4
/* 8026A9B4 00267914 C0 06 00 00 */ lfs f0, 0(r6)
/* 8026A9B8 00267918 D0 05 00 00 */ stfs f0, 0(r5)
/* 8026A9BC 0026791C C0 06 00 04 */ lfs f0, 4(r6)
/* 8026A9C0 00267920 D0 05 00 04 */ stfs f0, 4(r5)
/* 8026A9C4 00267924 C0 06 00 08 */ lfs f0, 8(r6)
/* 8026A9C8 00267928 D0 05 00 08 */ stfs f0, 8(r5)
/* 8026A9CC 0026792C C0 06 00 0C */ lfs f0, 0xc(r6)
/* 8026A9D0 00267930 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 8026A9D4 00267934 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 8026A9D8 00267938 D0 05 00 10 */ stfs f0, 0x10(r5)
/* 8026A9DC 0026793C 88 06 00 14 */ lbz r0, 0x14(r6)
/* 8026A9E0 00267940 98 05 00 14 */ stb r0, 0x14(r5)
/* 8026A9E4 00267944 88 06 00 15 */ lbz r0, 0x15(r6)
/* 8026A9E8 00267948 98 05 00 15 */ stb r0, 0x15(r5)
/* 8026A9EC 0026794C 88 06 00 16 */ lbz r0, 0x16(r6)
/* 8026A9F0 00267950 98 05 00 16 */ stb r0, 0x16(r5)
lbl_8026A9F4:
/* 8026A9F4 00267954 38 A5 00 18 */ addi r5, r5, 0x18
/* 8026A9F8 00267958 38 C6 00 18 */ addi r6, r6, 0x18
/* 8026A9FC 0026795C 42 00 FF B0 */ bdnz lbl_8026A9AC
lbl_8026AA00:
/* 8026AA00 00267960 C0 04 00 64 */ lfs f0, 0x64(r4)
/* 8026AA04 00267964 D0 03 00 64 */ stfs f0, 0x64(r3)
/* 8026AA08 00267968 C0 04 00 68 */ lfs f0, 0x68(r4)
/* 8026AA0C 0026796C D0 03 00 68 */ stfs f0, 0x68(r3)
/* 8026AA10 00267970 C0 04 00 6C */ lfs f0, 0x6c(r4)
/* 8026AA14 00267974 D0 03 00 6C */ stfs f0, 0x6c(r3)
/* 8026AA18 00267978 C0 04 00 70 */ lfs f0, 0x70(r4)
/* 8026AA1C 0026797C D0 03 00 70 */ stfs f0, 0x70(r3)
/* 8026AA20 00267980 4E 80 00 20 */ blr
.global GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f
GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f:
/* 8026AA24 00267984 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8026AA28 00267988 7C 08 02 A6 */ mflr r0
/* 8026AA2C 0026798C 90 01 00 84 */ stw r0, 0x84(r1)
/* 8026AA30 00267990 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 8026AA34 00267994 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 8026AA38 00267998 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 8026AA3C 0026799C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 8026AA40 002679A0 DB A1 00 50 */ stfd f29, 0x50(r1)
/* 8026AA44 002679A4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0
/* 8026AA48 002679A8 DB 81 00 40 */ stfd f28, 0x40(r1)
/* 8026AA4C 002679AC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0
/* 8026AA50 002679B0 BF 01 00 20 */ stmw r24, 0x20(r1)
/* 8026AA54 002679B4 C3 E2 BB 54 */ lfs f31, lbl_805AD874@sda21(r2)
/* 8026AA58 002679B8 7C 9C 23 78 */ mr r28, r4
/* 8026AA5C 002679BC 1C 03 00 0C */ mulli r0, r3, 0xc
/* 8026AA60 002679C0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha
/* 8026AA64 002679C4 FF C0 08 90 */ fmr f30, f1
/* 8026AA68 002679C8 7C BD 2B 78 */ mr r29, r5
/* 8026AA6C 002679CC FF 80 F8 90 */ fmr f28, f31
/* 8026AA70 002679D0 7C DE 33 78 */ mr r30, r6
/* 8026AA74 002679D4 FF A0 F8 90 */ fmr f29, f31
/* 8026AA78 002679D8 7C FF 3B 78 */ mr r31, r7
/* 8026AA7C 002679DC 7C 7A 1B 78 */ mr r26, r3
/* 8026AA80 002679E0 7F 3C 02 14 */ add r25, r28, r0
/* 8026AA84 002679E4 3B 64 66 F4 */ addi r27, r4, lbl_805A66F4@l
/* 8026AA88 002679E8 3B 00 00 00 */ li r24, 0
lbl_8026AA8C:
/* 8026AA8C 002679EC 7F E3 FB 78 */ mr r3, r31
/* 8026AA90 002679F0 38 BE FF FF */ addi r5, r30, -1
/* 8026AA94 002679F4 38 80 00 00 */ li r4, 0
/* 8026AA98 002679F8 48 0A 7A FD */ bl Range__9CRandom16Fii
/* 8026AA9C 002679FC 1C 03 00 0C */ mulli r0, r3, 0xc
/* 8026AAA0 00267A00 C0 1B 00 04 */ lfs f0, 4(r27)
/* 8026AAA4 00267A04 C0 F9 00 04 */ lfs f7, 4(r25)
/* 8026AAA8 00267A08 38 80 00 00 */ li r4, 0
/* 8026AAAC 00267A0C C0 99 00 00 */ lfs f4, 0(r25)
/* 8026AAB0 00267A10 7C BD 02 14 */ add r5, r29, r0
/* 8026AAB4 00267A14 7C DC 02 14 */ add r6, r28, r0
/* 8026AAB8 00267A18 C0 25 00 04 */ lfs f1, 4(r5)
/* 8026AABC 00267A1C C0 C6 00 04 */ lfs f6, 4(r6)
/* 8026AAC0 00267A20 EC 01 00 32 */ fmuls f0, f1, f0
/* 8026AAC4 00267A24 C0 66 00 00 */ lfs f3, 0(r6)
/* 8026AAC8 00267A28 ED 07 30 28 */ fsubs f8, f7, f6
/* 8026AACC 00267A2C C0 5B 00 00 */ lfs f2, 0(r27)
/* 8026AAD0 00267A30 EC C4 18 28 */ fsubs f6, f4, f3
/* 8026AAD4 00267A34 C0 25 00 00 */ lfs f1, 0(r5)
/* 8026AAD8 00267A38 EC 01 00 BA */ fmadds f0, f1, f2, f0
/* 8026AADC 00267A3C C0 B9 00 08 */ lfs f5, 8(r25)
/* 8026AAE0 00267A40 C0 66 00 08 */ lfs f3, 8(r6)
/* 8026AAE4 00267A44 EC 86 01 B2 */ fmuls f4, f6, f6
/* 8026AAE8 00267A48 C0 45 00 08 */ lfs f2, 8(r5)
/* 8026AAEC 00267A4C EC E5 18 28 */ fsubs f7, f5, f3
/* 8026AAF0 00267A50 C0 3B 00 08 */ lfs f1, 8(r27)
/* 8026AAF4 00267A54 EC 68 02 32 */ fmuls f3, f8, f8
/* 8026AAF8 00267A58 D0 C1 00 08 */ stfs f6, 8(r1)
/* 8026AAFC 00267A5C EC 42 00 7A */ fmadds f2, f2, f1, f0
/* 8026AB00 00267A60 EC A7 01 F2 */ fmuls f5, f7, f7
/* 8026AB04 00267A64 D1 01 00 0C */ stfs f8, 0xc(r1)
/* 8026AB08 00267A68 EC 04 18 2A */ fadds f0, f4, f3
/* 8026AB0C 00267A6C FC 02 E0 40 */ fcmpo cr0, f2, f28
/* 8026AB10 00267A70 D0 E1 00 10 */ stfs f7, 0x10(r1)
/* 8026AB14 00267A74 EC 25 00 2A */ fadds f1, f5, f0
/* 8026AB18 00267A78 4C 41 13 82 */ cror 2, 1, 2
/* 8026AB1C 00267A7C 40 82 00 18 */ bne lbl_8026AB34
/* 8026AB20 00267A80 C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2)
/* 8026AB24 00267A84 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8026AB28 00267A88 4C 40 13 82 */ cror 2, 0, 2
/* 8026AB2C 00267A8C 40 82 00 08 */ bne lbl_8026AB34
/* 8026AB30 00267A90 38 80 00 01 */ li r4, 1
lbl_8026AB34:
/* 8026AB34 00267A94 FC 1E E8 40 */ fcmpo cr0, f30, f29
/* 8026AB38 00267A98 40 81 00 18 */ ble lbl_8026AB50
/* 8026AB3C 00267A9C C0 06 00 08 */ lfs f0, 8(r6)
/* 8026AB40 00267AA0 FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 8026AB44 00267AA4 7C 00 00 26 */ mfcr r0
/* 8026AB48 00267AA8 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f
/* 8026AB4C 00267AAC 48 00 00 08 */ b lbl_8026AB54
lbl_8026AB50:
/* 8026AB50 00267AB0 38 A0 00 01 */ li r5, 1
lbl_8026AB54:
/* 8026AB54 00267AB4 FC 01 F8 40 */ fcmpo cr0, f1, f31
/* 8026AB58 00267AB8 40 81 00 1C */ ble lbl_8026AB74
/* 8026AB5C 00267ABC 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8026AB60 00267AC0 41 82 00 14 */ beq lbl_8026AB74
/* 8026AB64 00267AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 8026AB68 00267AC8 41 82 00 0C */ beq lbl_8026AB74
/* 8026AB6C 00267ACC 7C 7A 1B 78 */ mr r26, r3
/* 8026AB70 00267AD0 FF E0 08 90 */ fmr f31, f1
lbl_8026AB74:
/* 8026AB74 00267AD4 3B 18 00 01 */ addi r24, r24, 1
/* 8026AB78 00267AD8 2C 18 00 03 */ cmpwi r24, 3
/* 8026AB7C 00267ADC 41 80 FF 10 */ blt lbl_8026AA8C
/* 8026AB80 00267AE0 7F 43 D3 78 */ mr r3, r26
/* 8026AB84 00267AE4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 8026AB88 00267AE8 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8026AB8C 00267AEC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 8026AB90 00267AF0 CB C1 00 60 */ lfd f30, 0x60(r1)
/* 8026AB94 00267AF4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0
/* 8026AB98 00267AF8 CB A1 00 50 */ lfd f29, 0x50(r1)
/* 8026AB9C 00267AFC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0
/* 8026ABA0 00267B00 CB 81 00 40 */ lfd f28, 0x40(r1)
/* 8026ABA4 00267B04 BB 01 00 20 */ lmw r24, 0x20(r1)
/* 8026ABA8 00267B08 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8026ABAC 00267B0C 7C 08 03 A6 */ mtlr r0
/* 8026ABB0 00267B10 38 21 00 80 */ addi r1, r1, 0x80
/* 8026ABB4 00267B14 4E 80 00 20 */ blr
.global sub_8026abb8
sub_8026abb8:
/* 8026ABB8 00267B18 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8026ABBC 00267B1C 7C 08 02 A6 */ mflr r0
/* 8026ABC0 00267B20 90 01 00 34 */ stw r0, 0x34(r1)
/* 8026ABC4 00267B24 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8026ABC8 00267B28 7C 9F 23 78 */ mr r31, r4
/* 8026ABCC 00267B2C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8026ABD0 00267B30 7C 7E 1B 78 */ mr r30, r3
/* 8026ABD4 00267B34 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8026ABD8 00267B38 80 03 00 08 */ lwz r0, 8(r3)
/* 8026ABDC 00267B3C 7C 1F 00 00 */ cmpw r31, r0
/* 8026ABE0 00267B40 40 81 00 FC */ ble lbl_8026ACDC
/* 8026ABE4 00267B44 1C 7F 00 74 */ mulli r3, r31, 0x74
/* 8026ABE8 00267B48 2C 03 00 00 */ cmpwi r3, 0
/* 8026ABEC 00267B4C 40 82 00 0C */ bne lbl_8026ABF8
/* 8026ABF0 00267B50 3B A0 00 00 */ li r29, 0
/* 8026ABF4 00267B54 48 00 00 18 */ b lbl_8026AC0C
lbl_8026ABF8:
/* 8026ABF8 00267B58 3C 80 80 3D */ lis r4, lbl_803D5410@ha
/* 8026ABFC 00267B5C 38 A0 00 00 */ li r5, 0
/* 8026AC00 00267B60 38 84 54 10 */ addi r4, r4, lbl_803D5410@l
/* 8026AC04 00267B64 48 0A AC 15 */ bl __nwa__FUlPCcPCc
/* 8026AC08 00267B68 7C 7D 1B 78 */ mr r29, r3
lbl_8026AC0C:
/* 8026AC0C 00267B6C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8026AC10 00267B70 7F A5 EB 78 */ mr r5, r29
/* 8026AC14 00267B74 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 8026AC18 00267B78 38 61 00 14 */ addi r3, r1, 0x14
/* 8026AC1C 00267B7C 1C 00 00 74 */ mulli r0, r0, 0x74
/* 8026AC20 00267B80 38 81 00 0C */ addi r4, r1, 0xc
/* 8026AC24 00267B84 7C C6 02 14 */ add r6, r6, r0
/* 8026AC28 00267B88 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8026AC2C 00267B8C 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8026AC30 00267B90 90 C1 00 08 */ stw r6, 8(r1)
/* 8026AC34 00267B94 90 01 00 10 */ stw r0, 0x10(r1)
/* 8026AC38 00267B98 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026AC3C 00267B9C 48 00 00 BD */ bl sub_8026acf8
/* 8026AC40 00267BA0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8026AC44 00267BA4 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 8026AC48 00267BA8 1C 00 00 74 */ mulli r0, r0, 0x74
/* 8026AC4C 00267BAC 7C 66 02 14 */ add r3, r6, r0
/* 8026AC50 00267BB0 48 00 00 6C */ b lbl_8026ACBC
lbl_8026AC54:
/* 8026AC54 00267BB4 28 06 00 00 */ cmplwi r6, 0
/* 8026AC58 00267BB8 41 82 00 60 */ beq lbl_8026ACB8
/* 8026AC5C 00267BBC 41 82 00 5C */ beq lbl_8026ACB8
/* 8026AC60 00267BC0 80 E6 00 00 */ lwz r7, 0(r6)
/* 8026AC64 00267BC4 38 80 00 00 */ li r4, 0
/* 8026AC68 00267BC8 2C 07 00 00 */ cmpwi r7, 0
/* 8026AC6C 00267BCC 40 81 00 44 */ ble lbl_8026ACB0
/* 8026AC70 00267BD0 2C 07 00 08 */ cmpwi r7, 8
/* 8026AC74 00267BD4 38 A7 FF F8 */ addi r5, r7, -8
/* 8026AC78 00267BD8 40 81 00 20 */ ble lbl_8026AC98
/* 8026AC7C 00267BDC 38 05 00 07 */ addi r0, r5, 7
/* 8026AC80 00267BE0 54 00 E8 FE */ srwi r0, r0, 3
/* 8026AC84 00267BE4 7C 09 03 A6 */ mtctr r0
/* 8026AC88 00267BE8 2C 05 00 00 */ cmpwi r5, 0
/* 8026AC8C 00267BEC 40 81 00 0C */ ble lbl_8026AC98
lbl_8026AC90:
/* 8026AC90 00267BF0 38 84 00 08 */ addi r4, r4, 8
/* 8026AC94 00267BF4 42 00 FF FC */ bdnz lbl_8026AC90
lbl_8026AC98:
/* 8026AC98 00267BF8 7C 04 38 50 */ subf r0, r4, r7
/* 8026AC9C 00267BFC 7C 09 03 A6 */ mtctr r0
/* 8026ACA0 00267C00 7C 04 38 00 */ cmpw r4, r7
/* 8026ACA4 00267C04 40 80 00 0C */ bge lbl_8026ACB0
lbl_8026ACA8:
/* 8026ACA8 00267C08 38 84 00 01 */ addi r4, r4, 1
/* 8026ACAC 00267C0C 42 00 FF FC */ bdnz lbl_8026ACA8
lbl_8026ACB0:
/* 8026ACB0 00267C10 38 00 00 00 */ li r0, 0
/* 8026ACB4 00267C14 90 06 00 00 */ stw r0, 0(r6)
lbl_8026ACB8:
/* 8026ACB8 00267C18 38 C6 00 74 */ addi r6, r6, 0x74
lbl_8026ACBC:
/* 8026ACBC 00267C1C 7C 06 18 40 */ cmplw r6, r3
/* 8026ACC0 00267C20 40 82 FF 94 */ bne lbl_8026AC54
/* 8026ACC4 00267C24 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8026ACC8 00267C28 28 03 00 00 */ cmplwi r3, 0
/* 8026ACCC 00267C2C 41 82 00 08 */ beq lbl_8026ACD4
/* 8026ACD0 00267C30 48 0A AC 61 */ bl Free__7CMemoryFPCv
lbl_8026ACD4:
/* 8026ACD4 00267C34 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8026ACD8 00267C38 93 FE 00 08 */ stw r31, 8(r30)
lbl_8026ACDC:
/* 8026ACDC 00267C3C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8026ACE0 00267C40 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8026ACE4 00267C44 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8026ACE8 00267C48 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8026ACEC 00267C4C 7C 08 03 A6 */ mtlr r0
/* 8026ACF0 00267C50 38 21 00 30 */ addi r1, r1, 0x30
/* 8026ACF4 00267C54 4E 80 00 20 */ blr
.global sub_8026acf8
sub_8026acf8:
/* 8026ACF8 00267C58 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8026ACFC 00267C5C 7C 08 02 A6 */ mflr r0
/* 8026AD00 00267C60 90 01 00 24 */ stw r0, 0x24(r1)
/* 8026AD04 00267C64 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8026AD08 00267C68 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8026AD0C 00267C6C 7C BE 2B 78 */ mr r30, r5
/* 8026AD10 00267C70 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8026AD14 00267C74 7C 9D 23 78 */ mr r29, r4
/* 8026AD18 00267C78 83 E3 00 00 */ lwz r31, 0(r3)
/* 8026AD1C 00267C7C 48 00 00 18 */ b lbl_8026AD34
lbl_8026AD20:
/* 8026AD20 00267C80 7F C3 F3 78 */ mr r3, r30
/* 8026AD24 00267C84 7F E4 FB 78 */ mr r4, r31
/* 8026AD28 00267C88 4B FF FC 3D */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash
/* 8026AD2C 00267C8C 3B DE 00 74 */ addi r30, r30, 0x74
/* 8026AD30 00267C90 3B FF 00 74 */ addi r31, r31, 0x74
lbl_8026AD34:
/* 8026AD34 00267C94 80 1D 00 00 */ lwz r0, 0(r29)
/* 8026AD38 00267C98 7C 1F 00 40 */ cmplw r31, r0
/* 8026AD3C 00267C9C 40 82 FF E4 */ bne lbl_8026AD20
/* 8026AD40 00267CA0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8026AD44 00267CA4 7F C3 F3 78 */ mr r3, r30
/* 8026AD48 00267CA8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8026AD4C 00267CAC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8026AD50 00267CB0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8026AD54 00267CB4 7C 08 03 A6 */ mtlr r0
/* 8026AD58 00267CB8 38 21 00 20 */ addi r1, r1, 0x20
/* 8026AD5C 00267CBC 4E 80 00 20 */ blr