.include "macros.inc" .section .text, "ax" # 0x80003640 - 0x803CB1C0 .global AreaLoaded__13CEnvFxManagerFv AreaLoaded__13CEnvFxManagerFv: /* 8020FE14 0020CD74 38 A3 00 54 */ addi r5, r3, 0x54 /* 8020FE18 0020CD78 38 C0 00 00 */ li r6, 0 /* 8020FE1C 0020CD7C 38 80 00 01 */ li r4, 1 /* 8020FE20 0020CD80 48 00 00 18 */ b lbl_8020FE38 lbl_8020FE24: /* 8020FE24 0020CD84 88 05 00 00 */ lbz r0, 0(r5) /* 8020FE28 0020CD88 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8020FE2C 0020CD8C 38 C6 00 01 */ addi r6, r6, 1 /* 8020FE30 0020CD90 98 05 00 00 */ stb r0, 0(r5) /* 8020FE34 0020CD94 38 A5 00 2C */ addi r5, r5, 0x2c lbl_8020FE38: /* 8020FE38 0020CD98 80 03 00 50 */ lwz r0, 0x50(r3) /* 8020FE3C 0020CD9C 7C 06 00 00 */ cmpw r6, r0 /* 8020FE40 0020CDA0 41 80 FF E4 */ blt lbl_8020FE24 /* 8020FE44 0020CDA4 4E 80 00 20 */ blr .global "BuildBlockObjectList__13CEnvFxManagerFR27reserved_vector<9TUniqueId>R13CStateManager" "BuildBlockObjectList__13CEnvFxManagerFR27reserved_vector<9TUniqueId>R13CStateManager": /* 8020FE48 0020CDA8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8020FE4C 0020CDAC 7C 08 02 A6 */ mflr r0 /* 8020FE50 0020CDB0 90 01 00 34 */ stw r0, 0x34(r1) /* 8020FE54 0020CDB4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8020FE58 0020CDB8 93 C1 00 28 */ stw r30, 0x28(r1) /* 8020FE5C 0020CDBC 93 A1 00 24 */ stw r29, 0x24(r1) /* 8020FE60 0020CDC0 7C 7D 1B 78 */ mr r29, r3 /* 8020FE64 0020CDC4 93 81 00 20 */ stw r28, 0x20(r1) /* 8020FE68 0020CDC8 83 E4 08 10 */ lwz r31, 0x810(r4) /* 8020FE6C 0020CDCC AB DF 20 08 */ lha r30, 0x2008(r31) /* 8020FE70 0020CDD0 48 00 00 C4 */ b lbl_8020FF34 lbl_8020FE74: /* 8020FE74 0020CDD4 7F E3 FB 78 */ mr r3, r31 /* 8020FE78 0020CDD8 7F C4 F3 78 */ mr r4, r30 /* 8020FE7C 0020CDDC 4B DF FE 61 */ bl __vc__11CObjectListCFi /* 8020FE80 0020CDE0 7C 60 1B 78 */ mr r0, r3 /* 8020FE84 0020CDE4 38 61 00 10 */ addi r3, r1, 0x10 /* 8020FE88 0020CDE8 7C 1C 03 78 */ mr r28, r0 /* 8020FE8C 0020CDEC 7F 84 E3 78 */ mr r4, r28 /* 8020FE90 0020CDF0 4B E9 70 59 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 8020FE94 0020CDF4 80 63 00 04 */ lwz r3, 4(r3) /* 8020FE98 0020CDF8 28 03 00 00 */ cmplwi r3, 0 /* 8020FE9C 0020CDFC 41 82 00 3C */ beq lbl_8020FED8 /* 8020FEA0 0020CE00 80 03 01 2C */ lwz r0, 0x12c(r3) /* 8020FEA4 0020CE04 54 00 03 9D */ rlwinm. r0, r0, 0, 0xe, 0xe /* 8020FEA8 0020CE08 41 82 00 30 */ beq lbl_8020FED8 /* 8020FEAC 0020CE0C 80 1D 00 00 */ lwz r0, 0(r29) /* 8020FEB0 0020CE10 A0 9C 00 08 */ lhz r4, 8(r28) /* 8020FEB4 0020CE14 54 00 08 3C */ slwi r0, r0, 1 /* 8020FEB8 0020CE18 7C 7D 02 14 */ add r3, r29, r0 /* 8020FEBC 0020CE1C 34 63 00 04 */ addic. r3, r3, 4 /* 8020FEC0 0020CE20 41 82 00 08 */ beq lbl_8020FEC8 /* 8020FEC4 0020CE24 B0 83 00 00 */ sth r4, 0(r3) lbl_8020FEC8: /* 8020FEC8 0020CE28 80 7D 00 00 */ lwz r3, 0(r29) /* 8020FECC 0020CE2C 38 03 00 01 */ addi r0, r3, 1 /* 8020FED0 0020CE30 90 1D 00 00 */ stw r0, 0(r29) /* 8020FED4 0020CE34 48 00 00 44 */ b lbl_8020FF18 lbl_8020FED8: /* 8020FED8 0020CE38 7F 84 E3 78 */ mr r4, r28 /* 8020FEDC 0020CE3C 38 61 00 08 */ addi r3, r1, 8 /* 8020FEE0 0020CE40 4B E9 69 81 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 8020FEE4 0020CE44 80 03 00 04 */ lwz r0, 4(r3) /* 8020FEE8 0020CE48 28 00 00 00 */ cmplwi r0, 0 /* 8020FEEC 0020CE4C 41 82 00 2C */ beq lbl_8020FF18 /* 8020FEF0 0020CE50 80 1D 00 00 */ lwz r0, 0(r29) /* 8020FEF4 0020CE54 A0 9C 00 08 */ lhz r4, 8(r28) /* 8020FEF8 0020CE58 54 00 08 3C */ slwi r0, r0, 1 /* 8020FEFC 0020CE5C 7C 7D 02 14 */ add r3, r29, r0 /* 8020FF00 0020CE60 34 63 00 04 */ addic. r3, r3, 4 /* 8020FF04 0020CE64 41 82 00 08 */ beq lbl_8020FF0C /* 8020FF08 0020CE68 B0 83 00 00 */ sth r4, 0(r3) lbl_8020FF0C: /* 8020FF0C 0020CE6C 80 7D 00 00 */ lwz r3, 0(r29) /* 8020FF10 0020CE70 38 03 00 01 */ addi r0, r3, 1 /* 8020FF14 0020CE74 90 1D 00 00 */ stw r0, 0(r29) lbl_8020FF18: /* 8020FF18 0020CE78 2C 1E FF FF */ cmpwi r30, -1 /* 8020FF1C 0020CE7C 41 82 00 14 */ beq lbl_8020FF30 /* 8020FF20 0020CE80 57 C3 18 38 */ slwi r3, r30, 3 /* 8020FF24 0020CE84 38 03 00 08 */ addi r0, r3, 8 /* 8020FF28 0020CE88 7F DF 02 AE */ lhax r30, r31, r0 /* 8020FF2C 0020CE8C 48 00 00 08 */ b lbl_8020FF34 lbl_8020FF30: /* 8020FF30 0020CE90 3B C0 FF FF */ li r30, -1 lbl_8020FF34: /* 8020FF34 0020CE94 2C 1E FF FF */ cmpwi r30, -1 /* 8020FF38 0020CE98 40 82 FF 3C */ bne lbl_8020FE74 /* 8020FF3C 0020CE9C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8020FF40 0020CEA0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8020FF44 0020CEA4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8020FF48 0020CEA8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8020FF4C 0020CEAC 83 81 00 20 */ lwz r28, 0x20(r1) /* 8020FF50 0020CEB0 7C 08 03 A6 */ mtlr r0 /* 8020FF54 0020CEB4 38 21 00 30 */ addi r1, r1, 0x30 /* 8020FF58 0020CEB8 4E 80 00 20 */ blr .global sub_8020ff5c sub_8020ff5c: /* 8020FF5C 0020CEBC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020FF60 0020CEC0 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 8020FF64 0020CEC4 3C 00 43 30 */ lis r0, 0x4330 /* 8020FF68 0020CEC8 C8 42 B2 48 */ lfd f2, lbl_805ACF68@sda21(r2) /* 8020FF6C 0020CECC 90 81 00 0C */ stw r4, 0xc(r1) /* 8020FF70 0020CED0 90 01 00 08 */ stw r0, 8(r1) /* 8020FF74 0020CED4 C8 01 00 08 */ lfd f0, 8(r1) /* 8020FF78 0020CED8 D0 23 00 34 */ stfs f1, 0x34(r3) /* 8020FF7C 0020CEDC EC 00 10 28 */ fsubs f0, f0, f2 /* 8020FF80 0020CEE0 D0 03 00 38 */ stfs f0, 0x38(r3) /* 8020FF84 0020CEE4 38 21 00 10 */ addi r1, r1, 0x10 /* 8020FF88 0020CEE8 4E 80 00 20 */ blr .global UpdateRainSounds__13CEnvFxManagerFR13CStateManager UpdateRainSounds__13CEnvFxManagerFR13CStateManager: /* 8020FF8C 0020CEEC 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 8020FF90 0020CEF0 7C 08 02 A6 */ mflr r0 /* 8020FF94 0020CEF4 7C 85 23 78 */ mr r5, r4 /* 8020FF98 0020CEF8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8020FF9C 0020CEFC 93 E1 00 DC */ stw r31, 0xdc(r1) /* 8020FFA0 0020CF00 7C 7F 1B 78 */ mr r31, r3 /* 8020FFA4 0020CF04 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 8020FFA8 0020CF08 80 64 08 50 */ lwz r3, 0x850(r4) /* 8020FFAC 0020CF0C 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 8020FFB0 0020CF10 2C 00 00 02 */ cmpwi r0, 2 /* 8020FFB4 0020CF14 40 82 01 A8 */ bne lbl_8021015C /* 8020FFB8 0020CF18 80 85 08 70 */ lwz r4, 0x870(r5) /* 8020FFBC 0020CF1C 38 61 00 70 */ addi r3, r1, 0x70 /* 8020FFC0 0020CF20 4B DF A9 A9 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 8020FFC4 0020CF24 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8020FFC8 0020CF28 38 81 00 70 */ addi r4, r1, 0x70 /* 8020FFCC 0020CF2C 48 10 2B A9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8020FFD0 0020CF30 C0 3F 00 30 */ lfs f1, 0x30(r31) /* 8020FFD4 0020CF34 48 00 01 F5 */ bl CalcRainVolume__Ff /* 8020FFD8 0020CF38 88 1F 0B 6A */ lbz r0, 0xb6a(r31) /* 8020FFDC 0020CF3C 7C 7E 1B 78 */ mr r30, r3 /* 8020FFE0 0020CF40 28 00 00 00 */ cmplwi r0, 0 /* 8020FFE4 0020CF44 40 82 00 6C */ bne lbl_80210050 /* 8020FFE8 0020CF48 3C 60 80 5A */ lis r3, skZero3f@ha /* 8020FFEC 0020CF4C A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) /* 8020FFF0 0020CF50 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8020FFF4 0020CF54 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8020FFF8 0020CF58 38 61 00 24 */ addi r3, r1, 0x24 /* 8020FFFC 0020CF5C 38 80 09 F0 */ li r4, 0x9f0 /* 80210000 0020CF60 7C A6 2B 78 */ mr r6, r5 /* 80210004 0020CF64 38 E0 00 00 */ li r7, 0 /* 80210008 0020CF68 39 00 00 01 */ li r8, 1 /* 8021000C 0020CF6C 48 0D A2 A5 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80210010 0020CF70 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210014 0020CF74 3C 60 80 5A */ lis r3, skZero3f@ha /* 80210018 0020CF78 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8021001C 0020CF7C A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) /* 80210020 0020CF80 90 1F 0B 6C */ stw r0, 0xb6c(r31) /* 80210024 0020CF84 7C A6 2B 78 */ mr r6, r5 /* 80210028 0020CF88 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8021002C 0020CF8C 38 61 00 20 */ addi r3, r1, 0x20 /* 80210030 0020CF90 38 80 09 F1 */ li r4, 0x9f1 /* 80210034 0020CF94 38 E0 00 00 */ li r7, 0 /* 80210038 0020CF98 39 00 00 01 */ li r8, 1 /* 8021003C 0020CF9C 48 0D A2 75 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80210040 0020CFA0 80 61 00 20 */ lwz r3, 0x20(r1) /* 80210044 0020CFA4 38 00 00 01 */ li r0, 1 /* 80210048 0020CFA8 90 7F 0B 70 */ stw r3, 0xb70(r31) /* 8021004C 0020CFAC 98 1F 0B 6A */ stb r0, 0xb6a(r31) lbl_80210050: /* 80210050 0020CFB0 C0 61 00 A0 */ lfs f3, 0xa0(r1) /* 80210054 0020CFB4 38 61 00 1C */ addi r3, r1, 0x1c /* 80210058 0020CFB8 C0 A1 00 AC */ lfs f5, 0xac(r1) /* 8021005C 0020CFBC 38 81 00 64 */ addi r4, r1, 0x64 /* 80210060 0020CFC0 C0 E1 00 B0 */ lfs f7, 0xb0(r1) /* 80210064 0020CFC4 38 A1 00 4C */ addi r5, r1, 0x4c /* 80210068 0020CFC8 C0 41 00 BC */ lfs f2, 0xbc(r1) /* 8021006C 0020CFCC EC 05 18 28 */ fsubs f0, f5, f3 /* 80210070 0020CFD0 C0 C1 00 C0 */ lfs f6, 0xc0(r1) /* 80210074 0020CFD4 57 C6 06 3E */ clrlwi r6, r30, 0x18 /* 80210078 0020CFD8 C0 21 00 CC */ lfs f1, 0xcc(r1) /* 8021007C 0020CFDC EC 82 38 28 */ fsubs f4, f2, f7 /* 80210080 0020CFE0 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 80210084 0020CFE4 EC 61 30 28 */ fsubs f3, f1, f6 /* 80210088 0020CFE8 D0 E1 00 50 */ stfs f7, 0x50(r1) /* 8021008C 0020CFEC D0 C1 00 54 */ stfs f6, 0x54(r1) /* 80210090 0020CFF0 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80210094 0020CFF4 D0 81 00 68 */ stfs f4, 0x68(r1) /* 80210098 0020CFF8 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 8021009C 0020CFFC 80 1F 0B 6C */ lwz r0, 0xb6c(r31) /* 802100A0 0020D000 D0 A1 00 58 */ stfs f5, 0x58(r1) /* 802100A4 0020D004 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 802100A8 0020D008 D0 21 00 60 */ stfs f1, 0x60(r1) /* 802100AC 0020D00C 90 01 00 1C */ stw r0, 0x1c(r1) /* 802100B0 0020D010 48 0D 9E 01 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc /* 802100B4 0020D014 C0 61 00 C0 */ lfs f3, 0xc0(r1) /* 802100B8 0020D018 38 61 00 18 */ addi r3, r1, 0x18 /* 802100BC 0020D01C C0 21 00 CC */ lfs f1, 0xcc(r1) /* 802100C0 0020D020 38 81 00 40 */ addi r4, r1, 0x40 /* 802100C4 0020D024 C0 C1 00 B0 */ lfs f6, 0xb0(r1) /* 802100C8 0020D028 FC 00 18 50 */ fneg f0, f3 /* 802100CC 0020D02C C0 41 00 BC */ lfs f2, 0xbc(r1) /* 802100D0 0020D030 EC A1 18 2A */ fadds f5, f1, f3 /* 802100D4 0020D034 C1 01 00 A0 */ lfs f8, 0xa0(r1) /* 802100D8 0020D038 FC 80 30 50 */ fneg f4, f6 /* 802100DC 0020D03C C0 61 00 AC */ lfs f3, 0xac(r1) /* 802100E0 0020D040 FC E0 40 50 */ fneg f7, f8 /* 802100E4 0020D044 D0 01 00 30 */ stfs f0, 0x30(r1) /* 802100E8 0020D048 EC C2 30 2A */ fadds f6, f2, f6 /* 802100EC 0020D04C 38 A1 00 28 */ addi r5, r1, 0x28 /* 802100F0 0020D050 EC 03 40 2A */ fadds f0, f3, f8 /* 802100F4 0020D054 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 802100F8 0020D058 D0 E1 00 28 */ stfs f7, 0x28(r1) /* 802100FC 0020D05C 57 C6 06 3E */ clrlwi r6, r30, 0x18 /* 80210100 0020D060 D0 01 00 40 */ stfs f0, 0x40(r1) /* 80210104 0020D064 D0 C1 00 44 */ stfs f6, 0x44(r1) /* 80210108 0020D068 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 8021010C 0020D06C 80 1F 0B 70 */ lwz r0, 0xb70(r31) /* 80210110 0020D070 D0 61 00 34 */ stfs f3, 0x34(r1) /* 80210114 0020D074 D0 41 00 38 */ stfs f2, 0x38(r1) /* 80210118 0020D078 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8021011C 0020D07C 90 01 00 18 */ stw r0, 0x18(r1) /* 80210120 0020D080 48 0D 9D 91 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc /* 80210124 0020D084 C0 3F 00 30 */ lfs f1, 0x30(r31) /* 80210128 0020D088 48 00 00 81 */ bl CalcRainPitch__Ff /* 8021012C 0020D08C 80 1F 0B 6C */ lwz r0, 0xb6c(r31) /* 80210130 0020D090 7C 7E 07 34 */ extsh r30, r3 /* 80210134 0020D094 38 61 00 14 */ addi r3, r1, 0x14 /* 80210138 0020D098 90 01 00 14 */ stw r0, 0x14(r1) /* 8021013C 0020D09C 7F C4 F3 78 */ mr r4, r30 /* 80210140 0020D0A0 48 0D 8D 6D */ bl PitchBend__11CSfxManagerF10CSfxHandlei /* 80210144 0020D0A4 80 1F 0B 70 */ lwz r0, 0xb70(r31) /* 80210148 0020D0A8 7F C4 F3 78 */ mr r4, r30 /* 8021014C 0020D0AC 38 61 00 10 */ addi r3, r1, 0x10 /* 80210150 0020D0B0 90 01 00 10 */ stw r0, 0x10(r1) /* 80210154 0020D0B4 48 0D 8D 59 */ bl PitchBend__11CSfxManagerF10CSfxHandlei /* 80210158 0020D0B8 48 00 00 38 */ b lbl_80210190 lbl_8021015C: /* 8021015C 0020D0BC 88 1F 0B 6A */ lbz r0, 0xb6a(r31) /* 80210160 0020D0C0 28 00 00 00 */ cmplwi r0, 0 /* 80210164 0020D0C4 41 82 00 2C */ beq lbl_80210190 /* 80210168 0020D0C8 80 1F 0B 6C */ lwz r0, 0xb6c(r31) /* 8021016C 0020D0CC 38 61 00 0C */ addi r3, r1, 0xc /* 80210170 0020D0D0 90 01 00 0C */ stw r0, 0xc(r1) /* 80210174 0020D0D4 48 0D 9D 11 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80210178 0020D0D8 80 1F 0B 70 */ lwz r0, 0xb70(r31) /* 8021017C 0020D0DC 38 61 00 08 */ addi r3, r1, 8 /* 80210180 0020D0E0 90 01 00 08 */ stw r0, 8(r1) /* 80210184 0020D0E4 48 0D 9D 01 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80210188 0020D0E8 38 00 00 00 */ li r0, 0 /* 8021018C 0020D0EC 98 1F 0B 6A */ stb r0, 0xb6a(r31) lbl_80210190: /* 80210190 0020D0F0 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80210194 0020D0F4 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 80210198 0020D0F8 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 8021019C 0020D0FC 7C 08 03 A6 */ mtlr r0 /* 802101A0 0020D100 38 21 00 E0 */ addi r1, r1, 0xe0 /* 802101A4 0020D104 4E 80 00 20 */ blr .global CalcRainPitch__Ff CalcRainPitch__Ff: /* 802101A8 0020D108 C0 02 B2 50 */ lfs f0, lbl_805ACF70@sda21(r2) /* 802101AC 0020D10C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802101B0 0020D110 EC 00 00 72 */ fmuls f0, f0, f1 /* 802101B4 0020D114 FC 00 00 1E */ fctiwz f0, f0 /* 802101B8 0020D118 D8 01 00 08 */ stfd f0, 8(r1) /* 802101BC 0020D11C 80 61 00 0C */ lwz r3, 0xc(r1) /* 802101C0 0020D120 38 21 00 10 */ addi r1, r1, 0x10 /* 802101C4 0020D124 4E 80 00 20 */ blr .global CalcRainVolume__Ff CalcRainVolume__Ff: /* 802101C8 0020D128 C0 02 B2 58 */ lfs f0, lbl_805ACF78@sda21(r2) /* 802101CC 0020D12C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802101D0 0020D130 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802101D4 0020D134 40 80 00 14 */ bge lbl_802101E8 /* 802101D8 0020D138 EC 01 00 24 */ fdivs f0, f1, f0 /* 802101DC 0020D13C C0 22 B2 54 */ lfs f1, lbl_805ACF74@sda21(r2) /* 802101E0 0020D140 EC 01 00 32 */ fmuls f0, f1, f0 /* 802101E4 0020D144 48 00 00 18 */ b lbl_802101FC lbl_802101E8: /* 802101E8 0020D148 C0 02 B2 60 */ lfs f0, lbl_805ACF80@sda21(r2) /* 802101EC 0020D14C C0 42 B2 5C */ lfs f2, lbl_805ACF7C@sda21(r2) /* 802101F0 0020D150 EC 21 00 24 */ fdivs f1, f1, f0 /* 802101F4 0020D154 C0 02 B2 54 */ lfs f0, lbl_805ACF74@sda21(r2) /* 802101F8 0020D158 EC 02 00 7A */ fmadds f0, f2, f1, f0 lbl_802101FC: /* 802101FC 0020D15C FC 00 00 1E */ fctiwz f0, f0 /* 80210200 0020D160 D8 01 00 08 */ stfd f0, 8(r1) /* 80210204 0020D164 80 61 00 0C */ lwz r3, 0xc(r1) /* 80210208 0020D168 38 21 00 10 */ addi r1, r1, 0x10 /* 8021020C 0020D16C 4E 80 00 20 */ blr .global Render__13CEnvFxManagerFRC13CStateManager Render__13CEnvFxManagerFRC13CStateManager: /* 80210210 0020D170 94 21 FE C0 */ stwu r1, -0x140(r1) /* 80210214 0020D174 7C 08 02 A6 */ mflr r0 /* 80210218 0020D178 90 01 01 44 */ stw r0, 0x144(r1) /* 8021021C 0020D17C 93 E1 01 3C */ stw r31, 0x13c(r1) /* 80210220 0020D180 93 C1 01 38 */ stw r30, 0x138(r1) /* 80210224 0020D184 93 A1 01 34 */ stw r29, 0x134(r1) /* 80210228 0020D188 7C 9D 23 78 */ mr r29, r4 /* 8021022C 0020D18C 93 81 01 30 */ stw r28, 0x130(r1) /* 80210230 0020D190 7C 7C 1B 78 */ mr r28, r3 /* 80210234 0020D194 80 64 08 50 */ lwz r3, 0x850(r4) /* 80210238 0020D198 83 E3 00 C4 */ lwz r31, 0xc4(r3) /* 8021023C 0020D19C 2C 1F 00 00 */ cmpwi r31, 0 /* 80210240 0020D1A0 41 82 01 4C */ beq lbl_8021038C /* 80210244 0020D1A4 80 7D 08 4C */ lwz r3, 0x84c(r29) /* 80210248 0020D1A8 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 8021024C 0020D1AC 2C 00 00 00 */ cmpwi r0, 0 /* 80210250 0020D1B0 40 82 00 28 */ bne lbl_80210278 /* 80210254 0020D1B4 80 7D 08 B8 */ lwz r3, 0x8b8(r29) /* 80210258 0020D1B8 80 63 00 00 */ lwz r3, 0(r3) /* 8021025C 0020D1BC 80 03 00 14 */ lwz r0, 0x14(r3) /* 80210260 0020D1C0 2C 00 00 03 */ cmpwi r0, 3 /* 80210264 0020D1C4 41 82 01 28 */ beq lbl_8021038C /* 80210268 0020D1C8 2C 1F 00 01 */ cmpwi r31, 1 /* 8021026C 0020D1CC 40 82 00 0C */ bne lbl_80210278 /* 80210270 0020D1D0 2C 00 00 01 */ cmpwi r0, 1 /* 80210274 0020D1D4 41 82 01 18 */ beq lbl_8021038C lbl_80210278: /* 80210278 0020D1D8 38 60 00 00 */ li r3, 0 /* 8021027C 0020D1DC 48 0F B7 F5 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 80210280 0020D1E0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80210284 0020D1E4 38 80 00 01 */ li r4, 1 /* 80210288 0020D1E8 38 A0 00 00 */ li r5, 0 /* 8021028C 0020D1EC 81 83 00 00 */ lwz r12, 0(r3) /* 80210290 0020D1F0 81 8C 00 60 */ lwz r12, 0x60(r12) /* 80210294 0020D1F4 7D 89 03 A6 */ mtctr r12 /* 80210298 0020D1F8 4E 80 04 21 */ bctrl /* 8021029C 0020D1FC 7F 84 E3 78 */ mr r4, r28 /* 802102A0 0020D200 38 61 00 68 */ addi r3, r1, 0x68 /* 802102A4 0020D204 48 00 09 51 */ bl GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv /* 802102A8 0020D208 38 61 00 F8 */ addi r3, r1, 0xf8 /* 802102AC 0020D20C 38 81 00 68 */ addi r4, r1, 0x68 /* 802102B0 0020D210 48 10 28 C5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802102B4 0020D214 38 61 00 38 */ addi r3, r1, 0x38 /* 802102B8 0020D218 38 81 00 F8 */ addi r4, r1, 0xf8 /* 802102BC 0020D21C 48 10 24 25 */ bl GetInverse__12CTransform4fCFv /* 802102C0 0020D220 38 61 00 C8 */ addi r3, r1, 0xc8 /* 802102C4 0020D224 38 81 00 38 */ addi r4, r1, 0x38 /* 802102C8 0020D228 48 10 28 AD */ bl __ct__12CTransform4fFRC12CTransform4f /* 802102CC 0020D22C 80 9D 08 70 */ lwz r4, 0x870(r29) /* 802102D0 0020D230 7F A5 EB 78 */ mr r5, r29 /* 802102D4 0020D234 38 61 00 08 */ addi r3, r1, 8 /* 802102D8 0020D238 4B DF A6 91 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 802102DC 0020D23C 38 61 00 98 */ addi r3, r1, 0x98 /* 802102E0 0020D240 38 81 00 08 */ addi r4, r1, 8 /* 802102E4 0020D244 48 10 28 91 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802102E8 0020D248 2C 1F 00 02 */ cmpwi r31, 2 /* 802102EC 0020D24C 41 82 00 30 */ beq lbl_8021031C /* 802102F0 0020D250 40 80 00 10 */ bge lbl_80210300 /* 802102F4 0020D254 2C 1F 00 01 */ cmpwi r31, 1 /* 802102F8 0020D258 40 80 00 14 */ bge lbl_8021030C /* 802102FC 0020D25C 48 00 00 3C */ b lbl_80210338 lbl_80210300: /* 80210300 0020D260 2C 1F 00 04 */ cmpwi r31, 4 /* 80210304 0020D264 40 80 00 34 */ bge lbl_80210338 /* 80210308 0020D268 48 00 00 20 */ b lbl_80210328 lbl_8021030C: /* 8021030C 0020D26C 7F 83 E3 78 */ mr r3, r28 /* 80210310 0020D270 7F A4 EB 78 */ mr r4, r29 /* 80210314 0020D274 48 00 05 89 */ bl SetupSnowTevs__13CEnvFxManagerFR13CStateManager /* 80210318 0020D278 48 00 00 20 */ b lbl_80210338 lbl_8021031C: /* 8021031C 0020D27C 7F 83 E3 78 */ mr r3, r28 /* 80210320 0020D280 48 00 00 8D */ bl SetupRainTevs__13CEnvFxManagerFv /* 80210324 0020D284 48 00 00 14 */ b lbl_80210338 lbl_80210328: /* 80210328 0020D288 7F 83 E3 78 */ mr r3, r28 /* 8021032C 0020D28C 7F A5 EB 78 */ mr r5, r29 /* 80210330 0020D290 38 81 00 C8 */ addi r4, r1, 0xc8 /* 80210334 0020D294 48 00 02 11 */ bl SetupUnderwaterTevs__13CEnvFxManagerFRC12CTransform4fR13CStateManager lbl_80210338: /* 80210338 0020D298 3B DC 00 54 */ addi r30, r28, 0x54 /* 8021033C 0020D29C 3B A0 00 00 */ li r29, 0 /* 80210340 0020D2A0 48 00 00 28 */ b lbl_80210368 lbl_80210344: /* 80210344 0020D2A4 C0 3C 00 30 */ lfs f1, 0x30(r28) /* 80210348 0020D2A8 7F C3 F3 78 */ mr r3, r30 /* 8021034C 0020D2AC 7F E7 FB 78 */ mr r7, r31 /* 80210350 0020D2B0 38 81 00 F8 */ addi r4, r1, 0xf8 /* 80210354 0020D2B4 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 80210358 0020D2B8 38 C1 00 98 */ addi r6, r1, 0x98 /* 8021035C 0020D2BC 48 00 28 01 */ bl Render__17CEnvFxManagerGridFRC12CTransform4fRC12CTransform4fRC12CTransform4ff10EEnvFxType /* 80210360 0020D2C0 3B DE 00 2C */ addi r30, r30, 0x2c /* 80210364 0020D2C4 3B BD 00 01 */ addi r29, r29, 1 lbl_80210368: /* 80210368 0020D2C8 80 1C 00 50 */ lwz r0, 0x50(r28) /* 8021036C 0020D2CC 7C 1D 00 00 */ cmpw r29, r0 /* 80210370 0020D2D0 41 80 FF D4 */ blt lbl_80210344 /* 80210374 0020D2D4 38 60 00 01 */ li r3, 1 /* 80210378 0020D2D8 48 0F B6 F9 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 8021037C 0020D2DC 2C 1F 00 03 */ cmpwi r31, 3 /* 80210380 0020D2E0 40 82 00 0C */ bne lbl_8021038C /* 80210384 0020D2E4 7F 83 E3 78 */ mr r3, r28 /* 80210388 0020D2E8 48 00 01 91 */ bl sub_80210518 lbl_8021038C: /* 8021038C 0020D2EC 80 01 01 44 */ lwz r0, 0x144(r1) /* 80210390 0020D2F0 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 80210394 0020D2F4 83 C1 01 38 */ lwz r30, 0x138(r1) /* 80210398 0020D2F8 83 A1 01 34 */ lwz r29, 0x134(r1) /* 8021039C 0020D2FC 83 81 01 30 */ lwz r28, 0x130(r1) /* 802103A0 0020D300 7C 08 03 A6 */ mtlr r0 /* 802103A4 0020D304 38 21 01 40 */ addi r1, r1, 0x140 /* 802103A8 0020D308 4E 80 00 20 */ blr .global SetupRainTevs__13CEnvFxManagerFv SetupRainTevs__13CEnvFxManagerFv: /* 802103AC 0020D30C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802103B0 0020D310 7C 08 02 A6 */ mflr r0 /* 802103B4 0020D314 3C 80 80 3D */ lis r4, lbl_803D2800@ha /* 802103B8 0020D318 90 01 00 24 */ stw r0, 0x24(r1) /* 802103BC 0020D31C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802103C0 0020D320 7C 7F 1B 78 */ mr r31, r3 /* 802103C4 0020D324 38 64 28 00 */ addi r3, r4, lbl_803D2800@l /* 802103C8 0020D328 48 0F 7A 61 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 802103CC 0020D32C 38 60 00 06 */ li r3, 6 /* 802103D0 0020D330 38 80 00 09 */ li r4, 9 /* 802103D4 0020D334 38 A0 00 01 */ li r5, 1 /* 802103D8 0020D338 38 C0 00 03 */ li r6, 3 /* 802103DC 0020D33C 38 E0 00 08 */ li r7, 8 /* 802103E0 0020D340 48 16 73 AD */ bl GXSetVtxAttrFmt /* 802103E4 0020D344 38 60 00 06 */ li r3, 6 /* 802103E8 0020D348 38 80 00 0B */ li r4, 0xb /* 802103EC 0020D34C 38 A0 00 01 */ li r5, 1 /* 802103F0 0020D350 38 C0 00 03 */ li r6, 3 /* 802103F4 0020D354 38 E0 00 00 */ li r7, 0 /* 802103F8 0020D358 48 16 73 95 */ bl GXSetVtxAttrFmt /* 802103FC 0020D35C 38 60 00 06 */ li r3, 6 /* 80210400 0020D360 38 80 00 06 */ li r4, 6 /* 80210404 0020D364 48 0F 80 B5 */ bl SetLineWidth__3CGXFUc12_GXTexOffset /* 80210408 0020D368 38 60 00 01 */ li r3, 1 /* 8021040C 0020D36C 38 80 00 04 */ li r4, 4 /* 80210410 0020D370 38 A0 00 01 */ li r5, 1 /* 80210414 0020D374 38 C0 00 00 */ li r6, 0 /* 80210418 0020D378 48 0F 84 B9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 8021041C 0020D37C 38 60 00 01 */ li r3, 1 /* 80210420 0020D380 48 0F 8A 31 */ bl SetNumChans__3CGXFUc /* 80210424 0020D384 38 60 00 00 */ li r3, 0 /* 80210428 0020D388 38 80 00 01 */ li r4, 1 /* 8021042C 0020D38C 38 A0 00 01 */ li r5, 1 /* 80210430 0020D390 38 C0 00 01 */ li r6, 1 /* 80210434 0020D394 38 E0 00 00 */ li r7, 0 /* 80210438 0020D398 39 00 00 00 */ li r8, 0 /* 8021043C 0020D39C 39 20 00 02 */ li r9, 2 /* 80210440 0020D3A0 48 0F 88 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 80210444 0020D3A4 38 60 00 01 */ li r3, 1 /* 80210448 0020D3A8 48 0F 89 CD */ bl SetNumTexGens__3CGXFUc /* 8021044C 0020D3AC 38 60 00 01 */ li r3, 1 /* 80210450 0020D3B0 48 0F 88 41 */ bl SetNumTevStages__3CGXFUc /* 80210454 0020D3B4 38 60 00 00 */ li r3, 0 /* 80210458 0020D3B8 38 80 00 01 */ li r4, 1 /* 8021045C 0020D3BC 38 A0 00 00 */ li r5, 0 /* 80210460 0020D3C0 38 C0 00 2D */ li r6, 0x2d /* 80210464 0020D3C4 38 E0 00 00 */ li r7, 0 /* 80210468 0020D3C8 39 00 00 7D */ li r8, 0x7d /* 8021046C 0020D3CC 48 0F 82 61 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80210470 0020D3D0 38 60 00 00 */ li r3, 0 /* 80210474 0020D3D4 38 80 00 00 */ li r4, 0 /* 80210478 0020D3D8 38 A0 00 00 */ li r5, 0 /* 8021047C 0020D3DC 38 C0 00 04 */ li r6, 4 /* 80210480 0020D3E0 48 0F 84 CD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 80210484 0020D3E4 38 60 00 00 */ li r3, 0 /* 80210488 0020D3E8 48 0F 77 C9 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 8021048C 0020D3EC 38 60 00 00 */ li r3, 0 /* 80210490 0020D3F0 38 80 00 0F */ li r4, 0xf /* 80210494 0020D3F4 38 A0 00 0F */ li r5, 0xf /* 80210498 0020D3F8 38 C0 00 0F */ li r6, 0xf /* 8021049C 0020D3FC 38 E0 00 08 */ li r7, 8 /* 802104A0 0020D400 48 0F 87 4D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 802104A4 0020D404 38 60 00 00 */ li r3, 0 /* 802104A8 0020D408 38 80 00 07 */ li r4, 7 /* 802104AC 0020D40C 38 A0 00 05 */ li r5, 5 /* 802104B0 0020D410 38 C0 00 06 */ li r6, 6 /* 802104B4 0020D414 38 E0 00 07 */ li r7, 7 /* 802104B8 0020D418 48 0F 86 DD */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 802104BC 0020D41C 38 60 00 00 */ li r3, 0 /* 802104C0 0020D420 38 80 00 1C */ li r4, 0x1c /* 802104C4 0020D424 48 0F 84 D9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel /* 802104C8 0020D428 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 802104CC 0020D42C 38 61 00 08 */ addi r3, r1, 8 /* 802104D0 0020D430 C0 82 B2 68 */ lfs f4, lbl_805ACF88@sda21(r2) /* 802104D4 0020D434 FC 40 08 90 */ fmr f2, f1 /* 802104D8 0020D438 FC 60 08 90 */ fmr f3, f1 /* 802104DC 0020D43C 48 15 2F 11 */ bl __ct__6CColorFffff /* 802104E0 0020D440 80 01 00 08 */ lwz r0, 8(r1) /* 802104E4 0020D444 38 81 00 0C */ addi r4, r1, 0xc /* 802104E8 0020D448 38 60 00 00 */ li r3, 0 /* 802104EC 0020D44C 90 01 00 0C */ stw r0, 0xc(r1) /* 802104F0 0020D450 48 0F 87 55 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 802104F4 0020D454 80 7F 00 48 */ lwz r3, 0x48(r31) /* 802104F8 0020D458 38 80 00 00 */ li r4, 0 /* 802104FC 0020D45C 38 A0 00 00 */ li r5, 0 /* 80210500 0020D460 48 0F F2 3D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210504 0020D464 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210508 0020D468 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021050C 0020D46C 7C 08 03 A6 */ mtlr r0 /* 80210510 0020D470 38 21 00 20 */ addi r1, r1, 0x20 /* 80210514 0020D474 4E 80 00 20 */ blr .global sub_80210518 sub_80210518: /* 80210518 0020D478 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021051C 0020D47C 7C 08 02 A6 */ mflr r0 /* 80210520 0020D480 38 60 00 01 */ li r3, 1 /* 80210524 0020D484 38 80 00 00 */ li r4, 0 /* 80210528 0020D488 90 01 00 14 */ stw r0, 0x14(r1) /* 8021052C 0020D48C 38 A0 00 00 */ li r5, 0 /* 80210530 0020D490 48 16 B3 01 */ bl GXSetTevSwapMode /* 80210534 0020D494 80 01 00 14 */ lwz r0, 0x14(r1) /* 80210538 0020D498 7C 08 03 A6 */ mtlr r0 /* 8021053C 0020D49C 38 21 00 10 */ addi r1, r1, 0x10 /* 80210540 0020D4A0 4E 80 00 20 */ blr .global SetupUnderwaterTevs__13CEnvFxManagerFRC12CTransform4fR13CStateManager SetupUnderwaterTevs__13CEnvFxManagerFRC12CTransform4fR13CStateManager: /* 80210544 0020D4A4 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80210548 0020D4A8 7C 08 02 A6 */ mflr r0 /* 8021054C 0020D4AC 3C C0 80 3D */ lis r6, lbl_803D27C8@ha /* 80210550 0020D4B0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80210554 0020D4B4 BF 61 00 8C */ stmw r27, 0x8c(r1) /* 80210558 0020D4B8 7C 7E 1B 78 */ mr r30, r3 /* 8021055C 0020D4BC 38 66 27 C8 */ addi r3, r6, lbl_803D27C8@l /* 80210560 0020D4C0 7C 9F 23 78 */ mr r31, r4 /* 80210564 0020D4C4 7C BB 2B 78 */ mr r27, r5 /* 80210568 0020D4C8 48 0F 78 C1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 8021056C 0020D4CC 38 60 00 06 */ li r3, 6 /* 80210570 0020D4D0 38 80 00 09 */ li r4, 9 /* 80210574 0020D4D4 38 A0 00 01 */ li r5, 1 /* 80210578 0020D4D8 38 C0 00 03 */ li r6, 3 /* 8021057C 0020D4DC 38 E0 00 08 */ li r7, 8 /* 80210580 0020D4E0 48 16 72 0D */ bl GXSetVtxAttrFmt /* 80210584 0020D4E4 38 60 00 06 */ li r3, 6 /* 80210588 0020D4E8 38 80 00 0D */ li r4, 0xd /* 8021058C 0020D4EC 38 A0 00 01 */ li r5, 1 /* 80210590 0020D4F0 38 C0 00 01 */ li r6, 1 /* 80210594 0020D4F4 38 E0 00 01 */ li r7, 1 /* 80210598 0020D4F8 48 16 71 F5 */ bl GXSetVtxAttrFmt /* 8021059C 0020D4FC 38 60 00 01 */ li r3, 1 /* 802105A0 0020D500 38 80 00 04 */ li r4, 4 /* 802105A4 0020D504 38 A0 00 05 */ li r5, 5 /* 802105A8 0020D508 38 C0 00 00 */ li r6, 0 /* 802105AC 0020D50C 48 0F 83 25 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 802105B0 0020D510 38 60 00 00 */ li r3, 0 /* 802105B4 0020D514 48 0F 88 9D */ bl SetNumChans__3CGXFUc /* 802105B8 0020D518 38 60 00 02 */ li r3, 2 /* 802105BC 0020D51C 48 0F 88 59 */ bl SetNumTexGens__3CGXFUc /* 802105C0 0020D520 38 60 00 02 */ li r3, 2 /* 802105C4 0020D524 48 0F 86 CD */ bl SetNumTevStages__3CGXFUc /* 802105C8 0020D528 38 60 00 00 */ li r3, 0 /* 802105CC 0020D52C 38 80 00 01 */ li r4, 1 /* 802105D0 0020D530 38 A0 00 04 */ li r5, 4 /* 802105D4 0020D534 38 C0 00 3C */ li r6, 0x3c /* 802105D8 0020D538 38 E0 00 00 */ li r7, 0 /* 802105DC 0020D53C 39 00 00 7D */ li r8, 0x7d /* 802105E0 0020D540 48 0F 80 ED */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 802105E4 0020D544 38 60 00 00 */ li r3, 0 /* 802105E8 0020D548 38 80 00 00 */ li r4, 0 /* 802105EC 0020D54C 38 A0 00 00 */ li r5, 0 /* 802105F0 0020D550 38 C0 00 FF */ li r6, 0xff /* 802105F4 0020D554 48 0F 83 59 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 802105F8 0020D558 38 60 00 00 */ li r3, 0 /* 802105FC 0020D55C 48 0F 76 55 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80210600 0020D560 38 60 00 00 */ li r3, 0 /* 80210604 0020D564 38 80 00 0F */ li r4, 0xf /* 80210608 0020D568 38 A0 00 0F */ li r5, 0xf /* 8021060C 0020D56C 38 C0 00 0F */ li r6, 0xf /* 80210610 0020D570 38 E0 00 08 */ li r7, 8 /* 80210614 0020D574 48 0F 85 D9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210618 0020D578 38 60 00 00 */ li r3, 0 /* 8021061C 0020D57C 38 80 00 07 */ li r4, 7 /* 80210620 0020D580 38 A0 00 07 */ li r5, 7 /* 80210624 0020D584 38 C0 00 07 */ li r6, 7 /* 80210628 0020D588 38 E0 00 04 */ li r7, 4 /* 8021062C 0020D58C 48 0F 85 69 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210630 0020D590 80 9E 0C 50 */ lwz r4, 0xc50(r30) /* 80210634 0020D594 7F C3 F3 78 */ mr r3, r30 /* 80210638 0020D598 48 00 04 B5 */ bl BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture /* 8021063C 0020D59C 80 7E 0C 50 */ lwz r3, 0xc50(r30) /* 80210640 0020D5A0 38 80 00 00 */ li r4, 0 /* 80210644 0020D5A4 38 A0 00 01 */ li r5, 1 /* 80210648 0020D5A8 48 0F F0 F5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8021064C 0020D5AC 38 60 00 01 */ li r3, 1 /* 80210650 0020D5B0 38 80 00 01 */ li r4, 1 /* 80210654 0020D5B4 38 A0 00 00 */ li r5, 0 /* 80210658 0020D5B8 38 C0 00 2D */ li r6, 0x2d /* 8021065C 0020D5BC 38 E0 00 00 */ li r7, 0 /* 80210660 0020D5C0 39 00 00 7D */ li r8, 0x7d /* 80210664 0020D5C4 48 0F 80 69 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80210668 0020D5C8 38 60 00 01 */ li r3, 1 /* 8021066C 0020D5CC 38 80 00 01 */ li r4, 1 /* 80210670 0020D5D0 38 A0 00 01 */ li r5, 1 /* 80210674 0020D5D4 38 C0 00 FF */ li r6, 0xff /* 80210678 0020D5D8 48 0F 82 D5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8021067C 0020D5DC C0 02 B2 6C */ lfs f0, lbl_805ACF8C@sda21(r2) /* 80210680 0020D5E0 83 BB 08 10 */ lwz r29, 0x810(r27) /* 80210684 0020D5E4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80210688 0020D5E8 AB 9D 20 08 */ lha r28, 0x2008(r29) /* 8021068C 0020D5EC 48 00 00 F0 */ b lbl_8021077C lbl_80210690: /* 80210690 0020D5F0 7F A3 EB 78 */ mr r3, r29 /* 80210694 0020D5F4 7F 84 E3 78 */ mr r4, r28 /* 80210698 0020D5F8 4B DF F6 45 */ bl __vc__11CObjectListCFi /* 8021069C 0020D5FC 7C 60 1B 78 */ mr r0, r3 /* 802106A0 0020D600 38 61 00 10 */ addi r3, r1, 0x10 /* 802106A4 0020D604 7C 1B 03 78 */ mr r27, r0 /* 802106A8 0020D608 7F 64 DB 78 */ mr r4, r27 /* 802106AC 0020D60C 4B E9 61 B5 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 802106B0 0020D610 80 03 00 04 */ lwz r0, 4(r3) /* 802106B4 0020D614 28 00 00 00 */ cmplwi r0, 0 /* 802106B8 0020D618 41 82 00 A8 */ beq lbl_80210760 /* 802106BC 0020D61C 7F 64 DB 78 */ mr r4, r27 /* 802106C0 0020D620 38 61 00 30 */ addi r3, r1, 0x30 /* 802106C4 0020D624 81 9B 00 00 */ lwz r12, 0(r27) /* 802106C8 0020D628 81 8C 00 40 */ lwz r12, 0x40(r12) /* 802106CC 0020D62C 7D 89 03 A6 */ mtctr r12 /* 802106D0 0020D630 4E 80 04 21 */ bctrl /* 802106D4 0020D634 88 01 00 48 */ lbz r0, 0x48(r1) /* 802106D8 0020D638 28 00 00 00 */ cmplwi r0, 0 /* 802106DC 0020D63C 98 01 00 84 */ stb r0, 0x84(r1) /* 802106E0 0020D640 41 82 00 3C */ beq lbl_8021071C /* 802106E4 0020D644 34 61 00 6C */ addic. r3, r1, 0x6c /* 802106E8 0020D648 41 82 00 34 */ beq lbl_8021071C /* 802106EC 0020D64C C0 01 00 30 */ lfs f0, 0x30(r1) /* 802106F0 0020D650 D0 03 00 00 */ stfs f0, 0(r3) /* 802106F4 0020D654 C0 01 00 34 */ lfs f0, 0x34(r1) /* 802106F8 0020D658 D0 03 00 04 */ stfs f0, 4(r3) /* 802106FC 0020D65C C0 01 00 38 */ lfs f0, 0x38(r1) /* 80210700 0020D660 D0 03 00 08 */ stfs f0, 8(r3) /* 80210704 0020D664 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80210708 0020D668 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8021070C 0020D66C C0 01 00 40 */ lfs f0, 0x40(r1) /* 80210710 0020D670 D0 03 00 10 */ stfs f0, 0x10(r3) /* 80210714 0020D674 C0 01 00 44 */ lfs f0, 0x44(r1) /* 80210718 0020D678 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_8021071C: /* 8021071C 0020D67C 88 01 00 84 */ lbz r0, 0x84(r1) /* 80210720 0020D680 38 60 00 00 */ li r3, 0 /* 80210724 0020D684 98 61 00 48 */ stb r3, 0x48(r1) /* 80210728 0020D688 28 00 00 00 */ cmplwi r0, 0 /* 8021072C 0020D68C 41 82 00 2C */ beq lbl_80210758 /* 80210730 0020D690 C0 21 00 80 */ lfs f1, 0x80(r1) /* 80210734 0020D694 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80210738 0020D698 D0 21 00 08 */ stfs f1, 8(r1) /* 8021073C 0020D69C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80210740 0020D6A0 40 80 00 0C */ bge lbl_8021074C /* 80210744 0020D6A4 38 61 00 0C */ addi r3, r1, 0xc /* 80210748 0020D6A8 48 00 00 08 */ b lbl_80210750 lbl_8021074C: /* 8021074C 0020D6AC 38 61 00 08 */ addi r3, r1, 8 lbl_80210750: /* 80210750 0020D6B0 C0 03 00 00 */ lfs f0, 0(r3) /* 80210754 0020D6B4 D0 01 00 0C */ stfs f0, 0xc(r1) lbl_80210758: /* 80210758 0020D6B8 38 00 00 00 */ li r0, 0 /* 8021075C 0020D6BC 98 01 00 84 */ stb r0, 0x84(r1) lbl_80210760: /* 80210760 0020D6C0 2C 1C FF FF */ cmpwi r28, -1 /* 80210764 0020D6C4 41 82 00 14 */ beq lbl_80210778 /* 80210768 0020D6C8 57 83 18 38 */ slwi r3, r28, 3 /* 8021076C 0020D6CC 38 03 00 08 */ addi r0, r3, 8 /* 80210770 0020D6D0 7F 9D 02 AE */ lhax r28, r29, r0 /* 80210774 0020D6D4 48 00 00 08 */ b lbl_8021077C lbl_80210778: /* 80210778 0020D6D8 3B 80 FF FF */ li r28, -1 lbl_8021077C: /* 8021077C 0020D6DC 2C 1C FF FF */ cmpwi r28, -1 /* 80210780 0020D6E0 40 82 FF 10 */ bne lbl_80210690 /* 80210784 0020D6E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80210788 0020D6E8 C0 61 00 0C */ lfs f3, 0xc(r1) /* 8021078C 0020D6EC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80210790 0020D6F0 7F E4 FB 78 */ mr r4, r31 /* 80210794 0020D6F4 C0 46 00 00 */ lfs f2, 0(r6) /* 80210798 0020D6F8 38 61 00 24 */ addi r3, r1, 0x24 /* 8021079C 0020D6FC C0 26 00 04 */ lfs f1, 4(r6) /* 802107A0 0020D700 38 A1 00 18 */ addi r5, r1, 0x18 /* 802107A4 0020D704 C0 06 00 08 */ lfs f0, 8(r6) /* 802107A8 0020D708 EC 43 00 B2 */ fmuls f2, f3, f2 /* 802107AC 0020D70C EC 23 00 72 */ fmuls f1, f3, f1 /* 802107B0 0020D710 EC 03 00 32 */ fmuls f0, f3, f0 /* 802107B4 0020D714 D0 41 00 18 */ stfs f2, 0x18(r1) /* 802107B8 0020D718 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 802107BC 0020D71C D0 01 00 20 */ stfs f0, 0x20(r1) /* 802107C0 0020D720 48 10 23 29 */ bl __ml__12CTransform4fCFRC9CVector3f /* 802107C4 0020D724 3C 60 80 3D */ lis r3, lbl_803D27E0@ha /* 802107C8 0020D728 C0 42 B2 74 */ lfs f2, lbl_805ACF94@sda21(r2) /* 802107CC 0020D72C 39 83 27 E0 */ addi r12, r3, lbl_803D27E0@l /* 802107D0 0020D730 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 802107D4 0020D734 C0 02 B2 70 */ lfs f0, lbl_805ACF90@sda21(r2) /* 802107D8 0020D738 38 61 00 4C */ addi r3, r1, 0x4c /* 802107DC 0020D73C 80 0C 00 1C */ lwz r0, 0x1c(r12) /* 802107E0 0020D740 38 80 00 2D */ li r4, 0x2d /* 802107E4 0020D744 81 6C 00 00 */ lwz r11, 0(r12) /* 802107E8 0020D748 EC 02 00 7E */ fnmadds f0, f2, f1, f0 /* 802107EC 0020D74C 90 01 00 68 */ stw r0, 0x68(r1) /* 802107F0 0020D750 38 A0 00 01 */ li r5, 1 /* 802107F4 0020D754 81 4C 00 04 */ lwz r10, 4(r12) /* 802107F8 0020D758 81 2C 00 08 */ lwz r9, 8(r12) /* 802107FC 0020D75C 81 0C 00 0C */ lwz r8, 0xc(r12) /* 80210800 0020D760 80 EC 00 10 */ lwz r7, 0x10(r12) /* 80210804 0020D764 80 CC 00 14 */ lwz r6, 0x14(r12) /* 80210808 0020D768 80 0C 00 18 */ lwz r0, 0x18(r12) /* 8021080C 0020D76C 91 61 00 4C */ stw r11, 0x4c(r1) /* 80210810 0020D770 91 41 00 50 */ stw r10, 0x50(r1) /* 80210814 0020D774 91 21 00 54 */ stw r9, 0x54(r1) /* 80210818 0020D778 91 01 00 58 */ stw r8, 0x58(r1) /* 8021081C 0020D77C 90 E1 00 5C */ stw r7, 0x5c(r1) /* 80210820 0020D780 90 C1 00 60 */ stw r6, 0x60(r1) /* 80210824 0020D784 90 01 00 64 */ stw r0, 0x64(r1) /* 80210828 0020D788 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8021082C 0020D78C 48 16 BC 65 */ bl GXLoadTexMtxImm /* 80210830 0020D790 38 60 00 01 */ li r3, 1 /* 80210834 0020D794 48 0F 74 1D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80210838 0020D798 38 60 00 01 */ li r3, 1 /* 8021083C 0020D79C 38 80 00 0F */ li r4, 0xf /* 80210840 0020D7A0 38 A0 00 0C */ li r5, 0xc /* 80210844 0020D7A4 38 C0 00 00 */ li r6, 0 /* 80210848 0020D7A8 38 E0 00 0F */ li r7, 0xf /* 8021084C 0020D7AC 48 0F 83 A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210850 0020D7B0 38 60 00 01 */ li r3, 1 /* 80210854 0020D7B4 38 80 00 07 */ li r4, 7 /* 80210858 0020D7B8 38 A0 00 04 */ li r5, 4 /* 8021085C 0020D7BC 38 C0 00 00 */ li r6, 0 /* 80210860 0020D7C0 38 E0 00 07 */ li r7, 7 /* 80210864 0020D7C4 48 0F 83 31 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210868 0020D7C8 38 60 00 01 */ li r3, 1 /* 8021086C 0020D7CC 38 80 00 01 */ li r4, 1 /* 80210870 0020D7D0 38 A0 00 01 */ li r5, 1 /* 80210874 0020D7D4 48 16 AF BD */ bl GXSetTevSwapMode /* 80210878 0020D7D8 80 7E 00 48 */ lwz r3, 0x48(r30) /* 8021087C 0020D7DC 38 80 00 01 */ li r4, 1 /* 80210880 0020D7E0 38 A0 00 00 */ li r5, 0 /* 80210884 0020D7E4 48 0F EE B9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210888 0020D7E8 BB 61 00 8C */ lmw r27, 0x8c(r1) /* 8021088C 0020D7EC 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80210890 0020D7F0 7C 08 03 A6 */ mtlr r0 /* 80210894 0020D7F4 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80210898 0020D7F8 4E 80 00 20 */ blr .global SetupSnowTevs__13CEnvFxManagerFR13CStateManager SetupSnowTevs__13CEnvFxManagerFR13CStateManager: /* 8021089C 0020D7FC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802108A0 0020D800 7C 08 02 A6 */ mflr r0 /* 802108A4 0020D804 90 01 00 24 */ stw r0, 0x24(r1) /* 802108A8 0020D808 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802108AC 0020D80C 93 C1 00 18 */ stw r30, 0x18(r1) /* 802108B0 0020D810 7C 7E 1B 78 */ mr r30, r3 /* 802108B4 0020D814 83 E4 08 70 */ lwz r31, 0x870(r4) /* 802108B8 0020D818 7F E3 FB 78 */ mr r3, r31 /* 802108BC 0020D81C 4B DF B2 5D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 802108C0 0020D820 48 13 96 ED */ bl White__6CColorFv /* 802108C4 0020D824 80 03 00 00 */ lwz r0, 0(r3) /* 802108C8 0020D828 90 01 00 0C */ stw r0, 0xc(r1) /* 802108CC 0020D82C 80 1F 00 74 */ lwz r0, 0x74(r31) /* 802108D0 0020D830 2C 00 00 00 */ cmpwi r0, 0 /* 802108D4 0020D834 41 82 00 50 */ beq lbl_80210924 /* 802108D8 0020D838 48 13 96 DD */ bl Black__6CColorFv /* 802108DC 0020D83C 7C 65 1B 78 */ mr r5, r3 /* 802108E0 0020D840 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 802108E4 0020D844 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 802108E8 0020D848 38 80 00 04 */ li r4, 4 /* 802108EC 0020D84C 81 83 00 00 */ lwz r12, 0(r3) /* 802108F0 0020D850 C0 42 B2 7C */ lfs f2, lbl_805ACF9C@sda21(r2) /* 802108F4 0020D854 81 8C 00 E0 */ lwz r12, 0xe0(r12) /* 802108F8 0020D858 7D 89 03 A6 */ mtctr r12 /* 802108FC 0020D85C 4E 80 04 21 */ bctrl /* 80210900 0020D860 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80210904 0020D864 38 61 00 08 */ addi r3, r1, 8 /* 80210908 0020D868 C0 82 B2 70 */ lfs f4, lbl_805ACF90@sda21(r2) /* 8021090C 0020D86C FC 40 08 90 */ fmr f2, f1 /* 80210910 0020D870 FC 60 08 90 */ fmr f3, f1 /* 80210914 0020D874 48 15 2A D9 */ bl __ct__6CColorFffff /* 80210918 0020D878 80 01 00 08 */ lwz r0, 8(r1) /* 8021091C 0020D87C 90 01 00 0C */ stw r0, 0xc(r1) /* 80210920 0020D880 48 00 00 2C */ b lbl_8021094C lbl_80210924: /* 80210924 0020D884 48 13 96 91 */ bl Black__6CColorFv /* 80210928 0020D888 7C 65 1B 78 */ mr r5, r3 /* 8021092C 0020D88C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80210930 0020D890 C0 22 B2 80 */ lfs f1, lbl_805ACFA0@sda21(r2) /* 80210934 0020D894 38 80 00 02 */ li r4, 2 /* 80210938 0020D898 81 83 00 00 */ lwz r12, 0(r3) /* 8021093C 0020D89C C0 42 B2 84 */ lfs f2, lbl_805ACFA4@sda21(r2) /* 80210940 0020D8A0 81 8C 00 E0 */ lwz r12, 0xe0(r12) /* 80210944 0020D8A4 7D 89 03 A6 */ mtctr r12 /* 80210948 0020D8A8 4E 80 04 21 */ bctrl lbl_8021094C: /* 8021094C 0020D8AC 3C 60 80 3D */ lis r3, lbl_803D27B0@ha /* 80210950 0020D8B0 38 63 27 B0 */ addi r3, r3, lbl_803D27B0@l /* 80210954 0020D8B4 48 0F 74 D5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 80210958 0020D8B8 38 60 00 06 */ li r3, 6 /* 8021095C 0020D8BC 38 80 00 09 */ li r4, 9 /* 80210960 0020D8C0 38 A0 00 01 */ li r5, 1 /* 80210964 0020D8C4 38 C0 00 03 */ li r6, 3 /* 80210968 0020D8C8 38 E0 00 08 */ li r7, 8 /* 8021096C 0020D8CC 48 16 6E 21 */ bl GXSetVtxAttrFmt /* 80210970 0020D8D0 38 60 00 06 */ li r3, 6 /* 80210974 0020D8D4 38 80 00 0D */ li r4, 0xd /* 80210978 0020D8D8 38 A0 00 01 */ li r5, 1 /* 8021097C 0020D8DC 38 C0 00 01 */ li r6, 1 /* 80210980 0020D8E0 38 E0 00 01 */ li r7, 1 /* 80210984 0020D8E4 48 16 6E 09 */ bl GXSetVtxAttrFmt /* 80210988 0020D8E8 38 60 00 01 */ li r3, 1 /* 8021098C 0020D8EC 38 80 00 01 */ li r4, 1 /* 80210990 0020D8F0 38 A0 00 01 */ li r5, 1 /* 80210994 0020D8F4 38 C0 00 00 */ li r6, 0 /* 80210998 0020D8F8 48 0F 7F 39 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 8021099C 0020D8FC 38 60 00 00 */ li r3, 0 /* 802109A0 0020D900 48 0F 84 B1 */ bl SetNumChans__3CGXFUc /* 802109A4 0020D904 38 60 00 02 */ li r3, 2 /* 802109A8 0020D908 48 0F 84 6D */ bl SetNumTexGens__3CGXFUc /* 802109AC 0020D90C 38 60 00 02 */ li r3, 2 /* 802109B0 0020D910 48 0F 82 E1 */ bl SetNumTevStages__3CGXFUc /* 802109B4 0020D914 38 60 00 00 */ li r3, 0 /* 802109B8 0020D918 38 80 00 01 */ li r4, 1 /* 802109BC 0020D91C 38 A0 00 04 */ li r5, 4 /* 802109C0 0020D920 38 C0 00 3C */ li r6, 0x3c /* 802109C4 0020D924 38 E0 00 00 */ li r7, 0 /* 802109C8 0020D928 39 00 00 7D */ li r8, 0x7d /* 802109CC 0020D92C 48 0F 7D 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 802109D0 0020D930 38 60 00 00 */ li r3, 0 /* 802109D4 0020D934 38 80 00 00 */ li r4, 0 /* 802109D8 0020D938 38 A0 00 00 */ li r5, 0 /* 802109DC 0020D93C 38 C0 00 FF */ li r6, 0xff /* 802109E0 0020D940 48 0F 7F 6D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 802109E4 0020D944 38 60 00 00 */ li r3, 0 /* 802109E8 0020D948 48 0F 72 69 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 802109EC 0020D94C 38 60 00 00 */ li r3, 0 /* 802109F0 0020D950 38 80 00 0F */ li r4, 0xf /* 802109F4 0020D954 38 A0 00 0E */ li r5, 0xe /* 802109F8 0020D958 38 C0 00 08 */ li r6, 8 /* 802109FC 0020D95C 38 E0 00 0F */ li r7, 0xf /* 80210A00 0020D960 48 0F 81 ED */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210A04 0020D964 38 60 00 00 */ li r3, 0 /* 80210A08 0020D968 38 80 00 07 */ li r4, 7 /* 80210A0C 0020D96C 38 A0 00 06 */ li r5, 6 /* 80210A10 0020D970 38 C0 00 04 */ li r6, 4 /* 80210A14 0020D974 38 E0 00 07 */ li r7, 7 /* 80210A18 0020D978 48 0F 81 7D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210A1C 0020D97C 38 81 00 0C */ addi r4, r1, 0xc /* 80210A20 0020D980 38 60 00 00 */ li r3, 0 /* 80210A24 0020D984 48 0F 82 21 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 80210A28 0020D988 38 60 00 00 */ li r3, 0 /* 80210A2C 0020D98C 38 80 00 0C */ li r4, 0xc /* 80210A30 0020D990 48 0F 7F B1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 80210A34 0020D994 38 60 00 00 */ li r3, 0 /* 80210A38 0020D998 38 80 00 1C */ li r4, 0x1c /* 80210A3C 0020D99C 48 0F 7F 61 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel /* 80210A40 0020D9A0 80 9E 0B 7C */ lwz r4, 0xb7c(r30) /* 80210A44 0020D9A4 7F C3 F3 78 */ mr r3, r30 /* 80210A48 0020D9A8 48 00 00 A5 */ bl BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture /* 80210A4C 0020D9AC 80 7E 0B 7C */ lwz r3, 0xb7c(r30) /* 80210A50 0020D9B0 38 80 00 00 */ li r4, 0 /* 80210A54 0020D9B4 38 A0 00 01 */ li r5, 1 /* 80210A58 0020D9B8 48 0F EC E5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210A5C 0020D9BC 38 60 00 01 */ li r3, 1 /* 80210A60 0020D9C0 38 80 00 01 */ li r4, 1 /* 80210A64 0020D9C4 38 A0 00 00 */ li r5, 0 /* 80210A68 0020D9C8 38 C0 00 2D */ li r6, 0x2d /* 80210A6C 0020D9CC 38 E0 00 00 */ li r7, 0 /* 80210A70 0020D9D0 39 00 00 7D */ li r8, 0x7d /* 80210A74 0020D9D4 48 0F 7C 59 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80210A78 0020D9D8 38 60 00 01 */ li r3, 1 /* 80210A7C 0020D9DC 38 80 00 01 */ li r4, 1 /* 80210A80 0020D9E0 38 A0 00 01 */ li r5, 1 /* 80210A84 0020D9E4 38 C0 00 FF */ li r6, 0xff /* 80210A88 0020D9E8 48 0F 7E C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 80210A8C 0020D9EC 38 60 00 01 */ li r3, 1 /* 80210A90 0020D9F0 48 0F 71 C1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80210A94 0020D9F4 38 60 00 01 */ li r3, 1 /* 80210A98 0020D9F8 38 80 00 0F */ li r4, 0xf /* 80210A9C 0020D9FC 38 A0 00 08 */ li r5, 8 /* 80210AA0 0020DA00 38 C0 00 00 */ li r6, 0 /* 80210AA4 0020DA04 38 E0 00 0F */ li r7, 0xf /* 80210AA8 0020DA08 48 0F 81 45 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210AAC 0020DA0C 38 60 00 01 */ li r3, 1 /* 80210AB0 0020DA10 38 80 00 07 */ li r4, 7 /* 80210AB4 0020DA14 38 A0 00 07 */ li r5, 7 /* 80210AB8 0020DA18 38 C0 00 07 */ li r6, 7 /* 80210ABC 0020DA1C 38 E0 00 04 */ li r7, 4 /* 80210AC0 0020DA20 48 0F 80 D5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210AC4 0020DA24 80 7E 00 48 */ lwz r3, 0x48(r30) /* 80210AC8 0020DA28 38 80 00 01 */ li r4, 1 /* 80210ACC 0020DA2C 38 A0 00 00 */ li r5, 0 /* 80210AD0 0020DA30 48 0F EC 6D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210AD4 0020DA34 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210AD8 0020DA38 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80210ADC 0020DA3C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80210AE0 0020DA40 7C 08 03 A6 */ mtlr r0 /* 80210AE4 0020DA44 38 21 00 20 */ addi r1, r1, 0x20 /* 80210AE8 0020DA48 4E 80 00 20 */ blr .global BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture: /* 80210AEC 0020DA4C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80210AF0 0020DA50 7C 08 02 A6 */ mflr r0 /* 80210AF4 0020DA54 90 01 00 14 */ stw r0, 0x14(r1) /* 80210AF8 0020DA58 93 E1 00 0C */ stw r31, 0xc(r1) /* 80210AFC 0020DA5C 7C 9F 23 78 */ mr r31, r4 /* 80210B00 0020DA60 93 C1 00 08 */ stw r30, 8(r1) /* 80210B04 0020DA64 7C 7E 1B 78 */ mr r30, r3 /* 80210B08 0020DA68 88 03 00 3C */ lbz r0, 0x3c(r3) /* 80210B0C 0020DA6C 28 00 00 00 */ cmplwi r0, 0 /* 80210B10 0020DA70 40 82 00 CC */ bne lbl_80210BDC /* 80210B14 0020DA74 88 1F 00 0A */ lbz r0, 0xa(r31) /* 80210B18 0020DA78 38 60 00 01 */ li r3, 1 /* 80210B1C 0020DA7C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80210B20 0020DA80 7F E3 FB 78 */ mr r3, r31 /* 80210B24 0020DA84 98 1F 00 0A */ stb r0, 0xa(r31) /* 80210B28 0020DA88 38 80 00 00 */ li r4, 0 /* 80210B2C 0020DA8C 48 0F DA A9 */ bl GetBitMapData__8CTextureFi /* 80210B30 0020DA90 A8 9F 00 04 */ lha r4, 4(r31) /* 80210B34 0020DA94 38 E0 00 00 */ li r7, 0 /* 80210B38 0020DA98 A8 1F 00 06 */ lha r0, 6(r31) /* 80210B3C 0020DA9C 88 BF 00 09 */ lbz r5, 9(r31) /* 80210B40 0020DAA0 7C 04 01 D6 */ mullw r0, r4, r0 /* 80210B44 0020DAA4 7C A4 07 74 */ extsb r4, r5 /* 80210B48 0020DAA8 7C 04 01 D6 */ mullw r0, r4, r0 /* 80210B4C 0020DAAC 7C 00 1E 70 */ srawi r0, r0, 3 /* 80210B50 0020DAB0 7C C0 01 95 */ addze. r6, r0 /* 80210B54 0020DAB4 40 81 00 78 */ ble lbl_80210BCC /* 80210B58 0020DAB8 2C 06 00 08 */ cmpwi r6, 8 /* 80210B5C 0020DABC 38 A6 FF F8 */ addi r5, r6, -8 /* 80210B60 0020DAC0 40 81 00 48 */ ble lbl_80210BA8 /* 80210B64 0020DAC4 38 05 00 07 */ addi r0, r5, 7 /* 80210B68 0020DAC8 38 80 00 00 */ li r4, 0 /* 80210B6C 0020DACC 54 00 E8 FE */ srwi r0, r0, 3 /* 80210B70 0020DAD0 7C 09 03 A6 */ mtctr r0 /* 80210B74 0020DAD4 2C 05 00 00 */ cmpwi r5, 0 /* 80210B78 0020DAD8 40 81 00 30 */ ble lbl_80210BA8 lbl_80210B7C: /* 80210B7C 0020DADC 7C A3 3A 14 */ add r5, r3, r7 /* 80210B80 0020DAE0 38 E7 00 08 */ addi r7, r7, 8 /* 80210B84 0020DAE4 98 85 00 00 */ stb r4, 0(r5) /* 80210B88 0020DAE8 98 85 00 01 */ stb r4, 1(r5) /* 80210B8C 0020DAEC 98 85 00 02 */ stb r4, 2(r5) /* 80210B90 0020DAF0 98 85 00 03 */ stb r4, 3(r5) /* 80210B94 0020DAF4 98 85 00 04 */ stb r4, 4(r5) /* 80210B98 0020DAF8 98 85 00 05 */ stb r4, 5(r5) /* 80210B9C 0020DAFC 98 85 00 06 */ stb r4, 6(r5) /* 80210BA0 0020DB00 98 85 00 07 */ stb r4, 7(r5) /* 80210BA4 0020DB04 42 00 FF D8 */ bdnz lbl_80210B7C lbl_80210BA8: /* 80210BA8 0020DB08 7C 07 30 50 */ subf r0, r7, r6 /* 80210BAC 0020DB0C 7C 63 3A 14 */ add r3, r3, r7 /* 80210BB0 0020DB10 38 80 00 00 */ li r4, 0 /* 80210BB4 0020DB14 7C 09 03 A6 */ mtctr r0 /* 80210BB8 0020DB18 7C 07 30 00 */ cmpw r7, r6 /* 80210BBC 0020DB1C 40 80 00 10 */ bge lbl_80210BCC lbl_80210BC0: /* 80210BC0 0020DB20 98 83 00 00 */ stb r4, 0(r3) /* 80210BC4 0020DB24 38 63 00 01 */ addi r3, r3, 1 /* 80210BC8 0020DB28 42 00 FF F8 */ bdnz lbl_80210BC0 lbl_80210BCC: /* 80210BCC 0020DB2C 7F E3 FB 78 */ mr r3, r31 /* 80210BD0 0020DB30 48 0F DD 4D */ bl UnLock__8CTextureFv /* 80210BD4 0020DB34 38 00 00 01 */ li r0, 1 /* 80210BD8 0020DB38 98 1E 00 3C */ stb r0, 0x3c(r30) lbl_80210BDC: /* 80210BDC 0020DB3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80210BE0 0020DB40 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80210BE4 0020DB44 83 C1 00 08 */ lwz r30, 8(r1) /* 80210BE8 0020DB48 7C 08 03 A6 */ mtlr r0 /* 80210BEC 0020DB4C 38 21 00 10 */ addi r1, r1, 0x10 /* 80210BF0 0020DB50 4E 80 00 20 */ blr .global GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv: /* 80210BF4 0020DB54 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 80210BF8 0020DB58 7C 08 02 A6 */ mflr r0 /* 80210BFC 0020DB5C C0 02 B2 88 */ lfs f0, lbl_805ACFA8@sda21(r2) /* 80210C00 0020DB60 90 01 00 F4 */ stw r0, 0xf4(r1) /* 80210C04 0020DB64 93 E1 00 EC */ stw r31, 0xec(r1) /* 80210C08 0020DB68 7C 9F 23 78 */ mr r31, r4 /* 80210C0C 0020DB6C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 80210C10 0020DB70 7C 7E 1B 78 */ mr r30, r3 /* 80210C14 0020DB74 38 61 00 08 */ addi r3, r1, 8 /* 80210C18 0020DB78 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80210C1C 0020DB7C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80210C20 0020DB80 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80210C24 0020DB84 48 00 1E F5 */ bl GetParticleBoundsToWorldScale__13CEnvFxManagerCFv /* 80210C28 0020DB88 38 61 00 20 */ addi r3, r1, 0x20 /* 80210C2C 0020DB8C 38 81 00 08 */ addi r4, r1, 8 /* 80210C30 0020DB90 48 10 25 95 */ bl Scale__12CTransform4fFRC9CVector3f /* 80210C34 0020DB94 38 61 00 50 */ addi r3, r1, 0x50 /* 80210C38 0020DB98 38 81 00 14 */ addi r4, r1, 0x14 /* 80210C3C 0020DB9C 48 10 25 05 */ bl Translate__12CTransform4fFRC9CVector3f /* 80210C40 0020DBA0 38 61 00 80 */ addi r3, r1, 0x80 /* 80210C44 0020DBA4 38 9F 00 18 */ addi r4, r31, 0x18 /* 80210C48 0020DBA8 48 10 24 F9 */ bl Translate__12CTransform4fFRC9CVector3f /* 80210C4C 0020DBAC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80210C50 0020DBB0 38 81 00 80 */ addi r4, r1, 0x80 /* 80210C54 0020DBB4 38 A1 00 50 */ addi r5, r1, 0x50 /* 80210C58 0020DBB8 48 10 1C F9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80210C5C 0020DBBC 7F C3 F3 78 */ mr r3, r30 /* 80210C60 0020DBC0 38 81 00 B0 */ addi r4, r1, 0xb0 /* 80210C64 0020DBC4 38 A1 00 20 */ addi r5, r1, 0x20 /* 80210C68 0020DBC8 48 10 1C E9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80210C6C 0020DBCC 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80210C70 0020DBD0 83 E1 00 EC */ lwz r31, 0xec(r1) /* 80210C74 0020DBD4 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 80210C78 0020DBD8 7C 08 03 A6 */ mtlr r0 /* 80210C7C 0020DBDC 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80210C80 0020DBE0 4E 80 00 20 */ blr .global SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager: /* 80210C84 0020DBE4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80210C88 0020DBE8 7C 08 02 A6 */ mflr r0 /* 80210C8C 0020DBEC 90 01 00 24 */ stw r0, 0x24(r1) /* 80210C90 0020DBF0 DB E1 00 18 */ stfd f31, 0x18(r1) /* 80210C94 0020DBF4 FF E0 08 90 */ fmr f31, f1 /* 80210C98 0020DBF8 A0 03 0B 68 */ lhz r0, 0xb68(r3) /* 80210C9C 0020DBFC 7C 83 23 78 */ mr r3, r4 /* 80210CA0 0020DC00 38 81 00 08 */ addi r4, r1, 8 /* 80210CA4 0020DC04 B0 01 00 08 */ sth r0, 8(r1) /* 80210CA8 0020DC08 4B E3 B8 CD */ bl ObjectById__13CStateManagerF9TUniqueId /* 80210CAC 0020DC0C 7C 64 1B 78 */ mr r4, r3 /* 80210CB0 0020DC10 38 61 00 0C */ addi r3, r1, 0xc /* 80210CB4 0020DC14 4B E9 C7 49 */ bl "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" /* 80210CB8 0020DC18 80 63 00 04 */ lwz r3, 4(r3) /* 80210CBC 0020DC1C 28 03 00 00 */ cmplwi r3, 0 /* 80210CC0 0020DC20 41 82 00 28 */ beq lbl_80210CE8 /* 80210CC4 0020DC24 88 03 01 04 */ lbz r0, 0x104(r3) /* 80210CC8 0020DC28 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80210CCC 0020DC2C 41 82 00 1C */ beq lbl_80210CE8 /* 80210CD0 0020DC30 80 63 00 E8 */ lwz r3, 0xe8(r3) /* 80210CD4 0020DC34 FC 20 F8 90 */ fmr f1, f31 /* 80210CD8 0020DC38 81 83 00 00 */ lwz r12, 0(r3) /* 80210CDC 0020DC3C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80210CE0 0020DC40 7D 89 03 A6 */ mtctr r12 /* 80210CE4 0020DC44 4E 80 04 21 */ bctrl lbl_80210CE8: /* 80210CE8 0020DC48 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210CEC 0020DC4C CB E1 00 18 */ lfd f31, 0x18(r1) /* 80210CF0 0020DC50 7C 08 03 A6 */ mtlr r0 /* 80210CF4 0020DC54 38 21 00 20 */ addi r1, r1, 0x20 /* 80210CF8 0020DC58 4E 80 00 20 */ blr .global UpdateVisorSplash__13CEnvFxManagerFR13CStateManagerfRC12CTransform4f UpdateVisorSplash__13CEnvFxManagerFR13CStateManagerfRC12CTransform4f: /* 80210CFC 0020DC5C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80210D00 0020DC60 7C 08 02 A6 */ mflr r0 /* 80210D04 0020DC64 90 01 00 84 */ stw r0, 0x84(r1) /* 80210D08 0020DC68 DB E1 00 70 */ stfd f31, 0x70(r1) /* 80210D0C 0020DC6C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80210D10 0020DC70 DB C1 00 60 */ stfd f30, 0x60(r1) /* 80210D14 0020DC74 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 80210D18 0020DC78 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80210D1C 0020DC7C 93 C1 00 58 */ stw r30, 0x58(r1) /* 80210D20 0020DC80 93 A1 00 54 */ stw r29, 0x54(r1) /* 80210D24 0020DC84 93 81 00 50 */ stw r28, 0x50(r1) /* 80210D28 0020DC88 7C 7E 1B 78 */ mr r30, r3 /* 80210D2C 0020DC8C 7C 9F 23 78 */ mr r31, r4 /* 80210D30 0020DC90 A0 63 0B 68 */ lhz r3, 0xb68(r3) /* 80210D34 0020DC94 7C BC 2B 78 */ mr r28, r5 /* 80210D38 0020DC98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80210D3C 0020DC9C 80 84 08 50 */ lwz r4, 0x850(r4) /* 80210D40 0020DCA0 7C 03 00 40 */ cmplw r3, r0 /* 80210D44 0020DCA4 83 A4 00 C4 */ lwz r29, 0xc4(r4) /* 80210D48 0020DCA8 41 82 00 48 */ beq lbl_80210D90 /* 80210D4C 0020DCAC A0 1E 0B 68 */ lhz r0, 0xb68(r30) /* 80210D50 0020DCB0 7F E3 FB 78 */ mr r3, r31 /* 80210D54 0020DCB4 38 81 00 08 */ addi r4, r1, 8 /* 80210D58 0020DCB8 B0 01 00 08 */ sth r0, 8(r1) /* 80210D5C 0020DCBC 4B E3 B8 19 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80210D60 0020DCC0 7C 64 1B 78 */ mr r4, r3 /* 80210D64 0020DCC4 38 61 00 1C */ addi r3, r1, 0x1c /* 80210D68 0020DCC8 4B E9 C6 95 */ bl "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" /* 80210D6C 0020DCCC 80 83 00 04 */ lwz r4, 4(r3) /* 80210D70 0020DCD0 28 04 00 00 */ cmplwi r4, 0 /* 80210D74 0020DCD4 41 82 00 1C */ beq lbl_80210D90 /* 80210D78 0020DCD8 80 1F 08 CC */ lwz r0, 0x8cc(r31) /* 80210D7C 0020DCDC 7F E3 FB 78 */ mr r3, r31 /* 80210D80 0020DCE0 38 A1 00 14 */ addi r5, r1, 0x14 /* 80210D84 0020DCE4 90 01 00 10 */ stw r0, 0x10(r1) /* 80210D88 0020DCE8 90 01 00 14 */ stw r0, 0x14(r1) /* 80210D8C 0020DCEC 4B E3 44 ED */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId lbl_80210D90: /* 80210D90 0020DCF0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80210D94 0020DCF4 C0 3C 00 14 */ lfs f1, 0x14(r28) /* 80210D98 0020DCF8 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l /* 80210D9C 0020DCFC C0 7C 00 04 */ lfs f3, 4(r28) /* 80210DA0 0020DD00 C0 03 00 04 */ lfs f0, 4(r3) /* 80210DA4 0020DD04 C0 43 00 00 */ lfs f2, 0(r3) /* 80210DA8 0020DD08 EC 01 00 32 */ fmuls f0, f1, f0 /* 80210DAC 0020DD0C C0 9C 00 24 */ lfs f4, 0x24(r28) /* 80210DB0 0020DD10 C0 23 00 08 */ lfs f1, 8(r3) /* 80210DB4 0020DD14 EC 03 00 BA */ fmadds f0, f3, f2, f0 /* 80210DB8 0020DD18 EC 44 00 7A */ fmadds f2, f4, f1, f0 /* 80210DBC 0020DD1C D0 41 00 18 */ stfs f2, 0x18(r1) /* 80210DC0 0020DD20 88 1E 00 24 */ lbz r0, 0x24(r30) /* 80210DC4 0020DD24 28 00 00 00 */ cmplwi r0, 0 /* 80210DC8 0020DD28 41 82 00 2C */ beq lbl_80210DF4 /* 80210DCC 0020DD2C C0 0D 94 D8 */ lfs f0, lbl_805A8098@sda21(r13) /* 80210DD0 0020DD30 FC 00 10 40 */ fcmpo cr0, f0, f2 /* 80210DD4 0020DD34 40 80 00 0C */ bge lbl_80210DE0 /* 80210DD8 0020DD38 38 61 00 18 */ addi r3, r1, 0x18 /* 80210DDC 0020DD3C 48 00 00 08 */ b lbl_80210DE4 lbl_80210DE0: /* 80210DE0 0020DD40 38 6D 94 D8 */ addi r3, r13, lbl_805A8098@sda21 lbl_80210DE4: /* 80210DE4 0020DD44 C0 3E 00 30 */ lfs f1, 0x30(r30) /* 80210DE8 0020DD48 C0 03 00 00 */ lfs f0, 0(r3) /* 80210DEC 0020DD4C EF E1 00 32 */ fmuls f31, f1, f0 /* 80210DF0 0020DD50 48 00 00 08 */ b lbl_80210DF8 lbl_80210DF4: /* 80210DF4 0020DD54 C3 E2 B2 78 */ lfs f31, lbl_805ACF98@sda21(r2) lbl_80210DF8: /* 80210DF8 0020DD58 28 00 00 00 */ cmplwi r0, 0 /* 80210DFC 0020DD5C C3 C2 B2 78 */ lfs f30, lbl_805ACF98@sda21(r2) /* 80210E00 0020DD60 41 82 00 D0 */ beq lbl_80210ED0 /* 80210E04 0020DD64 C0 02 B2 8C */ lfs f0, lbl_805ACFAC@sda21(r2) /* 80210E08 0020DD68 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80210E0C 0020DD6C 4C 41 13 82 */ cror 2, 1, 2 /* 80210E10 0020DD70 40 82 00 C0 */ bne lbl_80210ED0 /* 80210E14 0020DD74 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 80210E18 0020DD78 38 61 00 30 */ addi r3, r1, 0x30 /* 80210E1C 0020DD7C 38 85 00 34 */ addi r4, r5, 0x34 /* 80210E20 0020DD80 38 A5 01 38 */ addi r5, r5, 0x138 /* 80210E24 0020DD84 48 10 1C 01 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 80210E28 0020DD88 C0 41 00 30 */ lfs f2, 0x30(r1) /* 80210E2C 0020DD8C 38 61 00 3C */ addi r3, r1, 0x3c /* 80210E30 0020DD90 C0 21 00 34 */ lfs f1, 0x34(r1) /* 80210E34 0020DD94 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80210E38 0020DD98 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 80210E3C 0020DD9C D0 21 00 40 */ stfs f1, 0x40(r1) /* 80210E40 0020DDA0 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80210E44 0020DDA4 48 10 38 B5 */ bl CanBeNormalized__9CVector3fCFv /* 80210E48 0020DDA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80210E4C 0020DDAC 41 82 00 84 */ beq lbl_80210ED0 /* 80210E50 0020DDB0 38 61 00 3C */ addi r3, r1, 0x3c /* 80210E54 0020DDB4 48 10 3A 65 */ bl Magnitude__9CVector3fCFv /* 80210E58 0020DDB8 C0 42 B2 64 */ lfs f2, lbl_805ACF84@sda21(r2) /* 80210E5C 0020DDBC 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 80210E60 0020DDC0 38 63 67 24 */ addi r3, r3, lbl_805A6724@l /* 80210E64 0020DDC4 C0 02 B2 90 */ lfs f0, lbl_805ACFB0@sda21(r2) /* 80210E68 0020DDC8 ED 02 08 24 */ fdivs f8, f2, f1 /* 80210E6C 0020DDCC C0 81 00 40 */ lfs f4, 0x40(r1) /* 80210E70 0020DDD0 C0 A1 00 3C */ lfs f5, 0x3c(r1) /* 80210E74 0020DDD4 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 80210E78 0020DDD8 C0 43 00 04 */ lfs f2, 4(r3) /* 80210E7C 0020DDDC C0 63 00 00 */ lfs f3, 0(r3) /* 80210E80 0020DDE0 EC E8 01 32 */ fmuls f7, f8, f4 /* 80210E84 0020DDE4 C0 83 00 08 */ lfs f4, 8(r3) /* 80210E88 0020DDE8 EC 21 00 24 */ fdivs f1, f1, f0 /* 80210E8C 0020DDEC C0 0D 94 DC */ lfs f0, lbl_805A809C@sda21(r13) /* 80210E90 0020DDF0 D0 E1 00 28 */ stfs f7, 0x28(r1) /* 80210E94 0020DDF4 EC A8 01 72 */ fmuls f5, f8, f5 /* 80210E98 0020DDF8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80210E9C 0020DDFC EC 47 00 B2 */ fmuls f2, f7, f2 /* 80210EA0 0020DE00 EC C8 01 B2 */ fmuls f6, f8, f6 /* 80210EA4 0020DE04 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80210EA8 0020DE08 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80210EAC 0020DE0C EC 05 10 FA */ fmadds f0, f5, f3, f2 /* 80210EB0 0020DE10 D0 C1 00 2C */ stfs f6, 0x2c(r1) /* 80210EB4 0020DE14 EC 26 01 3A */ fmadds f1, f6, f4, f0 /* 80210EB8 0020DE18 40 80 00 0C */ bge lbl_80210EC4 /* 80210EBC 0020DE1C 38 61 00 0C */ addi r3, r1, 0xc /* 80210EC0 0020DE20 48 00 00 08 */ b lbl_80210EC8 lbl_80210EC4: /* 80210EC4 0020DE24 38 6D 94 DC */ addi r3, r13, lbl_805A809C@sda21 lbl_80210EC8: /* 80210EC8 0020DE28 C0 03 00 00 */ lfs f0, 0(r3) /* 80210ECC 0020DE2C EF C0 00 72 */ fmuls f30, f0, f1 lbl_80210ED0: /* 80210ED0 0020DE30 2C 1D 00 02 */ cmpwi r29, 2 /* 80210ED4 0020DE34 C0 3E 0B 54 */ lfs f1, 0xb54(r30) /* 80210ED8 0020DE38 40 82 00 0C */ bne lbl_80210EE4 /* 80210EDC 0020DE3C EC 1F F0 2A */ fadds f0, f31, f30 /* 80210EE0 0020DE40 48 00 00 08 */ b lbl_80210EE8 lbl_80210EE4: /* 80210EE4 0020DE44 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) lbl_80210EE8: /* 80210EE8 0020DE48 EC 21 00 2A */ fadds f1, f1, f0 /* 80210EEC 0020DE4C 7F C3 F3 78 */ mr r3, r30 /* 80210EF0 0020DE50 7F E4 FB 78 */ mr r4, r31 /* 80210EF4 0020DE54 4B FF FD 91 */ bl SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager /* 80210EF8 0020DE58 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 80210EFC 0020DE5C D0 1E 0B 54 */ stfs f0, 0xb54(r30) /* 80210F00 0020DE60 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80210F04 0020DE64 CB E1 00 70 */ lfd f31, 0x70(r1) /* 80210F08 0020DE68 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 80210F0C 0020DE6C CB C1 00 60 */ lfd f30, 0x60(r1) /* 80210F10 0020DE70 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80210F14 0020DE74 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80210F18 0020DE78 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80210F1C 0020DE7C 80 01 00 84 */ lwz r0, 0x84(r1) /* 80210F20 0020DE80 83 81 00 50 */ lwz r28, 0x50(r1) /* 80210F24 0020DE84 7C 08 03 A6 */ mtlr r0 /* 80210F28 0020DE88 38 21 00 80 */ addi r1, r1, 0x80 /* 80210F2C 0020DE8C 4E 80 00 20 */ blr .global UpdateUnderwaterParticles__13CEnvFxManagerFRC15CVectorFixed8_8 UpdateUnderwaterParticles__13CEnvFxManagerFRC15CVectorFixed8_8: /* 80210F30 0020DE90 80 A3 00 50 */ lwz r5, 0x50(r3) /* 80210F34 0020DE94 A8 C4 00 04 */ lha r6, 4(r4) /* 80210F38 0020DE98 39 05 FF FF */ addi r8, r5, -1 /* 80210F3C 0020DE9C 1C 08 00 2C */ mulli r0, r8, 0x2c /* 80210F40 0020DEA0 7C A3 02 14 */ add r5, r3, r0 /* 80210F44 0020DEA4 38 A5 00 54 */ addi r5, r5, 0x54 /* 80210F48 0020DEA8 48 00 01 3C */ b lbl_80211084 lbl_80210F4C: /* 80210F4C 0020DEAC 80 65 00 20 */ lwz r3, 0x20(r5) /* 80210F50 0020DEB0 34 63 FF FF */ addic. r3, r3, -1 /* 80210F54 0020DEB4 1C 83 00 06 */ mulli r4, r3, 6 /* 80210F58 0020DEB8 38 63 00 01 */ addi r3, r3, 1 /* 80210F5C 0020DEBC 41 80 01 20 */ blt lbl_8021107C /* 80210F60 0020DEC0 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f /* 80210F64 0020DEC4 7C 09 03 A6 */ mtctr r0 /* 80210F68 0020DEC8 41 82 00 F0 */ beq lbl_80211058 lbl_80210F6C: /* 80210F6C 0020DECC 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210F70 0020DED0 7C E0 22 14 */ add r7, r0, r4 /* 80210F74 0020DED4 38 84 FF FA */ addi r4, r4, -6 /* 80210F78 0020DED8 A8 07 00 04 */ lha r0, 4(r7) /* 80210F7C 0020DEDC 7C 06 02 14 */ add r0, r6, r0 /* 80210F80 0020DEE0 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210F84 0020DEE4 B0 07 00 04 */ sth r0, 4(r7) /* 80210F88 0020DEE8 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210F8C 0020DEEC 7C E0 22 14 */ add r7, r0, r4 /* 80210F90 0020DEF0 38 84 FF FA */ addi r4, r4, -6 /* 80210F94 0020DEF4 A8 07 00 04 */ lha r0, 4(r7) /* 80210F98 0020DEF8 7C 06 02 14 */ add r0, r6, r0 /* 80210F9C 0020DEFC 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FA0 0020DF00 B0 07 00 04 */ sth r0, 4(r7) /* 80210FA4 0020DF04 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FA8 0020DF08 7C E0 22 14 */ add r7, r0, r4 /* 80210FAC 0020DF0C 38 84 FF FA */ addi r4, r4, -6 /* 80210FB0 0020DF10 A8 07 00 04 */ lha r0, 4(r7) /* 80210FB4 0020DF14 7C 06 02 14 */ add r0, r6, r0 /* 80210FB8 0020DF18 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FBC 0020DF1C B0 07 00 04 */ sth r0, 4(r7) /* 80210FC0 0020DF20 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FC4 0020DF24 7C E0 22 14 */ add r7, r0, r4 /* 80210FC8 0020DF28 38 84 FF FA */ addi r4, r4, -6 /* 80210FCC 0020DF2C A8 07 00 04 */ lha r0, 4(r7) /* 80210FD0 0020DF30 7C 06 02 14 */ add r0, r6, r0 /* 80210FD4 0020DF34 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FD8 0020DF38 B0 07 00 04 */ sth r0, 4(r7) /* 80210FDC 0020DF3C 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FE0 0020DF40 7C E0 22 14 */ add r7, r0, r4 /* 80210FE4 0020DF44 38 84 FF FA */ addi r4, r4, -6 /* 80210FE8 0020DF48 A8 07 00 04 */ lha r0, 4(r7) /* 80210FEC 0020DF4C 7C 06 02 14 */ add r0, r6, r0 /* 80210FF0 0020DF50 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FF4 0020DF54 B0 07 00 04 */ sth r0, 4(r7) /* 80210FF8 0020DF58 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FFC 0020DF5C 7C E0 22 14 */ add r7, r0, r4 /* 80211000 0020DF60 38 84 FF FA */ addi r4, r4, -6 /* 80211004 0020DF64 A8 07 00 04 */ lha r0, 4(r7) /* 80211008 0020DF68 7C 06 02 14 */ add r0, r6, r0 /* 8021100C 0020DF6C 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211010 0020DF70 B0 07 00 04 */ sth r0, 4(r7) /* 80211014 0020DF74 80 05 00 28 */ lwz r0, 0x28(r5) /* 80211018 0020DF78 7C E0 22 14 */ add r7, r0, r4 /* 8021101C 0020DF7C 38 84 FF FA */ addi r4, r4, -6 /* 80211020 0020DF80 A8 07 00 04 */ lha r0, 4(r7) /* 80211024 0020DF84 7C 06 02 14 */ add r0, r6, r0 /* 80211028 0020DF88 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 8021102C 0020DF8C B0 07 00 04 */ sth r0, 4(r7) /* 80211030 0020DF90 80 05 00 28 */ lwz r0, 0x28(r5) /* 80211034 0020DF94 7C E0 22 14 */ add r7, r0, r4 /* 80211038 0020DF98 38 84 FF FA */ addi r4, r4, -6 /* 8021103C 0020DF9C A8 07 00 04 */ lha r0, 4(r7) /* 80211040 0020DFA0 7C 06 02 14 */ add r0, r6, r0 /* 80211044 0020DFA4 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211048 0020DFA8 B0 07 00 04 */ sth r0, 4(r7) /* 8021104C 0020DFAC 42 00 FF 20 */ bdnz lbl_80210F6C /* 80211050 0020DFB0 70 63 00 07 */ andi. r3, r3, 7 /* 80211054 0020DFB4 41 82 00 28 */ beq lbl_8021107C lbl_80211058: /* 80211058 0020DFB8 7C 69 03 A6 */ mtctr r3 lbl_8021105C: /* 8021105C 0020DFBC 80 05 00 28 */ lwz r0, 0x28(r5) /* 80211060 0020DFC0 7C E0 22 14 */ add r7, r0, r4 /* 80211064 0020DFC4 38 84 FF FA */ addi r4, r4, -6 /* 80211068 0020DFC8 A8 07 00 04 */ lha r0, 4(r7) /* 8021106C 0020DFCC 7C 06 02 14 */ add r0, r6, r0 /* 80211070 0020DFD0 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211074 0020DFD4 B0 07 00 04 */ sth r0, 4(r7) /* 80211078 0020DFD8 42 00 FF E4 */ bdnz lbl_8021105C lbl_8021107C: /* 8021107C 0020DFDC 38 A5 FF D4 */ addi r5, r5, -44 /* 80211080 0020DFE0 39 08 FF FF */ addi r8, r8, -1 lbl_80211084: /* 80211084 0020DFE4 2C 08 00 00 */ cmpwi r8, 0 /* 80211088 0020DFE8 40 80 FE C4 */ bge lbl_80210F4C .global sub_8021108c sub_8021108c: /* 8021108C 0020DFEC 4E 80 00 20 */ blr .global UpdateRainParticles__13CEnvFxManagerFRC15CVectorFixed8_8RC9CVector3ff UpdateRainParticles__13CEnvFxManagerFRC15CVectorFixed8_8RC9CVector3ff: /* 80211090 0020DFF0 C0 02 B2 98 */ lfs f0, lbl_805ACFB8@sda21(r2) /* 80211094 0020DFF4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80211098 0020DFF8 EC 00 00 72 */ fmuls f0, f0, f1 /* 8021109C 0020DFFC C0 42 B2 94 */ lfs f2, lbl_805ACFB4@sda21(r2) /* 802110A0 0020E000 C0 25 00 08 */ lfs f1, 8(r5) /* 802110A4 0020E004 80 C3 00 50 */ lwz r6, 0x50(r3) /* 802110A8 0020E008 EC 01 00 32 */ fmuls f0, f1, f0 /* 802110AC 0020E00C A8 84 00 04 */ lha r4, 4(r4) /* 802110B0 0020E010 39 06 FF FF */ addi r8, r6, -1 /* 802110B4 0020E014 1C 08 00 2C */ mulli r0, r8, 0x2c /* 802110B8 0020E018 EC 02 00 32 */ fmuls f0, f2, f0 /* 802110BC 0020E01C 7C C3 02 14 */ add r6, r3, r0 /* 802110C0 0020E020 FC 00 00 1E */ fctiwz f0, f0 /* 802110C4 0020E024 38 C6 00 54 */ addi r6, r6, 0x54 /* 802110C8 0020E028 D8 01 00 10 */ stfd f0, 0x10(r1) /* 802110CC 0020E02C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802110D0 0020E030 7C 00 07 34 */ extsh r0, r0 /* 802110D4 0020E034 7C 04 02 14 */ add r0, r4, r0 /* 802110D8 0020E038 7C 04 07 34 */ extsh r4, r0 /* 802110DC 0020E03C 48 00 01 54 */ b lbl_80211230 lbl_802110E0: /* 802110E0 0020E040 88 06 00 14 */ lbz r0, 0x14(r6) /* 802110E4 0020E044 C0 06 00 18 */ lfs f0, 0x18(r6) /* 802110E8 0020E048 28 00 00 00 */ cmplwi r0, 0 /* 802110EC 0020E04C 98 01 00 08 */ stb r0, 8(r1) /* 802110F0 0020E050 D0 01 00 0C */ stfs f0, 0xc(r1) /* 802110F4 0020E054 41 82 01 34 */ beq lbl_80211228 /* 802110F8 0020E058 80 66 00 20 */ lwz r3, 0x20(r6) /* 802110FC 0020E05C 34 63 FF FF */ addic. r3, r3, -1 /* 80211100 0020E060 1C A3 00 06 */ mulli r5, r3, 6 /* 80211104 0020E064 38 63 00 01 */ addi r3, r3, 1 /* 80211108 0020E068 41 80 01 20 */ blt lbl_80211228 /* 8021110C 0020E06C 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f /* 80211110 0020E070 7C 09 03 A6 */ mtctr r0 /* 80211114 0020E074 41 82 00 F0 */ beq lbl_80211204 lbl_80211118: /* 80211118 0020E078 80 06 00 28 */ lwz r0, 0x28(r6) /* 8021111C 0020E07C 7C E0 2A 14 */ add r7, r0, r5 /* 80211120 0020E080 38 A5 FF FA */ addi r5, r5, -6 /* 80211124 0020E084 A8 07 00 04 */ lha r0, 4(r7) /* 80211128 0020E088 7C 04 02 14 */ add r0, r4, r0 /* 8021112C 0020E08C 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211130 0020E090 B0 07 00 04 */ sth r0, 4(r7) /* 80211134 0020E094 80 06 00 28 */ lwz r0, 0x28(r6) /* 80211138 0020E098 7C E0 2A 14 */ add r7, r0, r5 /* 8021113C 0020E09C 38 A5 FF FA */ addi r5, r5, -6 /* 80211140 0020E0A0 A8 07 00 04 */ lha r0, 4(r7) /* 80211144 0020E0A4 7C 04 02 14 */ add r0, r4, r0 /* 80211148 0020E0A8 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 8021114C 0020E0AC B0 07 00 04 */ sth r0, 4(r7) /* 80211150 0020E0B0 80 06 00 28 */ lwz r0, 0x28(r6) /* 80211154 0020E0B4 7C E0 2A 14 */ add r7, r0, r5 /* 80211158 0020E0B8 38 A5 FF FA */ addi r5, r5, -6 /* 8021115C 0020E0BC A8 07 00 04 */ lha r0, 4(r7) /* 80211160 0020E0C0 7C 04 02 14 */ add r0, r4, r0 /* 80211164 0020E0C4 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211168 0020E0C8 B0 07 00 04 */ sth r0, 4(r7) /* 8021116C 0020E0CC 80 06 00 28 */ lwz r0, 0x28(r6) /* 80211170 0020E0D0 7C E0 2A 14 */ add r7, r0, r5 /* 80211174 0020E0D4 38 A5 FF FA */ addi r5, r5, -6 /* 80211178 0020E0D8 A8 07 00 04 */ lha r0, 4(r7) /* 8021117C 0020E0DC 7C 04 02 14 */ add r0, r4, r0 /* 80211180 0020E0E0 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211184 0020E0E4 B0 07 00 04 */ sth r0, 4(r7) /* 80211188 0020E0E8 80 06 00 28 */ lwz r0, 0x28(r6) /* 8021118C 0020E0EC 7C E0 2A 14 */ add r7, r0, r5 /* 80211190 0020E0F0 38 A5 FF FA */ addi r5, r5, -6 /* 80211194 0020E0F4 A8 07 00 04 */ lha r0, 4(r7) /* 80211198 0020E0F8 7C 04 02 14 */ add r0, r4, r0 /* 8021119C 0020E0FC 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111A0 0020E100 B0 07 00 04 */ sth r0, 4(r7) /* 802111A4 0020E104 80 06 00 28 */ lwz r0, 0x28(r6) /* 802111A8 0020E108 7C E0 2A 14 */ add r7, r0, r5 /* 802111AC 0020E10C 38 A5 FF FA */ addi r5, r5, -6 /* 802111B0 0020E110 A8 07 00 04 */ lha r0, 4(r7) /* 802111B4 0020E114 7C 04 02 14 */ add r0, r4, r0 /* 802111B8 0020E118 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111BC 0020E11C B0 07 00 04 */ sth r0, 4(r7) /* 802111C0 0020E120 80 06 00 28 */ lwz r0, 0x28(r6) /* 802111C4 0020E124 7C E0 2A 14 */ add r7, r0, r5 /* 802111C8 0020E128 38 A5 FF FA */ addi r5, r5, -6 /* 802111CC 0020E12C A8 07 00 04 */ lha r0, 4(r7) /* 802111D0 0020E130 7C 04 02 14 */ add r0, r4, r0 /* 802111D4 0020E134 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111D8 0020E138 B0 07 00 04 */ sth r0, 4(r7) /* 802111DC 0020E13C 80 06 00 28 */ lwz r0, 0x28(r6) /* 802111E0 0020E140 7C E0 2A 14 */ add r7, r0, r5 /* 802111E4 0020E144 38 A5 FF FA */ addi r5, r5, -6 /* 802111E8 0020E148 A8 07 00 04 */ lha r0, 4(r7) /* 802111EC 0020E14C 7C 04 02 14 */ add r0, r4, r0 /* 802111F0 0020E150 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111F4 0020E154 B0 07 00 04 */ sth r0, 4(r7) /* 802111F8 0020E158 42 00 FF 20 */ bdnz lbl_80211118 /* 802111FC 0020E15C 70 63 00 07 */ andi. r3, r3, 7 /* 80211200 0020E160 41 82 00 28 */ beq lbl_80211228 lbl_80211204: /* 80211204 0020E164 7C 69 03 A6 */ mtctr r3 lbl_80211208: /* 80211208 0020E168 80 06 00 28 */ lwz r0, 0x28(r6) /* 8021120C 0020E16C 7C E0 2A 14 */ add r7, r0, r5 /* 80211210 0020E170 38 A5 FF FA */ addi r5, r5, -6 /* 80211214 0020E174 A8 07 00 04 */ lha r0, 4(r7) /* 80211218 0020E178 7C 04 02 14 */ add r0, r4, r0 /* 8021121C 0020E17C 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211220 0020E180 B0 07 00 04 */ sth r0, 4(r7) /* 80211224 0020E184 42 00 FF E4 */ bdnz lbl_80211208 lbl_80211228: /* 80211228 0020E188 38 C6 FF D4 */ addi r6, r6, -44 /* 8021122C 0020E18C 39 08 FF FF */ addi r8, r8, -1 lbl_80211230: /* 80211230 0020E190 2C 08 00 00 */ cmpwi r8, 0 /* 80211234 0020E194 40 80 FE AC */ bge lbl_802110E0 /* 80211238 0020E198 38 21 00 20 */ addi r1, r1, 0x20 /* 8021123C 0020E19C 4E 80 00 20 */ blr .global "UpdateSnowParticles__13CEnvFxManagerFR34reserved_vector<15CVectorFixed8_8>" "UpdateSnowParticles__13CEnvFxManagerFR34reserved_vector<15CVectorFixed8_8>": /* 80211240 0020E1A0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80211244 0020E1A4 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 80211248 0020E1A8 80 A3 00 50 */ lwz r5, 0x50(r3) /* 8021124C 0020E1AC 3B 85 FF FF */ addi r28, r5, -1 /* 80211250 0020E1B0 1C 1C 00 2C */ mulli r0, r28, 0x2c /* 80211254 0020E1B4 7F C3 02 14 */ add r30, r3, r0 /* 80211258 0020E1B8 3B DE 00 54 */ addi r30, r30, 0x54 /* 8021125C 0020E1BC 48 00 01 58 */ b lbl_802113B4 lbl_80211260: /* 80211260 0020E1C0 C0 03 00 28 */ lfs f0, 0x28(r3) /* 80211264 0020E1C4 88 1E 00 14 */ lbz r0, 0x14(r30) /* 80211268 0020E1C8 FC 20 00 1E */ fctiwz f1, f0 /* 8021126C 0020E1CC C0 1E 00 18 */ lfs f0, 0x18(r30) /* 80211270 0020E1D0 28 00 00 00 */ cmplwi r0, 0 /* 80211274 0020E1D4 98 01 00 08 */ stb r0, 8(r1) /* 80211278 0020E1D8 D8 21 00 10 */ stfd f1, 0x10(r1) /* 8021127C 0020E1DC D0 01 00 0C */ stfs f0, 0xc(r1) /* 80211280 0020E1E0 83 61 00 14 */ lwz r27, 0x14(r1) /* 80211284 0020E1E4 41 82 01 28 */ beq lbl_802113AC /* 80211288 0020E1E8 80 BE 00 20 */ lwz r5, 0x20(r30) /* 8021128C 0020E1EC 34 A5 FF FF */ addic. r5, r5, -1 /* 80211290 0020E1F0 1F E5 00 06 */ mulli r31, r5, 6 /* 80211294 0020E1F4 38 A5 00 01 */ addi r5, r5, 1 /* 80211298 0020E1F8 41 80 01 14 */ blt lbl_802113AC /* 8021129C 0020E1FC 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f /* 802112A0 0020E200 7C 09 03 A6 */ mtctr r0 /* 802112A4 0020E204 41 82 00 B0 */ beq lbl_80211354 lbl_802112A8: /* 802112A8 0020E208 1D 7B 00 06 */ mulli r11, r27, 6 /* 802112AC 0020E20C 80 FE 00 28 */ lwz r7, 0x28(r30) /* 802112B0 0020E210 38 1B 00 01 */ addi r0, r27, 1 /* 802112B4 0020E214 7F A7 FA 14 */ add r29, r7, r31 /* 802112B8 0020E218 7D 84 5A 14 */ add r12, r4, r11 /* 802112BC 0020E21C 54 1B 06 3E */ clrlwi r27, r0, 0x18 /* 802112C0 0020E220 A8 FD 00 00 */ lha r7, 0(r29) /* 802112C4 0020E224 1D 7B 00 06 */ mulli r11, r27, 6 /* 802112C8 0020E228 A8 CC 00 04 */ lha r6, 4(r12) /* 802112CC 0020E22C 38 1B 00 01 */ addi r0, r27, 1 /* 802112D0 0020E230 A9 5D 00 02 */ lha r10, 2(r29) /* 802112D4 0020E234 3B FF FF FA */ addi r31, r31, -6 /* 802112D8 0020E238 A9 2C 00 06 */ lha r9, 6(r12) /* 802112DC 0020E23C A9 0C 00 08 */ lha r8, 8(r12) /* 802112E0 0020E240 7C C7 32 14 */ add r6, r7, r6 /* 802112E4 0020E244 A8 FD 00 04 */ lha r7, 4(r29) /* 802112E8 0020E248 7D 2A 4A 14 */ add r9, r10, r9 /* 802112EC 0020E24C 7D 84 5A 14 */ add r12, r4, r11 /* 802112F0 0020E250 54 1B 06 3E */ clrlwi r27, r0, 0x18 /* 802112F4 0020E254 B0 DD 00 00 */ sth r6, 0(r29) /* 802112F8 0020E258 7C C7 42 14 */ add r6, r7, r8 /* 802112FC 0020E25C 54 C6 04 BE */ clrlwi r6, r6, 0x12 /* 80211300 0020E260 B1 3D 00 02 */ sth r9, 2(r29) /* 80211304 0020E264 B0 DD 00 04 */ sth r6, 4(r29) /* 80211308 0020E268 80 FE 00 28 */ lwz r7, 0x28(r30) /* 8021130C 0020E26C A8 CC 00 04 */ lha r6, 4(r12) /* 80211310 0020E270 7F A7 FA 14 */ add r29, r7, r31 /* 80211314 0020E274 A9 2C 00 06 */ lha r9, 6(r12) /* 80211318 0020E278 A8 FD 00 00 */ lha r7, 0(r29) /* 8021131C 0020E27C 3B FF FF FA */ addi r31, r31, -6 /* 80211320 0020E280 A9 5D 00 02 */ lha r10, 2(r29) /* 80211324 0020E284 7C C7 32 14 */ add r6, r7, r6 /* 80211328 0020E288 A8 FD 00 04 */ lha r7, 4(r29) /* 8021132C 0020E28C A9 0C 00 08 */ lha r8, 8(r12) /* 80211330 0020E290 7D 2A 4A 14 */ add r9, r10, r9 /* 80211334 0020E294 B0 DD 00 00 */ sth r6, 0(r29) /* 80211338 0020E298 7C C7 42 14 */ add r6, r7, r8 /* 8021133C 0020E29C 54 C6 04 BE */ clrlwi r6, r6, 0x12 /* 80211340 0020E2A0 B1 3D 00 02 */ sth r9, 2(r29) /* 80211344 0020E2A4 B0 DD 00 04 */ sth r6, 4(r29) /* 80211348 0020E2A8 42 00 FF 60 */ bdnz lbl_802112A8 /* 8021134C 0020E2AC 70 A5 00 01 */ andi. r5, r5, 1 /* 80211350 0020E2B0 41 82 00 5C */ beq lbl_802113AC lbl_80211354: /* 80211354 0020E2B4 7C A9 03 A6 */ mtctr r5 lbl_80211358: /* 80211358 0020E2B8 1D 7B 00 06 */ mulli r11, r27, 6 /* 8021135C 0020E2BC 80 FE 00 28 */ lwz r7, 0x28(r30) /* 80211360 0020E2C0 38 1B 00 01 */ addi r0, r27, 1 /* 80211364 0020E2C4 7F A7 FA 14 */ add r29, r7, r31 /* 80211368 0020E2C8 7D 84 5A 14 */ add r12, r4, r11 /* 8021136C 0020E2CC A8 FD 00 00 */ lha r7, 0(r29) /* 80211370 0020E2D0 A8 CC 00 04 */ lha r6, 4(r12) /* 80211374 0020E2D4 54 1B 06 3E */ clrlwi r27, r0, 0x18 /* 80211378 0020E2D8 A9 5D 00 02 */ lha r10, 2(r29) /* 8021137C 0020E2DC 3B FF FF FA */ addi r31, r31, -6 /* 80211380 0020E2E0 A9 2C 00 06 */ lha r9, 6(r12) /* 80211384 0020E2E4 7C C7 32 14 */ add r6, r7, r6 /* 80211388 0020E2E8 A8 FD 00 04 */ lha r7, 4(r29) /* 8021138C 0020E2EC A9 0C 00 08 */ lha r8, 8(r12) /* 80211390 0020E2F0 7D 2A 4A 14 */ add r9, r10, r9 /* 80211394 0020E2F4 B0 DD 00 00 */ sth r6, 0(r29) /* 80211398 0020E2F8 7C C7 42 14 */ add r6, r7, r8 /* 8021139C 0020E2FC 54 C6 04 BE */ clrlwi r6, r6, 0x12 /* 802113A0 0020E300 B1 3D 00 02 */ sth r9, 2(r29) /* 802113A4 0020E304 B0 DD 00 04 */ sth r6, 4(r29) /* 802113A8 0020E308 42 00 FF B0 */ bdnz lbl_80211358 lbl_802113AC: /* 802113AC 0020E30C 3B DE FF D4 */ addi r30, r30, -44 /* 802113B0 0020E310 3B 9C FF FF */ addi r28, r28, -1 lbl_802113B4: /* 802113B4 0020E314 2C 1C 00 00 */ cmpwi r28, 0 /* 802113B8 0020E318 40 80 FE A8 */ bge lbl_80211260 /* 802113BC 0020E31C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 802113C0 0020E320 38 21 00 30 */ addi r1, r1, 0x30 /* 802113C4 0020E324 4E 80 00 20 */ blr .global UpdateBlockedGrids__13CEnvFxManagerFR13CStateManager10EEnvFxTypeRC12CTransform4fRC12CTransform4fRC12CTransform4f UpdateBlockedGrids__13CEnvFxManagerFR13CStateManager10EEnvFxTypeRC12CTransform4fRC12CTransform4fRC12CTransform4f: /* 802113C8 0020E328 94 21 F4 D0 */ stwu r1, -0xb30(r1) /* 802113CC 0020E32C 7C 08 02 A6 */ mflr r0 /* 802113D0 0020E330 90 01 0B 34 */ stw r0, 0xb34(r1) /* 802113D4 0020E334 DB E1 0B 20 */ stfd f31, 0xb20(r1) /* 802113D8 0020E338 F3 E1 0B 28 */ psq_st f31, -1240(r1), 0, qr0 /* 802113DC 0020E33C DB C1 0B 10 */ stfd f30, 0xb10(r1) /* 802113E0 0020E340 F3 C1 0B 18 */ psq_st f30, -1256(r1), 0, qr0 /* 802113E4 0020E344 DB A1 0B 00 */ stfd f29, 0xb00(r1) /* 802113E8 0020E348 F3 A1 0B 08 */ psq_st f29, -1272(r1), 0, qr0 /* 802113EC 0020E34C BE 01 0A C0 */ stmw r16, 0xac0(r1) /* 802113F0 0020E350 7C 9D 23 78 */ mr r29, r4 /* 802113F4 0020E354 7C 7C 1B 78 */ mr r28, r3 /* 802113F8 0020E358 80 84 08 4C */ lwz r4, 0x84c(r4) /* 802113FC 0020E35C 7C B4 2B 78 */ mr r20, r5 /* 80211400 0020E360 7C F3 3B 78 */ mr r19, r7 /* 80211404 0020E364 7D 10 43 78 */ mr r16, r8 /* 80211408 0020E368 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 8021140C 0020E36C 2C 00 00 00 */ cmpwi r0, 0 /* 80211410 0020E370 40 82 00 24 */ bne lbl_80211434 /* 80211414 0020E374 C0 46 00 2C */ lfs f2, 0x2c(r6) /* 80211418 0020E378 38 E1 00 9C */ addi r7, r1, 0x9c /* 8021141C 0020E37C C0 26 00 1C */ lfs f1, 0x1c(r6) /* 80211420 0020E380 C0 06 00 0C */ lfs f0, 0xc(r6) /* 80211424 0020E384 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 80211428 0020E388 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 8021142C 0020E38C D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 80211430 0020E390 48 00 00 10 */ b lbl_80211440 lbl_80211434: /* 80211434 0020E394 38 61 00 90 */ addi r3, r1, 0x90 /* 80211438 0020E398 48 07 39 11 */ bl GetBallPosition__7CPlayerCFv /* 8021143C 0020E39C 38 E1 00 90 */ addi r7, r1, 0x90 lbl_80211440: /* 80211440 0020E3A0 C0 07 00 00 */ lfs f0, 0(r7) /* 80211444 0020E3A4 7E 04 83 78 */ mr r4, r16 /* 80211448 0020E3A8 38 61 00 84 */ addi r3, r1, 0x84 /* 8021144C 0020E3AC 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 80211450 0020E3B0 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 80211454 0020E3B4 C0 07 00 04 */ lfs f0, 4(r7) /* 80211458 0020E3B8 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 8021145C 0020E3BC C0 07 00 08 */ lfs f0, 8(r7) /* 80211460 0020E3C0 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 80211464 0020E3C4 48 10 16 85 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80211468 0020E3C8 C0 81 00 84 */ lfs f4, 0x84(r1) /* 8021146C 0020E3CC 38 61 00 70 */ addi r3, r1, 0x70 /* 80211470 0020E3D0 C0 61 00 88 */ lfs f3, 0x88(r1) /* 80211474 0020E3D4 C0 02 B2 94 */ lfs f0, lbl_805ACFB4@sda21(r2) /* 80211478 0020E3D8 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 8021147C 0020E3DC EC 20 01 32 */ fmuls f1, f0, f4 /* 80211480 0020E3E0 D0 81 00 CC */ stfs f4, 0xcc(r1) /* 80211484 0020E3E4 EC 00 00 F2 */ fmuls f0, f0, f3 /* 80211488 0020E3E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) /* 8021148C 0020E3EC FC 20 08 1E */ fctiwz f1, f1 /* 80211490 0020E3F0 FC 00 00 1E */ fctiwz f0, f0 /* 80211494 0020E3F4 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 80211498 0020E3F8 D8 21 0A B0 */ stfd f1, 0xab0(r1) /* 8021149C 0020E3FC D8 01 0A B8 */ stfd f0, 0xab8(r1) /* 802114A0 0020E400 80 81 0A B4 */ lwz r4, 0xab4(r1) /* 802114A4 0020E404 80 01 0A BC */ lwz r0, 0xabc(r1) /* 802114A8 0020E408 7C 84 07 34 */ extsh r4, r4 /* 802114AC 0020E40C 7C 05 07 34 */ extsh r5, r0 /* 802114B0 0020E410 48 10 2E 9D */ bl __ct__9CVector2iFii /* 802114B4 0020E414 38 00 FF FF */ li r0, -1 /* 802114B8 0020E418 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 802114BC 0020E41C 90 1C 00 2C */ stw r0, 0x2c(r28) /* 802114C0 0020E420 38 00 00 00 */ li r0, 0 /* 802114C4 0020E424 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 802114C8 0020E428 3B 5C 00 54 */ addi r26, r28, 0x54 /* 802114CC 0020E42C 98 1C 00 24 */ stb r0, 0x24(r28) /* 802114D0 0020E430 3B 64 66 F4 */ addi r27, r4, lbl_805A66F4@l /* 802114D4 0020E434 3A E3 67 00 */ addi r23, r3, lbl_805A6700@l /* 802114D8 0020E438 3B 21 02 AC */ addi r25, r1, 0x2ac /* 802114DC 0020E43C 90 01 02 A8 */ stw r0, 0x2a8(r1) /* 802114E0 0020E440 3B 01 02 74 */ addi r24, r1, 0x274 /* 802114E4 0020E444 3A C0 00 00 */ li r22, 0 /* 802114E8 0020E448 3B E0 00 00 */ li r31, 0 /* 802114EC 0020E44C 3B C0 00 00 */ li r30, 0 /* 802114F0 0020E450 48 00 05 7C */ b lbl_80211A6C lbl_802114F4: /* 802114F4 0020E454 2C 1F 00 08 */ cmpwi r31, 8 /* 802114F8 0020E458 40 80 04 E8 */ bge lbl_802119E0 /* 802114FC 0020E45C 88 1A 00 00 */ lbz r0, 0(r26) /* 80211500 0020E460 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80211504 0020E464 41 82 04 DC */ beq lbl_802119E0 /* 80211508 0020E468 2C 14 00 03 */ cmpwi r20, 3 /* 8021150C 0020E46C 40 82 00 38 */ bne lbl_80211544 /* 80211510 0020E470 88 0D 94 C0 */ lbz r0, lbl_805A8080@sda21(r13) /* 80211514 0020E474 C0 02 B2 9C */ lfs f0, lbl_805ACFBC@sda21(r2) /* 80211518 0020E478 98 01 00 58 */ stb r0, 0x58(r1) /* 8021151C 0020E47C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 80211520 0020E480 80 61 00 58 */ lwz r3, 0x58(r1) /* 80211524 0020E484 80 01 00 5C */ lwz r0, 0x5c(r1) /* 80211528 0020E488 90 61 00 60 */ stw r3, 0x60(r1) /* 8021152C 0020E48C 90 01 00 64 */ stw r0, 0x64(r1) /* 80211530 0020E490 88 01 00 60 */ lbz r0, 0x60(r1) /* 80211534 0020E494 C0 01 00 64 */ lfs f0, 0x64(r1) /* 80211538 0020E498 98 1A 00 14 */ stb r0, 0x14(r26) /* 8021153C 0020E49C D0 1A 00 18 */ stfs f0, 0x18(r26) /* 80211540 0020E4A0 48 00 04 90 */ b lbl_802119D0 lbl_80211544: /* 80211544 0020E4A4 80 AD 94 CC */ lwz r5, lbl_805A808C@sda21(r13) /* 80211548 0020E4A8 38 60 00 00 */ li r3, 0 /* 8021154C 0020E4AC 38 80 00 01 */ li r4, 1 /* 80211550 0020E4B0 48 17 89 A5 */ bl __shl2i /* 80211554 0020E4B4 80 AD 94 D0 */ lwz r5, lbl_805A8090@sda21(r13) /* 80211558 0020E4B8 7C 92 23 78 */ mr r18, r4 /* 8021155C 0020E4BC 7C 75 1B 78 */ mr r21, r3 /* 80211560 0020E4C0 38 60 00 00 */ li r3, 0 /* 80211564 0020E4C4 38 80 00 01 */ li r4, 1 /* 80211568 0020E4C8 48 17 89 8D */ bl __shl2i /* 8021156C 0020E4CC 80 AD 94 C4 */ lwz r5, lbl_805A8084@sda21(r13) /* 80211570 0020E4D0 7E 52 23 78 */ or r18, r18, r4 /* 80211574 0020E4D4 7E B5 1B 78 */ or r21, r21, r3 /* 80211578 0020E4D8 38 60 00 00 */ li r3, 0 /* 8021157C 0020E4DC 38 80 00 01 */ li r4, 1 /* 80211580 0020E4E0 48 17 89 75 */ bl __shl2i /* 80211584 0020E4E4 80 AD 94 C8 */ lwz r5, lbl_805A8088@sda21(r13) /* 80211588 0020E4E8 7C 90 23 78 */ mr r16, r4 /* 8021158C 0020E4EC 7C 71 1B 78 */ mr r17, r3 /* 80211590 0020E4F0 38 60 00 00 */ li r3, 0 /* 80211594 0020E4F4 38 80 00 01 */ li r4, 1 /* 80211598 0020E4F8 48 17 89 5D */ bl __shl2i /* 8021159C 0020E4FC 7E 10 23 78 */ or r16, r16, r4 /* 802115A0 0020E500 7E 31 1B 78 */ or r17, r17, r3 /* 802115A4 0020E504 38 00 00 03 */ li r0, 3 /* 802115A8 0020E508 92 01 01 3C */ stw r16, 0x13c(r1) /* 802115AC 0020E50C 38 61 00 48 */ addi r3, r1, 0x48 /* 802115B0 0020E510 38 9A 00 0C */ addi r4, r26, 0xc /* 802115B4 0020E514 90 01 01 10 */ stw r0, 0x110(r1) /* 802115B8 0020E518 38 A0 00 00 */ li r5, 0 /* 802115BC 0020E51C 92 21 01 38 */ stw r17, 0x138(r1) /* 802115C0 0020E520 92 41 01 44 */ stw r18, 0x144(r1) /* 802115C4 0020E524 92 A1 01 40 */ stw r21, 0x140(r1) /* 802115C8 0020E528 90 01 01 48 */ stw r0, 0x148(r1) /* 802115CC 0020E52C 48 10 2C B1 */ bl __ml__FRC9CVector2ii /* 802115D0 0020E530 38 61 00 50 */ addi r3, r1, 0x50 /* 802115D4 0020E534 38 9A 00 04 */ addi r4, r26, 4 /* 802115D8 0020E538 38 A1 00 48 */ addi r5, r1, 0x48 /* 802115DC 0020E53C 48 10 2D 39 */ bl __pl__FRC9CVector2iRC9CVector2i /* 802115E0 0020E540 81 21 00 50 */ lwz r9, 0x50(r1) /* 802115E4 0020E544 3C E0 43 30 */ lis r7, 0x4330 /* 802115E8 0020E548 81 01 00 54 */ lwz r8, 0x54(r1) /* 802115EC 0020E54C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 802115F0 0020E550 7D 20 07 34 */ extsh r0, r9 /* 802115F4 0020E554 C0 62 B2 78 */ lfs f3, lbl_805ACF98@sda21(r2) /* 802115F8 0020E558 7D 04 07 34 */ extsh r4, r8 /* 802115FC 0020E55C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80211600 0020E560 6C 83 80 00 */ xoris r3, r4, 0x8000 /* 80211604 0020E564 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80211608 0020E568 90 61 0A BC */ stw r3, 0xabc(r1) /* 8021160C 0020E56C 7E 64 9B 78 */ mr r4, r19 /* 80211610 0020E570 C8 A2 B2 48 */ lfd f5, lbl_805ACF68@sda21(r2) /* 80211614 0020E574 38 61 00 78 */ addi r3, r1, 0x78 /* 80211618 0020E578 90 E1 0A B8 */ stw r7, 0xab8(r1) /* 8021161C 0020E57C 38 A1 00 C0 */ addi r5, r1, 0xc0 /* 80211620 0020E580 C0 C2 B2 A0 */ lfs f6, lbl_805ACFC0@sda21(r2) /* 80211624 0020E584 C8 01 0A B8 */ lfd f0, 0xab8(r1) /* 80211628 0020E588 90 01 0A B4 */ stw r0, 0xab4(r1) /* 8021162C 0020E58C EC 20 28 28 */ fsubs f1, f0, f5 /* 80211630 0020E590 C0 42 B2 A4 */ lfs f2, lbl_805ACFC4@sda21(r2) /* 80211634 0020E594 90 E1 0A B0 */ stw r7, 0xab0(r1) /* 80211638 0020E598 C0 06 00 00 */ lfs f0, 0(r6) /* 8021163C 0020E59C C8 81 0A B0 */ lfd f4, 0xab0(r1) /* 80211640 0020E5A0 EC E6 00 72 */ fmuls f7, f6, f1 /* 80211644 0020E5A4 C0 3B 00 04 */ lfs f1, 4(r27) /* 80211648 0020E5A8 EF A2 00 32 */ fmuls f29, f2, f0 /* 8021164C 0020E5AC EC 84 28 28 */ fsubs f4, f4, f5 /* 80211650 0020E5B0 C0 1B 00 08 */ lfs f0, 8(r27) /* 80211654 0020E5B4 EF C2 00 72 */ fmuls f30, f2, f1 /* 80211658 0020E5B8 EF E2 00 32 */ fmuls f31, f2, f0 /* 8021165C 0020E5BC 91 21 00 68 */ stw r9, 0x68(r1) /* 80211660 0020E5C0 EC 06 01 32 */ fmuls f0, f6, f4 /* 80211664 0020E5C4 91 01 00 6C */ stw r8, 0x6c(r1) /* 80211668 0020E5C8 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 8021166C 0020E5CC D0 E1 00 C4 */ stfs f7, 0xc4(r1) /* 80211670 0020E5D0 D0 61 00 C8 */ stfs f3, 0xc8(r1) /* 80211674 0020E5D4 48 10 14 75 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80211678 0020E5D8 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 8021167C 0020E5DC 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 80211680 0020E5E0 C0 21 00 80 */ lfs f1, 0x80(r1) /* 80211684 0020E5E4 7F A4 EB 78 */ mr r4, r29 /* 80211688 0020E5E8 EC C2 F0 2A */ fadds f6, f2, f30 /* 8021168C 0020E5EC C0 01 00 78 */ lfs f0, 0x78(r1) /* 80211690 0020E5F0 EC A1 F8 2A */ fadds f5, f1, f31 /* 80211694 0020E5F4 C0 63 67 00 */ lfs f3, lbl_805A6700@l(r3) /* 80211698 0020E5F8 EC 80 E8 2A */ fadds f4, f0, f29 /* 8021169C 0020E5FC C0 57 00 04 */ lfs f2, 4(r23) /* 802116A0 0020E600 C0 17 00 08 */ lfs f0, 8(r23) /* 802116A4 0020E604 38 61 01 80 */ addi r3, r1, 0x180 /* 802116A8 0020E608 D0 C1 00 B8 */ stfs f6, 0xb8(r1) /* 802116AC 0020E60C 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 802116B0 0020E610 C0 22 B2 A8 */ lfs f1, lbl_805ACFC8@sda21(r2) /* 802116B4 0020E614 38 C1 00 A8 */ addi r6, r1, 0xa8 /* 802116B8 0020E618 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 802116BC 0020E61C 38 E1 01 38 */ addi r7, r1, 0x138 /* 802116C0 0020E620 D0 A1 00 BC */ stfs f5, 0xbc(r1) /* 802116C4 0020E624 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 802116C8 0020E628 D0 41 00 AC */ stfs f2, 0xac(r1) /* 802116CC 0020E62C D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 802116D0 0020E630 4B F7 31 39 */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 802116D4 0020E634 88 81 01 A0 */ lbz r4, 0x1a0(r1) /* 802116D8 0020E638 C0 E1 01 80 */ lfs f7, 0x180(r1) /* 802116DC 0020E63C C0 C1 01 84 */ lfs f6, 0x184(r1) /* 802116E0 0020E640 28 04 00 00 */ cmplwi r4, 0 /* 802116E4 0020E644 C0 A1 01 88 */ lfs f5, 0x188(r1) /* 802116E8 0020E648 C0 81 01 8C */ lfs f4, 0x18c(r1) /* 802116EC 0020E64C C0 61 01 90 */ lfs f3, 0x190(r1) /* 802116F0 0020E650 C0 41 01 94 */ lfs f2, 0x194(r1) /* 802116F4 0020E654 C0 21 01 98 */ lfs f1, 0x198(r1) /* 802116F8 0020E658 C0 01 01 9C */ lfs f0, 0x19c(r1) /* 802116FC 0020E65C 80 01 01 A8 */ lwz r0, 0x1a8(r1) /* 80211700 0020E660 80 61 01 AC */ lwz r3, 0x1ac(r1) /* 80211704 0020E664 D0 E1 02 08 */ stfs f7, 0x208(r1) /* 80211708 0020E668 D0 C1 02 0C */ stfs f6, 0x20c(r1) /* 8021170C 0020E66C D0 A1 02 10 */ stfs f5, 0x210(r1) /* 80211710 0020E670 D0 81 02 14 */ stfs f4, 0x214(r1) /* 80211714 0020E674 D0 61 02 18 */ stfs f3, 0x218(r1) /* 80211718 0020E678 D0 41 02 1C */ stfs f2, 0x21c(r1) /* 8021171C 0020E67C D0 21 02 20 */ stfs f1, 0x220(r1) /* 80211720 0020E680 D0 01 02 24 */ stfs f0, 0x224(r1) /* 80211724 0020E684 98 81 02 28 */ stb r4, 0x228(r1) /* 80211728 0020E688 90 61 02 34 */ stw r3, 0x234(r1) /* 8021172C 0020E68C 90 01 02 30 */ stw r0, 0x230(r1) /* 80211730 0020E690 41 82 02 6C */ beq lbl_8021199C /* 80211734 0020E694 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 80211738 0020E698 40 82 00 14 */ bne lbl_8021174C /* 8021173C 0020E69C 7F A4 EB 78 */ mr r4, r29 /* 80211740 0020E6A0 38 61 02 A8 */ addi r3, r1, 0x2a8 /* 80211744 0020E6A4 4B FF E7 05 */ bl "BuildBlockObjectList__13CEnvFxManagerFR27reserved_vector<9TUniqueId>R13CStateManager" /* 80211748 0020E6A8 3A C0 00 01 */ li r22, 1 lbl_8021174C: /* 8021174C 0020E6AC 7F 35 CB 78 */ mr r21, r25 /* 80211750 0020E6B0 48 00 02 38 */ b lbl_80211988 lbl_80211754: /* 80211754 0020E6B4 A0 15 00 00 */ lhz r0, 0(r21) /* 80211758 0020E6B8 7F A3 EB 78 */ mr r3, r29 /* 8021175C 0020E6BC 38 81 00 08 */ addi r4, r1, 8 /* 80211760 0020E6C0 B0 01 00 08 */ sth r0, 8(r1) /* 80211764 0020E6C4 4B E3 AE 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80211768 0020E6C8 7C 64 1B 78 */ mr r4, r3 /* 8021176C 0020E6CC 38 61 00 0C */ addi r3, r1, 0xc /* 80211770 0020E6D0 4B E9 57 79 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 80211774 0020E6D4 80 83 00 04 */ lwz r4, 4(r3) /* 80211778 0020E6D8 28 04 00 00 */ cmplwi r4, 0 /* 8021177C 0020E6DC 41 82 02 08 */ beq lbl_80211984 /* 80211780 0020E6E0 81 84 00 00 */ lwz r12, 0(r4) /* 80211784 0020E6E4 38 61 00 E4 */ addi r3, r1, 0xe4 /* 80211788 0020E6E8 81 8C 00 40 */ lwz r12, 0x40(r12) /* 8021178C 0020E6EC 7D 89 03 A6 */ mtctr r12 /* 80211790 0020E6F0 4E 80 04 21 */ bctrl /* 80211794 0020E6F4 88 01 00 FC */ lbz r0, 0xfc(r1) /* 80211798 0020E6F8 28 00 00 00 */ cmplwi r0, 0 /* 8021179C 0020E6FC 98 01 01 30 */ stb r0, 0x130(r1) /* 802117A0 0020E700 41 82 00 3C */ beq lbl_802117DC /* 802117A4 0020E704 34 61 01 18 */ addic. r3, r1, 0x118 /* 802117A8 0020E708 41 82 00 34 */ beq lbl_802117DC /* 802117AC 0020E70C C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 802117B0 0020E710 D0 03 00 00 */ stfs f0, 0(r3) /* 802117B4 0020E714 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 802117B8 0020E718 D0 03 00 04 */ stfs f0, 4(r3) /* 802117BC 0020E71C C0 01 00 EC */ lfs f0, 0xec(r1) /* 802117C0 0020E720 D0 03 00 08 */ stfs f0, 8(r3) /* 802117C4 0020E724 C0 01 00 F0 */ lfs f0, 0xf0(r1) /* 802117C8 0020E728 D0 03 00 0C */ stfs f0, 0xc(r3) /* 802117CC 0020E72C C0 01 00 F4 */ lfs f0, 0xf4(r1) /* 802117D0 0020E730 D0 03 00 10 */ stfs f0, 0x10(r3) /* 802117D4 0020E734 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 802117D8 0020E738 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_802117DC: /* 802117DC 0020E73C 88 01 01 30 */ lbz r0, 0x130(r1) /* 802117E0 0020E740 38 C0 00 00 */ li r6, 0 /* 802117E4 0020E744 98 C1 00 FC */ stb r6, 0xfc(r1) /* 802117E8 0020E748 28 00 00 00 */ cmplwi r0, 0 /* 802117EC 0020E74C 40 82 00 0C */ bne lbl_802117F8 /* 802117F0 0020E750 98 C1 01 30 */ stb r6, 0x130(r1) /* 802117F4 0020E754 48 00 01 90 */ b lbl_80211984 lbl_802117F8: /* 802117F8 0020E758 80 AD 94 D4 */ lwz r5, lbl_805A8094@sda21(r13) /* 802117FC 0020E75C 38 60 00 00 */ li r3, 0 /* 80211800 0020E760 90 C1 00 44 */ stw r6, 0x44(r1) /* 80211804 0020E764 38 80 00 01 */ li r4, 1 /* 80211808 0020E768 90 C1 00 40 */ stw r6, 0x40(r1) /* 8021180C 0020E76C 48 17 86 E9 */ bl __shl2i /* 80211810 0020E770 80 01 00 40 */ lwz r0, 0x40(r1) /* 80211814 0020E774 80 A1 00 44 */ lwz r5, 0x44(r1) /* 80211818 0020E778 7C 00 1B 78 */ or r0, r0, r3 /* 8021181C 0020E77C 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 80211820 0020E780 7C A5 23 78 */ or r5, r5, r4 /* 80211824 0020E784 90 01 00 40 */ stw r0, 0x40(r1) /* 80211828 0020E788 38 81 00 40 */ addi r4, r1, 0x40 /* 8021182C 0020E78C 90 A1 00 44 */ stw r5, 0x44(r1) /* 80211830 0020E790 48 0B E0 85 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 80211834 0020E794 C0 C1 01 18 */ lfs f6, 0x118(r1) /* 80211838 0020E798 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 8021183C 0020E79C C0 A1 01 1C */ lfs f5, 0x11c(r1) /* 80211840 0020E7A0 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 80211844 0020E7A4 C0 81 01 20 */ lfs f4, 0x120(r1) /* 80211848 0020E7A8 38 61 02 38 */ addi r3, r1, 0x238 /* 8021184C 0020E7AC C0 61 01 24 */ lfs f3, 0x124(r1) /* 80211850 0020E7B0 38 81 00 B4 */ addi r4, r1, 0xb4 /* 80211854 0020E7B4 C0 41 01 28 */ lfs f2, 0x128(r1) /* 80211858 0020E7B8 38 A1 00 A8 */ addi r5, r1, 0xa8 /* 8021185C 0020E7BC C0 01 01 2C */ lfs f0, 0x12c(r1) /* 80211860 0020E7C0 90 01 01 E0 */ stw r0, 0x1e0(r1) /* 80211864 0020E7C4 C0 22 B2 A8 */ lfs f1, lbl_805ACFC8@sda21(r2) /* 80211868 0020E7C8 D0 C1 01 F0 */ stfs f6, 0x1f0(r1) /* 8021186C 0020E7CC D0 A1 01 F4 */ stfs f5, 0x1f4(r1) /* 80211870 0020E7D0 D0 81 01 F8 */ stfs f4, 0x1f8(r1) /* 80211874 0020E7D4 D0 61 01 FC */ stfs f3, 0x1fc(r1) /* 80211878 0020E7D8 D0 41 02 00 */ stfs f2, 0x200(r1) /* 8021187C 0020E7DC D0 01 02 04 */ stfs f0, 0x204(r1) /* 80211880 0020E7E0 48 0C 47 ED */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff /* 80211884 0020E7E4 C0 02 B2 A8 */ lfs f0, lbl_805ACFC8@sda21(r2) /* 80211888 0020E7E8 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 8021188C 0020E7EC 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 80211890 0020E7F0 D0 01 02 70 */ stfs f0, 0x270(r1) /* 80211894 0020E7F4 7F 03 C3 78 */ mr r3, r24 /* 80211898 0020E7F8 48 10 12 DD */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021189C 0020E7FC 38 01 01 38 */ addi r0, r1, 0x138 /* 802118A0 0020E800 81 81 01 E0 */ lwz r12, 0x1e0(r1) /* 802118A4 0020E804 90 01 02 A4 */ stw r0, 0x2a4(r1) /* 802118A8 0020E808 38 61 01 50 */ addi r3, r1, 0x150 /* 802118AC 0020E80C 38 81 01 E0 */ addi r4, r1, 0x1e0 /* 802118B0 0020E810 38 A1 02 38 */ addi r5, r1, 0x238 /* 802118B4 0020E814 81 8C 00 24 */ lwz r12, 0x24(r12) /* 802118B8 0020E818 7D 89 03 A6 */ mtctr r12 /* 802118BC 0020E81C 4E 80 04 21 */ bctrl /* 802118C0 0020E820 88 A1 01 70 */ lbz r5, 0x170(r1) /* 802118C4 0020E824 C0 E1 01 50 */ lfs f7, 0x150(r1) /* 802118C8 0020E828 C0 C1 01 54 */ lfs f6, 0x154(r1) /* 802118CC 0020E82C 28 05 00 00 */ cmplwi r5, 0 /* 802118D0 0020E830 C0 A1 01 58 */ lfs f5, 0x158(r1) /* 802118D4 0020E834 C0 01 01 5C */ lfs f0, 0x15c(r1) /* 802118D8 0020E838 C0 81 01 60 */ lfs f4, 0x160(r1) /* 802118DC 0020E83C C0 61 01 64 */ lfs f3, 0x164(r1) /* 802118E0 0020E840 C0 41 01 68 */ lfs f2, 0x168(r1) /* 802118E4 0020E844 C0 21 01 6C */ lfs f1, 0x16c(r1) /* 802118E8 0020E848 80 01 01 78 */ lwz r0, 0x178(r1) /* 802118EC 0020E84C 80 61 01 7C */ lwz r3, 0x17c(r1) /* 802118F0 0020E850 D0 E1 01 B0 */ stfs f7, 0x1b0(r1) /* 802118F4 0020E854 D0 C1 01 B4 */ stfs f6, 0x1b4(r1) /* 802118F8 0020E858 D0 A1 01 B8 */ stfs f5, 0x1b8(r1) /* 802118FC 0020E85C D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 80211900 0020E860 D0 81 01 C0 */ stfs f4, 0x1c0(r1) /* 80211904 0020E864 D0 61 01 C4 */ stfs f3, 0x1c4(r1) /* 80211908 0020E868 D0 41 01 C8 */ stfs f2, 0x1c8(r1) /* 8021190C 0020E86C D0 21 01 CC */ stfs f1, 0x1cc(r1) /* 80211910 0020E870 98 A1 01 D0 */ stb r5, 0x1d0(r1) /* 80211914 0020E874 90 61 01 DC */ stw r3, 0x1dc(r1) /* 80211918 0020E878 90 01 01 D8 */ stw r0, 0x1d8(r1) /* 8021191C 0020E87C 41 82 00 48 */ beq lbl_80211964 /* 80211920 0020E880 C0 01 02 08 */ lfs f0, 0x208(r1) /* 80211924 0020E884 FC 07 00 40 */ fcmpo cr0, f7, f0 /* 80211928 0020E888 40 80 00 3C */ bge lbl_80211964 /* 8021192C 0020E88C 80 81 01 B4 */ lwz r4, 0x1b4(r1) /* 80211930 0020E890 80 61 01 B8 */ lwz r3, 0x1b8(r1) /* 80211934 0020E894 80 01 01 BC */ lwz r0, 0x1bc(r1) /* 80211938 0020E898 C8 01 01 D8 */ lfd f0, 0x1d8(r1) /* 8021193C 0020E89C D0 E1 02 08 */ stfs f7, 0x208(r1) /* 80211940 0020E8A0 90 81 02 0C */ stw r4, 0x20c(r1) /* 80211944 0020E8A4 90 61 02 10 */ stw r3, 0x210(r1) /* 80211948 0020E8A8 90 01 02 14 */ stw r0, 0x214(r1) /* 8021194C 0020E8AC D0 81 02 18 */ stfs f4, 0x218(r1) /* 80211950 0020E8B0 D0 61 02 1C */ stfs f3, 0x21c(r1) /* 80211954 0020E8B4 D0 41 02 20 */ stfs f2, 0x220(r1) /* 80211958 0020E8B8 D0 21 02 24 */ stfs f1, 0x224(r1) /* 8021195C 0020E8BC 98 A1 02 28 */ stb r5, 0x228(r1) /* 80211960 0020E8C0 D8 01 02 30 */ stfd f0, 0x230(r1) lbl_80211964: /* 80211964 0020E8C4 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 80211968 0020E8C8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 8021196C 0020E8CC 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l /* 80211970 0020E8D0 38 00 00 00 */ li r0, 0 /* 80211974 0020E8D4 90 81 01 E0 */ stw r4, 0x1e0(r1) /* 80211978 0020E8D8 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 8021197C 0020E8DC 90 61 01 E0 */ stw r3, 0x1e0(r1) /* 80211980 0020E8E0 98 01 01 30 */ stb r0, 0x130(r1) lbl_80211984: /* 80211984 0020E8E4 3A B5 00 02 */ addi r21, r21, 2 lbl_80211988: /* 80211988 0020E8E8 80 01 02 A8 */ lwz r0, 0x2a8(r1) /* 8021198C 0020E8EC 54 00 08 3C */ slwi r0, r0, 1 /* 80211990 0020E8F0 7C 19 02 14 */ add r0, r25, r0 /* 80211994 0020E8F4 7C 15 00 40 */ cmplw r21, r0 /* 80211998 0020E8F8 40 82 FD BC */ bne lbl_80211754 lbl_8021199C: /* 8021199C 0020E8FC 88 01 02 28 */ lbz r0, 0x228(r1) /* 802119A0 0020E900 3B FF 00 01 */ addi r31, r31, 1 /* 802119A4 0020E904 C0 01 02 14 */ lfs f0, 0x214(r1) /* 802119A8 0020E908 98 01 00 2C */ stb r0, 0x2c(r1) /* 802119AC 0020E90C D0 01 00 30 */ stfs f0, 0x30(r1) /* 802119B0 0020E910 80 61 00 2C */ lwz r3, 0x2c(r1) /* 802119B4 0020E914 80 01 00 30 */ lwz r0, 0x30(r1) /* 802119B8 0020E918 90 61 00 34 */ stw r3, 0x34(r1) /* 802119BC 0020E91C 90 01 00 38 */ stw r0, 0x38(r1) /* 802119C0 0020E920 88 01 00 34 */ lbz r0, 0x34(r1) /* 802119C4 0020E924 C0 01 00 38 */ lfs f0, 0x38(r1) /* 802119C8 0020E928 98 1A 00 14 */ stb r0, 0x14(r26) /* 802119CC 0020E92C D0 1A 00 18 */ stfs f0, 0x18(r26) lbl_802119D0: /* 802119D0 0020E930 88 1A 00 00 */ lbz r0, 0(r26) /* 802119D4 0020E934 38 60 00 00 */ li r3, 0 /* 802119D8 0020E938 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802119DC 0020E93C 98 1A 00 00 */ stb r0, 0(r26) lbl_802119E0: /* 802119E0 0020E940 38 61 00 24 */ addi r3, r1, 0x24 /* 802119E4 0020E944 38 9A 00 04 */ addi r4, r26, 4 /* 802119E8 0020E948 38 BA 00 0C */ addi r5, r26, 0xc /* 802119EC 0020E94C 48 10 29 29 */ bl __pl__FRC9CVector2iRC9CVector2i /* 802119F0 0020E950 80 A1 00 70 */ lwz r5, 0x70(r1) /* 802119F4 0020E954 80 1A 00 04 */ lwz r0, 4(r26) /* 802119F8 0020E958 80 61 00 24 */ lwz r3, 0x24(r1) /* 802119FC 0020E95C 7C 05 00 00 */ cmpw r5, r0 /* 80211A00 0020E960 80 81 00 28 */ lwz r4, 0x28(r1) /* 80211A04 0020E964 41 80 00 60 */ blt lbl_80211A64 /* 80211A08 0020E968 80 C1 00 74 */ lwz r6, 0x74(r1) /* 80211A0C 0020E96C 80 1A 00 08 */ lwz r0, 8(r26) /* 80211A10 0020E970 7C 06 00 00 */ cmpw r6, r0 /* 80211A14 0020E974 41 80 00 50 */ blt lbl_80211A64 /* 80211A18 0020E978 7C 05 18 00 */ cmpw r5, r3 /* 80211A1C 0020E97C 40 80 00 48 */ bge lbl_80211A64 /* 80211A20 0020E980 7C 06 20 00 */ cmpw r6, r4 /* 80211A24 0020E984 40 80 00 40 */ bge lbl_80211A64 /* 80211A28 0020E988 88 1A 00 14 */ lbz r0, 0x14(r26) /* 80211A2C 0020E98C C0 3A 00 18 */ lfs f1, 0x18(r26) /* 80211A30 0020E990 28 00 00 00 */ cmplwi r0, 0 /* 80211A34 0020E994 98 01 00 1C */ stb r0, 0x1c(r1) /* 80211A38 0020E998 D0 21 00 20 */ stfs f1, 0x20(r1) /* 80211A3C 0020E99C 41 82 00 28 */ beq lbl_80211A64 /* 80211A40 0020E9A0 C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 80211A44 0020E9A4 98 01 00 14 */ stb r0, 0x14(r1) /* 80211A48 0020E9A8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80211A4C 0020E9AC D0 21 00 18 */ stfs f1, 0x18(r1) /* 80211A50 0020E9B0 4C 40 13 82 */ cror 2, 0, 2 /* 80211A54 0020E9B4 40 82 00 10 */ bne lbl_80211A64 /* 80211A58 0020E9B8 38 00 00 01 */ li r0, 1 /* 80211A5C 0020E9BC 98 1C 00 24 */ stb r0, 0x24(r28) /* 80211A60 0020E9C0 93 DC 00 2C */ stw r30, 0x2c(r28) lbl_80211A64: /* 80211A64 0020E9C4 3B 5A 00 2C */ addi r26, r26, 0x2c /* 80211A68 0020E9C8 3B DE 00 01 */ addi r30, r30, 1 lbl_80211A6C: /* 80211A6C 0020E9CC 80 1C 00 50 */ lwz r0, 0x50(r28) /* 80211A70 0020E9D0 7C 1E 00 00 */ cmpw r30, r0 /* 80211A74 0020E9D4 41 80 FA 80 */ blt lbl_802114F4 /* 80211A78 0020E9D8 80 A1 02 A8 */ lwz r5, 0x2a8(r1) /* 80211A7C 0020E9DC 38 60 00 00 */ li r3, 0 /* 80211A80 0020E9E0 2C 05 00 00 */ cmpwi r5, 0 /* 80211A84 0020E9E4 40 81 00 40 */ ble lbl_80211AC4 /* 80211A88 0020E9E8 2C 05 00 08 */ cmpwi r5, 8 /* 80211A8C 0020E9EC 38 85 FF F8 */ addi r4, r5, -8 /* 80211A90 0020E9F0 40 81 00 20 */ ble lbl_80211AB0 /* 80211A94 0020E9F4 38 04 00 07 */ addi r0, r4, 7 /* 80211A98 0020E9F8 54 00 E8 FE */ srwi r0, r0, 3 /* 80211A9C 0020E9FC 7C 09 03 A6 */ mtctr r0 /* 80211AA0 0020EA00 2C 04 00 00 */ cmpwi r4, 0 /* 80211AA4 0020EA04 40 81 00 0C */ ble lbl_80211AB0 lbl_80211AA8: /* 80211AA8 0020EA08 38 63 00 08 */ addi r3, r3, 8 /* 80211AAC 0020EA0C 42 00 FF FC */ bdnz lbl_80211AA8 lbl_80211AB0: /* 80211AB0 0020EA10 7C 03 28 50 */ subf r0, r3, r5 /* 80211AB4 0020EA14 7C 09 03 A6 */ mtctr r0 /* 80211AB8 0020EA18 7C 03 28 00 */ cmpw r3, r5 /* 80211ABC 0020EA1C 40 80 00 08 */ bge lbl_80211AC4 lbl_80211AC0: /* 80211AC0 0020EA20 42 00 00 00 */ bdnz lbl_80211AC0 lbl_80211AC4: /* 80211AC4 0020EA24 38 00 00 00 */ li r0, 0 /* 80211AC8 0020EA28 90 01 02 A8 */ stw r0, 0x2a8(r1) /* 80211ACC 0020EA2C E3 E1 0B 28 */ psq_l f31, -1240(r1), 0, qr0 /* 80211AD0 0020EA30 CB E1 0B 20 */ lfd f31, 0xb20(r1) /* 80211AD4 0020EA34 E3 C1 0B 18 */ psq_l f30, -1256(r1), 0, qr0 /* 80211AD8 0020EA38 CB C1 0B 10 */ lfd f30, 0xb10(r1) /* 80211ADC 0020EA3C E3 A1 0B 08 */ psq_l f29, -1272(r1), 0, qr0 /* 80211AE0 0020EA40 CB A1 0B 00 */ lfd f29, 0xb00(r1) /* 80211AE4 0020EA44 BA 01 0A C0 */ lmw r16, 0xac0(r1) /* 80211AE8 0020EA48 80 01 0B 34 */ lwz r0, 0xb34(r1) /* 80211AEC 0020EA4C 7C 08 03 A6 */ mtlr r0 /* 80211AF0 0020EA50 38 21 0B 30 */ addi r1, r1, 0xb30 /* 80211AF4 0020EA54 4E 80 00 20 */ blr .global "CalculateSnowForces__13CEnvFxManagerFRC15CVectorFixed8_8R34reserved_vector<15CVectorFixed8_8>10EEnvFxTypeRC9CVector3ff" "CalculateSnowForces__13CEnvFxManagerFRC15CVectorFixed8_8R34reserved_vector<15CVectorFixed8_8>10EEnvFxTypeRC9CVector3ff": /* 80211AF8 0020EA58 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80211AFC 0020EA5C 2C 06 00 01 */ cmpwi r6, 1 /* 80211B00 0020EA60 BF 61 00 4C */ stmw r27, 0x4c(r1) /* 80211B04 0020EA64 40 82 01 24 */ bne lbl_80211C28 /* 80211B08 0020EA68 39 06 FF FF */ addi r8, r6, -1 /* 80211B0C 0020EA6C 20 06 00 01 */ subfic r0, r6, 1 /* 80211B10 0020EA70 7D 00 00 F8 */ nor r0, r8, r0 /* 80211B14 0020EA74 3D 00 80 47 */ lis r8, lbl_8046CB40@ha /* 80211B18 0020EA78 3D 20 80 5A */ lis r9, skZero3f@ha /* 80211B1C 0020EA7C 39 60 00 00 */ li r11, 0 /* 80211B20 0020EA80 39 49 66 A0 */ addi r10, r9, skZero3f@l /* 80211B24 0020EA84 7C 09 FE 70 */ srawi r9, r0, 0x1f /* 80211B28 0020EA88 38 08 CB 40 */ addi r0, r8, lbl_8046CB40@l /* 80211B2C 0020EA8C C0 EA 00 00 */ lfs f7, 0(r10) /* 80211B30 0020EA90 7C 08 48 39 */ and. r8, r0, r9 /* 80211B34 0020EA94 C1 0A 00 04 */ lfs f8, 4(r10) /* 80211B38 0020EA98 C1 2A 00 08 */ lfs f9, 8(r10) /* 80211B3C 0020EA9C 7D 6C 5B 78 */ mr r12, r11 /* 80211B40 0020EAA0 7D 7B 5B 78 */ mr r27, r11 /* 80211B44 0020EAA4 41 82 00 E4 */ beq lbl_80211C28 /* 80211B48 0020EAA8 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 80211B4C 0020EAAC 38 00 01 00 */ li r0, 0x100 /* 80211B50 0020EAB0 3B E8 07 F8 */ addi r31, r8, 0x7f8 /* 80211B54 0020EAB4 C0 82 B2 94 */ lfs f4, lbl_805ACFB4@sda21(r2) /* 80211B58 0020EAB8 ED 41 00 32 */ fmuls f10, f1, f0 /* 80211B5C 0020EABC 7C 09 03 A6 */ mtctr r0 lbl_80211B60: /* 80211B60 0020EAC0 C0 1F 00 00 */ lfs f0, 0(r31) /* 80211B64 0020EAC4 C0 5F 00 04 */ lfs f2, 4(r31) /* 80211B68 0020EAC8 EC A1 00 32 */ fmuls f5, f1, f0 /* 80211B6C 0020EACC C0 C7 00 00 */ lfs f6, 0(r7) /* 80211B70 0020EAD0 C0 07 00 08 */ lfs f0, 8(r7) /* 80211B74 0020EAD4 EC 41 00 B2 */ fmuls f2, f1, f2 /* 80211B78 0020EAD8 C0 67 00 04 */ lfs f3, 4(r7) /* 80211B7C 0020EADC EC A6 01 72 */ fmuls f5, f6, f5 /* 80211B80 0020EAE0 EC 43 00 B2 */ fmuls f2, f3, f2 /* 80211B84 0020EAE4 80 05 00 00 */ lwz r0, 0(r5) /* 80211B88 0020EAE8 EC 00 02 B2 */ fmuls f0, f0, f10 /* 80211B8C 0020EAEC EC E7 28 2A */ fadds f7, f7, f5 /* 80211B90 0020EAF0 1C 00 00 06 */ mulli r0, r0, 6 /* 80211B94 0020EAF4 ED 08 10 2A */ fadds f8, f8, f2 /* 80211B98 0020EAF8 ED 29 00 2A */ fadds f9, f9, f0 /* 80211B9C 0020EAFC EC 64 01 F2 */ fmuls f3, f4, f7 /* 80211BA0 0020EB00 7D 45 02 14 */ add r10, r5, r0 /* 80211BA4 0020EB04 EC 44 02 32 */ fmuls f2, f4, f8 /* 80211BA8 0020EB08 35 4A 00 04 */ addic. r10, r10, 4 /* 80211BAC 0020EB0C EC 04 02 72 */ fmuls f0, f4, f9 /* 80211BB0 0020EB10 FC 60 18 1E */ fctiwz f3, f3 /* 80211BB4 0020EB14 FC 40 10 1E */ fctiwz f2, f2 /* 80211BB8 0020EB18 FC 00 00 1E */ fctiwz f0, f0 /* 80211BBC 0020EB1C D8 61 00 30 */ stfd f3, 0x30(r1) /* 80211BC0 0020EB20 D8 41 00 38 */ stfd f2, 0x38(r1) /* 80211BC4 0020EB24 80 01 00 34 */ lwz r0, 0x34(r1) /* 80211BC8 0020EB28 D8 01 00 40 */ stfd f0, 0x40(r1) /* 80211BCC 0020EB2C 81 21 00 3C */ lwz r9, 0x3c(r1) /* 80211BD0 0020EB30 7C 1C 07 34 */ extsh r28, r0 /* 80211BD4 0020EB34 81 01 00 44 */ lwz r8, 0x44(r1) /* 80211BD8 0020EB38 7C 0B E0 50 */ subf r0, r11, r28 /* 80211BDC 0020EB3C 7D 3D 07 34 */ extsh r29, r9 /* 80211BE0 0020EB40 7D 1E 07 34 */ extsh r30, r8 /* 80211BE4 0020EB44 7C 09 07 34 */ extsh r9, r0 /* 80211BE8 0020EB48 7D 0C E8 50 */ subf r8, r12, r29 /* 80211BEC 0020EB4C 7C 1B F0 50 */ subf r0, r27, r30 /* 80211BF0 0020EB50 7D 08 07 34 */ extsh r8, r8 /* 80211BF4 0020EB54 7C 00 07 34 */ extsh r0, r0 /* 80211BF8 0020EB58 41 82 00 10 */ beq lbl_80211C08 /* 80211BFC 0020EB5C B1 2A 00 00 */ sth r9, 0(r10) /* 80211C00 0020EB60 B1 0A 00 02 */ sth r8, 2(r10) /* 80211C04 0020EB64 B0 0A 00 04 */ sth r0, 4(r10) lbl_80211C08: /* 80211C08 0020EB68 81 05 00 00 */ lwz r8, 0(r5) /* 80211C0C 0020EB6C 7F 8B E3 78 */ mr r11, r28 /* 80211C10 0020EB70 7F AC EB 78 */ mr r12, r29 /* 80211C14 0020EB74 7F DB F3 78 */ mr r27, r30 /* 80211C18 0020EB78 38 08 00 01 */ addi r0, r8, 1 /* 80211C1C 0020EB7C 3B FF FF F8 */ addi r31, r31, -8 /* 80211C20 0020EB80 90 05 00 00 */ stw r0, 0(r5) /* 80211C24 0020EB84 42 00 FF 3C */ bdnz lbl_80211B60 lbl_80211C28: /* 80211C28 0020EB88 2C 06 00 01 */ cmpwi r6, 1 /* 80211C2C 0020EB8C 40 82 01 1C */ bne lbl_80211D48 /* 80211C30 0020EB90 C0 82 B2 94 */ lfs f4, lbl_805ACFB4@sda21(r2) /* 80211C34 0020EB94 38 C5 00 04 */ addi r6, r5, 4 /* 80211C38 0020EB98 38 03 0B 88 */ addi r0, r3, 0xb88 /* 80211C3C 0020EB9C 38 60 00 00 */ li r3, 0 /* 80211C40 0020EBA0 48 00 00 FC */ b lbl_80211D3C lbl_80211C44: /* 80211C44 0020EBA4 54 68 07 3E */ clrlwi r8, r3, 0x1c /* 80211C48 0020EBA8 C0 07 00 00 */ lfs f0, 0(r7) /* 80211C4C 0020EBAC 1D 08 00 0C */ mulli r8, r8, 0xc /* 80211C50 0020EBB0 C0 47 00 04 */ lfs f2, 4(r7) /* 80211C54 0020EBB4 C0 67 00 08 */ lfs f3, 8(r7) /* 80211C58 0020EBB8 38 63 00 01 */ addi r3, r3, 1 /* 80211C5C 0020EBBC A9 66 00 00 */ lha r11, 0(r6) /* 80211C60 0020EBC0 7D 00 42 14 */ add r8, r0, r8 /* 80211C64 0020EBC4 C0 A8 00 00 */ lfs f5, 0(r8) /* 80211C68 0020EBC8 C0 E8 00 04 */ lfs f7, 4(r8) /* 80211C6C 0020EBCC EC C1 01 72 */ fmuls f6, f1, f5 /* 80211C70 0020EBD0 C0 A8 00 08 */ lfs f5, 8(r8) /* 80211C74 0020EBD4 ED 01 01 F2 */ fmuls f8, f1, f7 /* 80211C78 0020EBD8 A9 04 00 00 */ lha r8, 0(r4) /* 80211C7C 0020EBDC EC E1 01 72 */ fmuls f7, f1, f5 /* 80211C80 0020EBE0 AB E6 00 02 */ lha r31, 2(r6) /* 80211C84 0020EBE4 EC A0 01 B2 */ fmuls f5, f0, f6 /* 80211C88 0020EBE8 AB C6 00 04 */ lha r30, 4(r6) /* 80211C8C 0020EBEC ED 22 02 32 */ fmuls f9, f2, f8 /* 80211C90 0020EBF0 A9 44 00 02 */ lha r10, 2(r4) /* 80211C94 0020EBF4 ED 43 01 F2 */ fmuls f10, f3, f7 /* 80211C98 0020EBF8 A9 24 00 04 */ lha r9, 4(r4) /* 80211C9C 0020EBFC EC 04 01 72 */ fmuls f0, f4, f5 /* 80211CA0 0020EC00 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 80211CA4 0020EC04 EC 44 02 72 */ fmuls f2, f4, f9 /* 80211CA8 0020EC08 EC 64 02 B2 */ fmuls f3, f4, f10 /* 80211CAC 0020EC0C D1 01 00 1C */ stfs f8, 0x1c(r1) /* 80211CB0 0020EC10 FC 00 00 1E */ fctiwz f0, f0 /* 80211CB4 0020EC14 FC 40 10 1E */ fctiwz f2, f2 /* 80211CB8 0020EC18 D0 E1 00 20 */ stfs f7, 0x20(r1) /* 80211CBC 0020EC1C FC 60 18 1E */ fctiwz f3, f3 /* 80211CC0 0020EC20 D8 01 00 30 */ stfd f0, 0x30(r1) /* 80211CC4 0020EC24 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80211CC8 0020EC28 D8 41 00 38 */ stfd f2, 0x38(r1) /* 80211CCC 0020EC2C 7F AC 07 34 */ extsh r12, r29 /* 80211CD0 0020EC30 7D 8B 62 14 */ add r12, r11, r12 /* 80211CD4 0020EC34 83 61 00 3C */ lwz r27, 0x3c(r1) /* 80211CD8 0020EC38 D8 61 00 40 */ stfd f3, 0x40(r1) /* 80211CDC 0020EC3C 7D 8B 07 34 */ extsh r11, r12 /* 80211CE0 0020EC40 7D 0B 42 14 */ add r8, r11, r8 /* 80211CE4 0020EC44 7F 6B 07 34 */ extsh r11, r27 /* 80211CE8 0020EC48 83 81 00 44 */ lwz r28, 0x44(r1) /* 80211CEC 0020EC4C 7D 7F 5A 14 */ add r11, r31, r11 /* 80211CF0 0020EC50 B1 06 00 00 */ sth r8, 0(r6) /* 80211CF4 0020EC54 7D 7F 07 34 */ extsh r31, r11 /* 80211CF8 0020EC58 7D 1F 52 14 */ add r8, r31, r10 /* 80211CFC 0020EC5C 7F 8A 07 34 */ extsh r10, r28 /* 80211D00 0020EC60 7D 5E 52 14 */ add r10, r30, r10 /* 80211D04 0020EC64 B1 06 00 02 */ sth r8, 2(r6) /* 80211D08 0020EC68 7D 48 07 34 */ extsh r8, r10 /* 80211D0C 0020EC6C 7D 08 4A 14 */ add r8, r8, r9 /* 80211D10 0020EC70 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80211D14 0020EC74 B1 06 00 04 */ sth r8, 4(r6) /* 80211D18 0020EC78 38 C6 00 06 */ addi r6, r6, 6 /* 80211D1C 0020EC7C D1 21 00 28 */ stfs f9, 0x28(r1) /* 80211D20 0020EC80 D1 41 00 2C */ stfs f10, 0x2c(r1) /* 80211D24 0020EC84 B3 A1 00 08 */ sth r29, 8(r1) /* 80211D28 0020EC88 B3 61 00 0A */ sth r27, 0xa(r1) /* 80211D2C 0020EC8C B3 81 00 0C */ sth r28, 0xc(r1) /* 80211D30 0020EC90 B1 81 00 10 */ sth r12, 0x10(r1) /* 80211D34 0020EC94 B1 61 00 12 */ sth r11, 0x12(r1) /* 80211D38 0020EC98 B1 41 00 14 */ sth r10, 0x14(r1) lbl_80211D3C: /* 80211D3C 0020EC9C 81 05 00 00 */ lwz r8, 0(r5) /* 80211D40 0020ECA0 7C 03 40 00 */ cmpw r3, r8 /* 80211D44 0020ECA4 41 80 FF 00 */ blt lbl_80211C44 lbl_80211D48: /* 80211D48 0020ECA8 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 80211D4C 0020ECAC 38 21 00 60 */ addi r1, r1, 0x60 /* 80211D50 0020ECB0 4E 80 00 20 */ blr .global CreateNewParticles__13CEnvFxManagerF10EEnvFxType CreateNewParticles__13CEnvFxManagerF10EEnvFxType: /* 80211D54 0020ECB4 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 80211D58 0020ECB8 7C 08 02 A6 */ mflr r0 /* 80211D5C 0020ECBC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80211D60 0020ECC0 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 80211D64 0020ECC4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 80211D68 0020ECC8 DB C1 00 90 */ stfd f30, 0x90(r1) /* 80211D6C 0020ECCC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 80211D70 0020ECD0 DB A1 00 80 */ stfd f29, 0x80(r1) /* 80211D74 0020ECD4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 80211D78 0020ECD8 BE A1 00 54 */ stmw r21, 0x54(r1) /* 80211D7C 0020ECDC 2C 04 00 01 */ cmpwi r4, 1 /* 80211D80 0020ECE0 7C 77 1B 78 */ mr r23, r3 /* 80211D84 0020ECE4 40 82 00 0C */ bne lbl_80211D90 /* 80211D88 0020ECE8 38 00 1C 98 */ li r0, 0x1c98 /* 80211D8C 0020ECEC 48 00 00 2C */ b lbl_80211DB8 lbl_80211D90: /* 80211D90 0020ECF0 2C 04 00 02 */ cmpwi r4, 2 /* 80211D94 0020ECF4 40 82 00 0C */ bne lbl_80211DA0 /* 80211D98 0020ECF8 38 00 2A F8 */ li r0, 0x2af8 /* 80211D9C 0020ECFC 48 00 00 1C */ b lbl_80211DB8 lbl_80211DA0: /* 80211DA0 0020ED00 38 64 FF FD */ addi r3, r4, -3 /* 80211DA4 0020ED04 20 04 00 03 */ subfic r0, r4, 3 /* 80211DA8 0020ED08 7C 63 00 F8 */ nor r3, r3, r0 /* 80211DAC 0020ED0C 38 00 1F D6 */ li r0, 0x1fd6 /* 80211DB0 0020ED10 7C 63 FE 70 */ srawi r3, r3, 0x1f /* 80211DB4 0020ED14 7C 00 18 38 */ and r0, r0, r3 lbl_80211DB8: /* 80211DB8 0020ED18 7C 00 36 70 */ srawi r0, r0, 6 /* 80211DBC 0020ED1C 3C 60 43 30 */ lis r3, 0x4330 /* 80211DC0 0020ED20 7C A0 01 94 */ addze r5, r0 /* 80211DC4 0020ED24 88 0D A4 F4 */ lbz r0, lbl_805A90B4@sda21(r13) /* 80211DC8 0020ED28 6C A4 80 00 */ xoris r4, r5, 0x8000 /* 80211DCC 0020ED2C 90 61 00 20 */ stw r3, 0x20(r1) /* 80211DD0 0020ED30 C8 22 B2 48 */ lfd f1, lbl_805ACF68@sda21(r2) /* 80211DD4 0020ED34 7C 00 07 75 */ extsb. r0, r0 /* 80211DD8 0020ED38 90 81 00 24 */ stw r4, 0x24(r1) /* 80211DDC 0020ED3C 7C B5 2B 78 */ mr r21, r5 /* 80211DE0 0020ED40 C0 57 00 30 */ lfs f2, 0x30(r23) /* 80211DE4 0020ED44 C8 01 00 20 */ lfd f0, 0x20(r1) /* 80211DE8 0020ED48 EC 00 08 28 */ fsubs f0, f0, f1 /* 80211DEC 0020ED4C EC 02 00 32 */ fmuls f0, f2, f0 /* 80211DF0 0020ED50 FC 00 00 1E */ fctiwz f0, f0 /* 80211DF4 0020ED54 D8 01 00 28 */ stfd f0, 0x28(r1) /* 80211DF8 0020ED58 83 41 00 2C */ lwz r26, 0x2c(r1) /* 80211DFC 0020ED5C 40 82 00 14 */ bne lbl_80211E10 /* 80211E00 0020ED60 38 60 00 00 */ li r3, 0 /* 80211E04 0020ED64 38 00 00 01 */ li r0, 1 /* 80211E08 0020ED68 90 6D A4 F0 */ stw r3, lbl_805A90B0@sda21(r13) /* 80211E0C 0020ED6C 98 0D A4 F4 */ stb r0, lbl_805A90B4@sda21(r13) lbl_80211E10: /* 80211E10 0020ED70 80 8D A4 F0 */ lwz r4, lbl_805A90B0@sda21(r13) /* 80211E14 0020ED74 38 61 00 08 */ addi r3, r1, 8 /* 80211E18 0020ED78 48 10 07 D5 */ bl __ct__9CRandom16FUi /* 80211E1C 0020ED7C 80 77 00 50 */ lwz r3, 0x50(r23) /* 80211E20 0020ED80 7E BB AB 78 */ mr r27, r21 /* 80211E24 0020ED84 3B 23 FF FF */ addi r25, r3, -1 /* 80211E28 0020ED88 1C 19 00 2C */ mulli r0, r25, 0x2c /* 80211E2C 0020ED8C 7F 97 02 14 */ add r28, r23, r0 /* 80211E30 0020ED90 3B 9C 00 54 */ addi r28, r28, 0x54 /* 80211E34 0020ED94 48 00 01 7C */ b lbl_80211FB0 lbl_80211E38: /* 80211E38 0020ED98 88 1C 00 14 */ lbz r0, 0x14(r28) /* 80211E3C 0020ED9C C0 1C 00 18 */ lfs f0, 0x18(r28) /* 80211E40 0020EDA0 28 00 00 00 */ cmplwi r0, 0 /* 80211E44 0020EDA4 98 01 00 14 */ stb r0, 0x14(r1) /* 80211E48 0020EDA8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80211E4C 0020EDAC 41 82 01 5C */ beq lbl_80211FA8 /* 80211E50 0020EDB0 80 1C 00 20 */ lwz r0, 0x20(r28) /* 80211E54 0020EDB4 3B DC 00 1C */ addi r30, r28, 0x1c /* 80211E58 0020EDB8 7C 1A 00 00 */ cmpw r26, r0 /* 80211E5C 0020EDBC 40 81 01 2C */ ble lbl_80211F88 /* 80211E60 0020EDC0 80 1E 00 08 */ lwz r0, 8(r30) /* 80211E64 0020EDC4 7C 1A 00 00 */ cmpw r26, r0 /* 80211E68 0020EDC8 40 81 00 10 */ ble lbl_80211E78 /* 80211E6C 0020EDCC 7F C3 F3 78 */ mr r3, r30 /* 80211E70 0020EDD0 7F 64 DB 78 */ mr r4, r27 /* 80211E74 0020EDD4 48 00 1B 55 */ bl sub_802139c8 lbl_80211E78: /* 80211E78 0020EDD8 80 1E 00 04 */ lwz r0, 4(r30) /* 80211E7C 0020EDDC 3A E0 00 00 */ li r23, 0 /* 80211E80 0020EDE0 CB C2 B2 48 */ lfd f30, lbl_805ACF68@sda21(r2) /* 80211E84 0020EDE4 3F E0 43 30 */ lis r31, 0x4330 /* 80211E88 0020EDE8 C3 E2 B2 94 */ lfs f31, lbl_805ACFB4@sda21(r2) /* 80211E8C 0020EDEC 7F 00 D0 50 */ subf r24, r0, r26 /* 80211E90 0020EDF0 48 00 00 EC */ b lbl_80211F7C lbl_80211E94: /* 80211E94 0020EDF4 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80211E98 0020EDF8 38 61 00 08 */ addi r3, r1, 8 /* 80211E9C 0020EDFC C0 42 B2 AC */ lfs f2, lbl_805ACFCC@sda21(r2) /* 80211EA0 0020EE00 48 10 06 A5 */ bl Range__9CRandom16Fff /* 80211EA4 0020EE04 80 1C 00 10 */ lwz r0, 0x10(r28) /* 80211EA8 0020EE08 FF A0 08 90 */ fmr f29, f1 /* 80211EAC 0020EE0C 93 E1 00 28 */ stw r31, 0x28(r1) /* 80211EB0 0020EE10 38 61 00 08 */ addi r3, r1, 8 /* 80211EB4 0020EE14 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80211EB8 0020EE18 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80211EBC 0020EE1C 90 01 00 2C */ stw r0, 0x2c(r1) /* 80211EC0 0020EE20 C8 01 00 28 */ lfd f0, 0x28(r1) /* 80211EC4 0020EE24 EC 40 F0 28 */ fsubs f2, f0, f30 /* 80211EC8 0020EE28 48 10 06 7D */ bl Range__9CRandom16Fff /* 80211ECC 0020EE2C 80 1C 00 0C */ lwz r0, 0xc(r28) /* 80211ED0 0020EE30 FC 40 08 1E */ fctiwz f2, f1 /* 80211ED4 0020EE34 93 E1 00 30 */ stw r31, 0x30(r1) /* 80211ED8 0020EE38 38 61 00 08 */ addi r3, r1, 8 /* 80211EDC 0020EE3C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80211EE0 0020EE40 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80211EE4 0020EE44 90 01 00 34 */ stw r0, 0x34(r1) /* 80211EE8 0020EE48 C8 01 00 30 */ lfd f0, 0x30(r1) /* 80211EEC 0020EE4C D8 41 00 20 */ stfd f2, 0x20(r1) /* 80211EF0 0020EE50 EC 40 F0 28 */ fsubs f2, f0, f30 /* 80211EF4 0020EE54 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80211EF8 0020EE58 48 10 06 4D */ bl Range__9CRandom16Fff /* 80211EFC 0020EE5C EC 1F 07 72 */ fmuls f0, f31, f29 /* 80211F00 0020EE60 80 1E 00 04 */ lwz r0, 4(r30) /* 80211F04 0020EE64 FC 20 08 1E */ fctiwz f1, f1 /* 80211F08 0020EE68 80 BE 00 08 */ lwz r5, 8(r30) /* 80211F0C 0020EE6C 7F BD 07 34 */ extsh r29, r29 /* 80211F10 0020EE70 FC 00 00 1E */ fctiwz f0, f0 /* 80211F14 0020EE74 D8 21 00 38 */ stfd f1, 0x38(r1) /* 80211F18 0020EE78 7C 00 28 00 */ cmpw r0, r5 /* 80211F1C 0020EE7C D8 01 00 40 */ stfd f0, 0x40(r1) /* 80211F20 0020EE80 80 61 00 3C */ lwz r3, 0x3c(r1) /* 80211F24 0020EE84 80 01 00 44 */ lwz r0, 0x44(r1) /* 80211F28 0020EE88 7C 76 07 34 */ extsh r22, r3 /* 80211F2C 0020EE8C 7C 15 07 34 */ extsh r21, r0 /* 80211F30 0020EE90 41 80 00 1C */ blt lbl_80211F4C /* 80211F34 0020EE94 2C 05 00 00 */ cmpwi r5, 0 /* 80211F38 0020EE98 7F C3 F3 78 */ mr r3, r30 /* 80211F3C 0020EE9C 38 80 00 04 */ li r4, 4 /* 80211F40 0020EEA0 41 82 00 08 */ beq lbl_80211F48 /* 80211F44 0020EEA4 54 A4 08 3C */ slwi r4, r5, 1 lbl_80211F48: /* 80211F48 0020EEA8 48 00 1A 81 */ bl sub_802139c8 lbl_80211F4C: /* 80211F4C 0020EEAC 80 1E 00 04 */ lwz r0, 4(r30) /* 80211F50 0020EEB0 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80211F54 0020EEB4 1C 00 00 06 */ mulli r0, r0, 6 /* 80211F58 0020EEB8 7C 63 02 15 */ add. r3, r3, r0 /* 80211F5C 0020EEBC 41 82 00 10 */ beq lbl_80211F6C /* 80211F60 0020EEC0 B2 C3 00 00 */ sth r22, 0(r3) /* 80211F64 0020EEC4 B3 A3 00 02 */ sth r29, 2(r3) /* 80211F68 0020EEC8 B2 A3 00 04 */ sth r21, 4(r3) lbl_80211F6C: /* 80211F6C 0020EECC 80 7E 00 04 */ lwz r3, 4(r30) /* 80211F70 0020EED0 3A F7 00 01 */ addi r23, r23, 1 /* 80211F74 0020EED4 38 03 00 01 */ addi r0, r3, 1 /* 80211F78 0020EED8 90 1E 00 04 */ stw r0, 4(r30) lbl_80211F7C: /* 80211F7C 0020EEDC 7C 17 C0 00 */ cmpw r23, r24 /* 80211F80 0020EEE0 41 80 FF 14 */ blt lbl_80211E94 /* 80211F84 0020EEE4 48 00 00 24 */ b lbl_80211FA8 lbl_80211F88: /* 80211F88 0020EEE8 38 00 00 00 */ li r0, 0 /* 80211F8C 0020EEEC 7F C3 F3 78 */ mr r3, r30 /* 80211F90 0020EEF0 B0 01 00 0C */ sth r0, 0xc(r1) /* 80211F94 0020EEF4 7F 44 D3 78 */ mr r4, r26 /* 80211F98 0020EEF8 38 A1 00 0C */ addi r5, r1, 0xc /* 80211F9C 0020EEFC B0 01 00 0E */ sth r0, 0xe(r1) /* 80211FA0 0020EF00 B0 01 00 10 */ sth r0, 0x10(r1) /* 80211FA4 0020EF04 48 00 00 49 */ bl sub_80211fec lbl_80211FA8: /* 80211FA8 0020EF08 3B 9C FF D4 */ addi r28, r28, -44 /* 80211FAC 0020EF0C 3B 39 FF FF */ addi r25, r25, -1 lbl_80211FB0: /* 80211FB0 0020EF10 2C 19 00 00 */ cmpwi r25, 0 /* 80211FB4 0020EF14 40 80 FE 84 */ bge lbl_80211E38 /* 80211FB8 0020EF18 80 01 00 08 */ lwz r0, 8(r1) /* 80211FBC 0020EF1C 90 0D A4 F0 */ stw r0, lbl_805A90B0@sda21(r13) /* 80211FC0 0020EF20 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80211FC4 0020EF24 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80211FC8 0020EF28 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 80211FCC 0020EF2C CB C1 00 90 */ lfd f30, 0x90(r1) /* 80211FD0 0020EF30 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 80211FD4 0020EF34 CB A1 00 80 */ lfd f29, 0x80(r1) /* 80211FD8 0020EF38 BA A1 00 54 */ lmw r21, 0x54(r1) /* 80211FDC 0020EF3C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80211FE0 0020EF40 7C 08 03 A6 */ mtlr r0 /* 80211FE4 0020EF44 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80211FE8 0020EF48 4E 80 00 20 */ blr .global sub_80211fec sub_80211fec: /* 80211FEC 0020EF4C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80211FF0 0020EF50 7C 08 02 A6 */ mflr r0 /* 80211FF4 0020EF54 90 01 00 34 */ stw r0, 0x34(r1) /* 80211FF8 0020EF58 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80211FFC 0020EF5C 7C 9F 23 78 */ mr r31, r4 /* 80212000 0020EF60 93 C1 00 28 */ stw r30, 0x28(r1) /* 80212004 0020EF64 7C 7E 1B 78 */ mr r30, r3 /* 80212008 0020EF68 93 A1 00 24 */ stw r29, 0x24(r1) /* 8021200C 0020EF6C 7C BD 2B 78 */ mr r29, r5 /* 80212010 0020EF70 80 03 00 04 */ lwz r0, 4(r3) /* 80212014 0020EF74 7C 00 F8 00 */ cmpw r0, r31 /* 80212018 0020EF78 41 82 00 90 */ beq lbl_802120A8 /* 8021201C 0020EF7C 7C 1F 00 00 */ cmpw r31, r0 /* 80212020 0020EF80 40 81 00 50 */ ble lbl_80212070 /* 80212024 0020EF84 48 00 19 A5 */ bl sub_802139c8 /* 80212028 0020EF88 80 9E 00 04 */ lwz r4, 4(r30) /* 8021202C 0020EF8C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80212030 0020EF90 1C 04 00 06 */ mulli r0, r4, 6 /* 80212034 0020EF94 7C 84 F8 51 */ subf. r4, r4, r31 /* 80212038 0020EF98 7C 63 02 14 */ add r3, r3, r0 /* 8021203C 0020EF9C 7C 89 03 A6 */ mtctr r4 /* 80212040 0020EFA0 40 81 00 64 */ ble lbl_802120A4 lbl_80212044: /* 80212044 0020EFA4 28 03 00 00 */ cmplwi r3, 0 /* 80212048 0020EFA8 41 82 00 1C */ beq lbl_80212064 /* 8021204C 0020EFAC A8 1D 00 00 */ lha r0, 0(r29) /* 80212050 0020EFB0 B0 03 00 00 */ sth r0, 0(r3) /* 80212054 0020EFB4 A8 1D 00 02 */ lha r0, 2(r29) /* 80212058 0020EFB8 B0 03 00 02 */ sth r0, 2(r3) /* 8021205C 0020EFBC A8 1D 00 04 */ lha r0, 4(r29) /* 80212060 0020EFC0 B0 03 00 04 */ sth r0, 4(r3) lbl_80212064: /* 80212064 0020EFC4 38 63 00 06 */ addi r3, r3, 6 /* 80212068 0020EFC8 42 00 FF DC */ bdnz lbl_80212044 /* 8021206C 0020EFCC 48 00 00 38 */ b lbl_802120A4 lbl_80212070: /* 80212070 0020EFD0 1C 00 00 06 */ mulli r0, r0, 6 /* 80212074 0020EFD4 80 9E 00 0C */ lwz r4, 0xc(r30) /* 80212078 0020EFD8 7C 64 02 14 */ add r3, r4, r0 /* 8021207C 0020EFDC 1C 1F 00 06 */ mulli r0, r31, 6 /* 80212080 0020EFE0 90 61 00 08 */ stw r3, 8(r1) /* 80212084 0020EFE4 90 61 00 0C */ stw r3, 0xc(r1) /* 80212088 0020EFE8 7C 84 02 14 */ add r4, r4, r0 /* 8021208C 0020EFEC 90 81 00 10 */ stw r4, 0x10(r1) /* 80212090 0020EFF0 90 81 00 14 */ stw r4, 0x14(r1) /* 80212094 0020EFF4 48 00 00 08 */ b lbl_8021209C lbl_80212098: /* 80212098 0020EFF8 38 84 00 06 */ addi r4, r4, 6 lbl_8021209C: /* 8021209C 0020EFFC 7C 04 18 40 */ cmplw r4, r3 /* 802120A0 0020F000 40 82 FF F8 */ bne lbl_80212098 lbl_802120A4: /* 802120A4 0020F004 93 FE 00 04 */ stw r31, 4(r30) lbl_802120A8: /* 802120A8 0020F008 80 01 00 34 */ lwz r0, 0x34(r1) /* 802120AC 0020F00C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802120B0 0020F010 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802120B4 0020F014 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802120B8 0020F018 7C 08 03 A6 */ mtlr r0 /* 802120BC 0020F01C 38 21 00 30 */ addi r1, r1, 0x30 /* 802120C0 0020F020 4E 80 00 20 */ blr .global Update__13CEnvFxManagerFfR13CStateManager Update__13CEnvFxManagerFfR13CStateManager: /* 802120C4 0020F024 94 21 F8 10 */ stwu r1, -0x7f0(r1) /* 802120C8 0020F028 7C 08 02 A6 */ mflr r0 /* 802120CC 0020F02C 90 01 07 F4 */ stw r0, 0x7f4(r1) /* 802120D0 0020F030 DB E1 07 E0 */ stfd f31, 0x7e0(r1) /* 802120D4 0020F034 F3 E1 07 E8 */ psq_st f31, 2024(r1), 0, qr0 /* 802120D8 0020F038 DB C1 07 D0 */ stfd f30, 0x7d0(r1) /* 802120DC 0020F03C F3 C1 07 D8 */ psq_st f30, 2008(r1), 0, qr0 /* 802120E0 0020F040 93 E1 07 CC */ stw r31, 0x7cc(r1) /* 802120E4 0020F044 93 C1 07 C8 */ stw r30, 0x7c8(r1) /* 802120E8 0020F048 93 A1 07 C4 */ stw r29, 0x7c4(r1) /* 802120EC 0020F04C 7C 9D 23 78 */ mr r29, r4 /* 802120F0 0020F050 7C 7F 1B 78 */ mr r31, r3 /* 802120F4 0020F054 80 64 08 50 */ lwz r3, 0x850(r4) /* 802120F8 0020F058 FF E0 08 90 */ fmr f31, f1 /* 802120FC 0020F05C 80 84 08 70 */ lwz r4, 0x870(r4) /* 80212100 0020F060 7F A5 EB 78 */ mr r5, r29 /* 80212104 0020F064 83 C3 00 C4 */ lwz r30, 0xc4(r3) /* 80212108 0020F068 38 61 00 CC */ addi r3, r1, 0xcc /* 8021210C 0020F06C 4B DF 88 5D */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 80212110 0020F070 38 61 01 5C */ addi r3, r1, 0x15c /* 80212114 0020F074 38 81 00 CC */ addi r4, r1, 0xcc /* 80212118 0020F078 48 10 0A 5D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021211C 0020F07C 80 7D 08 70 */ lwz r3, 0x870(r29) /* 80212120 0020F080 80 03 00 74 */ lwz r0, 0x74(r3) /* 80212124 0020F084 2C 00 00 00 */ cmpwi r0, 0 /* 80212128 0020F088 41 82 00 24 */ beq lbl_8021214C /* 8021212C 0020F08C 38 60 FF FF */ li r3, -1 /* 80212130 0020F090 38 00 00 00 */ li r0, 0 /* 80212134 0020F094 90 7F 00 2C */ stw r3, 0x2c(r31) /* 80212138 0020F098 7F E3 FB 78 */ mr r3, r31 /* 8021213C 0020F09C C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80212140 0020F0A0 7F A4 EB 78 */ mr r4, r29 /* 80212144 0020F0A4 98 1F 00 24 */ stb r0, 0x24(r31) /* 80212148 0020F0A8 4B FF EB 3D */ bl SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager lbl_8021214C: /* 8021214C 0020F0AC 7F E3 FB 78 */ mr r3, r31 /* 80212150 0020F0B0 7F A4 EB 78 */ mr r4, r29 /* 80212154 0020F0B4 4B FF DE 39 */ bl UpdateRainSounds__13CEnvFxManagerFR13CStateManager /* 80212158 0020F0B8 FC 20 F8 90 */ fmr f1, f31 /* 8021215C 0020F0BC 7F E3 FB 78 */ mr r3, r31 /* 80212160 0020F0C0 7F A4 EB 78 */ mr r4, r29 /* 80212164 0020F0C4 38 A1 01 5C */ addi r5, r1, 0x15c /* 80212168 0020F0C8 4B FF EB 95 */ bl UpdateVisorSplash__13CEnvFxManagerFR13CStateManagerfRC12CTransform4f /* 8021216C 0020F0CC 2C 1E 00 00 */ cmpwi r30, 0 /* 80212170 0020F0D0 40 82 00 A4 */ bne lbl_80212214 /* 80212174 0020F0D4 80 7F 00 50 */ lwz r3, 0x50(r31) /* 80212178 0020F0D8 3B A3 FF FF */ addi r29, r3, -1 /* 8021217C 0020F0DC 1C 1D 00 2C */ mulli r0, r29, 0x2c /* 80212180 0020F0E0 7F DF 02 14 */ add r30, r31, r0 /* 80212184 0020F0E4 3B DE 00 54 */ addi r30, r30, 0x54 /* 80212188 0020F0E8 48 00 00 80 */ b lbl_80212208 lbl_8021218C: /* 8021218C 0020F0EC 88 1E 00 14 */ lbz r0, 0x14(r30) /* 80212190 0020F0F0 C0 1E 00 18 */ lfs f0, 0x18(r30) /* 80212194 0020F0F4 28 00 00 00 */ cmplwi r0, 0 /* 80212198 0020F0F8 98 01 00 1C */ stb r0, 0x1c(r1) /* 8021219C 0020F0FC D0 01 00 20 */ stfs f0, 0x20(r1) /* 802121A0 0020F100 41 82 00 60 */ beq lbl_80212200 /* 802121A4 0020F104 38 00 00 00 */ li r0, 0 /* 802121A8 0020F108 38 7E 00 1C */ addi r3, r30, 0x1c /* 802121AC 0020F10C 90 01 00 3C */ stw r0, 0x3c(r1) /* 802121B0 0020F110 38 81 00 38 */ addi r4, r1, 0x38 /* 802121B4 0020F114 90 01 00 40 */ stw r0, 0x40(r1) /* 802121B8 0020F118 90 01 00 44 */ stw r0, 0x44(r1) /* 802121BC 0020F11C 48 00 04 05 */ bl sub_802125c0 /* 802121C0 0020F120 80 01 00 3C */ lwz r0, 0x3c(r1) /* 802121C4 0020F124 80 61 00 44 */ lwz r3, 0x44(r1) /* 802121C8 0020F128 1C 00 00 06 */ mulli r0, r0, 6 /* 802121CC 0020F12C 90 61 00 0C */ stw r3, 0xc(r1) /* 802121D0 0020F130 7C 64 1B 78 */ mr r4, r3 /* 802121D4 0020F134 7C 03 02 14 */ add r0, r3, r0 /* 802121D8 0020F138 90 61 00 08 */ stw r3, 8(r1) /* 802121DC 0020F13C 90 01 00 14 */ stw r0, 0x14(r1) /* 802121E0 0020F140 90 01 00 10 */ stw r0, 0x10(r1) /* 802121E4 0020F144 48 00 00 08 */ b lbl_802121EC lbl_802121E8: /* 802121E8 0020F148 38 84 00 06 */ addi r4, r4, 6 lbl_802121EC: /* 802121EC 0020F14C 7C 04 00 40 */ cmplw r4, r0 /* 802121F0 0020F150 40 82 FF F8 */ bne lbl_802121E8 /* 802121F4 0020F154 28 03 00 00 */ cmplwi r3, 0 /* 802121F8 0020F158 41 82 00 08 */ beq lbl_80212200 /* 802121FC 0020F15C 48 10 37 35 */ bl Free__7CMemoryFPCv lbl_80212200: /* 80212200 0020F160 3B DE FF D4 */ addi r30, r30, -44 /* 80212204 0020F164 3B BD FF FF */ addi r29, r29, -1 lbl_80212208: /* 80212208 0020F168 2C 1D 00 00 */ cmpwi r29, 0 /* 8021220C 0020F16C 40 80 FF 80 */ bge lbl_8021218C /* 80212210 0020F170 48 00 03 84 */ b lbl_80212594 lbl_80212214: /* 80212214 0020F174 C0 5F 00 34 */ lfs f2, 0x34(r31) /* 80212218 0020F178 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 8021221C 0020F17C C0 22 B2 68 */ lfs f1, lbl_805ACF88@sda21(r2) /* 80212220 0020F180 EC 62 00 28 */ fsubs f3, f2, f0 /* 80212224 0020F184 C0 0D 94 BC */ lfs f0, lbl_805A807C@sda21(r13) /* 80212228 0020F188 FC 40 1A 10 */ fabs f2, f3 /* 8021222C 0020F18C FC 40 10 18 */ frsp f2, f2 /* 80212230 0020F190 EC 22 08 24 */ fdivs f1, f2, f1 /* 80212234 0020F194 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80212238 0020F198 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8021223C 0020F19C 40 80 00 0C */ bge lbl_80212248 /* 80212240 0020F1A0 38 61 00 18 */ addi r3, r1, 0x18 /* 80212244 0020F1A4 48 00 00 08 */ b lbl_8021224C lbl_80212248: /* 80212248 0020F1A8 38 6D 94 BC */ addi r3, r13, lbl_805A807C@sda21 lbl_8021224C: /* 8021224C 0020F1AC C0 3F 00 38 */ lfs f1, 0x38(r31) /* 80212250 0020F1B0 FC 40 1A 10 */ fabs f2, f3 /* 80212254 0020F1B4 C0 02 B2 B0 */ lfs f0, lbl_805ACFD0@sda21(r2) /* 80212258 0020F1B8 EC 01 00 24 */ fdivs f0, f1, f0 /* 8021225C 0020F1BC EC 1F 00 32 */ fmuls f0, f31, f0 /* 80212260 0020F1C0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80212264 0020F1C4 40 81 00 18 */ ble lbl_8021227C /* 80212268 0020F1C8 C0 42 B2 B4 */ lfs f2, lbl_805ACFD4@sda21(r2) /* 8021226C 0020F1CC C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80212270 0020F1D0 FC 23 10 6E */ fsel f1, f3, f1, f2 /* 80212274 0020F1D4 EC 40 00 72 */ fmuls f2, f0, f1 /* 80212278 0020F1D8 48 00 00 08 */ b lbl_80212280 lbl_8021227C: /* 8021227C 0020F1DC FC 40 18 90 */ fmr f2, f3 lbl_80212280: /* 80212280 0020F1E0 C0 23 00 00 */ lfs f1, 0(r3) /* 80212284 0020F1E4 7F E4 FB 78 */ mr r4, r31 /* 80212288 0020F1E8 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 8021228C 0020F1EC 38 61 00 2C */ addi r3, r1, 0x2c /* 80212290 0020F1F0 EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 80212294 0020F1F4 D0 1F 00 30 */ stfs f0, 0x30(r31) /* 80212298 0020F1F8 48 00 08 81 */ bl GetParticleBoundsToWorldScale__13CEnvFxManagerCFv /* 8021229C 0020F1FC C1 42 B2 64 */ lfs f10, lbl_805ACF84@sda21(r2) /* 802122A0 0020F200 C0 01 00 34 */ lfs f0, 0x34(r1) /* 802122A4 0020F204 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 802122A8 0020F208 ED 6A 00 24 */ fdivs f11, f10, f0 /* 802122AC 0020F20C C1 01 00 30 */ lfs f8, 0x30(r1) /* 802122B0 0020F210 C0 C2 B2 B8 */ lfs f6, lbl_805ACFD8@sda21(r2) /* 802122B4 0020F214 C0 01 01 70 */ lfs f0, 0x170(r1) /* 802122B8 0020F218 C0 A1 01 80 */ lfs f5, 0x180(r1) /* 802122BC 0020F21C C0 61 01 60 */ lfs f3, 0x160(r1) /* 802122C0 0020F220 ED 2A 10 24 */ fdivs f9, f10, f2 /* 802122C4 0020F224 C0 21 01 78 */ lfs f1, 0x178(r1) /* 802122C8 0020F228 C0 E1 01 88 */ lfs f7, 0x188(r1) /* 802122CC 0020F22C C0 81 01 68 */ lfs f4, 0x168(r1) /* 802122D0 0020F230 D1 61 00 68 */ stfs f11, 0x68(r1) /* 802122D4 0020F234 C8 42 B2 C0 */ lfd f2, lbl_805ACFE0@sda21(r2) /* 802122D8 0020F238 ED 0A 40 24 */ fdivs f8, f10, f8 /* 802122DC 0020F23C D1 21 00 60 */ stfs f9, 0x60(r1) /* 802122E0 0020F240 EC 06 00 32 */ fmuls f0, f6, f0 /* 802122E4 0020F244 D1 01 00 64 */ stfs f8, 0x64(r1) /* 802122E8 0020F248 EC A6 01 72 */ fmuls f5, f6, f5 /* 802122EC 0020F24C EC 66 00 F2 */ fmuls f3, f6, f3 /* 802122F0 0020F250 EC 21 00 2A */ fadds f1, f1, f0 /* 802122F4 0020F254 EC A7 28 2A */ fadds f5, f7, f5 /* 802122F8 0020F258 EC 04 18 2A */ fadds f0, f4, f3 /* 802122FC 0020F25C D0 21 00 58 */ stfs f1, 0x58(r1) /* 80212300 0020F260 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80212304 0020F264 D0 A1 00 5C */ stfs f5, 0x5c(r1) /* 80212308 0020F268 48 18 29 A5 */ bl fmod /* 8021230C 0020F26C FF C0 08 18 */ frsp f30, f1 /* 80212310 0020F270 C0 21 00 54 */ lfs f1, 0x54(r1) /* 80212314 0020F274 C8 42 B2 C0 */ lfd f2, lbl_805ACFE0@sda21(r2) /* 80212318 0020F278 48 18 29 95 */ bl fmod /* 8021231C 0020F27C FC 60 08 18 */ frsp f3, f1 /* 80212320 0020F280 C0 41 00 54 */ lfs f2, 0x54(r1) /* 80212324 0020F284 C0 01 00 58 */ lfs f0, 0x58(r1) /* 80212328 0020F288 7F E3 FB 78 */ mr r3, r31 /* 8021232C 0020F28C C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 80212330 0020F290 EC C0 F0 28 */ fsubs f6, f0, f30 /* 80212334 0020F294 EC 82 18 28 */ fsubs f4, f2, f3 /* 80212338 0020F298 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8021233C 0020F29C C0 7F 00 20 */ lfs f3, 0x20(r31) /* 80212340 0020F2A0 EC E1 30 28 */ fsubs f7, f1, f6 /* 80212344 0020F2A4 C0 22 B2 C8 */ lfs f1, lbl_805ACFE8@sda21(r2) /* 80212348 0020F2A8 EC 40 20 28 */ fsubs f2, f0, f4 /* 8021234C 0020F2AC D0 9F 00 18 */ stfs f4, 0x18(r31) /* 80212350 0020F2B0 EC 07 08 24 */ fdivs f0, f7, f1 /* 80212354 0020F2B4 C0 A1 00 5C */ lfs f5, 0x5c(r1) /* 80212358 0020F2B8 C0 82 B2 78 */ lfs f4, lbl_805ACF98@sda21(r2) /* 8021235C 0020F2BC D0 DF 00 1C */ stfs f6, 0x1c(r31) /* 80212360 0020F2C0 D0 41 00 48 */ stfs f2, 0x48(r1) /* 80212364 0020F2C4 D0 E1 00 4C */ stfs f7, 0x4c(r1) /* 80212368 0020F2C8 EC 85 20 28 */ fsubs f4, f5, f4 /* 8021236C 0020F2CC EC 22 08 24 */ fdivs f1, f2, f1 /* 80212370 0020F2D0 D0 9F 00 20 */ stfs f4, 0x20(r31) /* 80212374 0020F2D4 FC 20 08 1E */ fctiwz f1, f1 /* 80212378 0020F2D8 FC 00 00 1E */ fctiwz f0, f0 /* 8021237C 0020F2DC EC 43 20 28 */ fsubs f2, f3, f4 /* 80212380 0020F2E0 D8 21 07 90 */ stfd f1, 0x790(r1) /* 80212384 0020F2E4 D8 01 07 98 */ stfd f0, 0x798(r1) /* 80212388 0020F2E8 80 81 07 94 */ lwz r4, 0x794(r1) /* 8021238C 0020F2EC D0 41 00 50 */ stfs f2, 0x50(r1) /* 80212390 0020F2F0 80 A1 07 9C */ lwz r5, 0x79c(r1) /* 80212394 0020F2F4 48 00 05 F1 */ bl MoveWrapCells__13CEnvFxManagerFii /* 80212398 0020F2F8 C0 61 00 68 */ lfs f3, 0x68(r1) /* 8021239C 0020F2FC 2C 1E 00 03 */ cmpwi r30, 3 /* 802123A0 0020F300 C0 01 00 50 */ lfs f0, 0x50(r1) /* 802123A4 0020F304 C0 21 00 64 */ lfs f1, 0x64(r1) /* 802123A8 0020F308 C0 42 B2 78 */ lfs f2, lbl_805ACF98@sda21(r2) /* 802123AC 0020F30C EC 63 00 32 */ fmuls f3, f3, f0 /* 802123B0 0020F310 C0 01 00 60 */ lfs f0, 0x60(r1) /* 802123B4 0020F314 EC 21 00 B2 */ fmuls f1, f1, f2 /* 802123B8 0020F318 C0 82 B2 94 */ lfs f4, lbl_805ACFB4@sda21(r2) /* 802123BC 0020F31C EC 00 00 B2 */ fmuls f0, f0, f2 /* 802123C0 0020F320 EC 44 00 F2 */ fmuls f2, f4, f3 /* 802123C4 0020F324 EC 24 00 72 */ fmuls f1, f4, f1 /* 802123C8 0020F328 EC 04 00 32 */ fmuls f0, f4, f0 /* 802123CC 0020F32C FC 40 10 1E */ fctiwz f2, f2 /* 802123D0 0020F330 FC 20 08 1E */ fctiwz f1, f1 /* 802123D4 0020F334 FC 00 00 1E */ fctiwz f0, f0 /* 802123D8 0020F338 D8 41 07 A0 */ stfd f2, 0x7a0(r1) /* 802123DC 0020F33C 80 81 07 A4 */ lwz r4, 0x7a4(r1) /* 802123E0 0020F340 D8 21 07 A8 */ stfd f1, 0x7a8(r1) /* 802123E4 0020F344 7C 83 07 34 */ extsh r3, r4 /* 802123E8 0020F348 D8 01 07 B0 */ stfd f0, 0x7b0(r1) /* 802123EC 0020F34C 80 A1 07 AC */ lwz r5, 0x7ac(r1) /* 802123F0 0020F350 80 01 07 B4 */ lwz r0, 0x7b4(r1) /* 802123F4 0020F354 B0 A1 00 26 */ sth r5, 0x26(r1) /* 802123F8 0020F358 B0 01 00 24 */ sth r0, 0x24(r1) /* 802123FC 0020F35C B0 81 00 28 */ sth r4, 0x28(r1) /* 80212400 0020F360 40 82 00 28 */ bne lbl_80212428 /* 80212404 0020F364 C0 02 B2 70 */ lfs f0, lbl_805ACF90@sda21(r2) /* 80212408 0020F368 EC 00 07 F2 */ fmuls f0, f0, f31 /* 8021240C 0020F36C EC 04 00 32 */ fmuls f0, f4, f0 /* 80212410 0020F370 FC 00 00 1E */ fctiwz f0, f0 /* 80212414 0020F374 D8 01 07 B0 */ stfd f0, 0x7b0(r1) /* 80212418 0020F378 80 01 07 B4 */ lwz r0, 0x7b4(r1) /* 8021241C 0020F37C 7C 00 07 34 */ extsh r0, r0 /* 80212420 0020F380 7C 03 02 14 */ add r0, r3, r0 /* 80212424 0020F384 B0 01 00 28 */ sth r0, 0x28(r1) lbl_80212428: /* 80212428 0020F388 38 00 00 00 */ li r0, 0 /* 8021242C 0020F38C FC 20 F8 90 */ fmr f1, f31 /* 80212430 0020F390 90 01 01 8C */ stw r0, 0x18c(r1) /* 80212434 0020F394 7F E3 FB 78 */ mr r3, r31 /* 80212438 0020F398 7F C6 F3 78 */ mr r6, r30 /* 8021243C 0020F39C 38 81 00 24 */ addi r4, r1, 0x24 /* 80212440 0020F3A0 38 A1 01 8C */ addi r5, r1, 0x18c /* 80212444 0020F3A4 38 E1 00 60 */ addi r7, r1, 0x60 /* 80212448 0020F3A8 4B FF F6 B1 */ bl "CalculateSnowForces__13CEnvFxManagerFRC15CVectorFixed8_8R34reserved_vector<15CVectorFixed8_8>10EEnvFxTypeRC9CVector3ff" /* 8021244C 0020F3AC 7F E4 FB 78 */ mr r4, r31 /* 80212450 0020F3B0 38 61 00 9C */ addi r3, r1, 0x9c /* 80212454 0020F3B4 4B FF E7 A1 */ bl GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv /* 80212458 0020F3B8 38 61 01 2C */ addi r3, r1, 0x12c /* 8021245C 0020F3BC 38 81 00 9C */ addi r4, r1, 0x9c /* 80212460 0020F3C0 48 10 07 15 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80212464 0020F3C4 38 61 00 6C */ addi r3, r1, 0x6c /* 80212468 0020F3C8 38 81 01 2C */ addi r4, r1, 0x12c /* 8021246C 0020F3CC 48 10 02 75 */ bl GetInverse__12CTransform4fCFv /* 80212470 0020F3D0 38 61 00 FC */ addi r3, r1, 0xfc /* 80212474 0020F3D4 38 81 00 6C */ addi r4, r1, 0x6c /* 80212478 0020F3D8 48 10 06 FD */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021247C 0020F3DC 7F E3 FB 78 */ mr r3, r31 /* 80212480 0020F3E0 7F A4 EB 78 */ mr r4, r29 /* 80212484 0020F3E4 7F C5 F3 78 */ mr r5, r30 /* 80212488 0020F3E8 38 C1 01 5C */ addi r6, r1, 0x15c /* 8021248C 0020F3EC 38 E1 01 2C */ addi r7, r1, 0x12c /* 80212490 0020F3F0 39 01 00 FC */ addi r8, r1, 0xfc /* 80212494 0020F3F4 4B FF EF 35 */ bl UpdateBlockedGrids__13CEnvFxManagerFR13CStateManager10EEnvFxTypeRC12CTransform4fRC12CTransform4fRC12CTransform4f /* 80212498 0020F3F8 7F E3 FB 78 */ mr r3, r31 /* 8021249C 0020F3FC 7F C4 F3 78 */ mr r4, r30 /* 802124A0 0020F400 4B FF F8 B5 */ bl CreateNewParticles__13CEnvFxManagerF10EEnvFxType /* 802124A4 0020F404 2C 1E 00 02 */ cmpwi r30, 2 /* 802124A8 0020F408 41 82 00 30 */ beq lbl_802124D8 /* 802124AC 0020F40C 40 80 00 10 */ bge lbl_802124BC /* 802124B0 0020F410 2C 1E 00 01 */ cmpwi r30, 1 /* 802124B4 0020F414 40 80 00 14 */ bge lbl_802124C8 /* 802124B8 0020F418 48 00 00 44 */ b lbl_802124FC lbl_802124BC: /* 802124BC 0020F41C 2C 1E 00 04 */ cmpwi r30, 4 /* 802124C0 0020F420 40 80 00 3C */ bge lbl_802124FC /* 802124C4 0020F424 48 00 00 2C */ b lbl_802124F0 lbl_802124C8: /* 802124C8 0020F428 7F E3 FB 78 */ mr r3, r31 /* 802124CC 0020F42C 38 81 01 8C */ addi r4, r1, 0x18c /* 802124D0 0020F430 4B FF ED 71 */ bl "UpdateSnowParticles__13CEnvFxManagerFR34reserved_vector<15CVectorFixed8_8>" /* 802124D4 0020F434 48 00 00 28 */ b lbl_802124FC lbl_802124D8: /* 802124D8 0020F438 FC 20 F8 90 */ fmr f1, f31 /* 802124DC 0020F43C 7F E3 FB 78 */ mr r3, r31 /* 802124E0 0020F440 38 81 00 24 */ addi r4, r1, 0x24 /* 802124E4 0020F444 38 A1 00 60 */ addi r5, r1, 0x60 /* 802124E8 0020F448 4B FF EB A9 */ bl UpdateRainParticles__13CEnvFxManagerFRC15CVectorFixed8_8RC9CVector3ff /* 802124EC 0020F44C 48 00 00 10 */ b lbl_802124FC lbl_802124F0: /* 802124F0 0020F450 7F E3 FB 78 */ mr r3, r31 /* 802124F4 0020F454 38 81 00 24 */ addi r4, r1, 0x24 /* 802124F8 0020F458 4B FF EA 39 */ bl UpdateUnderwaterParticles__13CEnvFxManagerFRC15CVectorFixed8_8 lbl_802124FC: /* 802124FC 0020F45C 2C 1E 00 01 */ cmpwi r30, 1 /* 80212500 0020F460 40 82 00 24 */ bne lbl_80212524 /* 80212504 0020F464 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80212508 0020F468 C0 1F 00 28 */ lfs f0, 0x28(r31) /* 8021250C 0020F46C C8 42 B2 D0 */ lfd f2, lbl_805ACFF0@sda21(r2) /* 80212510 0020F470 EC 21 00 2A */ fadds f1, f1, f0 /* 80212514 0020F474 48 18 27 99 */ bl fmod /* 80212518 0020F478 FC 00 08 18 */ frsp f0, f1 /* 8021251C 0020F47C D0 1F 00 28 */ stfs f0, 0x28(r31) /* 80212520 0020F480 48 00 00 20 */ b lbl_80212540 lbl_80212524: /* 80212524 0020F484 C0 22 B2 D8 */ lfs f1, lbl_805ACFF8@sda21(r2) /* 80212528 0020F488 C0 1F 00 28 */ lfs f0, 0x28(r31) /* 8021252C 0020F48C C8 42 B2 D0 */ lfd f2, lbl_805ACFF0@sda21(r2) /* 80212530 0020F490 EC 21 00 2A */ fadds f1, f1, f0 /* 80212534 0020F494 48 18 27 79 */ bl fmod /* 80212538 0020F498 FC 00 08 18 */ frsp f0, f1 /* 8021253C 0020F49C D0 1F 00 28 */ stfs f0, 0x28(r31) lbl_80212540: /* 80212540 0020F4A0 80 A1 01 8C */ lwz r5, 0x18c(r1) /* 80212544 0020F4A4 38 60 00 00 */ li r3, 0 /* 80212548 0020F4A8 2C 05 00 00 */ cmpwi r5, 0 /* 8021254C 0020F4AC 40 81 00 40 */ ble lbl_8021258C /* 80212550 0020F4B0 2C 05 00 08 */ cmpwi r5, 8 /* 80212554 0020F4B4 38 85 FF F8 */ addi r4, r5, -8 /* 80212558 0020F4B8 40 81 00 20 */ ble lbl_80212578 /* 8021255C 0020F4BC 38 04 00 07 */ addi r0, r4, 7 /* 80212560 0020F4C0 54 00 E8 FE */ srwi r0, r0, 3 /* 80212564 0020F4C4 7C 09 03 A6 */ mtctr r0 /* 80212568 0020F4C8 2C 04 00 00 */ cmpwi r4, 0 /* 8021256C 0020F4CC 40 81 00 0C */ ble lbl_80212578 lbl_80212570: /* 80212570 0020F4D0 38 63 00 08 */ addi r3, r3, 8 /* 80212574 0020F4D4 42 00 FF FC */ bdnz lbl_80212570 lbl_80212578: /* 80212578 0020F4D8 7C 03 28 50 */ subf r0, r3, r5 /* 8021257C 0020F4DC 7C 09 03 A6 */ mtctr r0 /* 80212580 0020F4E0 7C 03 28 00 */ cmpw r3, r5 /* 80212584 0020F4E4 40 80 00 08 */ bge lbl_8021258C lbl_80212588: /* 80212588 0020F4E8 42 00 00 00 */ bdnz lbl_80212588 lbl_8021258C: /* 8021258C 0020F4EC 38 00 00 00 */ li r0, 0 /* 80212590 0020F4F0 90 01 01 8C */ stw r0, 0x18c(r1) lbl_80212594: /* 80212594 0020F4F4 E3 E1 07 E8 */ psq_l f31, 2024(r1), 0, qr0 /* 80212598 0020F4F8 CB E1 07 E0 */ lfd f31, 0x7e0(r1) /* 8021259C 0020F4FC E3 C1 07 D8 */ psq_l f30, 2008(r1), 0, qr0 /* 802125A0 0020F500 CB C1 07 D0 */ lfd f30, 0x7d0(r1) /* 802125A4 0020F504 83 E1 07 CC */ lwz r31, 0x7cc(r1) /* 802125A8 0020F508 83 C1 07 C8 */ lwz r30, 0x7c8(r1) /* 802125AC 0020F50C 80 01 07 F4 */ lwz r0, 0x7f4(r1) /* 802125B0 0020F510 83 A1 07 C4 */ lwz r29, 0x7c4(r1) /* 802125B4 0020F514 7C 08 03 A6 */ mtlr r0 /* 802125B8 0020F518 38 21 07 F0 */ addi r1, r1, 0x7f0 /* 802125BC 0020F51C 4E 80 00 20 */ blr .global sub_802125c0 sub_802125c0: /* 802125C0 0020F520 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802125C4 0020F524 7C 08 02 A6 */ mflr r0 /* 802125C8 0020F528 90 01 00 24 */ stw r0, 0x24(r1) /* 802125CC 0020F52C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802125D0 0020F530 7C 9F 23 78 */ mr r31, r4 /* 802125D4 0020F534 93 C1 00 18 */ stw r30, 0x18(r1) /* 802125D8 0020F538 7C 7E 1B 78 */ mr r30, r3 /* 802125DC 0020F53C 7C 1E F8 40 */ cmplw r30, r31 /* 802125E0 0020F540 40 82 00 08 */ bne lbl_802125E8 /* 802125E4 0020F544 48 00 00 C8 */ b lbl_802126AC lbl_802125E8: /* 802125E8 0020F548 80 1E 00 04 */ lwz r0, 4(r30) /* 802125EC 0020F54C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802125F0 0020F550 1C 00 00 06 */ mulli r0, r0, 6 /* 802125F4 0020F554 90 61 00 0C */ stw r3, 0xc(r1) /* 802125F8 0020F558 7C 03 02 14 */ add r0, r3, r0 /* 802125FC 0020F55C 90 61 00 08 */ stw r3, 8(r1) /* 80212600 0020F560 90 01 00 14 */ stw r0, 0x14(r1) /* 80212604 0020F564 90 01 00 10 */ stw r0, 0x10(r1) /* 80212608 0020F568 48 00 00 08 */ b lbl_80212610 lbl_8021260C: /* 8021260C 0020F56C 38 63 00 06 */ addi r3, r3, 6 lbl_80212610: /* 80212610 0020F570 7C 03 00 40 */ cmplw r3, r0 /* 80212614 0020F574 40 82 FF F8 */ bne lbl_8021260C /* 80212618 0020F578 38 00 00 00 */ li r0, 0 /* 8021261C 0020F57C 90 1E 00 04 */ stw r0, 4(r30) /* 80212620 0020F580 80 9F 00 04 */ lwz r4, 4(r31) /* 80212624 0020F584 2C 04 00 00 */ cmpwi r4, 0 /* 80212628 0020F588 40 82 00 28 */ bne lbl_80212650 /* 8021262C 0020F58C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80212630 0020F590 28 03 00 00 */ cmplwi r3, 0 /* 80212634 0020F594 41 82 00 08 */ beq lbl_8021263C /* 80212638 0020F598 48 10 32 F9 */ bl Free__7CMemoryFPCv lbl_8021263C: /* 8021263C 0020F59C 38 00 00 00 */ li r0, 0 /* 80212640 0020F5A0 90 1E 00 04 */ stw r0, 4(r30) /* 80212644 0020F5A4 90 1E 00 08 */ stw r0, 8(r30) /* 80212648 0020F5A8 90 1E 00 0C */ stw r0, 0xc(r30) /* 8021264C 0020F5AC 48 00 00 5C */ b lbl_802126A8 lbl_80212650: /* 80212650 0020F5B0 7F C3 F3 78 */ mr r3, r30 /* 80212654 0020F5B4 48 00 13 75 */ bl sub_802139c8 /* 80212658 0020F5B8 80 1F 00 04 */ lwz r0, 4(r31) /* 8021265C 0020F5BC 80 BF 00 0C */ lwz r5, 0xc(r31) /* 80212660 0020F5C0 1C 00 00 06 */ mulli r0, r0, 6 /* 80212664 0020F5C4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80212668 0020F5C8 7C 85 02 14 */ add r4, r5, r0 /* 8021266C 0020F5CC 48 00 00 2C */ b lbl_80212698 lbl_80212670: /* 80212670 0020F5D0 28 03 00 00 */ cmplwi r3, 0 /* 80212674 0020F5D4 41 82 00 1C */ beq lbl_80212690 /* 80212678 0020F5D8 A8 05 00 00 */ lha r0, 0(r5) /* 8021267C 0020F5DC B0 03 00 00 */ sth r0, 0(r3) /* 80212680 0020F5E0 A8 05 00 02 */ lha r0, 2(r5) /* 80212684 0020F5E4 B0 03 00 02 */ sth r0, 2(r3) /* 80212688 0020F5E8 A8 05 00 04 */ lha r0, 4(r5) /* 8021268C 0020F5EC B0 03 00 04 */ sth r0, 4(r3) lbl_80212690: /* 80212690 0020F5F0 38 63 00 06 */ addi r3, r3, 6 /* 80212694 0020F5F4 38 A5 00 06 */ addi r5, r5, 6 lbl_80212698: /* 80212698 0020F5F8 7C 05 20 40 */ cmplw r5, r4 /* 8021269C 0020F5FC 40 82 FF D4 */ bne lbl_80212670 /* 802126A0 0020F600 80 1F 00 04 */ lwz r0, 4(r31) /* 802126A4 0020F604 90 1E 00 04 */ stw r0, 4(r30) lbl_802126A8: /* 802126A8 0020F608 7F C3 F3 78 */ mr r3, r30 lbl_802126AC: /* 802126AC 0020F60C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802126B0 0020F610 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802126B4 0020F614 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802126B8 0020F618 7C 08 03 A6 */ mtlr r0 /* 802126BC 0020F61C 38 21 00 20 */ addi r1, r1, 0x20 /* 802126C0 0020F620 4E 80 00 20 */ blr .global sub_802126c4 sub_802126c4: /* 802126C4 0020F624 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 802126C8 0020F628 38 00 00 00 */ li r0, 0 /* 802126CC 0020F62C B0 83 0B 68 */ sth r4, 0xb68(r3) /* 802126D0 0020F630 98 03 0B 6A */ stb r0, 0xb6a(r3) /* 802126D4 0020F634 90 03 0B 6C */ stw r0, 0xb6c(r3) /* 802126D8 0020F638 90 03 0B 70 */ stw r0, 0xb70(r3) /* 802126DC 0020F63C 4E 80 00 20 */ blr .global Initialize__13CEnvFxManagerFv Initialize__13CEnvFxManagerFv: /* 802126E0 0020F640 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802126E4 0020F644 7C 08 02 A6 */ mflr r0 /* 802126E8 0020F648 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 802126EC 0020F64C 90 01 00 24 */ stw r0, 0x24(r1) /* 802126F0 0020F650 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 802126F4 0020F654 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802126F8 0020F658 93 C1 00 18 */ stw r30, 0x18(r1) /* 802126FC 0020F65C 93 A1 00 14 */ stw r29, 0x14(r1) /* 80212700 0020F660 93 81 00 10 */ stw r28, 0x10(r1) /* 80212704 0020F664 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 80212708 0020F668 81 83 00 00 */ lwz r12, 0(r3) /* 8021270C 0020F66C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80212710 0020F670 7D 89 03 A6 */ mtctr r12 /* 80212714 0020F674 4E 80 04 21 */ bctrl /* 80212718 0020F678 80 CD A0 60 */ lwz r6, gpResourceFactory@sda21(r13) /* 8021271C 0020F67C 7C 64 1B 78 */ mr r4, r3 /* 80212720 0020F680 38 A0 00 00 */ li r5, 0 /* 80212724 0020F684 38 66 00 04 */ addi r3, r6, 4 /* 80212728 0020F688 48 12 92 41 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc /* 8021272C 0020F68C 7C 03 00 D0 */ neg r0, r3 /* 80212730 0020F690 3C 80 80 47 */ lis r4, lbl_8046CB40@ha /* 80212734 0020F694 7C 00 1B 78 */ or r0, r0, r3 /* 80212738 0020F698 90 61 00 0C */ stw r3, 0xc(r1) /* 8021273C 0020F69C 54 00 0F FE */ srwi r0, r0, 0x1f /* 80212740 0020F6A0 3B C4 CB 40 */ addi r30, r4, lbl_8046CB40@l /* 80212744 0020F6A4 98 01 00 08 */ stb r0, 8(r1) /* 80212748 0020F6A8 3B A0 00 00 */ li r29, 0 lbl_8021274C: /* 8021274C 0020F6AC 3B 80 00 00 */ li r28, 0 /* 80212750 0020F6B0 7F DF F3 78 */ mr r31, r30 lbl_80212754: /* 80212754 0020F6B4 80 61 00 0C */ lwz r3, 0xc(r1) /* 80212758 0020F6B8 48 12 C4 D1 */ bl ReadFloat__12CInputStreamFv /* 8021275C 0020F6BC 3B 9C 00 01 */ addi r28, r28, 1 /* 80212760 0020F6C0 D0 3F 00 00 */ stfs f1, 0(r31) /* 80212764 0020F6C4 2C 1C 00 02 */ cmpwi r28, 2 /* 80212768 0020F6C8 3B FF 00 04 */ addi r31, r31, 4 /* 8021276C 0020F6CC 41 80 FF E8 */ blt lbl_80212754 /* 80212770 0020F6D0 3B BD 00 01 */ addi r29, r29, 1 /* 80212774 0020F6D4 3B DE 00 08 */ addi r30, r30, 8 /* 80212778 0020F6D8 2C 1D 01 00 */ cmpwi r29, 0x100 /* 8021277C 0020F6DC 41 80 FF D0 */ blt lbl_8021274C /* 80212780 0020F6E0 88 01 00 08 */ lbz r0, 8(r1) /* 80212784 0020F6E4 28 00 00 00 */ cmplwi r0, 0 /* 80212788 0020F6E8 41 82 00 24 */ beq lbl_802127AC /* 8021278C 0020F6EC 80 61 00 0C */ lwz r3, 0xc(r1) /* 80212790 0020F6F0 28 03 00 00 */ cmplwi r3, 0 /* 80212794 0020F6F4 41 82 00 18 */ beq lbl_802127AC /* 80212798 0020F6F8 81 83 00 00 */ lwz r12, 0(r3) /* 8021279C 0020F6FC 38 80 00 01 */ li r4, 1 /* 802127A0 0020F700 81 8C 00 08 */ lwz r12, 8(r12) /* 802127A4 0020F704 7D 89 03 A6 */ mtctr r12 /* 802127A8 0020F708 4E 80 04 21 */ bctrl lbl_802127AC: /* 802127AC 0020F70C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802127B0 0020F710 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802127B4 0020F714 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802127B8 0020F718 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802127BC 0020F71C 83 81 00 10 */ lwz r28, 0x10(r1) /* 802127C0 0020F720 7C 08 03 A6 */ mtlr r0 /* 802127C4 0020F724 38 21 00 20 */ addi r1, r1, 0x20 /* 802127C8 0020F728 4E 80 00 20 */ blr .global AsyncLoadResources__13CEnvFXManagerFR13CStateManager AsyncLoadResources__13CEnvFXManagerFR13CStateManager: /* 802127CC 0020F72C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802127D0 0020F730 7C 08 02 A6 */ mflr r0 /* 802127D4 0020F734 90 01 00 84 */ stw r0, 0x84(r1) /* 802127D8 0020F738 BF 21 00 64 */ stmw r25, 0x64(r1) /* 802127DC 0020F73C 7C 7B 1B 78 */ mr r27, r3 /* 802127E0 0020F740 7C 9E 23 78 */ mr r30, r4 /* 802127E4 0020F744 38 61 00 14 */ addi r3, r1, 0x14 /* 802127E8 0020F748 4B E3 A8 F5 */ bl AllocateUniqueId__13CStateManagerFv /* 802127EC 0020F74C A0 01 00 14 */ lhz r0, 0x14(r1) /* 802127F0 0020F750 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802127F4 0020F754 38 63 28 18 */ addi r3, r3, lbl_803D2818@l /* 802127F8 0020F758 3B A0 00 00 */ li r29, 0 /* 802127FC 0020F75C B0 1B 0B 68 */ sth r0, 0xb68(r27) /* 80212800 0020F760 38 83 00 10 */ addi r4, r3, 0x10 /* 80212804 0020F764 3B 40 00 00 */ li r26, 0 /* 80212808 0020F768 3B 20 00 00 */ li r25, 0 /* 8021280C 0020F76C 38 60 01 10 */ li r3, 0x110 /* 80212810 0020F770 38 A0 00 00 */ li r5, 0 /* 80212814 0020F774 48 10 30 59 */ bl __nw__FUlPCcPCc /* 80212818 0020F778 7C 7F 1B 79 */ or. r31, r3, r3 /* 8021281C 0020F77C 41 82 00 D0 */ beq lbl_802128EC /* 80212820 0020F780 38 00 00 01 */ li r0, 1 /* 80212824 0020F784 34 61 00 1C */ addic. r3, r1, 0x1c /* 80212828 0020F788 98 01 00 24 */ stb r0, 0x24(r1) /* 8021282C 0020F78C 38 9B 0B 58 */ addi r4, r27, 0xb58 /* 80212830 0020F790 41 82 00 08 */ beq lbl_80212838 /* 80212834 0020F794 48 12 E6 75 */ bl __ct__6CTokenFRC6CToken lbl_80212838: /* 80212838 0020F798 38 00 00 00 */ li r0, 0 /* 8021283C 0020F79C 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 80212840 0020F7A0 98 01 00 30 */ stb r0, 0x30(r1) /* 80212844 0020F7A4 38 83 28 18 */ addi r4, r3, lbl_803D2818@l /* 80212848 0020F7A8 38 61 00 34 */ addi r3, r1, 0x34 /* 8021284C 0020F7AC 3B 20 00 01 */ li r25, 1 /* 80212850 0020F7B0 A0 1B 0B 68 */ lhz r0, 0xb68(r27) /* 80212854 0020F7B4 38 84 00 17 */ addi r4, r4, 0x17 /* 80212858 0020F7B8 3B 40 00 01 */ li r26, 1 /* 8021285C 0020F7BC B0 01 00 10 */ sth r0, 0x10(r1) /* 80212860 0020F7C0 4B DF 24 59 */ bl string_l__4rstlFPCc /* 80212864 0020F7C4 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80212868 0020F7C8 38 61 00 18 */ addi r3, r1, 0x18 /* 8021286C 0020F7CC C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 80212870 0020F7D0 3B A0 00 01 */ li r29, 1 /* 80212874 0020F7D4 FC 40 08 90 */ fmr f2, f1 /* 80212878 0020F7D8 D0 21 00 44 */ stfs f1, 0x44(r1) /* 8021287C 0020F7DC FC 60 08 90 */ fmr f3, f1 /* 80212880 0020F7E0 FC 80 08 90 */ fmr f4, f1 /* 80212884 0020F7E4 D0 21 00 48 */ stfs f1, 0x48(r1) /* 80212888 0020F7E8 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 8021288C 0020F7EC D0 01 00 50 */ stfs f0, 0x50(r1) /* 80212890 0020F7F0 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80212894 0020F7F4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80212898 0020F7F8 48 15 0B 55 */ bl __ct__6CColorFffff /* 8021289C 0020F7FC 7C 7B 1B 78 */ mr r27, r3 /* 802128A0 0020F800 7F C3 F3 78 */ mr r3, r30 /* 802128A4 0020F804 4B F1 D9 89 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager /* 802128A8 0020F808 7C 7C 1B 78 */ mr r28, r3 /* 802128AC 0020F80C 7F C3 F3 78 */ mr r3, r30 /* 802128B0 0020F810 4B F1 D9 49 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager /* 802128B4 0020F814 38 61 00 44 */ addi r3, r1, 0x44 /* 802128B8 0020F818 38 01 00 50 */ addi r0, r1, 0x50 /* 802128BC 0020F81C 90 61 00 08 */ stw r3, 8(r1) /* 802128C0 0020F820 7F E3 FB 78 */ mr r3, r31 /* 802128C4 0020F824 7F 89 E3 78 */ mr r9, r28 /* 802128C8 0020F828 7F 6A DB 78 */ mr r10, r27 /* 802128CC 0020F82C 90 01 00 0C */ stw r0, 0xc(r1) /* 802128D0 0020F830 38 81 00 1C */ addi r4, r1, 0x1c /* 802128D4 0020F834 38 A1 00 28 */ addi r5, r1, 0x28 /* 802128D8 0020F838 38 C1 00 10 */ addi r6, r1, 0x10 /* 802128DC 0020F83C 39 01 00 34 */ addi r8, r1, 0x34 /* 802128E0 0020F840 38 E0 00 01 */ li r7, 1 /* 802128E4 0020F844 4B F1 D6 15 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" /* 802128E8 0020F848 7C 7F 1B 78 */ mr r31, r3 lbl_802128EC: /* 802128EC 0020F84C 7F 20 07 75 */ extsb. r0, r25 /* 802128F0 0020F850 41 82 00 28 */ beq lbl_80212918 /* 802128F4 0020F854 88 01 00 24 */ lbz r0, 0x24(r1) /* 802128F8 0020F858 28 00 00 00 */ cmplwi r0, 0 /* 802128FC 0020F85C 41 82 00 14 */ beq lbl_80212910 /* 80212900 0020F860 34 61 00 1C */ addic. r3, r1, 0x1c /* 80212904 0020F864 41 82 00 0C */ beq lbl_80212910 /* 80212908 0020F868 38 80 00 00 */ li r4, 0 /* 8021290C 0020F86C 48 12 E5 35 */ bl __dt__6CTokenFv lbl_80212910: /* 80212910 0020F870 38 00 00 00 */ li r0, 0 /* 80212914 0020F874 98 01 00 24 */ stb r0, 0x24(r1) lbl_80212918: /* 80212918 0020F878 7F 40 07 75 */ extsb. r0, r26 /* 8021291C 0020F87C 41 82 00 28 */ beq lbl_80212944 /* 80212920 0020F880 88 01 00 30 */ lbz r0, 0x30(r1) /* 80212924 0020F884 28 00 00 00 */ cmplwi r0, 0 /* 80212928 0020F888 41 82 00 14 */ beq lbl_8021293C /* 8021292C 0020F88C 34 61 00 28 */ addic. r3, r1, 0x28 /* 80212930 0020F890 41 82 00 0C */ beq lbl_8021293C /* 80212934 0020F894 38 80 00 00 */ li r4, 0 /* 80212938 0020F898 48 12 E5 09 */ bl __dt__6CTokenFv lbl_8021293C: /* 8021293C 0020F89C 38 00 00 00 */ li r0, 0 /* 80212940 0020F8A0 98 01 00 30 */ stb r0, 0x30(r1) lbl_80212944: /* 80212944 0020F8A4 7F A0 07 75 */ extsb. r0, r29 /* 80212948 0020F8A8 41 82 00 0C */ beq lbl_80212954 /* 8021294C 0020F8AC 38 61 00 34 */ addi r3, r1, 0x34 /* 80212950 0020F8B0 48 12 B1 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80212954: /* 80212954 0020F8B4 88 1F 01 04 */ lbz r0, 0x104(r31) /* 80212958 0020F8B8 38 60 00 01 */ li r3, 1 /* 8021295C 0020F8BC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80212960 0020F8C0 7F C3 F3 78 */ mr r3, r30 /* 80212964 0020F8C4 98 1F 01 04 */ stb r0, 0x104(r31) /* 80212968 0020F8C8 7F E4 FB 78 */ mr r4, r31 /* 8021296C 0020F8CC 4B E3 A3 89 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 80212970 0020F8D0 BB 21 00 64 */ lmw r25, 0x64(r1) /* 80212974 0020F8D4 80 01 00 84 */ lwz r0, 0x84(r1) /* 80212978 0020F8D8 7C 08 03 A6 */ mtlr r0 /* 8021297C 0020F8DC 38 21 00 80 */ addi r1, r1, 0x80 /* 80212980 0020F8E0 4E 80 00 20 */ blr .global MoveWrapCells__13CEnvFxManagerFii MoveWrapCells__13CEnvFxManagerFii: /* 80212984 0020F8E4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80212988 0020F8E8 7C 08 02 A6 */ mflr r0 /* 8021298C 0020F8EC 90 01 00 64 */ stw r0, 0x64(r1) /* 80212990 0020F8F0 BE 61 00 2C */ stmw r19, 0x2c(r1) /* 80212994 0020F8F4 7C 94 23 79 */ or. r20, r4, r4 /* 80212998 0020F8F8 7C B5 2B 78 */ mr r21, r5 /* 8021299C 0020F8FC 40 82 00 0C */ bne lbl_802129A8 /* 802129A0 0020F900 2C 15 00 00 */ cmpwi r21, 0 /* 802129A4 0020F904 41 82 01 60 */ beq lbl_80212B04 lbl_802129A8: /* 802129A8 0020F908 6E 80 80 00 */ xoris r0, r20, 0x8000 /* 802129AC 0020F90C 3C 80 43 30 */ lis r4, 0x4330 /* 802129B0 0020F910 90 01 00 24 */ stw r0, 0x24(r1) /* 802129B4 0020F914 38 A0 00 01 */ li r5, 1 /* 802129B8 0020F918 C8 42 B2 48 */ lfd f2, lbl_805ACF68@sda21(r2) /* 802129BC 0020F91C 90 81 00 20 */ stw r4, 0x20(r1) /* 802129C0 0020F920 C8 22 B2 E0 */ lfd f1, lbl_805AD000@sda21(r2) /* 802129C4 0020F924 C8 01 00 20 */ lfd f0, 0x20(r1) /* 802129C8 0020F928 FC 00 10 28 */ fsub f0, f0, f2 /* 802129CC 0020F92C FC 00 02 10 */ fabs f0, f0 /* 802129D0 0020F930 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802129D4 0020F934 4C 41 13 82 */ cror 2, 1, 2 /* 802129D8 0020F938 41 82 00 2C */ beq lbl_80212A04 /* 802129DC 0020F93C 6E A0 80 00 */ xoris r0, r21, 0x8000 /* 802129E0 0020F940 90 81 00 20 */ stw r4, 0x20(r1) /* 802129E4 0020F944 90 01 00 24 */ stw r0, 0x24(r1) /* 802129E8 0020F948 C8 01 00 20 */ lfd f0, 0x20(r1) /* 802129EC 0020F94C FC 00 10 28 */ fsub f0, f0, f2 /* 802129F0 0020F950 FC 00 02 10 */ fabs f0, f0 /* 802129F4 0020F954 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802129F8 0020F958 4C 41 13 82 */ cror 2, 1, 2 /* 802129FC 0020F95C 41 82 00 08 */ beq lbl_80212A04 /* 80212A00 0020F960 38 A0 00 00 */ li r5, 0 lbl_80212A04: /* 80212A04 0020F964 3B 43 00 54 */ addi r26, r3, 0x54 /* 80212A08 0020F968 56 B9 58 28 */ slwi r25, r21, 0xb /* 80212A0C 0020F96C 56 98 58 28 */ slwi r24, r20, 0xb /* 80212A10 0020F970 54 BF 06 3E */ clrlwi r31, r5, 0x18 /* 80212A14 0020F974 3A E0 00 00 */ li r23, 0 /* 80212A18 0020F978 3B 60 00 00 */ li r27, 0 lbl_80212A1C: /* 80212A1C 0020F97C 1E 7B 00 2C */ mulli r19, r27, 0x2c /* 80212A20 0020F980 7F 7D DB 78 */ mr r29, r27 /* 80212A24 0020F984 7F 95 B8 50 */ subf r28, r21, r23 /* 80212A28 0020F988 3A C0 00 00 */ li r22, 0 lbl_80212A2C: /* 80212A2C 0020F98C 7F DA 9A 14 */ add r30, r26, r19 /* 80212A30 0020F990 28 1F 00 00 */ cmplwi r31, 0 /* 80212A34 0020F994 80 9E 00 04 */ lwz r4, 4(r30) /* 80212A38 0020F998 7C 74 B0 50 */ subf r3, r20, r22 /* 80212A3C 0020F99C 80 BE 00 08 */ lwz r5, 8(r30) /* 80212A40 0020F9A0 40 82 00 68 */ bne lbl_80212AA8 /* 80212A44 0020F9A4 2C 16 00 00 */ cmpwi r22, 0 /* 80212A48 0020F9A8 41 80 00 60 */ blt lbl_80212AA8 /* 80212A4C 0020F9AC 2C 16 00 08 */ cmpwi r22, 8 /* 80212A50 0020F9B0 40 80 00 58 */ bge lbl_80212AA8 /* 80212A54 0020F9B4 2C 17 00 00 */ cmpwi r23, 0 /* 80212A58 0020F9B8 41 80 00 50 */ blt lbl_80212AA8 /* 80212A5C 0020F9BC 2C 17 00 08 */ cmpwi r23, 8 /* 80212A60 0020F9C0 40 80 00 48 */ bge lbl_80212AA8 /* 80212A64 0020F9C4 57 80 18 38 */ slwi r0, r28, 3 /* 80212A68 0020F9C8 7C 03 02 14 */ add r0, r3, r0 /* 80212A6C 0020F9CC 1C 00 00 2C */ mulli r0, r0, 0x2c /* 80212A70 0020F9D0 7C 7A 02 14 */ add r3, r26, r0 /* 80212A74 0020F9D4 88 03 00 14 */ lbz r0, 0x14(r3) /* 80212A78 0020F9D8 C0 03 00 18 */ lfs f0, 0x18(r3) /* 80212A7C 0020F9DC 98 01 00 10 */ stb r0, 0x10(r1) /* 80212A80 0020F9E0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80212A84 0020F9E4 80 61 00 10 */ lwz r3, 0x10(r1) /* 80212A88 0020F9E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80212A8C 0020F9EC 90 61 00 18 */ stw r3, 0x18(r1) /* 80212A90 0020F9F0 90 01 00 1C */ stw r0, 0x1c(r1) /* 80212A94 0020F9F4 88 01 00 18 */ lbz r0, 0x18(r1) /* 80212A98 0020F9F8 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80212A9C 0020F9FC 98 1E 00 14 */ stb r0, 0x14(r30) /* 80212AA0 0020FA00 D0 1E 00 18 */ stfs f0, 0x18(r30) /* 80212AA4 0020FA04 48 00 00 14 */ b lbl_80212AB8 lbl_80212AA8: /* 80212AA8 0020FA08 88 1E 00 00 */ lbz r0, 0(r30) /* 80212AAC 0020FA0C 38 60 00 01 */ li r3, 1 /* 80212AB0 0020FA10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80212AB4 0020FA14 98 1E 00 00 */ stb r0, 0(r30) lbl_80212AB8: /* 80212AB8 0020FA18 7C 98 22 14 */ add r4, r24, r4 /* 80212ABC 0020FA1C 7C 19 2A 14 */ add r0, r25, r5 /* 80212AC0 0020FA20 38 61 00 08 */ addi r3, r1, 8 /* 80212AC4 0020FA24 54 84 04 BE */ clrlwi r4, r4, 0x12 /* 80212AC8 0020FA28 54 05 04 BE */ clrlwi r5, r0, 0x12 /* 80212ACC 0020FA2C 48 10 18 81 */ bl __ct__9CVector2iFii /* 80212AD0 0020FA30 80 61 00 0C */ lwz r3, 0xc(r1) /* 80212AD4 0020FA34 3A D6 00 01 */ addi r22, r22, 1 /* 80212AD8 0020FA38 80 01 00 08 */ lwz r0, 8(r1) /* 80212ADC 0020FA3C 2C 16 00 08 */ cmpwi r22, 8 /* 80212AE0 0020FA40 3B BD 00 01 */ addi r29, r29, 1 /* 80212AE4 0020FA44 3A 73 00 2C */ addi r19, r19, 0x2c /* 80212AE8 0020FA48 90 1E 00 04 */ stw r0, 4(r30) /* 80212AEC 0020FA4C 90 7E 00 08 */ stw r3, 8(r30) /* 80212AF0 0020FA50 41 80 FF 3C */ blt lbl_80212A2C /* 80212AF4 0020FA54 3A F7 00 01 */ addi r23, r23, 1 /* 80212AF8 0020FA58 3B 7B 00 08 */ addi r27, r27, 8 /* 80212AFC 0020FA5C 2C 17 00 08 */ cmpwi r23, 8 /* 80212B00 0020FA60 41 80 FF 1C */ blt lbl_80212A1C lbl_80212B04: /* 80212B04 0020FA64 BA 61 00 2C */ lmw r19, 0x2c(r1) /* 80212B08 0020FA68 80 01 00 64 */ lwz r0, 0x64(r1) /* 80212B0C 0020FA6C 7C 08 03 A6 */ mtlr r0 /* 80212B10 0020FA70 38 21 00 60 */ addi r1, r1, 0x60 /* 80212B14 0020FA74 4E 80 00 20 */ blr .global GetParticleBoundsToWorldScale__13CEnvFxManagerCFv GetParticleBoundsToWorldScale__13CEnvFxManagerCFv: /* 80212B18 0020FA78 C0 24 00 0C */ lfs f1, 0xc(r4) /* 80212B1C 0020FA7C C0 04 00 00 */ lfs f0, 0(r4) /* 80212B20 0020FA80 C0 64 00 10 */ lfs f3, 0x10(r4) /* 80212B24 0020FA84 C0 44 00 04 */ lfs f2, 4(r4) /* 80212B28 0020FA88 EC 01 00 28 */ fsubs f0, f1, f0 /* 80212B2C 0020FA8C C0 82 B2 E8 */ lfs f4, lbl_805AD008@sda21(r2) /* 80212B30 0020FA90 EC 63 10 28 */ fsubs f3, f3, f2 /* 80212B34 0020FA94 C0 44 00 14 */ lfs f2, 0x14(r4) /* 80212B38 0020FA98 C0 24 00 08 */ lfs f1, 8(r4) /* 80212B3C 0020FA9C EC 04 00 32 */ fmuls f0, f4, f0 /* 80212B40 0020FAA0 EC 22 08 28 */ fsubs f1, f2, f1 /* 80212B44 0020FAA4 EC 44 00 F2 */ fmuls f2, f4, f3 /* 80212B48 0020FAA8 D0 03 00 00 */ stfs f0, 0(r3) /* 80212B4C 0020FAAC EC 04 00 72 */ fmuls f0, f4, f1 /* 80212B50 0020FAB0 D0 43 00 04 */ stfs f2, 4(r3) /* 80212B54 0020FAB4 D0 03 00 08 */ stfs f0, 8(r3) /* 80212B58 0020FAB8 4E 80 00 20 */ blr .global Render__17CEnvFxManagerGridFRC12CTransform4fRC12CTransform4fRC12CTransform4ff10EEnvFxType Render__17CEnvFxManagerGridFRC12CTransform4fRC12CTransform4fRC12CTransform4ff10EEnvFxType: /* 80212B5C 0020FABC 94 21 FF 00 */ stwu r1, -0x100(r1) /* 80212B60 0020FAC0 7C 08 02 A6 */ mflr r0 /* 80212B64 0020FAC4 90 01 01 04 */ stw r0, 0x104(r1) /* 80212B68 0020FAC8 BF 61 00 EC */ stmw r27, 0xec(r1) /* 80212B6C 0020FACC 7C 7D 1B 78 */ mr r29, r3 /* 80212B70 0020FAD0 7C 9B 23 78 */ mr r27, r4 /* 80212B74 0020FAD4 7C BC 2B 78 */ mr r28, r5 /* 80212B78 0020FAD8 7C DE 33 78 */ mr r30, r6 /* 80212B7C 0020FADC 7C FF 3B 78 */ mr r31, r7 /* 80212B80 0020FAE0 80 03 00 20 */ lwz r0, 0x20(r3) /* 80212B84 0020FAE4 2C 00 00 00 */ cmpwi r0, 0 /* 80212B88 0020FAE8 41 82 01 A8 */ beq lbl_80212D30 /* 80212B8C 0020FAEC 88 1D 00 14 */ lbz r0, 0x14(r29) /* 80212B90 0020FAF0 28 00 00 00 */ cmplwi r0, 0 /* 80212B94 0020FAF4 41 82 01 9C */ beq lbl_80212D30 /* 80212B98 0020FAF8 80 BD 00 04 */ lwz r5, 4(r29) /* 80212B9C 0020FAFC 3C 80 43 30 */ lis r4, 0x4330 /* 80212BA0 0020FB00 80 1D 00 08 */ lwz r0, 8(r29) /* 80212BA4 0020FB04 38 61 00 40 */ addi r3, r1, 0x40 /* 80212BA8 0020FB08 7C A5 07 34 */ extsh r5, r5 /* 80212BAC 0020FB0C 90 81 00 D0 */ stw r4, 0xd0(r1) /* 80212BB0 0020FB10 7C 00 07 34 */ extsh r0, r0 /* 80212BB4 0020FB14 C8 42 B2 48 */ lfd f2, lbl_805ACF68@sda21(r2) /* 80212BB8 0020FB18 6C A5 80 00 */ xoris r5, r5, 0x8000 /* 80212BBC 0020FB1C 90 81 00 D8 */ stw r4, 0xd8(r1) /* 80212BC0 0020FB20 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80212BC4 0020FB24 C0 82 B2 A0 */ lfs f4, lbl_805ACFC0@sda21(r2) /* 80212BC8 0020FB28 90 A1 00 D4 */ stw r5, 0xd4(r1) /* 80212BCC 0020FB2C C0 62 B2 78 */ lfs f3, lbl_805ACF98@sda21(r2) /* 80212BD0 0020FB30 90 01 00 DC */ stw r0, 0xdc(r1) /* 80212BD4 0020FB34 C8 21 00 D0 */ lfd f1, 0xd0(r1) /* 80212BD8 0020FB38 C8 01 00 D8 */ lfd f0, 0xd8(r1) /* 80212BDC 0020FB3C EC 21 10 28 */ fsubs f1, f1, f2 /* 80212BE0 0020FB40 EC 00 10 28 */ fsubs f0, f0, f2 /* 80212BE4 0020FB44 EC 24 00 72 */ fmuls f1, f4, f1 /* 80212BE8 0020FB48 EC 44 00 32 */ fmuls f2, f4, f0 /* 80212BEC 0020FB4C 48 10 05 9D */ bl Translate__12CTransform4fFfff /* 80212BF0 0020FB50 7F 64 DB 78 */ mr r4, r27 /* 80212BF4 0020FB54 38 61 00 70 */ addi r3, r1, 0x70 /* 80212BF8 0020FB58 38 A1 00 40 */ addi r5, r1, 0x40 /* 80212BFC 0020FB5C 48 0F FD 55 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80212C00 0020FB60 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80212C04 0020FB64 38 81 00 70 */ addi r4, r1, 0x70 /* 80212C08 0020FB68 48 0F FF 6D */ bl __ct__12CTransform4fFRC12CTransform4f /* 80212C0C 0020FB6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80212C10 0020FB70 38 81 00 A0 */ addi r4, r1, 0xa0 /* 80212C14 0020FB74 81 83 00 00 */ lwz r12, 0(r3) /* 80212C18 0020FB78 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80212C1C 0020FB7C 7D 89 03 A6 */ mtctr r12 /* 80212C20 0020FB80 4E 80 04 21 */ bctrl /* 80212C24 0020FB84 2C 1F 00 01 */ cmpwi r31, 1 /* 80212C28 0020FB88 41 82 00 0C */ beq lbl_80212C34 /* 80212C2C 0020FB8C 2C 1F 00 02 */ cmpwi r31, 2 /* 80212C30 0020FB90 40 82 00 B0 */ bne lbl_80212CE0 lbl_80212C34: /* 80212C34 0020FB94 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80212C38 0020FB98 C0 7D 00 18 */ lfs f3, 0x18(r29) /* 80212C3C 0020FB9C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80212C40 0020FBA0 7F 84 E3 78 */ mr r4, r28 /* 80212C44 0020FBA4 C0 46 00 00 */ lfs f2, 0(r6) /* 80212C48 0020FBA8 38 61 00 14 */ addi r3, r1, 0x14 /* 80212C4C 0020FBAC C0 26 00 04 */ lfs f1, 4(r6) /* 80212C50 0020FBB0 38 A1 00 08 */ addi r5, r1, 8 /* 80212C54 0020FBB4 C0 06 00 08 */ lfs f0, 8(r6) /* 80212C58 0020FBB8 EC 43 00 B2 */ fmuls f2, f3, f2 /* 80212C5C 0020FBBC EC 23 00 72 */ fmuls f1, f3, f1 /* 80212C60 0020FBC0 EC 03 00 32 */ fmuls f0, f3, f0 /* 80212C64 0020FBC4 D0 41 00 08 */ stfs f2, 8(r1) /* 80212C68 0020FBC8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80212C6C 0020FBCC D0 01 00 10 */ stfs f0, 0x10(r1) /* 80212C70 0020FBD0 48 0F FE 79 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80212C74 0020FBD4 3C 60 80 3D */ lis r3, lbl_803D2790@ha /* 80212C78 0020FBD8 C0 42 B2 EC */ lfs f2, lbl_805AD00C@sda21(r2) /* 80212C7C 0020FBDC 39 83 27 90 */ addi r12, r3, lbl_803D2790@l /* 80212C80 0020FBE0 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 80212C84 0020FBE4 C0 02 B2 70 */ lfs f0, lbl_805ACF90@sda21(r2) /* 80212C88 0020FBE8 38 61 00 20 */ addi r3, r1, 0x20 /* 80212C8C 0020FBEC 80 0C 00 1C */ lwz r0, 0x1c(r12) /* 80212C90 0020FBF0 38 80 00 2D */ li r4, 0x2d /* 80212C94 0020FBF4 81 6C 00 00 */ lwz r11, 0(r12) /* 80212C98 0020FBF8 EC 02 00 7E */ fnmadds f0, f2, f1, f0 /* 80212C9C 0020FBFC 90 01 00 3C */ stw r0, 0x3c(r1) /* 80212CA0 0020FC00 38 A0 00 01 */ li r5, 1 /* 80212CA4 0020FC04 81 4C 00 04 */ lwz r10, 4(r12) /* 80212CA8 0020FC08 81 2C 00 08 */ lwz r9, 8(r12) /* 80212CAC 0020FC0C 81 0C 00 0C */ lwz r8, 0xc(r12) /* 80212CB0 0020FC10 80 EC 00 10 */ lwz r7, 0x10(r12) /* 80212CB4 0020FC14 80 CC 00 14 */ lwz r6, 0x14(r12) /* 80212CB8 0020FC18 80 0C 00 18 */ lwz r0, 0x18(r12) /* 80212CBC 0020FC1C 91 61 00 20 */ stw r11, 0x20(r1) /* 80212CC0 0020FC20 91 41 00 24 */ stw r10, 0x24(r1) /* 80212CC4 0020FC24 91 21 00 28 */ stw r9, 0x28(r1) /* 80212CC8 0020FC28 91 01 00 2C */ stw r8, 0x2c(r1) /* 80212CCC 0020FC2C 90 E1 00 30 */ stw r7, 0x30(r1) /* 80212CD0 0020FC30 90 C1 00 34 */ stw r6, 0x34(r1) /* 80212CD4 0020FC34 90 01 00 38 */ stw r0, 0x38(r1) /* 80212CD8 0020FC38 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80212CDC 0020FC3C 48 16 97 B5 */ bl GXLoadTexMtxImm lbl_80212CE0: /* 80212CE0 0020FC40 2C 1F 00 02 */ cmpwi r31, 2 /* 80212CE4 0020FC44 41 82 00 30 */ beq lbl_80212D14 /* 80212CE8 0020FC48 40 80 00 10 */ bge lbl_80212CF8 /* 80212CEC 0020FC4C 2C 1F 00 01 */ cmpwi r31, 1 /* 80212CF0 0020FC50 40 80 00 14 */ bge lbl_80212D04 /* 80212CF4 0020FC54 48 00 00 3C */ b lbl_80212D30 lbl_80212CF8: /* 80212CF8 0020FC58 2C 1F 00 04 */ cmpwi r31, 4 /* 80212CFC 0020FC5C 40 80 00 34 */ bge lbl_80212D30 /* 80212D00 0020FC60 48 00 00 24 */ b lbl_80212D24 lbl_80212D04: /* 80212D04 0020FC64 7F A3 EB 78 */ mr r3, r29 /* 80212D08 0020FC68 7F C4 F3 78 */ mr r4, r30 /* 80212D0C 0020FC6C 48 00 01 D9 */ bl RenderSnowParticles__17CEnvFxManagerGridFR12CTransform4f /* 80212D10 0020FC70 48 00 00 20 */ b lbl_80212D30 lbl_80212D14: /* 80212D14 0020FC74 7F A3 EB 78 */ mr r3, r29 /* 80212D18 0020FC78 7F C4 F3 78 */ mr r4, r30 /* 80212D1C 0020FC7C 48 00 03 69 */ bl RenderRainParticles__17CEnvFxManagerGridFR12CTransform4f /* 80212D20 0020FC80 48 00 00 10 */ b lbl_80212D30 lbl_80212D24: /* 80212D24 0020FC84 7F A3 EB 78 */ mr r3, r29 /* 80212D28 0020FC88 7F C4 F3 78 */ mr r4, r30 /* 80212D2C 0020FC8C 48 00 00 19 */ bl RenderUnderwaterParticles__17CEnvFxManagerGridFR12CTransform4f lbl_80212D30: /* 80212D30 0020FC90 BB 61 00 EC */ lmw r27, 0xec(r1) /* 80212D34 0020FC94 80 01 01 04 */ lwz r0, 0x104(r1) /* 80212D38 0020FC98 7C 08 03 A6 */ mtlr r0 /* 80212D3C 0020FC9C 38 21 01 00 */ addi r1, r1, 0x100 /* 80212D40 0020FCA0 4E 80 00 20 */ blr .global RenderUnderwaterParticles__17CEnvFxManagerGridFR12CTransform4f RenderUnderwaterParticles__17CEnvFxManagerGridFR12CTransform4f: /* 80212D44 0020FCA4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80212D48 0020FCA8 7C 08 02 A6 */ mflr r0 /* 80212D4C 0020FCAC C0 C2 B2 70 */ lfs f6, lbl_805ACF90@sda21(r2) /* 80212D50 0020FCB0 90 01 00 64 */ stw r0, 0x64(r1) /* 80212D54 0020FCB4 C0 E2 B2 94 */ lfs f7, lbl_805ACFB4@sda21(r2) /* 80212D58 0020FCB8 BF 01 00 40 */ stmw r24, 0x40(r1) /* 80212D5C 0020FCBC 7C 7F 1B 78 */ mr r31, r3 /* 80212D60 0020FCC0 38 60 00 80 */ li r3, 0x80 /* 80212D64 0020FCC4 C0 44 00 08 */ lfs f2, 8(r4) /* 80212D68 0020FCC8 C0 24 00 18 */ lfs f1, 0x18(r4) /* 80212D6C 0020FCCC EC A6 00 B2 */ fmuls f5, f6, f2 /* 80212D70 0020FCD0 C0 04 00 28 */ lfs f0, 0x28(r4) /* 80212D74 0020FCD4 EC 86 00 72 */ fmuls f4, f6, f1 /* 80212D78 0020FCD8 C0 44 00 00 */ lfs f2, 0(r4) /* 80212D7C 0020FCDC EC 66 00 32 */ fmuls f3, f6, f0 /* 80212D80 0020FCE0 C0 24 00 10 */ lfs f1, 0x10(r4) /* 80212D84 0020FCE4 C0 04 00 20 */ lfs f0, 0x20(r4) /* 80212D88 0020FCE8 EC 46 00 B2 */ fmuls f2, f6, f2 /* 80212D8C 0020FCEC EC A7 01 72 */ fmuls f5, f7, f5 /* 80212D90 0020FCF0 83 DF 00 20 */ lwz r30, 0x20(r31) /* 80212D94 0020FCF4 EC 87 01 32 */ fmuls f4, f7, f4 /* 80212D98 0020FCF8 38 80 00 06 */ li r4, 6 /* 80212D9C 0020FCFC EC 26 00 72 */ fmuls f1, f6, f1 /* 80212DA0 0020FD00 EC 06 00 32 */ fmuls f0, f6, f0 /* 80212DA4 0020FD04 EC 67 00 F2 */ fmuls f3, f7, f3 /* 80212DA8 0020FD08 57 C5 14 3A */ rlwinm r5, r30, 2, 0x10, 0x1d /* 80212DAC 0020FD0C EC 47 00 B2 */ fmuls f2, f7, f2 /* 80212DB0 0020FD10 FC A0 28 1E */ fctiwz f5, f5 /* 80212DB4 0020FD14 FC 80 20 1E */ fctiwz f4, f4 /* 80212DB8 0020FD18 EC 27 00 72 */ fmuls f1, f7, f1 /* 80212DBC 0020FD1C EC 07 00 32 */ fmuls f0, f7, f0 /* 80212DC0 0020FD20 D8 A1 00 08 */ stfd f5, 8(r1) /* 80212DC4 0020FD24 FC 60 18 1E */ fctiwz f3, f3 /* 80212DC8 0020FD28 FC 40 10 1E */ fctiwz f2, f2 /* 80212DCC 0020FD2C D8 81 00 10 */ stfd f4, 0x10(r1) /* 80212DD0 0020FD30 FC 20 08 1E */ fctiwz f1, f1 /* 80212DD4 0020FD34 FC 00 00 1E */ fctiwz f0, f0 /* 80212DD8 0020FD38 80 C1 00 0C */ lwz r6, 0xc(r1) /* 80212DDC 0020FD3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80212DE0 0020FD40 D8 61 00 18 */ stfd f3, 0x18(r1) /* 80212DE4 0020FD44 7C DD 07 34 */ extsh r29, r6 /* 80212DE8 0020FD48 7C 1C 07 34 */ extsh r28, r0 /* 80212DEC 0020FD4C D8 41 00 20 */ stfd f2, 0x20(r1) /* 80212DF0 0020FD50 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80212DF4 0020FD54 80 01 00 24 */ lwz r0, 0x24(r1) /* 80212DF8 0020FD58 D8 21 00 28 */ stfd f1, 0x28(r1) /* 80212DFC 0020FD5C 7C DB 07 34 */ extsh r27, r6 /* 80212E00 0020FD60 7C 1A 07 34 */ extsh r26, r0 /* 80212E04 0020FD64 D8 01 00 30 */ stfd f0, 0x30(r1) /* 80212E08 0020FD68 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80212E0C 0020FD6C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80212E10 0020FD70 7C D9 07 34 */ extsh r25, r6 /* 80212E14 0020FD74 7C 18 07 34 */ extsh r24, r0 /* 80212E18 0020FD78 48 0F 57 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 80212E1C 0020FD7C 34 7E FF FF */ addic. r3, r30, -1 /* 80212E20 0020FD80 3C 80 CC 01 */ lis r4, 0xcc01 /* 80212E24 0020FD84 38 03 00 01 */ addi r0, r3, 1 /* 80212E28 0020FD88 1D 03 00 06 */ mulli r8, r3, 6 /* 80212E2C 0020FD8C 7C 09 03 A6 */ mtctr r0 /* 80212E30 0020FD90 41 80 00 9C */ blt lbl_80212ECC lbl_80212E34: /* 80212E34 0020FD94 80 BF 00 28 */ lwz r5, 0x28(r31) /* 80212E38 0020FD98 38 60 00 00 */ li r3, 0 /* 80212E3C 0020FD9C 38 00 00 02 */ li r0, 2 /* 80212E40 0020FDA0 7C A5 42 14 */ add r5, r5, r8 /* 80212E44 0020FDA4 39 08 FF FA */ addi r8, r8, -6 /* 80212E48 0020FDA8 A8 C5 00 00 */ lha r6, 0(r5) /* 80212E4C 0020FDAC A8 E5 00 02 */ lha r7, 2(r5) /* 80212E50 0020FDB0 A8 A5 00 04 */ lha r5, 4(r5) /* 80212E54 0020FDB4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212E58 0020FDB8 7C C6 EA 14 */ add r6, r6, r29 /* 80212E5C 0020FDBC B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212E60 0020FDC0 7C E7 E2 14 */ add r7, r7, r28 /* 80212E64 0020FDC4 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212E68 0020FDC8 7C A5 DA 14 */ add r5, r5, r27 /* 80212E6C 0020FDCC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212E70 0020FDD0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212E74 0020FDD4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212E78 0020FDD8 7C C6 D2 14 */ add r6, r6, r26 /* 80212E7C 0020FDDC B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212E80 0020FDE0 7C E7 CA 14 */ add r7, r7, r25 /* 80212E84 0020FDE4 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212E88 0020FDE8 7C A5 C2 14 */ add r5, r5, r24 /* 80212E8C 0020FDEC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212E90 0020FDF0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212E94 0020FDF4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212E98 0020FDF8 7C DD 30 50 */ subf r6, r29, r6 /* 80212E9C 0020FDFC B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212EA0 0020FE00 7C FC 38 50 */ subf r7, r28, r7 /* 80212EA4 0020FE04 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212EA8 0020FE08 7C BB 28 50 */ subf r5, r27, r5 /* 80212EAC 0020FE0C 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212EB0 0020FE10 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212EB4 0020FE14 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212EB8 0020FE18 B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212EBC 0020FE1C B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212EC0 0020FE20 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212EC4 0020FE24 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212EC8 0020FE28 42 00 FF 6C */ bdnz lbl_80212E34 lbl_80212ECC: /* 80212ECC 0020FE2C 48 0F 56 B5 */ bl End__3CGXFv /* 80212ED0 0020FE30 BB 01 00 40 */ lmw r24, 0x40(r1) /* 80212ED4 0020FE34 80 01 00 64 */ lwz r0, 0x64(r1) /* 80212ED8 0020FE38 7C 08 03 A6 */ mtlr r0 /* 80212EDC 0020FE3C 38 21 00 60 */ addi r1, r1, 0x60 /* 80212EE0 0020FE40 4E 80 00 20 */ blr .global RenderSnowParticles__17CEnvFxManagerGridFR12CTransform4f RenderSnowParticles__17CEnvFxManagerGridFR12CTransform4f: /* 80212EE4 0020FE44 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80212EE8 0020FE48 7C 08 02 A6 */ mflr r0 /* 80212EEC 0020FE4C C0 C2 B2 F0 */ lfs f6, lbl_805AD010@sda21(r2) /* 80212EF0 0020FE50 90 01 00 64 */ stw r0, 0x64(r1) /* 80212EF4 0020FE54 C0 E2 B2 94 */ lfs f7, lbl_805ACFB4@sda21(r2) /* 80212EF8 0020FE58 BF 01 00 40 */ stmw r24, 0x40(r1) /* 80212EFC 0020FE5C 7C 7F 1B 78 */ mr r31, r3 /* 80212F00 0020FE60 38 60 00 80 */ li r3, 0x80 /* 80212F04 0020FE64 C0 44 00 08 */ lfs f2, 8(r4) /* 80212F08 0020FE68 C0 24 00 18 */ lfs f1, 0x18(r4) /* 80212F0C 0020FE6C EC A6 00 B2 */ fmuls f5, f6, f2 /* 80212F10 0020FE70 C0 04 00 28 */ lfs f0, 0x28(r4) /* 80212F14 0020FE74 EC 86 00 72 */ fmuls f4, f6, f1 /* 80212F18 0020FE78 C0 44 00 00 */ lfs f2, 0(r4) /* 80212F1C 0020FE7C EC 66 00 32 */ fmuls f3, f6, f0 /* 80212F20 0020FE80 C0 24 00 10 */ lfs f1, 0x10(r4) /* 80212F24 0020FE84 C0 04 00 20 */ lfs f0, 0x20(r4) /* 80212F28 0020FE88 EC 46 00 B2 */ fmuls f2, f6, f2 /* 80212F2C 0020FE8C EC A7 01 72 */ fmuls f5, f7, f5 /* 80212F30 0020FE90 83 DF 00 20 */ lwz r30, 0x20(r31) /* 80212F34 0020FE94 EC 87 01 32 */ fmuls f4, f7, f4 /* 80212F38 0020FE98 38 80 00 06 */ li r4, 6 /* 80212F3C 0020FE9C EC 26 00 72 */ fmuls f1, f6, f1 /* 80212F40 0020FEA0 EC 06 00 32 */ fmuls f0, f6, f0 /* 80212F44 0020FEA4 EC 67 00 F2 */ fmuls f3, f7, f3 /* 80212F48 0020FEA8 57 C5 14 3A */ rlwinm r5, r30, 2, 0x10, 0x1d /* 80212F4C 0020FEAC EC 47 00 B2 */ fmuls f2, f7, f2 /* 80212F50 0020FEB0 FC A0 28 1E */ fctiwz f5, f5 /* 80212F54 0020FEB4 FC 80 20 1E */ fctiwz f4, f4 /* 80212F58 0020FEB8 EC 27 00 72 */ fmuls f1, f7, f1 /* 80212F5C 0020FEBC EC 07 00 32 */ fmuls f0, f7, f0 /* 80212F60 0020FEC0 D8 A1 00 08 */ stfd f5, 8(r1) /* 80212F64 0020FEC4 FC 60 18 1E */ fctiwz f3, f3 /* 80212F68 0020FEC8 FC 40 10 1E */ fctiwz f2, f2 /* 80212F6C 0020FECC D8 81 00 10 */ stfd f4, 0x10(r1) /* 80212F70 0020FED0 FC 20 08 1E */ fctiwz f1, f1 /* 80212F74 0020FED4 FC 00 00 1E */ fctiwz f0, f0 /* 80212F78 0020FED8 80 C1 00 0C */ lwz r6, 0xc(r1) /* 80212F7C 0020FEDC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80212F80 0020FEE0 D8 61 00 18 */ stfd f3, 0x18(r1) /* 80212F84 0020FEE4 7C DD 07 34 */ extsh r29, r6 /* 80212F88 0020FEE8 7C 1C 07 34 */ extsh r28, r0 /* 80212F8C 0020FEEC D8 41 00 20 */ stfd f2, 0x20(r1) /* 80212F90 0020FEF0 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80212F94 0020FEF4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80212F98 0020FEF8 D8 21 00 28 */ stfd f1, 0x28(r1) /* 80212F9C 0020FEFC 7C DB 07 34 */ extsh r27, r6 /* 80212FA0 0020FF00 7C 1A 07 34 */ extsh r26, r0 /* 80212FA4 0020FF04 D8 01 00 30 */ stfd f0, 0x30(r1) /* 80212FA8 0020FF08 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80212FAC 0020FF0C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80212FB0 0020FF10 7C D9 07 34 */ extsh r25, r6 /* 80212FB4 0020FF14 7C 18 07 34 */ extsh r24, r0 /* 80212FB8 0020FF18 48 0F 55 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 80212FBC 0020FF1C 34 7E FF FF */ addic. r3, r30, -1 /* 80212FC0 0020FF20 3C 80 CC 01 */ lis r4, 0xcc01 /* 80212FC4 0020FF24 38 03 00 01 */ addi r0, r3, 1 /* 80212FC8 0020FF28 1D 03 00 06 */ mulli r8, r3, 6 /* 80212FCC 0020FF2C 7C 09 03 A6 */ mtctr r0 /* 80212FD0 0020FF30 41 80 00 9C */ blt lbl_8021306C lbl_80212FD4: /* 80212FD4 0020FF34 80 BF 00 28 */ lwz r5, 0x28(r31) /* 80212FD8 0020FF38 38 60 00 00 */ li r3, 0 /* 80212FDC 0020FF3C 38 00 00 02 */ li r0, 2 /* 80212FE0 0020FF40 7C A5 42 14 */ add r5, r5, r8 /* 80212FE4 0020FF44 39 08 FF FA */ addi r8, r8, -6 /* 80212FE8 0020FF48 A8 C5 00 00 */ lha r6, 0(r5) /* 80212FEC 0020FF4C A8 E5 00 02 */ lha r7, 2(r5) /* 80212FF0 0020FF50 A8 A5 00 04 */ lha r5, 4(r5) /* 80212FF4 0020FF54 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212FF8 0020FF58 7C C6 EA 14 */ add r6, r6, r29 /* 80212FFC 0020FF5C B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80213000 0020FF60 7C E7 E2 14 */ add r7, r7, r28 /* 80213004 0020FF64 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213008 0020FF68 7C A5 DA 14 */ add r5, r5, r27 /* 8021300C 0020FF6C 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213010 0020FF70 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213014 0020FF74 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80213018 0020FF78 7C C6 D2 14 */ add r6, r6, r26 /* 8021301C 0020FF7C B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80213020 0020FF80 7C E7 CA 14 */ add r7, r7, r25 /* 80213024 0020FF84 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213028 0020FF88 7C A5 C2 14 */ add r5, r5, r24 /* 8021302C 0020FF8C 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213030 0020FF90 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213034 0020FF94 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80213038 0020FF98 7C DD 30 50 */ subf r6, r29, r6 /* 8021303C 0020FF9C B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80213040 0020FFA0 7C FC 38 50 */ subf r7, r28, r7 /* 80213044 0020FFA4 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213048 0020FFA8 7C BB 28 50 */ subf r5, r27, r5 /* 8021304C 0020FFAC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213050 0020FFB0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213054 0020FFB4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80213058 0020FFB8 B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 8021305C 0020FFBC B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213060 0020FFC0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213064 0020FFC4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213068 0020FFC8 42 00 FF 6C */ bdnz lbl_80212FD4 lbl_8021306C: /* 8021306C 0020FFCC 48 0F 55 15 */ bl End__3CGXFv /* 80213070 0020FFD0 BB 01 00 40 */ lmw r24, 0x40(r1) /* 80213074 0020FFD4 80 01 00 64 */ lwz r0, 0x64(r1) /* 80213078 0020FFD8 7C 08 03 A6 */ mtlr r0 /* 8021307C 0020FFDC 38 21 00 60 */ addi r1, r1, 0x60 /* 80213080 0020FFE0 4E 80 00 20 */ blr .global RenderRainParticles__17CEnvFxManagerGridFR12CTransform4f RenderRainParticles__17CEnvFxManagerGridFR12CTransform4f: /* 80213084 0020FFE4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80213088 0020FFE8 7C 08 02 A6 */ mflr r0 /* 8021308C 0020FFEC 90 01 00 34 */ stw r0, 0x34(r1) /* 80213090 0020FFF0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 80213094 0020FFF4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80213098 0020FFF8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021309C 0020FFFC 93 C1 00 18 */ stw r30, 0x18(r1) /* 802130A0 00210000 3C A0 80 5A */ lis r5, lbl_805A66F4@ha /* 802130A4 00210004 C0 24 00 18 */ lfs f1, 0x18(r4) /* 802130A8 00210008 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l /* 802130AC 0021000C 83 C3 00 20 */ lwz r30, 0x20(r3) /* 802130B0 00210010 C0 06 00 04 */ lfs f0, 4(r6) /* 802130B4 00210014 7C 7F 1B 78 */ mr r31, r3 /* 802130B8 00210018 C0 44 00 08 */ lfs f2, 8(r4) /* 802130BC 0021001C 38 60 00 A8 */ li r3, 0xa8 /* 802130C0 00210020 EC 01 00 32 */ fmuls f0, f1, f0 /* 802130C4 00210024 C0 26 00 00 */ lfs f1, 0(r6) /* 802130C8 00210028 C0 84 00 28 */ lfs f4, 0x28(r4) /* 802130CC 0021002C 57 C5 0C 3C */ rlwinm r5, r30, 1, 0x10, 0x1e /* 802130D0 00210030 C0 66 00 08 */ lfs f3, 8(r6) /* 802130D4 00210034 38 80 00 06 */ li r4, 6 /* 802130D8 00210038 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 802130DC 0021003C EC 04 00 FA */ fmadds f0, f4, f3, f0 /* 802130E0 00210040 FF E0 02 10 */ fabs f31, f0 /* 802130E4 00210044 48 0F 54 A1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 802130E8 00210048 FC 20 F8 18 */ frsp f1, f31 /* 802130EC 0021004C C0 42 B2 64 */ lfs f2, lbl_805ACF84@sda21(r2) /* 802130F0 00210050 39 20 00 00 */ li r9, 0 /* 802130F4 00210054 C0 62 B2 F4 */ lfs f3, lbl_805AD014@sda21(r2) /* 802130F8 00210058 C0 02 B2 94 */ lfs f0, lbl_805ACFB4@sda21(r2) /* 802130FC 0021005C 2C 1E 00 00 */ cmpwi r30, 0 /* 80213100 00210060 EC 22 08 28 */ fsubs f1, f2, f1 /* 80213104 00210064 7D 23 4B 78 */ mr r3, r9 /* 80213108 00210068 3C A0 CC 01 */ lis r5, 0xcc01 /* 8021310C 0021006C 38 80 00 0A */ li r4, 0xa /* 80213110 00210070 EC 03 00 7A */ fmadds f0, f3, f1, f0 /* 80213114 00210074 FC 00 00 1E */ fctiwz f0, f0 /* 80213118 00210078 D8 01 00 08 */ stfd f0, 8(r1) /* 8021311C 0021007C 80 01 00 0C */ lwz r0, 0xc(r1) /* 80213120 00210080 7C 0A 07 34 */ extsh r10, r0 /* 80213124 00210084 40 81 01 50 */ ble lbl_80213274 /* 80213128 00210088 57 C0 F0 BF */ rlwinm. r0, r30, 0x1e, 2, 0x1f /* 8021312C 0021008C 7C 09 03 A6 */ mtctr r0 /* 80213130 00210090 41 82 01 00 */ beq lbl_80213230 lbl_80213134: /* 80213134 00210094 80 1F 00 28 */ lwz r0, 0x28(r31) /* 80213138 00210098 7C C0 4A 14 */ add r6, r0, r9 /* 8021313C 0021009C 39 29 00 06 */ addi r9, r9, 6 /* 80213140 002100A0 A9 06 00 04 */ lha r8, 4(r6) /* 80213144 002100A4 A8 E6 00 00 */ lha r7, 0(r6) /* 80213148 002100A8 A8 C6 00 02 */ lha r6, 2(r6) /* 8021314C 002100AC 7C 08 52 14 */ add r0, r8, r10 /* 80213150 002100B0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213154 002100B4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213158 002100B8 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 8021315C 002100BC B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 80213160 002100C0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213164 002100C4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213168 002100C8 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 8021316C 002100CC B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 80213170 002100D0 80 1F 00 28 */ lwz r0, 0x28(r31) /* 80213174 002100D4 7C C0 4A 14 */ add r6, r0, r9 /* 80213178 002100D8 39 29 00 06 */ addi r9, r9, 6 /* 8021317C 002100DC A9 06 00 04 */ lha r8, 4(r6) /* 80213180 002100E0 A8 E6 00 00 */ lha r7, 0(r6) /* 80213184 002100E4 A8 C6 00 02 */ lha r6, 2(r6) /* 80213188 002100E8 7C 08 52 14 */ add r0, r8, r10 /* 8021318C 002100EC B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213190 002100F0 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213194 002100F4 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 80213198 002100F8 B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 8021319C 002100FC B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 802131A0 00210100 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 802131A4 00210104 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 802131A8 00210108 B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 802131AC 0021010C 80 1F 00 28 */ lwz r0, 0x28(r31) /* 802131B0 00210110 7C C0 4A 14 */ add r6, r0, r9 /* 802131B4 00210114 39 29 00 06 */ addi r9, r9, 6 /* 802131B8 00210118 A9 06 00 04 */ lha r8, 4(r6) /* 802131BC 0021011C A8 E6 00 00 */ lha r7, 0(r6) /* 802131C0 00210120 A8 C6 00 02 */ lha r6, 2(r6) /* 802131C4 00210124 7C 08 52 14 */ add r0, r8, r10 /* 802131C8 00210128 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 802131CC 0021012C B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 802131D0 00210130 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 802131D4 00210134 B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 802131D8 00210138 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 802131DC 0021013C B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 802131E0 00210140 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 802131E4 00210144 B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 802131E8 00210148 80 1F 00 28 */ lwz r0, 0x28(r31) /* 802131EC 0021014C 7C C0 4A 14 */ add r6, r0, r9 /* 802131F0 00210150 39 29 00 06 */ addi r9, r9, 6 /* 802131F4 00210154 A9 06 00 04 */ lha r8, 4(r6) /* 802131F8 00210158 A8 E6 00 00 */ lha r7, 0(r6) /* 802131FC 0021015C A8 C6 00 02 */ lha r6, 2(r6) /* 80213200 00210160 7C 08 52 14 */ add r0, r8, r10 /* 80213204 00210164 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213208 00210168 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 8021320C 0021016C B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 80213210 00210170 B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 80213214 00210174 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213218 00210178 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 8021321C 0021017C B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 80213220 00210180 B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 80213224 00210184 42 00 FF 10 */ bdnz lbl_80213134 /* 80213228 00210188 73 DE 00 03 */ andi. r30, r30, 3 /* 8021322C 0021018C 41 82 00 48 */ beq lbl_80213274 lbl_80213230: /* 80213230 00210190 7F C9 03 A6 */ mtctr r30 lbl_80213234: /* 80213234 00210194 80 1F 00 28 */ lwz r0, 0x28(r31) /* 80213238 00210198 7C C0 4A 14 */ add r6, r0, r9 /* 8021323C 0021019C 39 29 00 06 */ addi r9, r9, 6 /* 80213240 002101A0 A9 06 00 04 */ lha r8, 4(r6) /* 80213244 002101A4 A8 E6 00 00 */ lha r7, 0(r6) /* 80213248 002101A8 A8 C6 00 02 */ lha r6, 2(r6) /* 8021324C 002101AC 7C 08 52 14 */ add r0, r8, r10 /* 80213250 002101B0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213254 002101B4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213258 002101B8 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 8021325C 002101BC B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 80213260 002101C0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213264 002101C4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213268 002101C8 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 8021326C 002101CC B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 80213270 002101D0 42 00 FF C4 */ bdnz lbl_80213234 lbl_80213274: /* 80213274 002101D4 48 0F 53 0D */ bl End__3CGXFv /* 80213278 002101D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8021327C 002101DC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80213280 002101E0 CB E1 00 20 */ lfd f31, 0x20(r1) /* 80213284 002101E4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80213288 002101E8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021328C 002101EC 7C 08 03 A6 */ mtlr r0 /* 80213290 002101F0 38 21 00 30 */ addi r1, r1, 0x30 /* 80213294 002101F4 4E 80 00 20 */ blr .global __ct__13CEnvFxManagerFv __ct__13CEnvFxManagerFv: /* 80213298 002101F8 94 21 FE F0 */ stwu r1, -0x110(r1) /* 8021329C 002101FC 7C 08 02 A6 */ mflr r0 /* 802132A0 00210200 90 01 01 14 */ stw r0, 0x114(r1) /* 802132A4 00210204 DB E1 01 00 */ stfd f31, 0x100(r1) /* 802132A8 00210208 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 802132AC 0021020C BF 21 00 E4 */ stmw r25, 0xe4(r1) /* 802132B0 00210210 C0 22 B2 F8 */ lfs f1, lbl_805AD018@sda21(r2) /* 802132B4 00210214 7C 7A 1B 78 */ mr r26, r3 /* 802132B8 00210218 C0 02 B2 FC */ lfs f0, lbl_805AD01C@sda21(r2) /* 802132BC 0021021C 38 81 00 A8 */ addi r4, r1, 0xa8 /* 802132C0 00210220 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 802132C4 00210224 38 A1 00 9C */ addi r5, r1, 0x9c /* 802132C8 00210228 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 802132CC 0021022C D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 802132D0 00210230 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 802132D4 00210234 D0 01 00 AC */ stfs f0, 0xac(r1) /* 802132D8 00210238 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 802132DC 0021023C 48 12 52 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 802132E0 00210240 3C 80 80 5A */ lis r4, skZero3f@ha /* 802132E4 00210244 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802132E8 00210248 38 E4 66 A0 */ addi r7, r4, skZero3f@l /* 802132EC 0021024C 38 C0 00 00 */ li r6, 0 /* 802132F0 00210250 C0 27 00 00 */ lfs f1, 0(r7) /* 802132F4 00210254 38 83 28 18 */ addi r4, r3, lbl_803D2818@l /* 802132F8 00210258 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 802132FC 0021025C 38 00 FF FF */ li r0, -1 /* 80213300 00210260 D0 3A 00 18 */ stfs f1, 0x18(r26) /* 80213304 00210264 38 61 00 54 */ addi r3, r1, 0x54 /* 80213308 00210268 38 A4 00 29 */ addi r5, r4, 0x29 /* 8021330C 0021026C C0 27 00 04 */ lfs f1, 4(r7) /* 80213310 00210270 D0 3A 00 1C */ stfs f1, 0x1c(r26) /* 80213314 00210274 C0 27 00 08 */ lfs f1, 8(r7) /* 80213318 00210278 D0 3A 00 20 */ stfs f1, 0x20(r26) /* 8021331C 0021027C 98 DA 00 24 */ stb r6, 0x24(r26) /* 80213320 00210280 D0 1A 00 28 */ stfs f0, 0x28(r26) /* 80213324 00210284 90 1A 00 2C */ stw r0, 0x2c(r26) /* 80213328 00210288 D0 1A 00 30 */ stfs f0, 0x30(r26) /* 8021332C 0021028C D0 1A 00 34 */ stfs f0, 0x34(r26) /* 80213330 00210290 D0 1A 00 38 */ stfs f0, 0x38(r26) /* 80213334 00210294 98 DA 00 3C */ stb r6, 0x3c(r26) /* 80213338 00210298 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021333C 0021029C 81 84 00 00 */ lwz r12, 0(r4) /* 80213340 002102A0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80213344 002102A4 7D 89 03 A6 */ mtctr r12 /* 80213348 002102A8 4E 80 04 21 */ bctrl /* 8021334C 002102AC 3B 21 00 90 */ addi r25, r1, 0x90 /* 80213350 002102B0 38 81 00 54 */ addi r4, r1, 0x54 /* 80213354 002102B4 7F 23 CB 78 */ mr r3, r25 /* 80213358 002102B8 48 12 DB 51 */ bl __ct__6CTokenFRC6CToken /* 8021335C 002102BC 7F 23 CB 78 */ mr r3, r25 /* 80213360 002102C0 48 12 DA AD */ bl GetObj__6CTokenFv /* 80213364 002102C4 80 63 00 04 */ lwz r3, 4(r3) /* 80213368 002102C8 37 3A 00 40 */ addic. r25, r26, 0x40 /* 8021336C 002102CC 38 00 00 01 */ li r0, 1 /* 80213370 002102D0 90 61 00 98 */ stw r3, 0x98(r1) /* 80213374 002102D4 98 1A 00 4C */ stb r0, 0x4c(r26) /* 80213378 002102D8 41 82 00 20 */ beq lbl_80213398 /* 8021337C 002102DC 7F 23 CB 78 */ mr r3, r25 /* 80213380 002102E0 38 81 00 90 */ addi r4, r1, 0x90 /* 80213384 002102E4 48 12 DB 25 */ bl __ct__6CTokenFRC6CToken /* 80213388 002102E8 80 01 00 98 */ lwz r0, 0x98(r1) /* 8021338C 002102EC 7F 23 CB 78 */ mr r3, r25 /* 80213390 002102F0 90 19 00 08 */ stw r0, 8(r25) /* 80213394 002102F4 48 12 D9 F1 */ bl Lock__6CTokenFv lbl_80213398: /* 80213398 002102F8 38 61 00 90 */ addi r3, r1, 0x90 /* 8021339C 002102FC 38 80 00 00 */ li r4, 0 /* 802133A0 00210300 48 12 DA A1 */ bl __dt__6CTokenFv /* 802133A4 00210304 38 61 00 54 */ addi r3, r1, 0x54 /* 802133A8 00210308 38 80 FF FF */ li r4, -1 /* 802133AC 0021030C 48 12 DA 95 */ bl __dt__6CTokenFv /* 802133B0 00210310 38 00 00 00 */ li r0, 0 /* 802133B4 00210314 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802133B8 00210318 90 1A 00 50 */ stw r0, 0x50(r26) /* 802133BC 0021031C 38 A3 28 18 */ addi r5, r3, lbl_803D2818@l /* 802133C0 00210320 38 61 00 4C */ addi r3, r1, 0x4c /* 802133C4 00210324 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 802133C8 00210328 38 A5 00 3A */ addi r5, r5, 0x3a /* 802133CC 0021032C 81 84 00 00 */ lwz r12, 0(r4) /* 802133D0 00210330 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802133D4 00210334 7D 89 03 A6 */ mtctr r12 /* 802133D8 00210338 4E 80 04 21 */ bctrl /* 802133DC 0021033C 3B 21 00 84 */ addi r25, r1, 0x84 /* 802133E0 00210340 38 81 00 4C */ addi r4, r1, 0x4c /* 802133E4 00210344 7F 23 CB 78 */ mr r3, r25 /* 802133E8 00210348 48 12 DA C1 */ bl __ct__6CTokenFRC6CToken /* 802133EC 0021034C 7F 23 CB 78 */ mr r3, r25 /* 802133F0 00210350 48 12 DA 1D */ bl GetObj__6CTokenFv /* 802133F4 00210354 80 63 00 04 */ lwz r3, 4(r3) /* 802133F8 00210358 37 3A 0B 58 */ addic. r25, r26, 0xb58 /* 802133FC 0021035C 38 00 00 01 */ li r0, 1 /* 80213400 00210360 90 61 00 8C */ stw r3, 0x8c(r1) /* 80213404 00210364 98 1A 0B 64 */ stb r0, 0xb64(r26) /* 80213408 00210368 41 82 00 20 */ beq lbl_80213428 /* 8021340C 0021036C 7F 23 CB 78 */ mr r3, r25 /* 80213410 00210370 38 81 00 84 */ addi r4, r1, 0x84 /* 80213414 00210374 48 12 DA 95 */ bl __ct__6CTokenFRC6CToken /* 80213418 00210378 80 01 00 8C */ lwz r0, 0x8c(r1) /* 8021341C 0021037C 7F 23 CB 78 */ mr r3, r25 /* 80213420 00210380 90 19 00 08 */ stw r0, 8(r25) /* 80213424 00210384 48 12 D9 61 */ bl Lock__6CTokenFv lbl_80213428: /* 80213428 00210388 38 61 00 84 */ addi r3, r1, 0x84 /* 8021342C 0021038C 38 80 00 00 */ li r4, 0 /* 80213430 00210390 48 12 DA 11 */ bl __dt__6CTokenFv /* 80213434 00210394 38 61 00 4C */ addi r3, r1, 0x4c /* 80213438 00210398 38 80 FF FF */ li r4, -1 /* 8021343C 0021039C 48 12 DA 05 */ bl __dt__6CTokenFv /* 80213440 002103A0 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) /* 80213444 002103A4 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 80213448 002103A8 38 83 28 18 */ addi r4, r3, lbl_803D2818@l /* 8021344C 002103AC 38 00 00 00 */ li r0, 0 /* 80213450 002103B0 B0 BA 0B 68 */ sth r5, 0xb68(r26) /* 80213454 002103B4 38 61 00 44 */ addi r3, r1, 0x44 /* 80213458 002103B8 38 A4 00 4D */ addi r5, r4, 0x4d /* 8021345C 002103BC 98 1A 0B 6A */ stb r0, 0xb6a(r26) /* 80213460 002103C0 90 1A 0B 6C */ stw r0, 0xb6c(r26) /* 80213464 002103C4 90 1A 0B 70 */ stw r0, 0xb70(r26) /* 80213468 002103C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021346C 002103CC 81 84 00 00 */ lwz r12, 0(r4) /* 80213470 002103D0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80213474 002103D4 7D 89 03 A6 */ mtctr r12 /* 80213478 002103D8 4E 80 04 21 */ bctrl /* 8021347C 002103DC 3B 21 00 78 */ addi r25, r1, 0x78 /* 80213480 002103E0 38 81 00 44 */ addi r4, r1, 0x44 /* 80213484 002103E4 7F 23 CB 78 */ mr r3, r25 /* 80213488 002103E8 48 12 DA 21 */ bl __ct__6CTokenFRC6CToken /* 8021348C 002103EC 7F 23 CB 78 */ mr r3, r25 /* 80213490 002103F0 48 12 D9 7D */ bl GetObj__6CTokenFv /* 80213494 002103F4 80 63 00 04 */ lwz r3, 4(r3) /* 80213498 002103F8 37 3A 0B 74 */ addic. r25, r26, 0xb74 /* 8021349C 002103FC 38 00 00 01 */ li r0, 1 /* 802134A0 00210400 90 61 00 80 */ stw r3, 0x80(r1) /* 802134A4 00210404 98 1A 0B 80 */ stb r0, 0xb80(r26) /* 802134A8 00210408 41 82 00 20 */ beq lbl_802134C8 /* 802134AC 0021040C 7F 23 CB 78 */ mr r3, r25 /* 802134B0 00210410 38 81 00 78 */ addi r4, r1, 0x78 /* 802134B4 00210414 48 12 D9 F5 */ bl __ct__6CTokenFRC6CToken /* 802134B8 00210418 80 01 00 80 */ lwz r0, 0x80(r1) /* 802134BC 0021041C 7F 23 CB 78 */ mr r3, r25 /* 802134C0 00210420 90 19 00 08 */ stw r0, 8(r25) /* 802134C4 00210424 48 12 D8 C1 */ bl Lock__6CTokenFv lbl_802134C8: /* 802134C8 00210428 38 61 00 78 */ addi r3, r1, 0x78 /* 802134CC 0021042C 38 80 00 00 */ li r4, 0 /* 802134D0 00210430 48 12 D9 71 */ bl __dt__6CTokenFv /* 802134D4 00210434 38 61 00 44 */ addi r3, r1, 0x44 /* 802134D8 00210438 38 80 FF FF */ li r4, -1 /* 802134DC 0021043C 48 12 D9 65 */ bl __dt__6CTokenFv /* 802134E0 00210440 38 00 00 00 */ li r0, 0 /* 802134E4 00210444 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802134E8 00210448 90 1A 0B 84 */ stw r0, 0xb84(r26) /* 802134EC 0021044C 38 A3 28 18 */ addi r5, r3, lbl_803D2818@l /* 802134F0 00210450 38 61 00 3C */ addi r3, r1, 0x3c /* 802134F4 00210454 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 802134F8 00210458 38 A5 00 5C */ addi r5, r5, 0x5c /* 802134FC 0021045C 81 84 00 00 */ lwz r12, 0(r4) /* 80213500 00210460 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80213504 00210464 7D 89 03 A6 */ mtctr r12 /* 80213508 00210468 4E 80 04 21 */ bctrl /* 8021350C 0021046C 3B 21 00 6C */ addi r25, r1, 0x6c /* 80213510 00210470 38 81 00 3C */ addi r4, r1, 0x3c /* 80213514 00210474 7F 23 CB 78 */ mr r3, r25 /* 80213518 00210478 48 12 D9 91 */ bl __ct__6CTokenFRC6CToken /* 8021351C 0021047C 7F 23 CB 78 */ mr r3, r25 /* 80213520 00210480 48 12 D8 ED */ bl GetObj__6CTokenFv /* 80213524 00210484 80 63 00 04 */ lwz r3, 4(r3) /* 80213528 00210488 37 3A 0C 48 */ addic. r25, r26, 0xc48 /* 8021352C 0021048C 38 00 00 01 */ li r0, 1 /* 80213530 00210490 90 61 00 74 */ stw r3, 0x74(r1) /* 80213534 00210494 98 1A 0C 54 */ stb r0, 0xc54(r26) /* 80213538 00210498 41 82 00 20 */ beq lbl_80213558 /* 8021353C 0021049C 7F 23 CB 78 */ mr r3, r25 /* 80213540 002104A0 38 81 00 6C */ addi r4, r1, 0x6c /* 80213544 002104A4 48 12 D9 65 */ bl __ct__6CTokenFRC6CToken /* 80213548 002104A8 80 01 00 74 */ lwz r0, 0x74(r1) /* 8021354C 002104AC 7F 23 CB 78 */ mr r3, r25 /* 80213550 002104B0 90 19 00 08 */ stw r0, 8(r25) /* 80213554 002104B4 48 12 D8 31 */ bl Lock__6CTokenFv lbl_80213558: /* 80213558 002104B8 38 61 00 6C */ addi r3, r1, 0x6c /* 8021355C 002104BC 38 80 00 00 */ li r4, 0 /* 80213560 002104C0 48 12 D8 E1 */ bl __dt__6CTokenFv /* 80213564 002104C4 38 61 00 3C */ addi r3, r1, 0x3c /* 80213568 002104C8 38 80 FF FF */ li r4, -1 /* 8021356C 002104CC 48 12 D8 D5 */ bl __dt__6CTokenFv /* 80213570 002104D0 38 61 00 28 */ addi r3, r1, 0x28 /* 80213574 002104D4 38 80 00 00 */ li r4, 0 /* 80213578 002104D8 48 0F F0 75 */ bl __ct__9CRandom16FUi /* 8021357C 002104DC 3B A1 00 D0 */ addi r29, r1, 0xd0 /* 80213580 002104E0 3B 80 00 00 */ li r28, 0 /* 80213584 002104E4 3B C0 00 00 */ li r30, 0 lbl_80213588: /* 80213588 002104E8 3B 60 00 00 */ li r27, 0 /* 8021358C 002104EC 3B E0 00 00 */ li r31, 0 lbl_80213590: /* 80213590 002104F0 38 00 00 00 */ li r0, 0 /* 80213594 002104F4 38 61 00 2C */ addi r3, r1, 0x2c /* 80213598 002104F8 90 01 00 60 */ stw r0, 0x60(r1) /* 8021359C 002104FC 38 80 08 00 */ li r4, 0x800 /* 802135A0 00210500 38 A0 08 00 */ li r5, 0x800 /* 802135A4 00210504 90 01 00 64 */ stw r0, 0x64(r1) /* 802135A8 00210508 90 01 00 68 */ stw r0, 0x68(r1) /* 802135AC 0021050C 48 10 0D A1 */ bl __ct__9CVector2iFii /* 802135B0 00210510 7C 79 1B 78 */ mr r25, r3 /* 802135B4 00210514 7F E4 FB 78 */ mr r4, r31 /* 802135B8 00210518 7F C5 F3 78 */ mr r5, r30 /* 802135BC 0021051C 38 61 00 34 */ addi r3, r1, 0x34 /* 802135C0 00210520 48 10 0D 8D */ bl __ct__9CVector2iFii /* 802135C4 00210524 7C 64 1B 78 */ mr r4, r3 /* 802135C8 00210528 7F 25 CB 78 */ mr r5, r25 /* 802135CC 0021052C 38 61 00 B4 */ addi r3, r1, 0xb4 /* 802135D0 00210530 38 C1 00 5C */ addi r6, r1, 0x5c /* 802135D4 00210534 38 E0 00 AB */ li r7, 0xab /* 802135D8 00210538 48 00 02 B5 */ bl "__ct__17CEnvFxManagerGridFRC9CVector2iRC9CVector2iRCQ24rstl52vector<15CVectorFixed8_8,Q24rstl17rmemory_allocator>i" /* 802135DC 0021053C 38 7A 00 50 */ addi r3, r26, 0x50 /* 802135E0 00210540 38 81 00 B4 */ addi r4, r1, 0xb4 /* 802135E4 00210544 48 00 01 1D */ bl sub_80213700 /* 802135E8 00210548 28 1D 00 00 */ cmplwi r29, 0 /* 802135EC 0021054C 41 82 00 44 */ beq lbl_80213630 /* 802135F0 00210550 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 802135F4 00210554 80 61 00 DC */ lwz r3, 0xdc(r1) /* 802135F8 00210558 1C 00 00 06 */ mulli r0, r0, 6 /* 802135FC 0021055C 90 61 00 0C */ stw r3, 0xc(r1) /* 80213600 00210560 7C 64 1B 78 */ mr r4, r3 /* 80213604 00210564 7C 03 02 14 */ add r0, r3, r0 /* 80213608 00210568 90 61 00 08 */ stw r3, 8(r1) /* 8021360C 0021056C 90 01 00 14 */ stw r0, 0x14(r1) /* 80213610 00210570 90 01 00 10 */ stw r0, 0x10(r1) /* 80213614 00210574 48 00 00 08 */ b lbl_8021361C lbl_80213618: /* 80213618 00210578 38 84 00 06 */ addi r4, r4, 6 lbl_8021361C: /* 8021361C 0021057C 7C 04 00 40 */ cmplw r4, r0 /* 80213620 00210580 40 82 FF F8 */ bne lbl_80213618 /* 80213624 00210584 28 03 00 00 */ cmplwi r3, 0 /* 80213628 00210588 41 82 00 08 */ beq lbl_80213630 /* 8021362C 0021058C 48 10 23 05 */ bl Free__7CMemoryFPCv lbl_80213630: /* 80213630 00210590 80 01 00 60 */ lwz r0, 0x60(r1) /* 80213634 00210594 80 61 00 68 */ lwz r3, 0x68(r1) /* 80213638 00210598 1C 00 00 06 */ mulli r0, r0, 6 /* 8021363C 0021059C 90 61 00 1C */ stw r3, 0x1c(r1) /* 80213640 002105A0 7C 64 1B 78 */ mr r4, r3 /* 80213644 002105A4 7C 03 02 14 */ add r0, r3, r0 /* 80213648 002105A8 90 61 00 18 */ stw r3, 0x18(r1) /* 8021364C 002105AC 90 01 00 24 */ stw r0, 0x24(r1) /* 80213650 002105B0 90 01 00 20 */ stw r0, 0x20(r1) /* 80213654 002105B4 48 00 00 08 */ b lbl_8021365C lbl_80213658: /* 80213658 002105B8 38 84 00 06 */ addi r4, r4, 6 lbl_8021365C: /* 8021365C 002105BC 7C 04 00 40 */ cmplw r4, r0 /* 80213660 002105C0 40 82 FF F8 */ bne lbl_80213658 /* 80213664 002105C4 28 03 00 00 */ cmplwi r3, 0 /* 80213668 002105C8 41 82 00 08 */ beq lbl_80213670 /* 8021366C 002105CC 48 10 22 C5 */ bl Free__7CMemoryFPCv lbl_80213670: /* 80213670 002105D0 3B 7B 00 01 */ addi r27, r27, 1 /* 80213674 002105D4 3B FF 08 00 */ addi r31, r31, 0x800 /* 80213678 002105D8 2C 1B 00 08 */ cmpwi r27, 8 /* 8021367C 002105DC 41 80 FF 14 */ blt lbl_80213590 /* 80213680 002105E0 3B 9C 00 01 */ addi r28, r28, 1 /* 80213684 002105E4 3B DE 08 00 */ addi r30, r30, 0x800 /* 80213688 002105E8 2C 1C 00 08 */ cmpwi r28, 8 /* 8021368C 002105EC 41 80 FE FC */ blt lbl_80213588 /* 80213690 002105F0 C3 E2 B2 78 */ lfs f31, lbl_805ACF98@sda21(r2) /* 80213694 002105F4 3B 3A 0B 84 */ addi r25, r26, 0xb84 /* 80213698 002105F8 3B 60 00 0F */ li r27, 0xf lbl_8021369C: /* 8021369C 002105FC C0 22 B3 00 */ lfs f1, lbl_805AD020@sda21(r2) /* 802136A0 00210600 38 61 00 28 */ addi r3, r1, 0x28 /* 802136A4 00210604 C0 42 B3 04 */ lfs f2, lbl_805AD024@sda21(r2) /* 802136A8 00210608 48 0F EE 9D */ bl Range__9CRandom16Fff /* 802136AC 0021060C 80 19 00 00 */ lwz r0, 0(r25) /* 802136B0 00210610 1C 00 00 0C */ mulli r0, r0, 0xc /* 802136B4 00210614 7C 79 02 14 */ add r3, r25, r0 /* 802136B8 00210618 34 63 00 04 */ addic. r3, r3, 4 /* 802136BC 0021061C 41 82 00 10 */ beq lbl_802136CC /* 802136C0 00210620 D3 E3 00 00 */ stfs f31, 0(r3) /* 802136C4 00210624 D3 E3 00 04 */ stfs f31, 4(r3) /* 802136C8 00210628 D0 23 00 08 */ stfs f1, 8(r3) lbl_802136CC: /* 802136CC 0021062C 80 7A 0B 84 */ lwz r3, 0xb84(r26) /* 802136D0 00210630 37 7B FF FF */ addic. r27, r27, -1 /* 802136D4 00210634 38 03 00 01 */ addi r0, r3, 1 /* 802136D8 00210638 90 1A 0B 84 */ stw r0, 0xb84(r26) /* 802136DC 0021063C 40 80 FF C0 */ bge lbl_8021369C /* 802136E0 00210640 7F 43 D3 78 */ mr r3, r26 /* 802136E4 00210644 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 802136E8 00210648 CB E1 01 00 */ lfd f31, 0x100(r1) /* 802136EC 0021064C BB 21 00 E4 */ lmw r25, 0xe4(r1) /* 802136F0 00210650 80 01 01 14 */ lwz r0, 0x114(r1) /* 802136F4 00210654 7C 08 03 A6 */ mtlr r0 /* 802136F8 00210658 38 21 01 10 */ addi r1, r1, 0x110 /* 802136FC 0021065C 4E 80 00 20 */ blr .global sub_80213700 sub_80213700: /* 80213700 00210660 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80213704 00210664 7C 08 02 A6 */ mflr r0 /* 80213708 00210668 90 01 00 14 */ stw r0, 0x14(r1) /* 8021370C 0021066C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80213710 00210670 7C 7F 1B 78 */ mr r31, r3 /* 80213714 00210674 80 03 00 00 */ lwz r0, 0(r3) /* 80213718 00210678 1C 00 00 2C */ mulli r0, r0, 0x2c /* 8021371C 0021067C 7C 7F 02 14 */ add r3, r31, r0 /* 80213720 00210680 38 63 00 04 */ addi r3, r3, 4 /* 80213724 00210684 48 00 00 25 */ bl sub_80213748 /* 80213728 00210688 80 7F 00 00 */ lwz r3, 0(r31) /* 8021372C 0021068C 38 03 00 01 */ addi r0, r3, 1 /* 80213730 00210690 90 1F 00 00 */ stw r0, 0(r31) /* 80213734 00210694 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80213738 00210698 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021373C 0021069C 7C 08 03 A6 */ mtlr r0 /* 80213740 002106A0 38 21 00 10 */ addi r1, r1, 0x10 /* 80213744 002106A4 4E 80 00 20 */ blr .global sub_80213748 sub_80213748: /* 80213748 002106A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021374C 002106AC 7C 08 02 A6 */ mflr r0 /* 80213750 002106B0 28 03 00 00 */ cmplwi r3, 0 /* 80213754 002106B4 90 01 00 14 */ stw r0, 0x14(r1) /* 80213758 002106B8 41 82 00 08 */ beq lbl_80213760 /* 8021375C 002106BC 48 00 00 15 */ bl sub_80213770 lbl_80213760: /* 80213760 002106C0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80213764 002106C4 7C 08 03 A6 */ mtlr r0 /* 80213768 002106C8 38 21 00 10 */ addi r1, r1, 0x10 /* 8021376C 002106CC 4E 80 00 20 */ blr .global sub_80213770 sub_80213770: /* 80213770 002106D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80213774 002106D4 7C 08 02 A6 */ mflr r0 /* 80213778 002106D8 90 01 00 14 */ stw r0, 0x14(r1) /* 8021377C 002106DC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80213780 002106E0 7C 7F 1B 78 */ mr r31, r3 /* 80213784 002106E4 93 C1 00 08 */ stw r30, 8(r1) /* 80213788 002106E8 7C 9E 23 78 */ mr r30, r4 /* 8021378C 002106EC 88 04 00 00 */ lbz r0, 0(r4) /* 80213790 002106F0 98 03 00 00 */ stb r0, 0(r3) /* 80213794 002106F4 80 04 00 04 */ lwz r0, 4(r4) /* 80213798 002106F8 90 03 00 04 */ stw r0, 4(r3) /* 8021379C 002106FC 80 04 00 08 */ lwz r0, 8(r4) /* 802137A0 00210700 90 03 00 08 */ stw r0, 8(r3) /* 802137A4 00210704 80 04 00 0C */ lwz r0, 0xc(r4) /* 802137A8 00210708 90 03 00 0C */ stw r0, 0xc(r3) /* 802137AC 0021070C 80 04 00 10 */ lwz r0, 0x10(r4) /* 802137B0 00210710 90 03 00 10 */ stw r0, 0x10(r3) /* 802137B4 00210714 88 04 00 14 */ lbz r0, 0x14(r4) /* 802137B8 00210718 98 03 00 14 */ stb r0, 0x14(r3) /* 802137BC 0021071C C0 04 00 18 */ lfs f0, 0x18(r4) /* 802137C0 00210720 D0 03 00 18 */ stfs f0, 0x18(r3) /* 802137C4 00210724 80 04 00 20 */ lwz r0, 0x20(r4) /* 802137C8 00210728 90 03 00 20 */ stw r0, 0x20(r3) /* 802137CC 0021072C 80 04 00 24 */ lwz r0, 0x24(r4) /* 802137D0 00210730 90 03 00 24 */ stw r0, 0x24(r3) /* 802137D4 00210734 80 04 00 20 */ lwz r0, 0x20(r4) /* 802137D8 00210738 2C 00 00 00 */ cmpwi r0, 0 /* 802137DC 0021073C 40 82 00 1C */ bne lbl_802137F8 /* 802137E0 00210740 80 1E 00 24 */ lwz r0, 0x24(r30) /* 802137E4 00210744 2C 00 00 00 */ cmpwi r0, 0 /* 802137E8 00210748 40 82 00 10 */ bne lbl_802137F8 /* 802137EC 0021074C 38 00 00 00 */ li r0, 0 /* 802137F0 00210750 90 1F 00 28 */ stw r0, 0x28(r31) /* 802137F4 00210754 48 00 00 7C */ b lbl_80213870 lbl_802137F8: /* 802137F8 00210758 80 1F 00 24 */ lwz r0, 0x24(r31) /* 802137FC 0021075C 1C 60 00 06 */ mulli r3, r0, 6 /* 80213800 00210760 2C 03 00 00 */ cmpwi r3, 0 /* 80213804 00210764 40 82 00 10 */ bne lbl_80213814 /* 80213808 00210768 38 00 00 00 */ li r0, 0 /* 8021380C 0021076C 90 1F 00 28 */ stw r0, 0x28(r31) /* 80213810 00210770 48 00 00 1C */ b lbl_8021382C lbl_80213814: /* 80213814 00210774 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 80213818 00210778 38 A0 00 00 */ li r5, 0 /* 8021381C 0021077C 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 80213820 00210780 38 84 00 10 */ addi r4, r4, 0x10 /* 80213824 00210784 48 10 1F F5 */ bl __nwa__FUlPCcPCc /* 80213828 00210788 90 7F 00 28 */ stw r3, 0x28(r31) lbl_8021382C: /* 8021382C 0021078C 80 1F 00 20 */ lwz r0, 0x20(r31) /* 80213830 00210790 80 9E 00 28 */ lwz r4, 0x28(r30) /* 80213834 00210794 80 7F 00 28 */ lwz r3, 0x28(r31) /* 80213838 00210798 7C 09 03 A6 */ mtctr r0 /* 8021383C 0021079C 2C 00 00 00 */ cmpwi r0, 0 /* 80213840 002107A0 40 81 00 30 */ ble lbl_80213870 lbl_80213844: /* 80213844 002107A4 28 03 00 00 */ cmplwi r3, 0 /* 80213848 002107A8 41 82 00 1C */ beq lbl_80213864 /* 8021384C 002107AC A8 04 00 00 */ lha r0, 0(r4) /* 80213850 002107B0 B0 03 00 00 */ sth r0, 0(r3) /* 80213854 002107B4 A8 04 00 02 */ lha r0, 2(r4) /* 80213858 002107B8 B0 03 00 02 */ sth r0, 2(r3) /* 8021385C 002107BC A8 04 00 04 */ lha r0, 4(r4) /* 80213860 002107C0 B0 03 00 04 */ sth r0, 4(r3) lbl_80213864: /* 80213864 002107C4 38 63 00 06 */ addi r3, r3, 6 /* 80213868 002107C8 38 84 00 06 */ addi r4, r4, 6 /* 8021386C 002107CC 42 00 FF D8 */ bdnz lbl_80213844 lbl_80213870: /* 80213870 002107D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80213874 002107D4 7F E3 FB 78 */ mr r3, r31 /* 80213878 002107D8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8021387C 002107DC 83 C1 00 08 */ lwz r30, 8(r1) /* 80213880 002107E0 7C 08 03 A6 */ mtlr r0 /* 80213884 002107E4 38 21 00 10 */ addi r1, r1, 0x10 /* 80213888 002107E8 4E 80 00 20 */ blr .global "__ct__17CEnvFxManagerGridFRC9CVector2iRC9CVector2iRCQ24rstl52vector<15CVectorFixed8_8,Q24rstl17rmemory_allocator>i" "__ct__17CEnvFxManagerGridFRC9CVector2iRC9CVector2iRCQ24rstl52vector<15CVectorFixed8_8,Q24rstl17rmemory_allocator>i": /* 8021388C 002107EC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80213890 002107F0 7C 08 02 A6 */ mflr r0 /* 80213894 002107F4 C0 02 B3 08 */ lfs f0, lbl_805AD028@sda21(r2) /* 80213898 002107F8 90 01 00 24 */ stw r0, 0x24(r1) /* 8021389C 002107FC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802138A0 00210800 7C FF 3B 78 */ mr r31, r7 /* 802138A4 00210804 93 C1 00 18 */ stw r30, 0x18(r1) /* 802138A8 00210808 7C DE 33 78 */ mr r30, r6 /* 802138AC 0021080C 93 A1 00 14 */ stw r29, 0x14(r1) /* 802138B0 00210810 7C 7D 1B 78 */ mr r29, r3 /* 802138B4 00210814 38 60 00 01 */ li r3, 1 /* 802138B8 00210818 88 1D 00 00 */ lbz r0, 0(r29) /* 802138BC 0021081C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802138C0 00210820 98 1D 00 00 */ stb r0, 0(r29) /* 802138C4 00210824 80 04 00 00 */ lwz r0, 0(r4) /* 802138C8 00210828 90 1D 00 04 */ stw r0, 4(r29) /* 802138CC 0021082C 80 04 00 04 */ lwz r0, 4(r4) /* 802138D0 00210830 90 1D 00 08 */ stw r0, 8(r29) /* 802138D4 00210834 80 05 00 00 */ lwz r0, 0(r5) /* 802138D8 00210838 90 1D 00 0C */ stw r0, 0xc(r29) /* 802138DC 0021083C 80 05 00 04 */ lwz r0, 4(r5) /* 802138E0 00210840 90 1D 00 10 */ stw r0, 0x10(r29) /* 802138E4 00210844 88 0D 94 B8 */ lbz r0, lbl_805A8078@sda21(r13) /* 802138E8 00210848 98 1D 00 14 */ stb r0, 0x14(r29) /* 802138EC 0021084C D0 1D 00 18 */ stfs f0, 0x18(r29) /* 802138F0 00210850 80 06 00 04 */ lwz r0, 4(r6) /* 802138F4 00210854 90 1D 00 20 */ stw r0, 0x20(r29) /* 802138F8 00210858 80 06 00 08 */ lwz r0, 8(r6) /* 802138FC 0021085C 90 1D 00 24 */ stw r0, 0x24(r29) /* 80213900 00210860 80 06 00 04 */ lwz r0, 4(r6) /* 80213904 00210864 2C 00 00 00 */ cmpwi r0, 0 /* 80213908 00210868 40 82 00 1C */ bne lbl_80213924 /* 8021390C 0021086C 80 1E 00 08 */ lwz r0, 8(r30) /* 80213910 00210870 2C 00 00 00 */ cmpwi r0, 0 /* 80213914 00210874 40 82 00 10 */ bne lbl_80213924 /* 80213918 00210878 38 00 00 00 */ li r0, 0 /* 8021391C 0021087C 90 1D 00 28 */ stw r0, 0x28(r29) /* 80213920 00210880 48 00 00 7C */ b lbl_8021399C lbl_80213924: /* 80213924 00210884 80 1D 00 24 */ lwz r0, 0x24(r29) /* 80213928 00210888 1C 60 00 06 */ mulli r3, r0, 6 /* 8021392C 0021088C 2C 03 00 00 */ cmpwi r3, 0 /* 80213930 00210890 40 82 00 10 */ bne lbl_80213940 /* 80213934 00210894 38 00 00 00 */ li r0, 0 /* 80213938 00210898 90 1D 00 28 */ stw r0, 0x28(r29) /* 8021393C 0021089C 48 00 00 1C */ b lbl_80213958 lbl_80213940: /* 80213940 002108A0 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 80213944 002108A4 38 A0 00 00 */ li r5, 0 /* 80213948 002108A8 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 8021394C 002108AC 38 84 00 10 */ addi r4, r4, 0x10 /* 80213950 002108B0 48 10 1E C9 */ bl __nwa__FUlPCcPCc /* 80213954 002108B4 90 7D 00 28 */ stw r3, 0x28(r29) lbl_80213958: /* 80213958 002108B8 80 1D 00 20 */ lwz r0, 0x20(r29) /* 8021395C 002108BC 80 9E 00 0C */ lwz r4, 0xc(r30) /* 80213960 002108C0 80 7D 00 28 */ lwz r3, 0x28(r29) /* 80213964 002108C4 7C 09 03 A6 */ mtctr r0 /* 80213968 002108C8 2C 00 00 00 */ cmpwi r0, 0 /* 8021396C 002108CC 40 81 00 30 */ ble lbl_8021399C lbl_80213970: /* 80213970 002108D0 28 03 00 00 */ cmplwi r3, 0 /* 80213974 002108D4 41 82 00 1C */ beq lbl_80213990 /* 80213978 002108D8 A8 04 00 00 */ lha r0, 0(r4) /* 8021397C 002108DC B0 03 00 00 */ sth r0, 0(r3) /* 80213980 002108E0 A8 04 00 02 */ lha r0, 2(r4) /* 80213984 002108E4 B0 03 00 02 */ sth r0, 2(r3) /* 80213988 002108E8 A8 04 00 04 */ lha r0, 4(r4) /* 8021398C 002108EC B0 03 00 04 */ sth r0, 4(r3) lbl_80213990: /* 80213990 002108F0 38 63 00 06 */ addi r3, r3, 6 /* 80213994 002108F4 38 84 00 06 */ addi r4, r4, 6 /* 80213998 002108F8 42 00 FF D8 */ bdnz lbl_80213970 lbl_8021399C: /* 8021399C 002108FC 7F E4 FB 78 */ mr r4, r31 /* 802139A0 00210900 38 7D 00 1C */ addi r3, r29, 0x1c /* 802139A4 00210904 48 00 00 25 */ bl sub_802139c8 /* 802139A8 00210908 80 01 00 24 */ lwz r0, 0x24(r1) /* 802139AC 0021090C 7F A3 EB 78 */ mr r3, r29 /* 802139B0 00210910 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802139B4 00210914 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802139B8 00210918 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802139BC 0021091C 7C 08 03 A6 */ mtlr r0 /* 802139C0 00210920 38 21 00 20 */ addi r1, r1, 0x20 /* 802139C4 00210924 4E 80 00 20 */ blr .global sub_802139c8 sub_802139c8: /* 802139C8 00210928 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802139CC 0021092C 7C 08 02 A6 */ mflr r0 /* 802139D0 00210930 90 01 00 34 */ stw r0, 0x34(r1) /* 802139D4 00210934 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802139D8 00210938 7C 9F 23 78 */ mr r31, r4 /* 802139DC 0021093C 93 C1 00 28 */ stw r30, 0x28(r1) /* 802139E0 00210940 7C 7E 1B 78 */ mr r30, r3 /* 802139E4 00210944 93 A1 00 24 */ stw r29, 0x24(r1) /* 802139E8 00210948 80 03 00 08 */ lwz r0, 8(r3) /* 802139EC 0021094C 7C 1F 00 00 */ cmpw r31, r0 /* 802139F0 00210950 40 81 00 C0 */ ble lbl_80213AB0 /* 802139F4 00210954 1C 7F 00 06 */ mulli r3, r31, 6 /* 802139F8 00210958 2C 03 00 00 */ cmpwi r3, 0 /* 802139FC 0021095C 40 82 00 0C */ bne lbl_80213A08 /* 80213A00 00210960 3B A0 00 00 */ li r29, 0 /* 80213A04 00210964 48 00 00 1C */ b lbl_80213A20 lbl_80213A08: /* 80213A08 00210968 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 80213A0C 0021096C 38 A0 00 00 */ li r5, 0 /* 80213A10 00210970 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 80213A14 00210974 38 84 00 10 */ addi r4, r4, 0x10 /* 80213A18 00210978 48 10 1E 01 */ bl __nwa__FUlPCcPCc /* 80213A1C 0021097C 7C 7D 1B 78 */ mr r29, r3 lbl_80213A20: /* 80213A20 00210980 80 1E 00 04 */ lwz r0, 4(r30) /* 80213A24 00210984 7F A4 EB 78 */ mr r4, r29 /* 80213A28 00210988 80 BE 00 0C */ lwz r5, 0xc(r30) /* 80213A2C 0021098C 1C 00 00 06 */ mulli r0, r0, 6 /* 80213A30 00210990 90 A1 00 10 */ stw r5, 0x10(r1) /* 80213A34 00210994 7C 65 02 14 */ add r3, r5, r0 /* 80213A38 00210998 90 A1 00 14 */ stw r5, 0x14(r1) /* 80213A3C 0021099C 90 61 00 08 */ stw r3, 8(r1) /* 80213A40 002109A0 90 61 00 0C */ stw r3, 0xc(r1) /* 80213A44 002109A4 48 00 00 2C */ b lbl_80213A70 lbl_80213A48: /* 80213A48 002109A8 28 04 00 00 */ cmplwi r4, 0 /* 80213A4C 002109AC 41 82 00 1C */ beq lbl_80213A68 /* 80213A50 002109B0 A8 05 00 00 */ lha r0, 0(r5) /* 80213A54 002109B4 B0 04 00 00 */ sth r0, 0(r4) /* 80213A58 002109B8 A8 05 00 02 */ lha r0, 2(r5) /* 80213A5C 002109BC B0 04 00 02 */ sth r0, 2(r4) /* 80213A60 002109C0 A8 05 00 04 */ lha r0, 4(r5) /* 80213A64 002109C4 B0 04 00 04 */ sth r0, 4(r4) lbl_80213A68: /* 80213A68 002109C8 38 84 00 06 */ addi r4, r4, 6 /* 80213A6C 002109CC 38 A5 00 06 */ addi r5, r5, 6 lbl_80213A70: /* 80213A70 002109D0 7C 05 18 40 */ cmplw r5, r3 /* 80213A74 002109D4 40 82 FF D4 */ bne lbl_80213A48 /* 80213A78 002109D8 80 1E 00 04 */ lwz r0, 4(r30) /* 80213A7C 002109DC 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80213A80 002109E0 1C 00 00 06 */ mulli r0, r0, 6 /* 80213A84 002109E4 7C 64 1B 78 */ mr r4, r3 /* 80213A88 002109E8 7C 03 02 14 */ add r0, r3, r0 /* 80213A8C 002109EC 48 00 00 08 */ b lbl_80213A94 lbl_80213A90: /* 80213A90 002109F0 38 84 00 06 */ addi r4, r4, 6 lbl_80213A94: /* 80213A94 002109F4 7C 04 00 40 */ cmplw r4, r0 /* 80213A98 002109F8 40 82 FF F8 */ bne lbl_80213A90 /* 80213A9C 002109FC 28 03 00 00 */ cmplwi r3, 0 /* 80213AA0 00210A00 41 82 00 08 */ beq lbl_80213AA8 /* 80213AA4 00210A04 48 10 1E 8D */ bl Free__7CMemoryFPCv lbl_80213AA8: /* 80213AA8 00210A08 93 BE 00 0C */ stw r29, 0xc(r30) /* 80213AAC 00210A0C 93 FE 00 08 */ stw r31, 8(r30) lbl_80213AB0: /* 80213AB0 00210A10 80 01 00 34 */ lwz r0, 0x34(r1) /* 80213AB4 00210A14 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80213AB8 00210A18 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80213ABC 00210A1C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80213AC0 00210A20 7C 08 03 A6 */ mtlr r0 /* 80213AC4 00210A24 38 21 00 30 */ addi r1, r1, 0x30 /* 80213AC8 00210A28 4E 80 00 20 */ blr