.include "macros.inc" .section .sdata .global lbl_805A8738 lbl_805A8738: # ROM: 0x3F60D8 .4byte 0 .global lbl_805A873C lbl_805A873C: # ROM: 0x3F60DC .float 1.0 .section .text, "ax" .global PickRandomAnimation__13CPASAnimStateCFR9CRandom16 PickRandomAnimation__13CPASAnimStateCFR9CRandom16: /* 802E30C0 002E0020 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802E30C4 002E0024 7C 08 02 A6 */ mflr r0 /* 802E30C8 002E0028 90 01 00 24 */ stw r0, 0x24(r1) /* 802E30CC 002E002C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802E30D0 002E0030 93 C1 00 18 */ stw r30, 0x18(r1) /* 802E30D4 002E0034 7C 7E 1B 78 */ mr r30, r3 /* 802E30D8 002E0038 83 E3 00 28 */ lwz r31, 0x28(r3) /* 802E30DC 002E003C 38 60 FF FF */ li r3, -1 /* 802E30E0 002E0040 2C 1F 00 01 */ cmpwi r31, 1 /* 802E30E4 002E0044 41 82 00 14 */ beq lbl_802E30F8 /* 802E30E8 002E0048 40 80 00 1C */ bge lbl_802E3104 /* 802E30EC 002E004C 2C 1F 00 00 */ cmpwi r31, 0 /* 802E30F0 002E0050 40 80 00 64 */ bge lbl_802E3154 /* 802E30F4 002E0054 48 00 00 10 */ b lbl_802E3104 lbl_802E30F8: /* 802E30F8 002E0058 80 7E 00 30 */ lwz r3, 0x30(r30) /* 802E30FC 002E005C 80 63 00 00 */ lwz r3, 0(r3) /* 802E3100 002E0060 48 00 00 54 */ b lbl_802E3154 lbl_802E3104: /* 802E3104 002E0064 7C 83 23 78 */ mr r3, r4 /* 802E3108 002E0068 48 02 F3 D5 */ bl Float__9CRandom16Fv /* 802E310C 002E006C 6F E3 80 00 */ xoris r3, r31, 0x8000 /* 802E3110 002E0070 3C 00 43 30 */ lis r0, 0x4330 /* 802E3114 002E0074 90 61 00 0C */ stw r3, 0xc(r1) /* 802E3118 002E0078 C8 42 C5 B8 */ lfd f2, lbl_805AE2D8@sda21(r2) /* 802E311C 002E007C 90 01 00 08 */ stw r0, 8(r1) /* 802E3120 002E0080 80 1E 00 28 */ lwz r0, 0x28(r30) /* 802E3124 002E0084 C8 01 00 08 */ lfd f0, 8(r1) /* 802E3128 002E0088 EC 00 10 28 */ fsubs f0, f0, f2 /* 802E312C 002E008C EC 01 00 32 */ fmuls f0, f1, f0 /* 802E3130 002E0090 FC 00 00 1E */ fctiwz f0, f0 /* 802E3134 002E0094 D8 01 00 10 */ stfd f0, 0x10(r1) /* 802E3138 002E0098 80 81 00 14 */ lwz r4, 0x14(r1) /* 802E313C 002E009C 7C 04 00 00 */ cmpw r4, r0 /* 802E3140 002E00A0 40 82 00 08 */ bne lbl_802E3148 /* 802E3144 002E00A4 38 84 FF FF */ addi r4, r4, -1 lbl_802E3148: /* 802E3148 002E00A8 80 7E 00 30 */ lwz r3, 0x30(r30) /* 802E314C 002E00AC 54 80 10 3A */ slwi r0, r4, 2 /* 802E3150 002E00B0 7C 63 00 2E */ lwzx r3, r3, r0 lbl_802E3154: /* 802E3154 002E00B4 80 01 00 24 */ lwz r0, 0x24(r1) /* 802E3158 002E00B8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802E315C 002E00BC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802E3160 002E00C0 7C 08 03 A6 */ mtlr r0 /* 802E3164 002E00C4 38 21 00 20 */ addi r1, r1, 0x20 /* 802E3168 002E00C8 4E 80 00 20 */ blr .global ComputeAngularPercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue ComputeAngularPercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue: /* 802E316C 002E00CC 94 21 FF A0 */ stwu r1, -0x60(r1) /* 802E3170 002E00D0 7C 08 02 A6 */ mflr r0 /* 802E3174 002E00D4 90 01 00 64 */ stw r0, 0x64(r1) /* 802E3178 002E00D8 DB E1 00 50 */ stfd f31, 0x50(r1) /* 802E317C 002E00DC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 802E3180 002E00E0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 802E3184 002E00E4 C3 E2 C5 C0 */ lfs f31, lbl_805AE2E0@sda21(r2) /* 802E3188 002E00E8 7C DF 33 78 */ mr r31, r6 /* 802E318C 002E00EC 80 05 00 04 */ lwz r0, 4(r5) /* 802E3190 002E00F0 FC 40 F8 90 */ fmr f2, f31 /* 802E3194 002E00F4 2C 00 00 02 */ cmpwi r0, 2 /* 802E3198 002E00F8 41 82 01 0C */ beq lbl_802E32A4 /* 802E319C 002E00FC 40 80 00 14 */ bge lbl_802E31B0 /* 802E31A0 002E0100 2C 00 00 00 */ cmpwi r0, 0 /* 802E31A4 002E0104 41 82 00 1C */ beq lbl_802E31C0 /* 802E31A8 002E0108 40 80 00 8C */ bge lbl_802E3234 /* 802E31AC 002E010C 48 00 01 DC */ b lbl_802E3388 lbl_802E31B0: /* 802E31B0 002E0110 2C 00 00 04 */ cmpwi r0, 4 /* 802E31B4 002E0114 41 82 01 60 */ beq lbl_802E3314 /* 802E31B8 002E0118 40 80 01 D0 */ bge lbl_802E3388 /* 802E31BC 002E011C 48 00 01 2C */ b lbl_802E32E8 lbl_802E31C0: /* 802E31C0 002E0120 1C 84 00 14 */ mulli r4, r4, 0x14 /* 802E31C4 002E0124 80 C3 00 10 */ lwz r6, 0x10(r3) /* 802E31C8 002E0128 3C 00 43 30 */ lis r0, 0x4330 /* 802E31CC 002E012C C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E31D0 002E0130 90 01 00 30 */ stw r0, 0x30(r1) /* 802E31D4 002E0134 7C A3 2B 78 */ mr r3, r5 /* 802E31D8 002E0138 7C 86 22 14 */ add r4, r6, r4 /* 802E31DC 002E013C 80 04 00 0C */ lwz r0, 0xc(r4) /* 802E31E0 002E0140 80 84 00 10 */ lwz r4, 0x10(r4) /* 802E31E4 002E0144 90 01 00 24 */ stw r0, 0x24(r1) /* 802E31E8 002E0148 7C 00 20 50 */ subf r0, r0, r4 /* 802E31EC 002E014C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E31F0 002E0150 90 81 00 28 */ stw r4, 0x28(r1) /* 802E31F4 002E0154 90 01 00 34 */ stw r0, 0x34(r1) /* 802E31F8 002E0158 C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E31FC 002E015C EF E0 08 28 */ fsubs f31, f0, f1 /* 802E3200 002E0160 4B FF FD 7D */ bl GetInt32Value__12CPASAnimParmCFv /* 802E3204 002E0164 80 9F 00 00 */ lwz r4, 0(r31) /* 802E3208 002E0168 3C 00 43 30 */ lis r0, 0x4330 /* 802E320C 002E016C 90 01 00 38 */ stw r0, 0x38(r1) /* 802E3210 002E0170 7C 04 18 50 */ subf r0, r4, r3 /* 802E3214 002E0174 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E3218 002E0178 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E321C 002E017C 90 01 00 3C */ stw r0, 0x3c(r1) /* 802E3220 002E0180 C8 01 00 38 */ lfd f0, 0x38(r1) /* 802E3224 002E0184 EC 00 08 28 */ fsubs f0, f0, f1 /* 802E3228 002E0188 FC 00 02 10 */ fabs f0, f0 /* 802E322C 002E018C FC 40 00 18 */ frsp f2, f0 /* 802E3230 002E0190 48 00 01 58 */ b lbl_802E3388 lbl_802E3234: /* 802E3234 002E0194 1C 84 00 14 */ mulli r4, r4, 0x14 /* 802E3238 002E0198 80 C3 00 10 */ lwz r6, 0x10(r3) /* 802E323C 002E019C 3C 00 43 30 */ lis r0, 0x4330 /* 802E3240 002E01A0 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) /* 802E3244 002E01A4 90 01 00 38 */ stw r0, 0x38(r1) /* 802E3248 002E01A8 7C A3 2B 78 */ mr r3, r5 /* 802E324C 002E01AC 7C 86 22 14 */ add r4, r6, r4 /* 802E3250 002E01B0 80 04 00 0C */ lwz r0, 0xc(r4) /* 802E3254 002E01B4 80 84 00 10 */ lwz r4, 0x10(r4) /* 802E3258 002E01B8 90 01 00 1C */ stw r0, 0x1c(r1) /* 802E325C 002E01BC 7C 00 20 50 */ subf r0, r0, r4 /* 802E3260 002E01C0 90 01 00 3C */ stw r0, 0x3c(r1) /* 802E3264 002E01C4 C8 01 00 38 */ lfd f0, 0x38(r1) /* 802E3268 002E01C8 90 81 00 20 */ stw r4, 0x20(r1) /* 802E326C 002E01CC EF E0 08 28 */ fsubs f31, f0, f1 /* 802E3270 002E01D0 4B FF FD 05 */ bl GetUint32Value__12CPASAnimParmCFv /* 802E3274 002E01D4 80 1F 00 00 */ lwz r0, 0(r31) /* 802E3278 002E01D8 7C 03 00 40 */ cmplw r3, r0 /* 802E327C 002E01DC 7C 83 00 50 */ subf r4, r3, r0 /* 802E3280 002E01E0 40 81 00 08 */ ble lbl_802E3288 /* 802E3284 002E01E4 7C 80 18 50 */ subf r4, r0, r3 lbl_802E3288: /* 802E3288 002E01E8 3C 00 43 30 */ lis r0, 0x4330 /* 802E328C 002E01EC 90 81 00 34 */ stw r4, 0x34(r1) /* 802E3290 002E01F0 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) /* 802E3294 002E01F4 90 01 00 30 */ stw r0, 0x30(r1) /* 802E3298 002E01F8 C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E329C 002E01FC EC 40 08 28 */ fsubs f2, f0, f1 /* 802E32A0 002E0200 48 00 00 E8 */ b lbl_802E3388 lbl_802E32A4: /* 802E32A4 002E0204 1C 04 00 14 */ mulli r0, r4, 0x14 /* 802E32A8 002E0208 80 83 00 10 */ lwz r4, 0x10(r3) /* 802E32AC 002E020C 7C A3 2B 78 */ mr r3, r5 /* 802E32B0 002E0210 7C A4 02 14 */ add r5, r4, r0 /* 802E32B4 002E0214 80 85 00 0C */ lwz r4, 0xc(r5) /* 802E32B8 002E0218 80 05 00 10 */ lwz r0, 0x10(r5) /* 802E32BC 002E021C 90 81 00 14 */ stw r4, 0x14(r1) /* 802E32C0 002E0220 90 01 00 18 */ stw r0, 0x18(r1) /* 802E32C4 002E0224 C0 01 00 14 */ lfs f0, 0x14(r1) /* 802E32C8 002E0228 C0 21 00 18 */ lfs f1, 0x18(r1) /* 802E32CC 002E022C EF E1 00 28 */ fsubs f31, f1, f0 /* 802E32D0 002E0230 4B FF FC 9D */ bl GetReal32Value__12CPASAnimParmCFv /* 802E32D4 002E0234 C0 1F 00 00 */ lfs f0, 0(r31) /* 802E32D8 002E0238 EC 01 00 28 */ fsubs f0, f1, f0 /* 802E32DC 002E023C FC 00 02 10 */ fabs f0, f0 /* 802E32E0 002E0240 FC 40 00 18 */ frsp f2, f0 /* 802E32E4 002E0244 48 00 00 A4 */ b lbl_802E3388 lbl_802E32E8: /* 802E32E8 002E0248 7C A3 2B 78 */ mr r3, r5 /* 802E32EC 002E024C 4B FF FC 79 */ bl GetBoolValue__12CPASAnimParmCFv /* 802E32F0 002E0250 88 1F 00 00 */ lbz r0, 0(r31) /* 802E32F4 002E0254 54 63 06 3E */ clrlwi r3, r3, 0x18 /* 802E32F8 002E0258 7C 00 18 40 */ cmplw r0, r3 /* 802E32FC 002E025C 40 82 00 0C */ bne lbl_802E3308 /* 802E3300 002E0260 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) /* 802E3304 002E0264 48 00 00 08 */ b lbl_802E330C lbl_802E3308: /* 802E3308 002E0268 C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) lbl_802E330C: /* 802E330C 002E026C FC 40 00 90 */ fmr f2, f0 /* 802E3310 002E0270 48 00 00 78 */ b lbl_802E3388 lbl_802E3314: /* 802E3314 002E0274 1C 84 00 14 */ mulli r4, r4, 0x14 /* 802E3318 002E0278 80 C3 00 10 */ lwz r6, 0x10(r3) /* 802E331C 002E027C 3C 00 43 30 */ lis r0, 0x4330 /* 802E3320 002E0280 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E3324 002E0284 90 01 00 38 */ stw r0, 0x38(r1) /* 802E3328 002E0288 7C A3 2B 78 */ mr r3, r5 /* 802E332C 002E028C 7C 86 22 14 */ add r4, r6, r4 /* 802E3330 002E0290 80 04 00 0C */ lwz r0, 0xc(r4) /* 802E3334 002E0294 80 A4 00 10 */ lwz r5, 0x10(r4) /* 802E3338 002E0298 90 01 00 0C */ stw r0, 0xc(r1) /* 802E333C 002E029C 7C 80 28 50 */ subf r4, r0, r5 /* 802E3340 002E02A0 38 04 00 01 */ addi r0, r4, 1 /* 802E3344 002E02A4 90 A1 00 10 */ stw r5, 0x10(r1) /* 802E3348 002E02A8 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E334C 002E02AC 90 01 00 3C */ stw r0, 0x3c(r1) /* 802E3350 002E02B0 C8 01 00 38 */ lfd f0, 0x38(r1) /* 802E3354 002E02B4 EF E0 08 28 */ fsubs f31, f0, f1 /* 802E3358 002E02B8 4B FF FC 05 */ bl GetEnumValue__12CPASAnimParmCFv /* 802E335C 002E02BC 80 9F 00 00 */ lwz r4, 0(r31) /* 802E3360 002E02C0 3C 00 43 30 */ lis r0, 0x4330 /* 802E3364 002E02C4 90 01 00 30 */ stw r0, 0x30(r1) /* 802E3368 002E02C8 7C 04 18 50 */ subf r0, r4, r3 /* 802E336C 002E02CC C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E3370 002E02D0 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E3374 002E02D4 90 01 00 34 */ stw r0, 0x34(r1) /* 802E3378 002E02D8 C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E337C 002E02DC EC 00 08 28 */ fsubs f0, f0, f1 /* 802E3380 002E02E0 FC 00 02 10 */ fabs f0, f0 /* 802E3384 002E02E4 FC 40 00 18 */ frsp f2, f0 lbl_802E3388: /* 802E3388 002E02E8 C0 02 C5 C8 */ lfs f0, lbl_805AE2E8@sda21(r2) /* 802E338C 002E02EC FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 802E3390 002E02F0 40 81 00 64 */ ble lbl_802E33F4 /* 802E3394 002E02F4 C0 02 C5 CC */ lfs f0, lbl_805AE2EC@sda21(r2) /* 802E3398 002E02F8 EC 20 07 F2 */ fmuls f1, f0, f31 /* 802E339C 002E02FC FC 02 08 40 */ fcmpo cr0, f2, f1 /* 802E33A0 002E0300 40 81 00 0C */ ble lbl_802E33AC /* 802E33A4 002E0304 EC 1F 10 28 */ fsubs f0, f31, f2 /* 802E33A8 002E0308 48 00 00 08 */ b lbl_802E33B0 lbl_802E33AC: /* 802E33AC 002E030C FC 00 10 90 */ fmr f0, f2 lbl_802E33B0: /* 802E33B0 002E0310 EC 20 08 24 */ fdivs f1, f0, f1 /* 802E33B4 002E0314 C0 42 C5 C4 */ lfs f2, lbl_805AE2E4@sda21(r2) /* 802E33B8 002E0318 C0 0D 9B 78 */ lfs f0, lbl_805A8738@sda21(r13) /* 802E33BC 002E031C EC 22 08 28 */ fsubs f1, f2, f1 /* 802E33C0 002E0320 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802E33C4 002E0324 D0 21 00 08 */ stfs f1, 8(r1) /* 802E33C8 002E0328 40 80 00 0C */ bge lbl_802E33D4 /* 802E33CC 002E032C 38 6D 9B 78 */ addi r3, r13, lbl_805A8738@sda21 /* 802E33D0 002E0330 48 00 00 08 */ b lbl_802E33D8 lbl_802E33D4: /* 802E33D4 002E0334 38 61 00 08 */ addi r3, r1, 8 lbl_802E33D8: /* 802E33D8 002E0338 C0 2D 9B 7C */ lfs f1, lbl_805A873C@sda21(r13) /* 802E33DC 002E033C C0 03 00 00 */ lfs f0, 0(r3) /* 802E33E0 002E0340 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802E33E4 002E0344 40 80 00 08 */ bge lbl_802E33EC /* 802E33E8 002E0348 38 6D 9B 7C */ addi r3, r13, lbl_805A873C@sda21 lbl_802E33EC: /* 802E33EC 002E034C C0 23 00 00 */ lfs f1, 0(r3) /* 802E33F0 002E0350 48 00 00 18 */ b lbl_802E3408 lbl_802E33F4: /* 802E33F4 002E0354 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802E33F8 002E0358 40 80 00 0C */ bge lbl_802E3404 /* 802E33FC 002E035C C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) /* 802E3400 002E0360 48 00 00 08 */ b lbl_802E3408 lbl_802E3404: /* 802E3404 002E0364 C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) lbl_802E3408: /* 802E3408 002E0368 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 802E340C 002E036C 80 01 00 64 */ lwz r0, 0x64(r1) /* 802E3410 002E0370 CB E1 00 50 */ lfd f31, 0x50(r1) /* 802E3414 002E0374 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 802E3418 002E0378 7C 08 03 A6 */ mtlr r0 /* 802E341C 002E037C 38 21 00 60 */ addi r1, r1, 0x60 /* 802E3420 002E0380 4E 80 00 20 */ blr .global ComputePercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue ComputePercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue: /* 802E3424 002E0384 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802E3428 002E0388 7C 08 02 A6 */ mflr r0 /* 802E342C 002E038C 90 01 00 54 */ stw r0, 0x54(r1) /* 802E3430 002E0390 DB E1 00 40 */ stfd f31, 0x40(r1) /* 802E3434 002E0394 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 802E3438 002E0398 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802E343C 002E039C 93 C1 00 38 */ stw r30, 0x38(r1) /* 802E3440 002E03A0 7C BE 2B 78 */ mr r30, r5 /* 802E3444 002E03A4 C3 E2 C5 C0 */ lfs f31, lbl_805AE2E0@sda21(r2) /* 802E3448 002E03A8 80 05 00 04 */ lwz r0, 4(r5) /* 802E344C 002E03AC 7C DF 33 78 */ mr r31, r6 /* 802E3450 002E03B0 FC 20 F8 90 */ fmr f1, f31 /* 802E3454 002E03B4 2C 00 00 02 */ cmpwi r0, 2 /* 802E3458 002E03B8 41 82 01 40 */ beq lbl_802E3598 /* 802E345C 002E03BC 40 80 00 14 */ bge lbl_802E3470 /* 802E3460 002E03C0 2C 00 00 00 */ cmpwi r0, 0 /* 802E3464 002E03C4 41 82 00 1C */ beq lbl_802E3480 /* 802E3468 002E03C8 40 80 00 8C */ bge lbl_802E34F4 /* 802E346C 002E03CC 48 00 02 0C */ b lbl_802E3678 lbl_802E3470: /* 802E3470 002E03D0 2C 00 00 04 */ cmpwi r0, 4 /* 802E3474 002E03D4 41 82 01 94 */ beq lbl_802E3608 /* 802E3478 002E03D8 40 80 02 00 */ bge lbl_802E3678 /* 802E347C 002E03DC 48 00 01 60 */ b lbl_802E35DC lbl_802E3480: /* 802E3480 002E03E0 1C 84 00 14 */ mulli r4, r4, 0x14 /* 802E3484 002E03E4 80 A3 00 10 */ lwz r5, 0x10(r3) /* 802E3488 002E03E8 3C 00 43 30 */ lis r0, 0x4330 /* 802E348C 002E03EC C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E3490 002E03F0 90 01 00 28 */ stw r0, 0x28(r1) /* 802E3494 002E03F4 7F C3 F3 78 */ mr r3, r30 /* 802E3498 002E03F8 7C 85 22 14 */ add r4, r5, r4 /* 802E349C 002E03FC 80 04 00 0C */ lwz r0, 0xc(r4) /* 802E34A0 002E0400 80 84 00 10 */ lwz r4, 0x10(r4) /* 802E34A4 002E0404 90 01 00 20 */ stw r0, 0x20(r1) /* 802E34A8 002E0408 7C 00 20 50 */ subf r0, r0, r4 /* 802E34AC 002E040C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E34B0 002E0410 90 81 00 24 */ stw r4, 0x24(r1) /* 802E34B4 002E0414 90 01 00 2C */ stw r0, 0x2c(r1) /* 802E34B8 002E0418 C8 01 00 28 */ lfd f0, 0x28(r1) /* 802E34BC 002E041C EF E0 08 28 */ fsubs f31, f0, f1 /* 802E34C0 002E0420 4B FF FA BD */ bl GetInt32Value__12CPASAnimParmCFv /* 802E34C4 002E0424 80 9F 00 00 */ lwz r4, 0(r31) /* 802E34C8 002E0428 3C 00 43 30 */ lis r0, 0x4330 /* 802E34CC 002E042C 90 01 00 30 */ stw r0, 0x30(r1) /* 802E34D0 002E0430 7C 04 18 50 */ subf r0, r4, r3 /* 802E34D4 002E0434 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E34D8 002E0438 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E34DC 002E043C 90 01 00 34 */ stw r0, 0x34(r1) /* 802E34E0 002E0440 C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E34E4 002E0444 EC 00 08 28 */ fsubs f0, f0, f1 /* 802E34E8 002E0448 FC 00 02 10 */ fabs f0, f0 /* 802E34EC 002E044C FC 20 00 18 */ frsp f1, f0 /* 802E34F0 002E0450 48 00 01 88 */ b lbl_802E3678 lbl_802E34F4: /* 802E34F4 002E0454 1C 84 00 14 */ mulli r4, r4, 0x14 /* 802E34F8 002E0458 80 A3 00 10 */ lwz r5, 0x10(r3) /* 802E34FC 002E045C 3C 00 43 30 */ lis r0, 0x4330 /* 802E3500 002E0460 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) /* 802E3504 002E0464 90 01 00 30 */ stw r0, 0x30(r1) /* 802E3508 002E0468 7F C3 F3 78 */ mr r3, r30 /* 802E350C 002E046C 7C 85 22 14 */ add r4, r5, r4 /* 802E3510 002E0470 80 04 00 0C */ lwz r0, 0xc(r4) /* 802E3514 002E0474 80 84 00 10 */ lwz r4, 0x10(r4) /* 802E3518 002E0478 90 01 00 18 */ stw r0, 0x18(r1) /* 802E351C 002E047C 7C 00 20 50 */ subf r0, r0, r4 /* 802E3520 002E0480 90 01 00 34 */ stw r0, 0x34(r1) /* 802E3524 002E0484 C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E3528 002E0488 90 81 00 1C */ stw r4, 0x1c(r1) /* 802E352C 002E048C EF E0 08 28 */ fsubs f31, f0, f1 /* 802E3530 002E0490 4B FF FA 45 */ bl GetUint32Value__12CPASAnimParmCFv /* 802E3534 002E0494 80 1F 00 00 */ lwz r0, 0(r31) /* 802E3538 002E0498 7C 03 00 40 */ cmplw r3, r0 /* 802E353C 002E049C 40 81 00 30 */ ble lbl_802E356C /* 802E3540 002E04A0 7F C3 F3 78 */ mr r3, r30 /* 802E3544 002E04A4 4B FF FA 31 */ bl GetUint32Value__12CPASAnimParmCFv /* 802E3548 002E04A8 80 9F 00 00 */ lwz r4, 0(r31) /* 802E354C 002E04AC 3C 00 43 30 */ lis r0, 0x4330 /* 802E3550 002E04B0 90 01 00 30 */ stw r0, 0x30(r1) /* 802E3554 002E04B4 7C 04 18 50 */ subf r0, r4, r3 /* 802E3558 002E04B8 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) /* 802E355C 002E04BC 90 01 00 34 */ stw r0, 0x34(r1) /* 802E3560 002E04C0 C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E3564 002E04C4 EC 20 08 28 */ fsubs f1, f0, f1 /* 802E3568 002E04C8 48 00 01 10 */ b lbl_802E3678 lbl_802E356C: /* 802E356C 002E04CC 7F C3 F3 78 */ mr r3, r30 /* 802E3570 002E04D0 4B FF FA 05 */ bl GetUint32Value__12CPASAnimParmCFv /* 802E3574 002E04D4 80 9F 00 00 */ lwz r4, 0(r31) /* 802E3578 002E04D8 3C 00 43 30 */ lis r0, 0x4330 /* 802E357C 002E04DC 90 01 00 30 */ stw r0, 0x30(r1) /* 802E3580 002E04E0 7C 03 20 50 */ subf r0, r3, r4 /* 802E3584 002E04E4 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) /* 802E3588 002E04E8 90 01 00 34 */ stw r0, 0x34(r1) /* 802E358C 002E04EC C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E3590 002E04F0 EC 20 08 28 */ fsubs f1, f0, f1 /* 802E3594 002E04F4 48 00 00 E4 */ b lbl_802E3678 lbl_802E3598: /* 802E3598 002E04F8 1C 04 00 14 */ mulli r0, r4, 0x14 /* 802E359C 002E04FC 80 83 00 10 */ lwz r4, 0x10(r3) /* 802E35A0 002E0500 7F C3 F3 78 */ mr r3, r30 /* 802E35A4 002E0504 7C A4 02 14 */ add r5, r4, r0 /* 802E35A8 002E0508 80 85 00 0C */ lwz r4, 0xc(r5) /* 802E35AC 002E050C 80 05 00 10 */ lwz r0, 0x10(r5) /* 802E35B0 002E0510 90 81 00 10 */ stw r4, 0x10(r1) /* 802E35B4 002E0514 90 01 00 14 */ stw r0, 0x14(r1) /* 802E35B8 002E0518 C0 01 00 10 */ lfs f0, 0x10(r1) /* 802E35BC 002E051C C0 21 00 14 */ lfs f1, 0x14(r1) /* 802E35C0 002E0520 EF E1 00 28 */ fsubs f31, f1, f0 /* 802E35C4 002E0524 4B FF F9 A9 */ bl GetReal32Value__12CPASAnimParmCFv /* 802E35C8 002E0528 C0 1F 00 00 */ lfs f0, 0(r31) /* 802E35CC 002E052C EC 01 00 28 */ fsubs f0, f1, f0 /* 802E35D0 002E0530 FC 00 02 10 */ fabs f0, f0 /* 802E35D4 002E0534 FC 20 00 18 */ frsp f1, f0 /* 802E35D8 002E0538 48 00 00 A0 */ b lbl_802E3678 lbl_802E35DC: /* 802E35DC 002E053C 7F C3 F3 78 */ mr r3, r30 /* 802E35E0 002E0540 4B FF F9 85 */ bl GetBoolValue__12CPASAnimParmCFv /* 802E35E4 002E0544 88 1F 00 00 */ lbz r0, 0(r31) /* 802E35E8 002E0548 54 63 06 3E */ clrlwi r3, r3, 0x18 /* 802E35EC 002E054C 7C 00 18 40 */ cmplw r0, r3 /* 802E35F0 002E0550 40 82 00 0C */ bne lbl_802E35FC /* 802E35F4 002E0554 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) /* 802E35F8 002E0558 48 00 00 08 */ b lbl_802E3600 lbl_802E35FC: /* 802E35FC 002E055C C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) lbl_802E3600: /* 802E3600 002E0560 FC 20 00 90 */ fmr f1, f0 /* 802E3604 002E0564 48 00 00 74 */ b lbl_802E3678 lbl_802E3608: /* 802E3608 002E0568 1C 84 00 14 */ mulli r4, r4, 0x14 /* 802E360C 002E056C 80 A3 00 10 */ lwz r5, 0x10(r3) /* 802E3610 002E0570 3C 00 43 30 */ lis r0, 0x4330 /* 802E3614 002E0574 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E3618 002E0578 90 01 00 30 */ stw r0, 0x30(r1) /* 802E361C 002E057C 7F C3 F3 78 */ mr r3, r30 /* 802E3620 002E0580 7C 85 22 14 */ add r4, r5, r4 /* 802E3624 002E0584 80 04 00 0C */ lwz r0, 0xc(r4) /* 802E3628 002E0588 80 84 00 10 */ lwz r4, 0x10(r4) /* 802E362C 002E058C 90 01 00 08 */ stw r0, 8(r1) /* 802E3630 002E0590 7C 00 20 50 */ subf r0, r0, r4 /* 802E3634 002E0594 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E3638 002E0598 90 81 00 0C */ stw r4, 0xc(r1) /* 802E363C 002E059C 90 01 00 34 */ stw r0, 0x34(r1) /* 802E3640 002E05A0 C8 01 00 30 */ lfd f0, 0x30(r1) /* 802E3644 002E05A4 EF E0 08 28 */ fsubs f31, f0, f1 /* 802E3648 002E05A8 4B FF F9 15 */ bl GetEnumValue__12CPASAnimParmCFv /* 802E364C 002E05AC 80 9F 00 00 */ lwz r4, 0(r31) /* 802E3650 002E05B0 3C 00 43 30 */ lis r0, 0x4330 /* 802E3654 002E05B4 90 01 00 28 */ stw r0, 0x28(r1) /* 802E3658 002E05B8 7C 04 18 50 */ subf r0, r4, r3 /* 802E365C 002E05BC C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) /* 802E3660 002E05C0 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802E3664 002E05C4 90 01 00 2C */ stw r0, 0x2c(r1) /* 802E3668 002E05C8 C8 01 00 28 */ lfd f0, 0x28(r1) /* 802E366C 002E05CC EC 00 08 28 */ fsubs f0, f0, f1 /* 802E3670 002E05D0 FC 00 02 10 */ fabs f0, f0 /* 802E3674 002E05D4 FC 20 00 18 */ frsp f1, f0 lbl_802E3678: /* 802E3678 002E05D8 C0 02 C5 C8 */ lfs f0, lbl_805AE2E8@sda21(r2) /* 802E367C 002E05DC FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 802E3680 002E05E0 40 81 00 14 */ ble lbl_802E3694 /* 802E3684 002E05E4 EC 01 F8 24 */ fdivs f0, f1, f31 /* 802E3688 002E05E8 C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) /* 802E368C 002E05EC EC 21 00 28 */ fsubs f1, f1, f0 /* 802E3690 002E05F0 48 00 00 18 */ b lbl_802E36A8 lbl_802E3694: /* 802E3694 002E05F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802E3698 002E05F8 40 80 00 0C */ bge lbl_802E36A4 /* 802E369C 002E05FC C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) /* 802E36A0 002E0600 48 00 00 08 */ b lbl_802E36A8 lbl_802E36A4: /* 802E36A4 002E0604 C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) lbl_802E36A8: /* 802E36A8 002E0608 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 802E36AC 002E060C 80 01 00 54 */ lwz r0, 0x54(r1) /* 802E36B0 002E0610 CB E1 00 40 */ lfd f31, 0x40(r1) /* 802E36B4 002E0614 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 802E36B8 002E0618 83 C1 00 38 */ lwz r30, 0x38(r1) /* 802E36BC 002E061C 7C 08 03 A6 */ mtlr r0 /* 802E36C0 002E0620 38 21 00 50 */ addi r1, r1, 0x50 /* 802E36C4 002E0624 4E 80 00 20 */ blr .global ComputeExactMatchWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue ComputeExactMatchWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue: /* 802E36C8 002E0628 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802E36CC 002E062C 7C 08 02 A6 */ mflr r0 /* 802E36D0 002E0630 C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) /* 802E36D4 002E0634 90 01 00 14 */ stw r0, 0x14(r1) /* 802E36D8 002E0638 93 E1 00 0C */ stw r31, 0xc(r1) /* 802E36DC 002E063C 7C DF 33 78 */ mr r31, r6 /* 802E36E0 002E0640 80 05 00 04 */ lwz r0, 4(r5) /* 802E36E4 002E0644 2C 00 00 02 */ cmpwi r0, 2 /* 802E36E8 002E0648 41 82 00 78 */ beq lbl_802E3760 /* 802E36EC 002E064C 40 80 00 14 */ bge lbl_802E3700 /* 802E36F0 002E0650 2C 00 00 00 */ cmpwi r0, 0 /* 802E36F4 002E0654 41 82 00 1C */ beq lbl_802E3710 /* 802E36F8 002E0658 40 80 00 40 */ bge lbl_802E3738 /* 802E36FC 002E065C 48 00 00 E8 */ b lbl_802E37E4 lbl_802E3700: /* 802E3700 002E0660 2C 00 00 04 */ cmpwi r0, 4 /* 802E3704 002E0664 41 82 00 BC */ beq lbl_802E37C0 /* 802E3708 002E0668 40 80 00 DC */ bge lbl_802E37E4 /* 802E370C 002E066C 48 00 00 88 */ b lbl_802E3794 lbl_802E3710: /* 802E3710 002E0670 7C A3 2B 78 */ mr r3, r5 /* 802E3714 002E0674 4B FF F8 69 */ bl GetInt32Value__12CPASAnimParmCFv /* 802E3718 002E0678 80 1F 00 00 */ lwz r0, 0(r31) /* 802E371C 002E067C 7C 00 18 00 */ cmpw r0, r3 /* 802E3720 002E0680 40 82 00 0C */ bne lbl_802E372C /* 802E3724 002E0684 C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) /* 802E3728 002E0688 48 00 00 08 */ b lbl_802E3730 lbl_802E372C: /* 802E372C 002E068C C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) lbl_802E3730: /* 802E3730 002E0690 FC 20 00 90 */ fmr f1, f0 /* 802E3734 002E0694 48 00 00 B0 */ b lbl_802E37E4 lbl_802E3738: /* 802E3738 002E0698 7C A3 2B 78 */ mr r3, r5 /* 802E373C 002E069C 4B FF F8 39 */ bl GetUint32Value__12CPASAnimParmCFv /* 802E3740 002E06A0 80 1F 00 00 */ lwz r0, 0(r31) /* 802E3744 002E06A4 7C 00 18 40 */ cmplw r0, r3 /* 802E3748 002E06A8 40 82 00 0C */ bne lbl_802E3754 /* 802E374C 002E06AC C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) /* 802E3750 002E06B0 48 00 00 08 */ b lbl_802E3758 lbl_802E3754: /* 802E3754 002E06B4 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) lbl_802E3758: /* 802E3758 002E06B8 FC 20 00 90 */ fmr f1, f0 /* 802E375C 002E06BC 48 00 00 88 */ b lbl_802E37E4 lbl_802E3760: /* 802E3760 002E06C0 7C A3 2B 78 */ mr r3, r5 /* 802E3764 002E06C4 4B FF F8 09 */ bl GetReal32Value__12CPASAnimParmCFv /* 802E3768 002E06C8 C0 5F 00 00 */ lfs f2, 0(r31) /* 802E376C 002E06CC C0 02 C5 C8 */ lfs f0, lbl_805AE2E8@sda21(r2) /* 802E3770 002E06D0 EC 21 10 28 */ fsubs f1, f1, f2 /* 802E3774 002E06D4 FC 20 0A 10 */ fabs f1, f1 /* 802E3778 002E06D8 FC 20 08 18 */ frsp f1, f1 /* 802E377C 002E06DC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802E3780 002E06E0 40 80 00 0C */ bge lbl_802E378C /* 802E3784 002E06E4 C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) /* 802E3788 002E06E8 48 00 00 5C */ b lbl_802E37E4 lbl_802E378C: /* 802E378C 002E06EC C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) /* 802E3790 002E06F0 48 00 00 54 */ b lbl_802E37E4 lbl_802E3794: /* 802E3794 002E06F4 7C A3 2B 78 */ mr r3, r5 /* 802E3798 002E06F8 4B FF F7 CD */ bl GetBoolValue__12CPASAnimParmCFv /* 802E379C 002E06FC 88 1F 00 00 */ lbz r0, 0(r31) /* 802E37A0 002E0700 54 63 06 3E */ clrlwi r3, r3, 0x18 /* 802E37A4 002E0704 7C 00 18 40 */ cmplw r0, r3 /* 802E37A8 002E0708 40 82 00 0C */ bne lbl_802E37B4 /* 802E37AC 002E070C C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) /* 802E37B0 002E0710 48 00 00 08 */ b lbl_802E37B8 lbl_802E37B4: /* 802E37B4 002E0714 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) lbl_802E37B8: /* 802E37B8 002E0718 FC 20 00 90 */ fmr f1, f0 /* 802E37BC 002E071C 48 00 00 28 */ b lbl_802E37E4 lbl_802E37C0: /* 802E37C0 002E0720 7C A3 2B 78 */ mr r3, r5 /* 802E37C4 002E0724 4B FF F7 99 */ bl GetEnumValue__12CPASAnimParmCFv /* 802E37C8 002E0728 80 1F 00 00 */ lwz r0, 0(r31) /* 802E37CC 002E072C 7C 00 18 00 */ cmpw r0, r3 /* 802E37D0 002E0730 40 82 00 0C */ bne lbl_802E37DC /* 802E37D4 002E0734 C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) /* 802E37D8 002E0738 48 00 00 08 */ b lbl_802E37E0 lbl_802E37DC: /* 802E37DC 002E073C C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) lbl_802E37E0: /* 802E37E0 002E0740 FC 20 00 90 */ fmr f1, f0 lbl_802E37E4: /* 802E37E4 002E0744 80 01 00 14 */ lwz r0, 0x14(r1) /* 802E37E8 002E0748 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802E37EC 002E074C 7C 08 03 A6 */ mtlr r0 /* 802E37F0 002E0750 38 21 00 10 */ addi r1, r1, 0x10 /* 802E37F4 002E0754 4E 80 00 20 */ blr .global "FindBestAnimation__13CPASAnimStateCFRCQ24rstl33reserved_vector<12CPASAnimParm,8>R9CRandom16i" "FindBestAnimation__13CPASAnimStateCFRCQ24rstl33reserved_vector<12CPASAnimParm,8>R9CRandom16i": /* 802E37F8 002E0758 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802E37FC 002E075C 7C 08 02 A6 */ mflr r0 /* 802E3800 002E0760 90 01 00 94 */ stw r0, 0x94(r1) /* 802E3804 002E0764 DB E1 00 80 */ stfd f31, 0x80(r1) /* 802E3808 002E0768 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 802E380C 002E076C DB C1 00 70 */ stfd f30, 0x70(r1) /* 802E3810 002E0770 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 802E3814 002E0774 DB A1 00 60 */ stfd f29, 0x60(r1) /* 802E3818 002E0778 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 /* 802E381C 002E077C BE C1 00 38 */ stmw r22, 0x38(r1) /* 802E3820 002E0780 80 04 00 28 */ lwz r0, 0x28(r4) /* 802E3824 002E0784 7C 7A 1B 78 */ mr r26, r3 /* 802E3828 002E0788 80 64 00 30 */ lwz r3, 0x30(r4) /* 802E382C 002E078C 7C 9B 23 78 */ mr r27, r4 /* 802E3830 002E0790 54 00 10 3A */ slwi r0, r0, 2 /* 802E3834 002E0794 C3 C2 C5 D8 */ lfs f30, lbl_805AE2F8@sda21(r2) /* 802E3838 002E0798 7C 03 02 14 */ add r0, r3, r0 /* 802E383C 002E079C 90 61 00 1C */ stw r3, 0x1c(r1) /* 802E3840 002E07A0 7C BC 2B 78 */ mr r28, r5 /* 802E3844 002E07A4 7C DD 33 78 */ mr r29, r6 /* 802E3848 002E07A8 90 01 00 24 */ stw r0, 0x24(r1) /* 802E384C 002E07AC 7C FE 3B 78 */ mr r30, r7 /* 802E3850 002E07B0 90 01 00 20 */ stw r0, 0x20(r1) /* 802E3854 002E07B4 90 61 00 18 */ stw r3, 0x18(r1) /* 802E3858 002E07B8 48 00 00 08 */ b lbl_802E3860 lbl_802E385C: /* 802E385C 002E07BC 38 63 00 04 */ addi r3, r3, 4 lbl_802E3860: /* 802E3860 002E07C0 7C 03 00 40 */ cmplw r3, r0 /* 802E3864 002E07C4 40 82 FF F8 */ bne lbl_802E385C /* 802E3868 002E07C8 38 00 00 00 */ li r0, 0 /* 802E386C 002E07CC 90 1B 00 28 */ stw r0, 0x28(r27) /* 802E3870 002E07D0 80 1B 00 18 */ lwz r0, 0x18(r27) /* 802E3874 002E07D4 28 00 00 00 */ cmplwi r0, 0 /* 802E3878 002E07D8 41 82 02 34 */ beq lbl_802E3AAC /* 802E387C 002E07DC 83 FB 00 20 */ lwz r31, 0x20(r27) /* 802E3880 002E07E0 48 00 02 14 */ b lbl_802E3A94 lbl_802E3884: /* 802E3884 002E07E4 80 1F 00 00 */ lwz r0, 0(r31) /* 802E3888 002E07E8 7C 1E 00 00 */ cmpw r30, r0 /* 802E388C 002E07EC 41 82 02 04 */ beq lbl_802E3A90 /* 802E3890 002E07F0 80 1B 00 08 */ lwz r0, 8(r27) /* 802E3894 002E07F4 2C 00 00 00 */ cmpwi r0, 0 /* 802E3898 002E07F8 40 81 00 0C */ ble lbl_802E38A4 /* 802E389C 002E07FC C3 A2 C5 C0 */ lfs f29, lbl_805AE2E0@sda21(r2) /* 802E38A0 002E0800 48 00 00 08 */ b lbl_802E38A8 lbl_802E38A4: /* 802E38A4 002E0804 C3 A2 C5 C4 */ lfs f29, lbl_805AE2E4@sda21(r2) lbl_802E38A8: /* 802E38A8 002E0808 3A E0 00 00 */ li r23, 0 /* 802E38AC 002E080C 3A C0 00 00 */ li r22, 0 /* 802E38B0 002E0810 3B 20 00 00 */ li r25, 0 /* 802E38B4 002E0814 3B 00 00 00 */ li r24, 0 /* 802E38B8 002E0818 48 00 00 CC */ b lbl_802E3984 lbl_802E38BC: /* 802E38BC 002E081C 7F E3 FB 78 */ mr r3, r31 /* 802E38C0 002E0820 7E C4 B3 78 */ mr r4, r22 /* 802E38C4 002E0824 4B FF F5 95 */ bl GetAnimParmValue__12CPASAnimInfoCFUi /* 802E38C8 002E0828 80 1B 00 10 */ lwz r0, 0x10(r27) /* 802E38CC 002E082C C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) /* 802E38D0 002E0830 7C 80 C2 14 */ add r4, r0, r24 /* 802E38D4 002E0834 80 04 00 04 */ lwz r0, 4(r4) /* 802E38D8 002E0838 C3 E4 00 08 */ lfs f31, 8(r4) /* 802E38DC 002E083C 2C 00 00 02 */ cmpwi r0, 2 /* 802E38E0 002E0840 41 82 00 6C */ beq lbl_802E394C /* 802E38E4 002E0844 40 80 00 14 */ bge lbl_802E38F8 /* 802E38E8 002E0848 2C 00 00 00 */ cmpwi r0, 0 /* 802E38EC 002E084C 41 82 00 18 */ beq lbl_802E3904 /* 802E38F0 002E0850 40 80 00 38 */ bge lbl_802E3928 /* 802E38F4 002E0854 48 00 00 80 */ b lbl_802E3974 lbl_802E38F8: /* 802E38F8 002E0858 2C 00 00 04 */ cmpwi r0, 4 /* 802E38FC 002E085C 40 80 00 78 */ bge lbl_802E3974 /* 802E3900 002E0860 48 00 00 70 */ b lbl_802E3970 lbl_802E3904: /* 802E3904 002E0864 80 03 00 00 */ lwz r0, 0(r3) /* 802E3908 002E0868 7C BC CA 14 */ add r5, r28, r25 /* 802E390C 002E086C 7F 63 DB 78 */ mr r3, r27 /* 802E3910 002E0870 7E C4 B3 78 */ mr r4, r22 /* 802E3914 002E0874 90 01 00 30 */ stw r0, 0x30(r1) /* 802E3918 002E0878 38 A5 00 04 */ addi r5, r5, 4 /* 802E391C 002E087C 38 C1 00 30 */ addi r6, r1, 0x30 /* 802E3920 002E0880 4B FF FD A9 */ bl ComputeExactMatchWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue /* 802E3924 002E0884 48 00 00 50 */ b lbl_802E3974 lbl_802E3928: /* 802E3928 002E0888 80 03 00 00 */ lwz r0, 0(r3) /* 802E392C 002E088C 7C BC CA 14 */ add r5, r28, r25 /* 802E3930 002E0890 7F 63 DB 78 */ mr r3, r27 /* 802E3934 002E0894 7E C4 B3 78 */ mr r4, r22 /* 802E3938 002E0898 90 01 00 2C */ stw r0, 0x2c(r1) /* 802E393C 002E089C 38 A5 00 04 */ addi r5, r5, 4 /* 802E3940 002E08A0 38 C1 00 2C */ addi r6, r1, 0x2c /* 802E3944 002E08A4 4B FF FA E1 */ bl ComputePercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue /* 802E3948 002E08A8 48 00 00 2C */ b lbl_802E3974 lbl_802E394C: /* 802E394C 002E08AC 80 03 00 00 */ lwz r0, 0(r3) /* 802E3950 002E08B0 7C BC CA 14 */ add r5, r28, r25 /* 802E3954 002E08B4 7F 63 DB 78 */ mr r3, r27 /* 802E3958 002E08B8 7E C4 B3 78 */ mr r4, r22 /* 802E395C 002E08BC 90 01 00 28 */ stw r0, 0x28(r1) /* 802E3960 002E08C0 38 A5 00 04 */ addi r5, r5, 4 /* 802E3964 002E08C4 38 C1 00 28 */ addi r6, r1, 0x28 /* 802E3968 002E08C8 4B FF F8 05 */ bl ComputeAngularPercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue /* 802E396C 002E08CC 48 00 00 08 */ b lbl_802E3974 lbl_802E3970: /* 802E3970 002E08D0 3A F7 00 01 */ addi r23, r23, 1 lbl_802E3974: /* 802E3974 002E08D4 EF BF E8 7A */ fmadds f29, f31, f1, f29 /* 802E3978 002E08D8 3A D6 00 01 */ addi r22, r22, 1 /* 802E397C 002E08DC 3B 39 00 08 */ addi r25, r25, 8 /* 802E3980 002E08E0 3B 18 00 14 */ addi r24, r24, 0x14 lbl_802E3984: /* 802E3984 002E08E4 80 1B 00 08 */ lwz r0, 8(r27) /* 802E3988 002E08E8 7C 16 00 40 */ cmplw r22, r0 /* 802E398C 002E08EC 41 80 FF 30 */ blt lbl_802E38BC /* 802E3990 002E08F0 7C 17 00 00 */ cmpw r23, r0 /* 802E3994 002E08F4 40 82 00 08 */ bne lbl_802E399C /* 802E3998 002E08F8 C3 A2 C5 C4 */ lfs f29, lbl_805AE2E4@sda21(r2) lbl_802E399C: /* 802E399C 002E08FC FC 1D F0 40 */ fcmpo cr0, f29, f30 /* 802E39A0 002E0900 40 81 00 94 */ ble lbl_802E3A34 /* 802E39A4 002E0904 80 1B 00 28 */ lwz r0, 0x28(r27) /* 802E39A8 002E0908 80 7B 00 30 */ lwz r3, 0x30(r27) /* 802E39AC 002E090C 54 00 10 3A */ slwi r0, r0, 2 /* 802E39B0 002E0910 7C 03 02 14 */ add r0, r3, r0 /* 802E39B4 002E0914 90 61 00 0C */ stw r3, 0xc(r1) /* 802E39B8 002E0918 90 01 00 14 */ stw r0, 0x14(r1) /* 802E39BC 002E091C 90 01 00 10 */ stw r0, 0x10(r1) /* 802E39C0 002E0920 90 61 00 08 */ stw r3, 8(r1) /* 802E39C4 002E0924 48 00 00 08 */ b lbl_802E39CC lbl_802E39C8: /* 802E39C8 002E0928 38 63 00 04 */ addi r3, r3, 4 lbl_802E39CC: /* 802E39CC 002E092C 7C 03 00 40 */ cmplw r3, r0 /* 802E39D0 002E0930 40 82 FF F8 */ bne lbl_802E39C8 /* 802E39D4 002E0934 38 00 00 00 */ li r0, 0 /* 802E39D8 002E0938 90 1B 00 28 */ stw r0, 0x28(r27) /* 802E39DC 002E093C 80 1B 00 28 */ lwz r0, 0x28(r27) /* 802E39E0 002E0940 80 BB 00 2C */ lwz r5, 0x2c(r27) /* 802E39E4 002E0944 83 1F 00 00 */ lwz r24, 0(r31) /* 802E39E8 002E0948 7C 00 28 00 */ cmpw r0, r5 /* 802E39EC 002E094C 41 80 00 1C */ blt lbl_802E3A08 /* 802E39F0 002E0950 2C 05 00 00 */ cmpwi r5, 0 /* 802E39F4 002E0954 38 7B 00 24 */ addi r3, r27, 0x24 /* 802E39F8 002E0958 38 80 00 04 */ li r4, 4 /* 802E39FC 002E095C 41 82 00 08 */ beq lbl_802E3A04 /* 802E3A00 002E0960 54 A4 08 3C */ slwi r4, r5, 1 lbl_802E3A04: /* 802E3A04 002E0964 4B D7 62 A5 */ bl "reserve__Q24rstl36vectorFi" lbl_802E3A08: /* 802E3A08 002E0968 80 1B 00 28 */ lwz r0, 0x28(r27) /* 802E3A0C 002E096C 80 7B 00 30 */ lwz r3, 0x30(r27) /* 802E3A10 002E0970 54 00 10 3A */ slwi r0, r0, 2 /* 802E3A14 002E0974 7C 63 02 15 */ add. r3, r3, r0 /* 802E3A18 002E0978 41 82 00 08 */ beq lbl_802E3A20 /* 802E3A1C 002E097C 93 03 00 00 */ stw r24, 0(r3) lbl_802E3A20: /* 802E3A20 002E0980 80 7B 00 28 */ lwz r3, 0x28(r27) /* 802E3A24 002E0984 FF C0 E8 90 */ fmr f30, f29 /* 802E3A28 002E0988 38 03 00 01 */ addi r0, r3, 1 /* 802E3A2C 002E098C 90 1B 00 28 */ stw r0, 0x28(r27) /* 802E3A30 002E0990 48 00 00 60 */ b lbl_802E3A90 lbl_802E3A34: /* 802E3A34 002E0994 FC 1D F0 00 */ fcmpu cr0, f29, f30 /* 802E3A38 002E0998 40 82 00 58 */ bne lbl_802E3A90 /* 802E3A3C 002E099C 80 1B 00 28 */ lwz r0, 0x28(r27) /* 802E3A40 002E09A0 80 BB 00 2C */ lwz r5, 0x2c(r27) /* 802E3A44 002E09A4 83 1F 00 00 */ lwz r24, 0(r31) /* 802E3A48 002E09A8 7C 00 28 00 */ cmpw r0, r5 /* 802E3A4C 002E09AC 41 80 00 1C */ blt lbl_802E3A68 /* 802E3A50 002E09B0 2C 05 00 00 */ cmpwi r5, 0 /* 802E3A54 002E09B4 38 7B 00 24 */ addi r3, r27, 0x24 /* 802E3A58 002E09B8 38 80 00 04 */ li r4, 4 /* 802E3A5C 002E09BC 41 82 00 08 */ beq lbl_802E3A64 /* 802E3A60 002E09C0 54 A4 08 3C */ slwi r4, r5, 1 lbl_802E3A64: /* 802E3A64 002E09C4 4B D7 62 45 */ bl "reserve__Q24rstl36vectorFi" lbl_802E3A68: /* 802E3A68 002E09C8 80 1B 00 28 */ lwz r0, 0x28(r27) /* 802E3A6C 002E09CC 80 7B 00 30 */ lwz r3, 0x30(r27) /* 802E3A70 002E09D0 54 00 10 3A */ slwi r0, r0, 2 /* 802E3A74 002E09D4 7C 63 02 15 */ add. r3, r3, r0 /* 802E3A78 002E09D8 41 82 00 08 */ beq lbl_802E3A80 /* 802E3A7C 002E09DC 93 03 00 00 */ stw r24, 0(r3) lbl_802E3A80: /* 802E3A80 002E09E0 80 7B 00 28 */ lwz r3, 0x28(r27) /* 802E3A84 002E09E4 FF C0 E8 90 */ fmr f30, f29 /* 802E3A88 002E09E8 38 03 00 01 */ addi r0, r3, 1 /* 802E3A8C 002E09EC 90 1B 00 28 */ stw r0, 0x28(r27) lbl_802E3A90: /* 802E3A90 002E09F0 3B FF 00 28 */ addi r31, r31, 0x28 lbl_802E3A94: /* 802E3A94 002E09F4 80 1B 00 18 */ lwz r0, 0x18(r27) /* 802E3A98 002E09F8 80 7B 00 20 */ lwz r3, 0x20(r27) /* 802E3A9C 002E09FC 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E3AA0 002E0A00 7C 03 02 14 */ add r0, r3, r0 /* 802E3AA4 002E0A04 7C 1F 00 40 */ cmplw r31, r0 /* 802E3AA8 002E0A08 40 82 FD DC */ bne lbl_802E3884 lbl_802E3AAC: /* 802E3AAC 002E0A0C 7F 63 DB 78 */ mr r3, r27 /* 802E3AB0 002E0A10 7F A4 EB 78 */ mr r4, r29 /* 802E3AB4 002E0A14 4B FF F6 0D */ bl PickRandomAnimation__13CPASAnimStateCFR9CRandom16 /* 802E3AB8 002E0A18 D3 DA 00 00 */ stfs f30, 0(r26) /* 802E3ABC 002E0A1C 90 7A 00 04 */ stw r3, 4(r26) /* 802E3AC0 002E0A20 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 802E3AC4 002E0A24 CB E1 00 80 */ lfd f31, 0x80(r1) /* 802E3AC8 002E0A28 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 802E3ACC 002E0A2C CB C1 00 70 */ lfd f30, 0x70(r1) /* 802E3AD0 002E0A30 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 /* 802E3AD4 002E0A34 CB A1 00 60 */ lfd f29, 0x60(r1) /* 802E3AD8 002E0A38 BA C1 00 38 */ lmw r22, 0x38(r1) /* 802E3ADC 002E0A3C 80 01 00 94 */ lwz r0, 0x94(r1) /* 802E3AE0 002E0A40 7C 08 03 A6 */ mtlr r0 /* 802E3AE4 002E0A44 38 21 00 90 */ addi r1, r1, 0x90 /* 802E3AE8 002E0A48 4E 80 00 20 */ blr .global "insert__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" "insert__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo": /* 802E3AEC 002E0A4C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802E3AF0 002E0A50 7C 08 02 A6 */ mflr r0 /* 802E3AF4 002E0A54 90 01 00 34 */ stw r0, 0x34(r1) /* 802E3AF8 002E0A58 38 00 00 00 */ li r0, 0 /* 802E3AFC 002E0A5C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802E3B00 002E0A60 93 C1 00 28 */ stw r30, 0x28(r1) /* 802E3B04 002E0A64 7C 9E 23 78 */ mr r30, r4 /* 802E3B08 002E0A68 93 A1 00 24 */ stw r29, 0x24(r1) /* 802E3B0C 002E0A6C 7C 7D 1B 78 */ mr r29, r3 /* 802E3B10 002E0A70 7F C3 F3 78 */ mr r3, r30 /* 802E3B14 002E0A74 81 05 00 00 */ lwz r8, 0(r5) /* 802E3B18 002E0A78 80 A4 00 0C */ lwz r5, 0xc(r4) /* 802E3B1C 002E0A7C 3C 80 66 66 */ lis r4, 0x66666667@ha /* 802E3B20 002E0A80 38 84 66 67 */ addi r4, r4, 0x66666667@l /* 802E3B24 002E0A84 90 C1 00 14 */ stw r6, 0x14(r1) /* 802E3B28 002E0A88 7C A5 40 50 */ subf r5, r5, r8 /* 802E3B2C 002E0A8C 7C E4 28 96 */ mulhw r7, r4, r5 /* 802E3B30 002E0A90 90 C1 00 0C */ stw r6, 0xc(r1) /* 802E3B34 002E0A94 38 81 00 08 */ addi r4, r1, 8 /* 802E3B38 002E0A98 90 01 00 18 */ stw r0, 0x18(r1) /* 802E3B3C 002E0A9C 38 C1 00 0C */ addi r6, r1, 0xc /* 802E3B40 002E0AA0 38 A0 00 01 */ li r5, 1 /* 802E3B44 002E0AA4 7C E7 26 70 */ srawi r7, r7, 4 /* 802E3B48 002E0AA8 90 01 00 10 */ stw r0, 0x10(r1) /* 802E3B4C 002E0AAC 54 E0 0F FE */ srwi r0, r7, 0x1f /* 802E3B50 002E0AB0 91 01 00 08 */ stw r8, 8(r1) /* 802E3B54 002E0AB4 7F E7 02 14 */ add r31, r7, r0 /* 802E3B58 002E0AB8 48 00 00 31 */ bl "insert_into>__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl39const_counting_iterator<12CPASAnimInfo>" /* 802E3B5C 002E0ABC 1C 1F 00 28 */ mulli r0, r31, 0x28 /* 802E3B60 002E0AC0 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802E3B64 002E0AC4 7C 63 02 14 */ add r3, r3, r0 /* 802E3B68 002E0AC8 90 7D 00 00 */ stw r3, 0(r29) /* 802E3B6C 002E0ACC 80 01 00 34 */ lwz r0, 0x34(r1) /* 802E3B70 002E0AD0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802E3B74 002E0AD4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802E3B78 002E0AD8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802E3B7C 002E0ADC 7C 08 03 A6 */ mtlr r0 /* 802E3B80 002E0AE0 38 21 00 30 */ addi r1, r1, 0x30 /* 802E3B84 002E0AE4 4E 80 00 20 */ blr .global "insert_into>__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl39const_counting_iterator<12CPASAnimInfo>" "insert_into>__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl39const_counting_iterator<12CPASAnimInfo>": /* 802E3B88 002E0AE8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802E3B8C 002E0AEC 7C 08 02 A6 */ mflr r0 /* 802E3B90 002E0AF0 90 01 00 34 */ stw r0, 0x34(r1) /* 802E3B94 002E0AF4 BF 21 00 14 */ stmw r25, 0x14(r1) /* 802E3B98 002E0AF8 7C 7A 1B 78 */ mr r26, r3 /* 802E3B9C 002E0AFC 7C BB 2B 78 */ mr r27, r5 /* 802E3BA0 002E0B00 7C 99 23 78 */ mr r25, r4 /* 802E3BA4 002E0B04 80 E3 00 04 */ lwz r7, 4(r3) /* 802E3BA8 002E0B08 80 63 00 08 */ lwz r3, 8(r3) /* 802E3BAC 002E0B0C 7C 87 DA 14 */ add r4, r7, r27 /* 802E3BB0 002E0B10 80 BA 00 0C */ lwz r5, 0xc(r26) /* 802E3BB4 002E0B14 7C 04 18 00 */ cmpw r4, r3 /* 802E3BB8 002E0B18 83 C6 00 00 */ lwz r30, 0(r6) /* 802E3BBC 002E0B1C 7C BD 2B 78 */ mr r29, r5 /* 802E3BC0 002E0B20 41 81 01 98 */ bgt lbl_802E3D58 /* 802E3BC4 002E0B24 80 19 00 00 */ lwz r0, 0(r25) /* 802E3BC8 002E0B28 3C 60 66 66 */ lis r3, 0x66666667@ha /* 802E3BCC 002E0B2C 38 63 66 67 */ addi r3, r3, 0x66666667@l /* 802E3BD0 002E0B30 7C 05 00 50 */ subf r0, r5, r0 /* 802E3BD4 002E0B34 7C 03 00 96 */ mulhw r0, r3, r0 /* 802E3BD8 002E0B38 7C 00 26 70 */ srawi r0, r0, 4 /* 802E3BDC 002E0B3C 54 03 0F FE */ srwi r3, r0, 0x1f /* 802E3BE0 002E0B40 7D 00 1A 14 */ add r8, r0, r3 /* 802E3BE4 002E0B44 7C 68 38 50 */ subf r3, r8, r7 /* 802E3BE8 002E0B48 38 83 FF FF */ addi r4, r3, -1 /* 802E3BEC 002E0B4C 1C 68 00 28 */ mulli r3, r8, 0x28 /* 802E3BF0 002E0B50 1C 1B 00 28 */ mulli r0, r27, 0x28 /* 802E3BF4 002E0B54 7C 65 1A 14 */ add r3, r5, r3 /* 802E3BF8 002E0B58 1C A4 00 28 */ mulli r5, r4, 0x28 /* 802E3BFC 002E0B5C 7D 20 2A 14 */ add r9, r0, r5 /* 802E3C00 002E0B60 7D 23 4A 14 */ add r9, r3, r9 /* 802E3C04 002E0B64 7D 43 2A 14 */ add r10, r3, r5 /* 802E3C08 002E0B68 48 00 00 D4 */ b lbl_802E3CDC lbl_802E3C0C: /* 802E3C0C 002E0B6C 7C 08 22 14 */ add r0, r8, r4 /* 802E3C10 002E0B70 28 09 00 00 */ cmplwi r9, 0 /* 802E3C14 002E0B74 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E3C18 002E0B78 80 BA 00 0C */ lwz r5, 0xc(r26) /* 802E3C1C 002E0B7C 7C A5 02 14 */ add r5, r5, r0 /* 802E3C20 002E0B80 41 82 00 48 */ beq lbl_802E3C68 /* 802E3C24 002E0B84 80 05 00 00 */ lwz r0, 0(r5) /* 802E3C28 002E0B88 38 E5 00 08 */ addi r7, r5, 8 /* 802E3C2C 002E0B8C 38 C9 00 08 */ addi r6, r9, 8 /* 802E3C30 002E0B90 90 09 00 00 */ stw r0, 0(r9) /* 802E3C34 002E0B94 80 05 00 04 */ lwz r0, 4(r5) /* 802E3C38 002E0B98 90 09 00 04 */ stw r0, 4(r9) /* 802E3C3C 002E0B9C 80 09 00 04 */ lwz r0, 4(r9) /* 802E3C40 002E0BA0 7C 09 03 A6 */ mtctr r0 /* 802E3C44 002E0BA4 2C 00 00 00 */ cmpwi r0, 0 /* 802E3C48 002E0BA8 40 81 00 20 */ ble lbl_802E3C68 lbl_802E3C4C: /* 802E3C4C 002E0BAC 28 06 00 00 */ cmplwi r6, 0 /* 802E3C50 002E0BB0 41 82 00 0C */ beq lbl_802E3C5C /* 802E3C54 002E0BB4 80 07 00 00 */ lwz r0, 0(r7) /* 802E3C58 002E0BB8 90 06 00 00 */ stw r0, 0(r6) lbl_802E3C5C: /* 802E3C5C 002E0BBC 38 C6 00 04 */ addi r6, r6, 4 /* 802E3C60 002E0BC0 38 E7 00 04 */ addi r7, r7, 4 /* 802E3C64 002E0BC4 42 00 FF E8 */ bdnz lbl_802E3C4C lbl_802E3C68: /* 802E3C68 002E0BC8 28 0A 00 00 */ cmplwi r10, 0 /* 802E3C6C 002E0BCC 41 82 00 64 */ beq lbl_802E3CD0 /* 802E3C70 002E0BD0 34 0A 00 04 */ addic. r0, r10, 4 /* 802E3C74 002E0BD4 41 82 00 5C */ beq lbl_802E3CD0 /* 802E3C78 002E0BD8 80 EA 00 04 */ lwz r7, 4(r10) /* 802E3C7C 002E0BDC 38 A0 00 00 */ li r5, 0 /* 802E3C80 002E0BE0 2C 07 00 00 */ cmpwi r7, 0 /* 802E3C84 002E0BE4 40 81 00 44 */ ble lbl_802E3CC8 /* 802E3C88 002E0BE8 2C 07 00 08 */ cmpwi r7, 8 /* 802E3C8C 002E0BEC 38 C7 FF F8 */ addi r6, r7, -8 /* 802E3C90 002E0BF0 40 81 00 20 */ ble lbl_802E3CB0 /* 802E3C94 002E0BF4 38 06 00 07 */ addi r0, r6, 7 /* 802E3C98 002E0BF8 54 00 E8 FE */ srwi r0, r0, 3 /* 802E3C9C 002E0BFC 7C 09 03 A6 */ mtctr r0 /* 802E3CA0 002E0C00 2C 06 00 00 */ cmpwi r6, 0 /* 802E3CA4 002E0C04 40 81 00 0C */ ble lbl_802E3CB0 lbl_802E3CA8: /* 802E3CA8 002E0C08 38 A5 00 08 */ addi r5, r5, 8 /* 802E3CAC 002E0C0C 42 00 FF FC */ bdnz lbl_802E3CA8 lbl_802E3CB0: /* 802E3CB0 002E0C10 7C 05 38 50 */ subf r0, r5, r7 /* 802E3CB4 002E0C14 7C 09 03 A6 */ mtctr r0 /* 802E3CB8 002E0C18 7C 05 38 00 */ cmpw r5, r7 /* 802E3CBC 002E0C1C 40 80 00 0C */ bge lbl_802E3CC8 lbl_802E3CC0: /* 802E3CC0 002E0C20 38 A5 00 01 */ addi r5, r5, 1 /* 802E3CC4 002E0C24 42 00 FF FC */ bdnz lbl_802E3CC0 lbl_802E3CC8: /* 802E3CC8 002E0C28 38 00 00 00 */ li r0, 0 /* 802E3CCC 002E0C2C 90 0A 00 04 */ stw r0, 4(r10) lbl_802E3CD0: /* 802E3CD0 002E0C30 39 29 FF D8 */ addi r9, r9, -40 /* 802E3CD4 002E0C34 39 4A FF D8 */ addi r10, r10, -40 /* 802E3CD8 002E0C38 38 84 FF FF */ addi r4, r4, -1 lbl_802E3CDC: /* 802E3CDC 002E0C3C 2C 04 00 00 */ cmpwi r4, 0 /* 802E3CE0 002E0C40 40 80 FF 2C */ bge lbl_802E3C0C /* 802E3CE4 002E0C44 38 C0 00 00 */ li r6, 0 /* 802E3CE8 002E0C48 48 00 00 58 */ b lbl_802E3D40 lbl_802E3CEC: /* 802E3CEC 002E0C4C 28 03 00 00 */ cmplwi r3, 0 /* 802E3CF0 002E0C50 41 82 00 48 */ beq lbl_802E3D38 /* 802E3CF4 002E0C54 80 1E 00 00 */ lwz r0, 0(r30) /* 802E3CF8 002E0C58 38 BE 00 08 */ addi r5, r30, 8 /* 802E3CFC 002E0C5C 38 83 00 08 */ addi r4, r3, 8 /* 802E3D00 002E0C60 90 03 00 00 */ stw r0, 0(r3) /* 802E3D04 002E0C64 80 1E 00 04 */ lwz r0, 4(r30) /* 802E3D08 002E0C68 90 03 00 04 */ stw r0, 4(r3) /* 802E3D0C 002E0C6C 80 03 00 04 */ lwz r0, 4(r3) /* 802E3D10 002E0C70 7C 09 03 A6 */ mtctr r0 /* 802E3D14 002E0C74 2C 00 00 00 */ cmpwi r0, 0 /* 802E3D18 002E0C78 40 81 00 20 */ ble lbl_802E3D38 lbl_802E3D1C: /* 802E3D1C 002E0C7C 28 04 00 00 */ cmplwi r4, 0 /* 802E3D20 002E0C80 41 82 00 0C */ beq lbl_802E3D2C /* 802E3D24 002E0C84 80 05 00 00 */ lwz r0, 0(r5) /* 802E3D28 002E0C88 90 04 00 00 */ stw r0, 0(r4) lbl_802E3D2C: /* 802E3D2C 002E0C8C 38 84 00 04 */ addi r4, r4, 4 /* 802E3D30 002E0C90 38 A5 00 04 */ addi r5, r5, 4 /* 802E3D34 002E0C94 42 00 FF E8 */ bdnz lbl_802E3D1C lbl_802E3D38: /* 802E3D38 002E0C98 38 63 00 28 */ addi r3, r3, 0x28 /* 802E3D3C 002E0C9C 38 C6 00 01 */ addi r6, r6, 1 lbl_802E3D40: /* 802E3D40 002E0CA0 7C 06 D8 00 */ cmpw r6, r27 /* 802E3D44 002E0CA4 41 80 FF A8 */ blt lbl_802E3CEC /* 802E3D48 002E0CA8 80 1A 00 04 */ lwz r0, 4(r26) /* 802E3D4C 002E0CAC 7C 00 DA 14 */ add r0, r0, r27 /* 802E3D50 002E0CB0 90 1A 00 04 */ stw r0, 4(r26) /* 802E3D54 002E0CB4 48 00 02 8C */ b lbl_802E3FE0 lbl_802E3D58: /* 802E3D58 002E0CB8 2C 03 00 00 */ cmpwi r3, 0 /* 802E3D5C 002E0CBC 38 00 00 04 */ li r0, 4 /* 802E3D60 002E0CC0 41 82 00 08 */ beq lbl_802E3D68 /* 802E3D64 002E0CC4 54 60 08 3C */ slwi r0, r3, 1 lbl_802E3D68: /* 802E3D68 002E0CC8 7C 1C 03 78 */ mr r28, r0 /* 802E3D6C 002E0CCC 48 00 00 08 */ b lbl_802E3D74 lbl_802E3D70: /* 802E3D70 002E0CD0 57 9C 08 3C */ slwi r28, r28, 1 lbl_802E3D74: /* 802E3D74 002E0CD4 7C 1C 20 00 */ cmpw r28, r4 /* 802E3D78 002E0CD8 41 80 FF F8 */ blt lbl_802E3D70 /* 802E3D7C 002E0CDC 1C 7C 00 28 */ mulli r3, r28, 0x28 /* 802E3D80 002E0CE0 2C 03 00 00 */ cmpwi r3, 0 /* 802E3D84 002E0CE4 40 82 00 0C */ bne lbl_802E3D90 /* 802E3D88 002E0CE8 3B E0 00 00 */ li r31, 0 /* 802E3D8C 002E0CEC 48 00 00 18 */ b lbl_802E3DA4 lbl_802E3D90: /* 802E3D90 002E0CF0 3C 80 80 3D */ lis r4, lbl_803D6DA8@ha /* 802E3D94 002E0CF4 38 A0 00 00 */ li r5, 0 /* 802E3D98 002E0CF8 38 84 6D A8 */ addi r4, r4, lbl_803D6DA8@l /* 802E3D9C 002E0CFC 48 03 1A 7D */ bl __nwa__FUlPCcPCc /* 802E3DA0 002E0D00 7C 7F 1B 78 */ mr r31, r3 lbl_802E3DA4: /* 802E3DA4 002E0D04 80 9A 00 0C */ lwz r4, 0xc(r26) /* 802E3DA8 002E0D08 3C 60 66 66 */ lis r3, 0x66666667@ha /* 802E3DAC 002E0D0C 80 19 00 00 */ lwz r0, 0(r25) /* 802E3DB0 002E0D10 38 A3 66 67 */ addi r5, r3, 0x66666667@l /* 802E3DB4 002E0D14 7F E9 FB 78 */ mr r9, r31 /* 802E3DB8 002E0D18 38 60 00 00 */ li r3, 0 /* 802E3DBC 002E0D1C 7C 04 00 50 */ subf r0, r4, r0 /* 802E3DC0 002E0D20 39 40 00 00 */ li r10, 0 /* 802E3DC4 002E0D24 7C 05 00 96 */ mulhw r0, r5, r0 /* 802E3DC8 002E0D28 39 00 00 00 */ li r8, 0 /* 802E3DCC 002E0D2C 7C 00 26 70 */ srawi r0, r0, 4 /* 802E3DD0 002E0D30 54 04 0F FE */ srwi r4, r0, 0x1f /* 802E3DD4 002E0D34 7C E0 22 14 */ add r7, r0, r4 /* 802E3DD8 002E0D38 48 00 00 68 */ b lbl_802E3E40 lbl_802E3DDC: /* 802E3DDC 002E0D3C 80 1A 00 0C */ lwz r0, 0xc(r26) /* 802E3DE0 002E0D40 28 09 00 00 */ cmplwi r9, 0 /* 802E3DE4 002E0D44 7C 80 42 14 */ add r4, r0, r8 /* 802E3DE8 002E0D48 41 82 00 48 */ beq lbl_802E3E30 /* 802E3DEC 002E0D4C 80 04 00 00 */ lwz r0, 0(r4) /* 802E3DF0 002E0D50 38 C4 00 08 */ addi r6, r4, 8 /* 802E3DF4 002E0D54 38 A9 00 08 */ addi r5, r9, 8 /* 802E3DF8 002E0D58 90 09 00 00 */ stw r0, 0(r9) /* 802E3DFC 002E0D5C 80 04 00 04 */ lwz r0, 4(r4) /* 802E3E00 002E0D60 90 09 00 04 */ stw r0, 4(r9) /* 802E3E04 002E0D64 80 09 00 04 */ lwz r0, 4(r9) /* 802E3E08 002E0D68 7C 09 03 A6 */ mtctr r0 /* 802E3E0C 002E0D6C 2C 00 00 00 */ cmpwi r0, 0 /* 802E3E10 002E0D70 40 81 00 20 */ ble lbl_802E3E30 lbl_802E3E14: /* 802E3E14 002E0D74 28 05 00 00 */ cmplwi r5, 0 /* 802E3E18 002E0D78 41 82 00 0C */ beq lbl_802E3E24 /* 802E3E1C 002E0D7C 80 06 00 00 */ lwz r0, 0(r6) /* 802E3E20 002E0D80 90 05 00 00 */ stw r0, 0(r5) lbl_802E3E24: /* 802E3E24 002E0D84 38 A5 00 04 */ addi r5, r5, 4 /* 802E3E28 002E0D88 38 C6 00 04 */ addi r6, r6, 4 /* 802E3E2C 002E0D8C 42 00 FF E8 */ bdnz lbl_802E3E14 lbl_802E3E30: /* 802E3E30 002E0D90 39 29 00 28 */ addi r9, r9, 0x28 /* 802E3E34 002E0D94 38 63 00 01 */ addi r3, r3, 1 /* 802E3E38 002E0D98 39 08 00 28 */ addi r8, r8, 0x28 /* 802E3E3C 002E0D9C 39 4A 00 01 */ addi r10, r10, 1 lbl_802E3E40: /* 802E3E40 002E0DA0 7C 0A 38 00 */ cmpw r10, r7 /* 802E3E44 002E0DA4 41 80 FF 98 */ blt lbl_802E3DDC /* 802E3E48 002E0DA8 1C 03 00 28 */ mulli r0, r3, 0x28 /* 802E3E4C 002E0DAC 39 00 00 00 */ li r8, 0 /* 802E3E50 002E0DB0 7C DF 02 14 */ add r6, r31, r0 /* 802E3E54 002E0DB4 48 00 00 5C */ b lbl_802E3EB0 lbl_802E3E58: /* 802E3E58 002E0DB8 28 06 00 00 */ cmplwi r6, 0 /* 802E3E5C 002E0DBC 41 82 00 48 */ beq lbl_802E3EA4 /* 802E3E60 002E0DC0 80 1E 00 00 */ lwz r0, 0(r30) /* 802E3E64 002E0DC4 38 BE 00 08 */ addi r5, r30, 8 /* 802E3E68 002E0DC8 38 86 00 08 */ addi r4, r6, 8 /* 802E3E6C 002E0DCC 90 06 00 00 */ stw r0, 0(r6) /* 802E3E70 002E0DD0 80 1E 00 04 */ lwz r0, 4(r30) /* 802E3E74 002E0DD4 90 06 00 04 */ stw r0, 4(r6) /* 802E3E78 002E0DD8 80 06 00 04 */ lwz r0, 4(r6) /* 802E3E7C 002E0DDC 7C 09 03 A6 */ mtctr r0 /* 802E3E80 002E0DE0 2C 00 00 00 */ cmpwi r0, 0 /* 802E3E84 002E0DE4 40 81 00 20 */ ble lbl_802E3EA4 lbl_802E3E88: /* 802E3E88 002E0DE8 28 04 00 00 */ cmplwi r4, 0 /* 802E3E8C 002E0DEC 41 82 00 0C */ beq lbl_802E3E98 /* 802E3E90 002E0DF0 80 05 00 00 */ lwz r0, 0(r5) /* 802E3E94 002E0DF4 90 04 00 00 */ stw r0, 0(r4) lbl_802E3E98: /* 802E3E98 002E0DF8 38 84 00 04 */ addi r4, r4, 4 /* 802E3E9C 002E0DFC 38 A5 00 04 */ addi r5, r5, 4 /* 802E3EA0 002E0E00 42 00 FF E8 */ bdnz lbl_802E3E88 lbl_802E3EA4: /* 802E3EA4 002E0E04 38 C6 00 28 */ addi r6, r6, 0x28 /* 802E3EA8 002E0E08 38 63 00 01 */ addi r3, r3, 1 /* 802E3EAC 002E0E0C 39 08 00 01 */ addi r8, r8, 1 lbl_802E3EB0: /* 802E3EB0 002E0E10 7C 08 D8 00 */ cmpw r8, r27 /* 802E3EB4 002E0E14 41 80 FF A4 */ blt lbl_802E3E58 /* 802E3EB8 002E0E18 1C 03 00 28 */ mulli r0, r3, 0x28 /* 802E3EBC 002E0E1C 7C E8 3B 78 */ mr r8, r7 /* 802E3EC0 002E0E20 1C C7 00 28 */ mulli r6, r7, 0x28 /* 802E3EC4 002E0E24 7C FF 02 14 */ add r7, r31, r0 /* 802E3EC8 002E0E28 48 00 00 64 */ b lbl_802E3F2C lbl_802E3ECC: /* 802E3ECC 002E0E2C 80 1A 00 0C */ lwz r0, 0xc(r26) /* 802E3ED0 002E0E30 28 07 00 00 */ cmplwi r7, 0 /* 802E3ED4 002E0E34 7C 60 32 14 */ add r3, r0, r6 /* 802E3ED8 002E0E38 41 82 00 48 */ beq lbl_802E3F20 /* 802E3EDC 002E0E3C 80 03 00 00 */ lwz r0, 0(r3) /* 802E3EE0 002E0E40 38 A3 00 08 */ addi r5, r3, 8 /* 802E3EE4 002E0E44 38 87 00 08 */ addi r4, r7, 8 /* 802E3EE8 002E0E48 90 07 00 00 */ stw r0, 0(r7) /* 802E3EEC 002E0E4C 80 03 00 04 */ lwz r0, 4(r3) /* 802E3EF0 002E0E50 90 07 00 04 */ stw r0, 4(r7) /* 802E3EF4 002E0E54 80 07 00 04 */ lwz r0, 4(r7) /* 802E3EF8 002E0E58 7C 09 03 A6 */ mtctr r0 /* 802E3EFC 002E0E5C 2C 00 00 00 */ cmpwi r0, 0 /* 802E3F00 002E0E60 40 81 00 20 */ ble lbl_802E3F20 lbl_802E3F04: /* 802E3F04 002E0E64 28 04 00 00 */ cmplwi r4, 0 /* 802E3F08 002E0E68 41 82 00 0C */ beq lbl_802E3F14 /* 802E3F0C 002E0E6C 80 05 00 00 */ lwz r0, 0(r5) /* 802E3F10 002E0E70 90 04 00 00 */ stw r0, 0(r4) lbl_802E3F14: /* 802E3F14 002E0E74 38 84 00 04 */ addi r4, r4, 4 /* 802E3F18 002E0E78 38 A5 00 04 */ addi r5, r5, 4 /* 802E3F1C 002E0E7C 42 00 FF E8 */ bdnz lbl_802E3F04 lbl_802E3F20: /* 802E3F20 002E0E80 38 E7 00 28 */ addi r7, r7, 0x28 /* 802E3F24 002E0E84 38 C6 00 28 */ addi r6, r6, 0x28 /* 802E3F28 002E0E88 39 08 00 01 */ addi r8, r8, 1 lbl_802E3F2C: /* 802E3F2C 002E0E8C 80 1A 00 04 */ lwz r0, 4(r26) /* 802E3F30 002E0E90 7C 08 00 00 */ cmpw r8, r0 /* 802E3F34 002E0E94 41 80 FF 98 */ blt lbl_802E3ECC /* 802E3F38 002E0E98 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E3F3C 002E0E9C 7F A3 EB 78 */ mr r3, r29 /* 802E3F40 002E0EA0 7C 9D 02 14 */ add r4, r29, r0 /* 802E3F44 002E0EA4 48 00 00 70 */ b lbl_802E3FB4 lbl_802E3F48: /* 802E3F48 002E0EA8 28 03 00 00 */ cmplwi r3, 0 /* 802E3F4C 002E0EAC 41 82 00 64 */ beq lbl_802E3FB0 /* 802E3F50 002E0EB0 34 03 00 04 */ addic. r0, r3, 4 /* 802E3F54 002E0EB4 41 82 00 5C */ beq lbl_802E3FB0 /* 802E3F58 002E0EB8 80 E3 00 04 */ lwz r7, 4(r3) /* 802E3F5C 002E0EBC 38 A0 00 00 */ li r5, 0 /* 802E3F60 002E0EC0 2C 07 00 00 */ cmpwi r7, 0 /* 802E3F64 002E0EC4 40 81 00 44 */ ble lbl_802E3FA8 /* 802E3F68 002E0EC8 2C 07 00 08 */ cmpwi r7, 8 /* 802E3F6C 002E0ECC 38 C7 FF F8 */ addi r6, r7, -8 /* 802E3F70 002E0ED0 40 81 00 20 */ ble lbl_802E3F90 /* 802E3F74 002E0ED4 38 06 00 07 */ addi r0, r6, 7 /* 802E3F78 002E0ED8 54 00 E8 FE */ srwi r0, r0, 3 /* 802E3F7C 002E0EDC 7C 09 03 A6 */ mtctr r0 /* 802E3F80 002E0EE0 2C 06 00 00 */ cmpwi r6, 0 /* 802E3F84 002E0EE4 40 81 00 0C */ ble lbl_802E3F90 lbl_802E3F88: /* 802E3F88 002E0EE8 38 A5 00 08 */ addi r5, r5, 8 /* 802E3F8C 002E0EEC 42 00 FF FC */ bdnz lbl_802E3F88 lbl_802E3F90: /* 802E3F90 002E0EF0 7C 05 38 50 */ subf r0, r5, r7 /* 802E3F94 002E0EF4 7C 09 03 A6 */ mtctr r0 /* 802E3F98 002E0EF8 7C 05 38 00 */ cmpw r5, r7 /* 802E3F9C 002E0EFC 40 80 00 0C */ bge lbl_802E3FA8 lbl_802E3FA0: /* 802E3FA0 002E0F00 38 A5 00 01 */ addi r5, r5, 1 /* 802E3FA4 002E0F04 42 00 FF FC */ bdnz lbl_802E3FA0 lbl_802E3FA8: /* 802E3FA8 002E0F08 38 00 00 00 */ li r0, 0 /* 802E3FAC 002E0F0C 90 03 00 04 */ stw r0, 4(r3) lbl_802E3FB0: /* 802E3FB0 002E0F10 38 63 00 28 */ addi r3, r3, 0x28 lbl_802E3FB4: /* 802E3FB4 002E0F14 7C 03 20 40 */ cmplw r3, r4 /* 802E3FB8 002E0F18 40 82 FF 90 */ bne lbl_802E3F48 /* 802E3FBC 002E0F1C 80 7A 00 0C */ lwz r3, 0xc(r26) /* 802E3FC0 002E0F20 28 03 00 00 */ cmplwi r3, 0 /* 802E3FC4 002E0F24 41 82 00 08 */ beq lbl_802E3FCC /* 802E3FC8 002E0F28 48 03 19 69 */ bl Free__7CMemoryFPCv lbl_802E3FCC: /* 802E3FCC 002E0F2C 93 FA 00 0C */ stw r31, 0xc(r26) /* 802E3FD0 002E0F30 93 9A 00 08 */ stw r28, 8(r26) /* 802E3FD4 002E0F34 80 1A 00 04 */ lwz r0, 4(r26) /* 802E3FD8 002E0F38 7C 00 DA 14 */ add r0, r0, r27 /* 802E3FDC 002E0F3C 90 1A 00 04 */ stw r0, 4(r26) lbl_802E3FE0: /* 802E3FE0 002E0F40 BB 21 00 14 */ lmw r25, 0x14(r1) /* 802E3FE4 002E0F44 80 01 00 34 */ lwz r0, 0x34(r1) /* 802E3FE8 002E0F48 7C 08 03 A6 */ mtlr r0 /* 802E3FEC 002E0F4C 38 21 00 30 */ addi r1, r1, 0x30 /* 802E3FF0 002E0F50 4E 80 00 20 */ blr .global GetAnimParmData__13CPASAnimStateCFiUi GetAnimParmData__13CPASAnimStateCFiUi: /* 802E3FF4 002E0F54 94 21 FF A0 */ stwu r1, -0x60(r1) /* 802E3FF8 002E0F58 7C 08 02 A6 */ mflr r0 /* 802E3FFC 002E0F5C 90 01 00 64 */ stw r0, 0x64(r1) /* 802E4000 002E0F60 93 E1 00 5C */ stw r31, 0x5c(r1) /* 802E4004 002E0F64 7C DF 33 78 */ mr r31, r6 /* 802E4008 002E0F68 93 C1 00 58 */ stw r30, 0x58(r1) /* 802E400C 002E0F6C 7C 9E 23 78 */ mr r30, r4 /* 802E4010 002E0F70 7C A4 2B 78 */ mr r4, r5 /* 802E4014 002E0F74 93 A1 00 54 */ stw r29, 0x54(r1) /* 802E4018 002E0F78 7C 7D 1B 78 */ mr r29, r3 /* 802E401C 002E0F7C 38 61 00 24 */ addi r3, r1, 0x24 /* 802E4020 002E0F80 4B FF EF 2D */ bl __ct__12CPASAnimInfoFi /* 802E4024 002E0F84 80 1E 00 18 */ lwz r0, 0x18(r30) /* 802E4028 002E0F88 38 61 00 0C */ addi r3, r1, 0xc /* 802E402C 002E0F8C 80 FE 00 20 */ lwz r7, 0x20(r30) /* 802E4030 002E0F90 38 81 00 10 */ addi r4, r1, 0x10 /* 802E4034 002E0F94 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E4038 002E0F98 38 A1 00 14 */ addi r5, r1, 0x14 /* 802E403C 002E0F9C 90 E1 00 20 */ stw r7, 0x20(r1) /* 802E4040 002E0FA0 38 C1 00 24 */ addi r6, r1, 0x24 /* 802E4044 002E0FA4 7C 07 02 14 */ add r0, r7, r0 /* 802E4048 002E0FA8 90 E1 00 10 */ stw r7, 0x10(r1) /* 802E404C 002E0FAC 90 01 00 18 */ stw r0, 0x18(r1) /* 802E4050 002E0FB0 90 01 00 1C */ stw r0, 0x1c(r1) /* 802E4054 002E0FB4 90 01 00 14 */ stw r0, 0x14(r1) /* 802E4058 002E0FB8 48 00 05 8D */ bl "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" /* 802E405C 002E0FBC 80 A1 00 0C */ lwz r5, 0xc(r1) /* 802E4060 002E0FC0 38 80 00 00 */ li r4, 0 /* 802E4064 002E0FC4 80 01 00 1C */ lwz r0, 0x1c(r1) /* 802E4068 002E0FC8 90 A1 00 08 */ stw r5, 8(r1) /* 802E406C 002E0FCC 7C 05 00 40 */ cmplw r5, r0 /* 802E4070 002E0FD0 41 82 00 18 */ beq lbl_802E4088 /* 802E4074 002E0FD4 80 61 00 24 */ lwz r3, 0x24(r1) /* 802E4078 002E0FD8 80 05 00 00 */ lwz r0, 0(r5) /* 802E407C 002E0FDC 7C 03 00 00 */ cmpw r3, r0 /* 802E4080 002E0FE0 41 80 00 08 */ blt lbl_802E4088 /* 802E4084 002E0FE4 38 80 00 01 */ li r4, 1 lbl_802E4088: /* 802E4088 002E0FE8 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802E408C 002E0FEC 38 61 00 1C */ addi r3, r1, 0x1c /* 802E4090 002E0FF0 41 82 00 08 */ beq lbl_802E4098 /* 802E4094 002E0FF4 38 61 00 08 */ addi r3, r1, 8 lbl_802E4098: /* 802E4098 002E0FF8 34 C1 00 28 */ addic. r6, r1, 0x28 /* 802E409C 002E0FFC 80 83 00 00 */ lwz r4, 0(r3) /* 802E40A0 002E1000 41 82 00 58 */ beq lbl_802E40F8 /* 802E40A4 002E1004 80 E6 00 00 */ lwz r7, 0(r6) /* 802E40A8 002E1008 38 60 00 00 */ li r3, 0 /* 802E40AC 002E100C 2C 07 00 00 */ cmpwi r7, 0 /* 802E40B0 002E1010 40 81 00 40 */ ble lbl_802E40F0 /* 802E40B4 002E1014 2C 07 00 08 */ cmpwi r7, 8 /* 802E40B8 002E1018 38 A7 FF F8 */ addi r5, r7, -8 /* 802E40BC 002E101C 40 81 00 20 */ ble lbl_802E40DC /* 802E40C0 002E1020 38 05 00 07 */ addi r0, r5, 7 /* 802E40C4 002E1024 54 00 E8 FE */ srwi r0, r0, 3 /* 802E40C8 002E1028 7C 09 03 A6 */ mtctr r0 /* 802E40CC 002E102C 2C 05 00 00 */ cmpwi r5, 0 /* 802E40D0 002E1030 40 81 00 0C */ ble lbl_802E40DC lbl_802E40D4: /* 802E40D4 002E1034 38 63 00 08 */ addi r3, r3, 8 /* 802E40D8 002E1038 42 00 FF FC */ bdnz lbl_802E40D4 lbl_802E40DC: /* 802E40DC 002E103C 7C 03 38 50 */ subf r0, r3, r7 /* 802E40E0 002E1040 7C 09 03 A6 */ mtctr r0 /* 802E40E4 002E1044 7C 03 38 00 */ cmpw r3, r7 /* 802E40E8 002E1048 40 80 00 08 */ bge lbl_802E40F0 lbl_802E40EC: /* 802E40EC 002E104C 42 00 00 00 */ bdnz lbl_802E40EC lbl_802E40F0: /* 802E40F0 002E1050 38 00 00 00 */ li r0, 0 /* 802E40F4 002E1054 90 06 00 00 */ stw r0, 0(r6) lbl_802E40F8: /* 802E40F8 002E1058 80 1E 00 18 */ lwz r0, 0x18(r30) /* 802E40FC 002E105C 80 7E 00 20 */ lwz r3, 0x20(r30) /* 802E4100 002E1060 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E4104 002E1064 7C 03 02 14 */ add r0, r3, r0 /* 802E4108 002E1068 7C 04 00 40 */ cmplw r4, r0 /* 802E410C 002E106C 41 82 00 20 */ beq lbl_802E412C /* 802E4110 002E1070 1C 1F 00 14 */ mulli r0, r31, 0x14 /* 802E4114 002E1074 80 BE 00 10 */ lwz r5, 0x10(r30) /* 802E4118 002E1078 7F A3 EB 78 */ mr r3, r29 /* 802E411C 002E107C 7C C5 00 2E */ lwzx r6, r5, r0 /* 802E4120 002E1080 7F E5 FB 78 */ mr r5, r31 /* 802E4124 002E1084 4B FF ED 45 */ bl GetAnimParmData__12CPASAnimInfoCFUiQ212CPASAnimParm9EParmType /* 802E4128 002E1088 48 00 00 0C */ b lbl_802E4134 lbl_802E412C: /* 802E412C 002E108C 7F A3 EB 78 */ mr r3, r29 /* 802E4130 002E1090 4B FF EF 4D */ bl NoParameter__12CPASAnimParmFv lbl_802E4134: /* 802E4134 002E1094 80 01 00 64 */ lwz r0, 0x64(r1) /* 802E4138 002E1098 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 802E413C 002E109C 83 C1 00 58 */ lwz r30, 0x58(r1) /* 802E4140 002E10A0 83 A1 00 54 */ lwz r29, 0x54(r1) /* 802E4144 002E10A4 7C 08 03 A6 */ mtlr r0 /* 802E4148 002E10A8 38 21 00 60 */ addi r1, r1, 0x60 /* 802E414C 002E10AC 4E 80 00 20 */ blr .global __ct__13CPASAnimStateFR12CInputStream __ct__13CPASAnimStateFR12CInputStream: /* 802E4150 002E10B0 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 802E4154 002E10B4 7C 08 02 A6 */ mflr r0 /* 802E4158 002E10B8 90 01 00 C4 */ stw r0, 0xc4(r1) /* 802E415C 002E10BC 38 00 FF FF */ li r0, -1 /* 802E4160 002E10C0 BE C1 00 98 */ stmw r22, 0x98(r1) /* 802E4164 002E10C4 7C 76 1B 78 */ mr r22, r3 /* 802E4168 002E10C8 7C 97 23 78 */ mr r23, r4 /* 802E416C 002E10CC 90 03 00 00 */ stw r0, 0(r3) /* 802E4170 002E10D0 38 00 00 00 */ li r0, 0 /* 802E4174 002E10D4 90 03 00 08 */ stw r0, 8(r3) /* 802E4178 002E10D8 7E E3 BB 78 */ mr r3, r23 /* 802E417C 002E10DC 90 16 00 0C */ stw r0, 0xc(r22) /* 802E4180 002E10E0 90 16 00 10 */ stw r0, 0x10(r22) /* 802E4184 002E10E4 90 16 00 18 */ stw r0, 0x18(r22) /* 802E4188 002E10E8 90 16 00 1C */ stw r0, 0x1c(r22) /* 802E418C 002E10EC 90 16 00 20 */ stw r0, 0x20(r22) /* 802E4190 002E10F0 90 16 00 28 */ stw r0, 0x28(r22) /* 802E4194 002E10F4 90 16 00 2C */ stw r0, 0x2c(r22) /* 802E4198 002E10F8 90 16 00 30 */ stw r0, 0x30(r22) /* 802E419C 002E10FC 48 05 AA E9 */ bl ReadLong__12CInputStreamFv /* 802E41A0 002E1100 90 76 00 00 */ stw r3, 0(r22) /* 802E41A4 002E1104 7E E3 BB 78 */ mr r3, r23 /* 802E41A8 002E1108 48 05 AA DD */ bl ReadLong__12CInputStreamFv /* 802E41AC 002E110C 7C 7E 1B 78 */ mr r30, r3 /* 802E41B0 002E1110 7E E3 BB 78 */ mr r3, r23 /* 802E41B4 002E1114 48 05 AA D1 */ bl ReadLong__12CInputStreamFv /* 802E41B8 002E1118 7C 7D 1B 78 */ mr r29, r3 /* 802E41BC 002E111C 7F C4 F3 78 */ mr r4, r30 /* 802E41C0 002E1120 38 76 00 04 */ addi r3, r22, 4 /* 802E41C4 002E1124 48 00 04 E1 */ bl "reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi" /* 802E41C8 002E1128 7F A4 EB 78 */ mr r4, r29 /* 802E41CC 002E112C 38 76 00 14 */ addi r3, r22, 0x14 /* 802E41D0 002E1130 48 00 05 E5 */ bl "reserve__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>Fi" /* 802E41D4 002E1134 7F A4 EB 78 */ mr r4, r29 /* 802E41D8 002E1138 38 76 00 24 */ addi r3, r22, 0x24 /* 802E41DC 002E113C 4B D7 5A CD */ bl "reserve__Q24rstl36vectorFi" /* 802E41E0 002E1140 3B 40 00 00 */ li r26, 0 /* 802E41E4 002E1144 48 00 00 84 */ b lbl_802E4268 lbl_802E41E8: /* 802E41E8 002E1148 7E E4 BB 78 */ mr r4, r23 /* 802E41EC 002E114C 38 61 00 2C */ addi r3, r1, 0x2c /* 802E41F0 002E1150 48 00 15 61 */ bl __ct__12CPASParmInfoFR12CInputStream /* 802E41F4 002E1154 80 16 00 08 */ lwz r0, 8(r22) /* 802E41F8 002E1158 80 B6 00 0C */ lwz r5, 0xc(r22) /* 802E41FC 002E115C 7C 00 28 00 */ cmpw r0, r5 /* 802E4200 002E1160 41 80 00 1C */ blt lbl_802E421C /* 802E4204 002E1164 2C 05 00 00 */ cmpwi r5, 0 /* 802E4208 002E1168 38 76 00 04 */ addi r3, r22, 4 /* 802E420C 002E116C 38 80 00 04 */ li r4, 4 /* 802E4210 002E1170 41 82 00 08 */ beq lbl_802E4218 /* 802E4214 002E1174 54 A4 08 3C */ slwi r4, r5, 1 lbl_802E4218: /* 802E4218 002E1178 48 00 04 8D */ bl "reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi" lbl_802E421C: /* 802E421C 002E117C 80 16 00 08 */ lwz r0, 8(r22) /* 802E4220 002E1180 80 76 00 10 */ lwz r3, 0x10(r22) /* 802E4224 002E1184 1C 00 00 14 */ mulli r0, r0, 0x14 /* 802E4228 002E1188 7C 63 02 15 */ add. r3, r3, r0 /* 802E422C 002E118C 41 82 00 2C */ beq lbl_802E4258 /* 802E4230 002E1190 80 01 00 2C */ lwz r0, 0x2c(r1) /* 802E4234 002E1194 90 03 00 00 */ stw r0, 0(r3) /* 802E4238 002E1198 80 01 00 30 */ lwz r0, 0x30(r1) /* 802E423C 002E119C 90 03 00 04 */ stw r0, 4(r3) /* 802E4240 002E11A0 C0 01 00 34 */ lfs f0, 0x34(r1) /* 802E4244 002E11A4 D0 03 00 08 */ stfs f0, 8(r3) /* 802E4248 002E11A8 80 01 00 38 */ lwz r0, 0x38(r1) /* 802E424C 002E11AC 90 03 00 0C */ stw r0, 0xc(r3) /* 802E4250 002E11B0 80 01 00 3C */ lwz r0, 0x3c(r1) /* 802E4254 002E11B4 90 03 00 10 */ stw r0, 0x10(r3) lbl_802E4258: /* 802E4258 002E11B8 80 76 00 08 */ lwz r3, 8(r22) /* 802E425C 002E11BC 3B 5A 00 01 */ addi r26, r26, 1 /* 802E4260 002E11C0 38 03 00 01 */ addi r0, r3, 1 /* 802E4264 002E11C4 90 16 00 08 */ stw r0, 8(r22) lbl_802E4268: /* 802E4268 002E11C8 7C 1A F0 40 */ cmplw r26, r30 /* 802E426C 002E11CC 41 80 FF 7C */ blt lbl_802E41E8 /* 802E4270 002E11D0 38 00 00 00 */ li r0, 0 /* 802E4274 002E11D4 3B 61 00 6C */ addi r27, r1, 0x6c /* 802E4278 002E11D8 90 01 00 68 */ stw r0, 0x68(r1) /* 802E427C 002E11DC 3B 41 00 44 */ addi r26, r1, 0x44 /* 802E4280 002E11E0 3B 20 00 00 */ li r25, 0 /* 802E4284 002E11E4 48 00 01 FC */ b lbl_802E4480 lbl_802E4288: /* 802E4288 002E11E8 7E E3 BB 78 */ mr r3, r23 /* 802E428C 002E11EC 48 05 A9 F9 */ bl ReadLong__12CInputStreamFv /* 802E4290 002E11F0 80 A1 00 68 */ lwz r5, 0x68(r1) /* 802E4294 002E11F4 7C 7C 1B 78 */ mr r28, r3 /* 802E4298 002E11F8 38 60 00 00 */ li r3, 0 /* 802E429C 002E11FC 2C 05 00 00 */ cmpwi r5, 0 /* 802E42A0 002E1200 40 81 00 44 */ ble lbl_802E42E4 /* 802E42A4 002E1204 2C 05 00 08 */ cmpwi r5, 8 /* 802E42A8 002E1208 38 85 FF F8 */ addi r4, r5, -8 /* 802E42AC 002E120C 40 81 00 20 */ ble lbl_802E42CC /* 802E42B0 002E1210 38 04 00 07 */ addi r0, r4, 7 /* 802E42B4 002E1214 54 00 E8 FE */ srwi r0, r0, 3 /* 802E42B8 002E1218 7C 09 03 A6 */ mtctr r0 /* 802E42BC 002E121C 2C 04 00 00 */ cmpwi r4, 0 /* 802E42C0 002E1220 40 81 00 0C */ ble lbl_802E42CC lbl_802E42C4: /* 802E42C4 002E1224 38 63 00 08 */ addi r3, r3, 8 /* 802E42C8 002E1228 42 00 FF FC */ bdnz lbl_802E42C4 lbl_802E42CC: /* 802E42CC 002E122C 7C 03 28 50 */ subf r0, r3, r5 /* 802E42D0 002E1230 7C 09 03 A6 */ mtctr r0 /* 802E42D4 002E1234 7C 03 28 00 */ cmpw r3, r5 /* 802E42D8 002E1238 40 80 00 0C */ bge lbl_802E42E4 lbl_802E42DC: /* 802E42DC 002E123C 38 63 00 01 */ addi r3, r3, 1 /* 802E42E0 002E1240 42 00 FF FC */ bdnz lbl_802E42DC lbl_802E42E4: /* 802E42E4 002E1244 3B E0 00 00 */ li r31, 0 /* 802E42E8 002E1248 3B 00 00 00 */ li r24, 0 /* 802E42EC 002E124C 93 E1 00 68 */ stw r31, 0x68(r1) /* 802E42F0 002E1250 48 00 00 BC */ b lbl_802E43AC lbl_802E42F4: /* 802E42F4 002E1254 80 76 00 10 */ lwz r3, 0x10(r22) /* 802E42F8 002E1258 7C 03 F8 2E */ lwzx r0, r3, r31 /* 802E42FC 002E125C 2C 00 00 02 */ cmpwi r0, 2 /* 802E4300 002E1260 41 82 00 48 */ beq lbl_802E4348 /* 802E4304 002E1264 40 80 00 14 */ bge lbl_802E4318 /* 802E4308 002E1268 2C 00 00 00 */ cmpwi r0, 0 /* 802E430C 002E126C 41 82 00 1C */ beq lbl_802E4328 /* 802E4310 002E1270 40 80 00 28 */ bge lbl_802E4338 /* 802E4314 002E1274 48 00 00 64 */ b lbl_802E4378 lbl_802E4318: /* 802E4318 002E1278 2C 00 00 04 */ cmpwi r0, 4 /* 802E431C 002E127C 41 82 00 4C */ beq lbl_802E4368 /* 802E4320 002E1280 40 80 00 58 */ bge lbl_802E4378 /* 802E4324 002E1284 48 00 00 34 */ b lbl_802E4358 lbl_802E4328: /* 802E4328 002E1288 7E E3 BB 78 */ mr r3, r23 /* 802E432C 002E128C 48 05 A9 59 */ bl ReadLong__12CInputStreamFv /* 802E4330 002E1290 90 61 00 28 */ stw r3, 0x28(r1) /* 802E4334 002E1294 48 00 00 4C */ b lbl_802E4380 lbl_802E4338: /* 802E4338 002E1298 7E E3 BB 78 */ mr r3, r23 /* 802E433C 002E129C 48 05 A9 49 */ bl ReadLong__12CInputStreamFv /* 802E4340 002E12A0 90 61 00 28 */ stw r3, 0x28(r1) /* 802E4344 002E12A4 48 00 00 3C */ b lbl_802E4380 lbl_802E4348: /* 802E4348 002E12A8 7E E3 BB 78 */ mr r3, r23 /* 802E434C 002E12AC 48 05 A8 DD */ bl ReadFloat__12CInputStreamFv /* 802E4350 002E12B0 D0 21 00 28 */ stfs f1, 0x28(r1) /* 802E4354 002E12B4 48 00 00 2C */ b lbl_802E4380 lbl_802E4358: /* 802E4358 002E12B8 7E E3 BB 78 */ mr r3, r23 /* 802E435C 002E12BC 48 05 A9 81 */ bl ReadBool__12CInputStreamFv /* 802E4360 002E12C0 98 61 00 28 */ stb r3, 0x28(r1) /* 802E4364 002E12C4 48 00 00 1C */ b lbl_802E4380 lbl_802E4368: /* 802E4368 002E12C8 7E E3 BB 78 */ mr r3, r23 /* 802E436C 002E12CC 48 05 A9 19 */ bl ReadLong__12CInputStreamFv /* 802E4370 002E12D0 90 61 00 28 */ stw r3, 0x28(r1) /* 802E4374 002E12D4 48 00 00 0C */ b lbl_802E4380 lbl_802E4378: /* 802E4378 002E12D8 38 00 00 00 */ li r0, 0 /* 802E437C 002E12DC 90 01 00 28 */ stw r0, 0x28(r1) lbl_802E4380: /* 802E4380 002E12E0 80 01 00 68 */ lwz r0, 0x68(r1) /* 802E4384 002E12E4 54 00 10 3A */ slwi r0, r0, 2 /* 802E4388 002E12E8 7C 7B 02 15 */ add. r3, r27, r0 /* 802E438C 002E12EC 41 82 00 0C */ beq lbl_802E4398 /* 802E4390 002E12F0 80 01 00 28 */ lwz r0, 0x28(r1) /* 802E4394 002E12F4 90 03 00 00 */ stw r0, 0(r3) lbl_802E4398: /* 802E4398 002E12F8 80 61 00 68 */ lwz r3, 0x68(r1) /* 802E439C 002E12FC 3B 18 00 01 */ addi r24, r24, 1 /* 802E43A0 002E1300 3B FF 00 14 */ addi r31, r31, 0x14 /* 802E43A4 002E1304 38 03 00 01 */ addi r0, r3, 1 /* 802E43A8 002E1308 90 01 00 68 */ stw r0, 0x68(r1) lbl_802E43AC: /* 802E43AC 002E130C 7C 18 F0 40 */ cmplw r24, r30 /* 802E43B0 002E1310 41 80 FF 44 */ blt lbl_802E42F4 /* 802E43B4 002E1314 7F 84 E3 78 */ mr r4, r28 /* 802E43B8 002E1318 38 61 00 40 */ addi r3, r1, 0x40 /* 802E43BC 002E131C 38 A1 00 68 */ addi r5, r1, 0x68 /* 802E43C0 002E1320 4B FF EB 49 */ bl "__ct__12CPASAnimInfoFiRCQ24rstl47reserved_vector" /* 802E43C4 002E1324 80 16 00 18 */ lwz r0, 0x18(r22) /* 802E43C8 002E1328 38 61 00 20 */ addi r3, r1, 0x20 /* 802E43CC 002E132C 80 F6 00 20 */ lwz r7, 0x20(r22) /* 802E43D0 002E1330 38 81 00 1C */ addi r4, r1, 0x1c /* 802E43D4 002E1334 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E43D8 002E1338 38 A1 00 14 */ addi r5, r1, 0x14 /* 802E43DC 002E133C 38 C1 00 40 */ addi r6, r1, 0x40 /* 802E43E0 002E1340 7C E7 02 14 */ add r7, r7, r0 /* 802E43E4 002E1344 90 E1 00 14 */ stw r7, 0x14(r1) /* 802E43E8 002E1348 80 16 00 20 */ lwz r0, 0x20(r22) /* 802E43EC 002E134C 90 E1 00 10 */ stw r7, 0x10(r1) /* 802E43F0 002E1350 90 01 00 18 */ stw r0, 0x18(r1) /* 802E43F4 002E1354 90 01 00 1C */ stw r0, 0x1c(r1) /* 802E43F8 002E1358 48 00 01 2D */ bl "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" /* 802E43FC 002E135C 80 01 00 20 */ lwz r0, 0x20(r1) /* 802E4400 002E1360 38 61 00 0C */ addi r3, r1, 0xc /* 802E4404 002E1364 38 96 00 14 */ addi r4, r22, 0x14 /* 802E4408 002E1368 38 A1 00 08 */ addi r5, r1, 8 /* 802E440C 002E136C 90 01 00 24 */ stw r0, 0x24(r1) /* 802E4410 002E1370 38 C1 00 40 */ addi r6, r1, 0x40 /* 802E4414 002E1374 90 01 00 08 */ stw r0, 8(r1) /* 802E4418 002E1378 4B FF F6 D5 */ bl "insert__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" /* 802E441C 002E137C 28 1A 00 00 */ cmplwi r26, 0 /* 802E4420 002E1380 41 82 00 5C */ beq lbl_802E447C /* 802E4424 002E1384 80 A1 00 44 */ lwz r5, 0x44(r1) /* 802E4428 002E1388 38 60 00 00 */ li r3, 0 /* 802E442C 002E138C 2C 05 00 00 */ cmpwi r5, 0 /* 802E4430 002E1390 40 81 00 44 */ ble lbl_802E4474 /* 802E4434 002E1394 2C 05 00 08 */ cmpwi r5, 8 /* 802E4438 002E1398 38 85 FF F8 */ addi r4, r5, -8 /* 802E443C 002E139C 40 81 00 20 */ ble lbl_802E445C /* 802E4440 002E13A0 38 04 00 07 */ addi r0, r4, 7 /* 802E4444 002E13A4 54 00 E8 FE */ srwi r0, r0, 3 /* 802E4448 002E13A8 7C 09 03 A6 */ mtctr r0 /* 802E444C 002E13AC 2C 04 00 00 */ cmpwi r4, 0 /* 802E4450 002E13B0 40 81 00 0C */ ble lbl_802E445C lbl_802E4454: /* 802E4454 002E13B4 38 63 00 08 */ addi r3, r3, 8 /* 802E4458 002E13B8 42 00 FF FC */ bdnz lbl_802E4454 lbl_802E445C: /* 802E445C 002E13BC 7C 03 28 50 */ subf r0, r3, r5 /* 802E4460 002E13C0 7C 09 03 A6 */ mtctr r0 /* 802E4464 002E13C4 7C 03 28 00 */ cmpw r3, r5 /* 802E4468 002E13C8 40 80 00 0C */ bge lbl_802E4474 lbl_802E446C: /* 802E446C 002E13CC 38 63 00 01 */ addi r3, r3, 1 /* 802E4470 002E13D0 42 00 FF FC */ bdnz lbl_802E446C lbl_802E4474: /* 802E4474 002E13D4 38 00 00 00 */ li r0, 0 /* 802E4478 002E13D8 90 01 00 44 */ stw r0, 0x44(r1) lbl_802E447C: /* 802E447C 002E13DC 3B 39 00 01 */ addi r25, r25, 1 lbl_802E4480: /* 802E4480 002E13E0 7C 19 E8 40 */ cmplw r25, r29 /* 802E4484 002E13E4 41 80 FE 04 */ blt lbl_802E4288 /* 802E4488 002E13E8 80 A1 00 68 */ lwz r5, 0x68(r1) /* 802E448C 002E13EC 38 60 00 00 */ li r3, 0 /* 802E4490 002E13F0 2C 05 00 00 */ cmpwi r5, 0 /* 802E4494 002E13F4 40 81 00 40 */ ble lbl_802E44D4 /* 802E4498 002E13F8 2C 05 00 08 */ cmpwi r5, 8 /* 802E449C 002E13FC 38 85 FF F8 */ addi r4, r5, -8 /* 802E44A0 002E1400 40 81 00 20 */ ble lbl_802E44C0 /* 802E44A4 002E1404 38 04 00 07 */ addi r0, r4, 7 /* 802E44A8 002E1408 54 00 E8 FE */ srwi r0, r0, 3 /* 802E44AC 002E140C 7C 09 03 A6 */ mtctr r0 /* 802E44B0 002E1410 2C 04 00 00 */ cmpwi r4, 0 /* 802E44B4 002E1414 40 81 00 0C */ ble lbl_802E44C0 lbl_802E44B8: /* 802E44B8 002E1418 38 63 00 08 */ addi r3, r3, 8 /* 802E44BC 002E141C 42 00 FF FC */ bdnz lbl_802E44B8 lbl_802E44C0: /* 802E44C0 002E1420 7C 03 28 50 */ subf r0, r3, r5 /* 802E44C4 002E1424 7C 09 03 A6 */ mtctr r0 /* 802E44C8 002E1428 7C 03 28 00 */ cmpw r3, r5 /* 802E44CC 002E142C 40 80 00 08 */ bge lbl_802E44D4 lbl_802E44D0: /* 802E44D0 002E1430 42 00 00 00 */ bdnz lbl_802E44D0 lbl_802E44D4: /* 802E44D4 002E1434 38 00 00 00 */ li r0, 0 /* 802E44D8 002E1438 7E C3 B3 78 */ mr r3, r22 /* 802E44DC 002E143C 90 01 00 68 */ stw r0, 0x68(r1) /* 802E44E0 002E1440 BA C1 00 98 */ lmw r22, 0x98(r1) /* 802E44E4 002E1444 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 802E44E8 002E1448 7C 08 03 A6 */ mtlr r0 /* 802E44EC 002E144C 38 21 00 C0 */ addi r1, r1, 0xc0 /* 802E44F0 002E1450 4E 80 00 20 */ blr .global __ct__13CPASAnimStateFi __ct__13CPASAnimStateFi: /* 802E44F4 002E1454 90 83 00 00 */ stw r4, 0(r3) /* 802E44F8 002E1458 38 00 00 00 */ li r0, 0 /* 802E44FC 002E145C 90 03 00 08 */ stw r0, 8(r3) /* 802E4500 002E1460 90 03 00 0C */ stw r0, 0xc(r3) /* 802E4504 002E1464 90 03 00 10 */ stw r0, 0x10(r3) /* 802E4508 002E1468 90 03 00 18 */ stw r0, 0x18(r3) /* 802E450C 002E146C 90 03 00 1C */ stw r0, 0x1c(r3) /* 802E4510 002E1470 90 03 00 20 */ stw r0, 0x20(r3) /* 802E4514 002E1474 90 03 00 28 */ stw r0, 0x28(r3) /* 802E4518 002E1478 90 03 00 2C */ stw r0, 0x2c(r3) /* 802E451C 002E147C 90 03 00 30 */ stw r0, 0x30(r3) /* 802E4520 002E1480 4E 80 00 20 */ blr .global "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo": /* 802E4524 002E1484 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802E4528 002E1488 7C 08 02 A6 */ mflr r0 /* 802E452C 002E148C 90 01 00 34 */ stw r0, 0x34(r1) /* 802E4530 002E1490 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 802E4534 002E1494 7C 9F 23 78 */ mr r31, r4 /* 802E4538 002E1498 7C 7E 1B 78 */ mr r30, r3 /* 802E453C 002E149C 7C DB 33 78 */ mr r27, r6 /* 802E4540 002E14A0 38 61 00 0C */ addi r3, r1, 0xc /* 802E4544 002E14A4 80 85 00 00 */ lwz r4, 0(r5) /* 802E4548 002E14A8 80 1F 00 00 */ lwz r0, 0(r31) /* 802E454C 002E14AC 90 81 00 08 */ stw r4, 8(r1) /* 802E4550 002E14B0 38 81 00 08 */ addi r4, r1, 8 /* 802E4554 002E14B4 90 01 00 0C */ stw r0, 0xc(r1) /* 802E4558 002E14B8 48 00 04 71 */ bl "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" /* 802E455C 002E14BC 80 1F 00 00 */ lwz r0, 0(r31) /* 802E4560 002E14C0 7C 7D 1B 78 */ mr r29, r3 /* 802E4564 002E14C4 90 01 00 10 */ stw r0, 0x10(r1) /* 802E4568 002E14C8 48 00 00 58 */ b lbl_802E45C0 lbl_802E456C: /* 802E456C 002E14CC 57 A3 0F FE */ srwi r3, r29, 0x1f /* 802E4570 002E14D0 80 1F 00 00 */ lwz r0, 0(r31) /* 802E4574 002E14D4 7C 83 EA 14 */ add r4, r3, r29 /* 802E4578 002E14D8 38 61 00 10 */ addi r3, r1, 0x10 /* 802E457C 002E14DC 7C 9C 0E 70 */ srawi r28, r4, 1 /* 802E4580 002E14E0 90 01 00 10 */ stw r0, 0x10(r1) /* 802E4584 002E14E4 7F 84 E3 78 */ mr r4, r28 /* 802E4588 002E14E8 48 00 03 C1 */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" /* 802E458C 002E14EC 80 81 00 10 */ lwz r4, 0x10(r1) /* 802E4590 002E14F0 80 1B 00 00 */ lwz r0, 0(r27) /* 802E4594 002E14F4 80 64 00 00 */ lwz r3, 0(r4) /* 802E4598 002E14F8 7C 03 00 00 */ cmpw r3, r0 /* 802E459C 002E14FC 40 80 00 20 */ bge lbl_802E45BC /* 802E45A0 002E1500 90 9F 00 00 */ stw r4, 0(r31) /* 802E45A4 002E1504 7C 7C E8 50 */ subf r3, r28, r29 /* 802E45A8 002E1508 3B A3 FF FF */ addi r29, r3, -1 /* 802E45AC 002E150C 80 7F 00 00 */ lwz r3, 0(r31) /* 802E45B0 002E1510 38 03 00 28 */ addi r0, r3, 0x28 /* 802E45B4 002E1514 90 1F 00 00 */ stw r0, 0(r31) /* 802E45B8 002E1518 48 00 00 08 */ b lbl_802E45C0 lbl_802E45BC: /* 802E45BC 002E151C 7F 9D E3 78 */ mr r29, r28 lbl_802E45C0: /* 802E45C0 002E1520 2C 1D 00 00 */ cmpwi r29, 0 /* 802E45C4 002E1524 41 81 FF A8 */ bgt lbl_802E456C /* 802E45C8 002E1528 80 1F 00 00 */ lwz r0, 0(r31) /* 802E45CC 002E152C 90 1E 00 00 */ stw r0, 0(r30) /* 802E45D0 002E1530 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 802E45D4 002E1534 80 01 00 34 */ lwz r0, 0x34(r1) /* 802E45D8 002E1538 7C 08 03 A6 */ mtlr r0 /* 802E45DC 002E153C 38 21 00 30 */ addi r1, r1, 0x30 /* 802E45E0 002E1540 4E 80 00 20 */ blr .global "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo": /* 802E45E4 002E1544 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802E45E8 002E1548 7C 08 02 A6 */ mflr r0 /* 802E45EC 002E154C 90 01 00 34 */ stw r0, 0x34(r1) /* 802E45F0 002E1550 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 802E45F4 002E1554 7C 9F 23 78 */ mr r31, r4 /* 802E45F8 002E1558 7C 7E 1B 78 */ mr r30, r3 /* 802E45FC 002E155C 7C DB 33 78 */ mr r27, r6 /* 802E4600 002E1560 38 61 00 0C */ addi r3, r1, 0xc /* 802E4604 002E1564 80 85 00 00 */ lwz r4, 0(r5) /* 802E4608 002E1568 80 1F 00 00 */ lwz r0, 0(r31) /* 802E460C 002E156C 90 81 00 08 */ stw r4, 8(r1) /* 802E4610 002E1570 38 81 00 08 */ addi r4, r1, 8 /* 802E4614 002E1574 90 01 00 0C */ stw r0, 0xc(r1) /* 802E4618 002E1578 48 00 03 F5 */ bl "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" /* 802E461C 002E157C 80 1F 00 00 */ lwz r0, 0(r31) /* 802E4620 002E1580 7C 7D 1B 78 */ mr r29, r3 /* 802E4624 002E1584 90 01 00 10 */ stw r0, 0x10(r1) /* 802E4628 002E1588 48 00 00 58 */ b lbl_802E4680 lbl_802E462C: /* 802E462C 002E158C 57 A3 0F FE */ srwi r3, r29, 0x1f /* 802E4630 002E1590 80 1F 00 00 */ lwz r0, 0(r31) /* 802E4634 002E1594 7C 83 EA 14 */ add r4, r3, r29 /* 802E4638 002E1598 38 61 00 10 */ addi r3, r1, 0x10 /* 802E463C 002E159C 7C 9C 0E 70 */ srawi r28, r4, 1 /* 802E4640 002E15A0 90 01 00 10 */ stw r0, 0x10(r1) /* 802E4644 002E15A4 7F 84 E3 78 */ mr r4, r28 /* 802E4648 002E15A8 48 00 03 2D */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" /* 802E464C 002E15AC 80 81 00 10 */ lwz r4, 0x10(r1) /* 802E4650 002E15B0 80 1B 00 00 */ lwz r0, 0(r27) /* 802E4654 002E15B4 80 64 00 00 */ lwz r3, 0(r4) /* 802E4658 002E15B8 7C 03 00 00 */ cmpw r3, r0 /* 802E465C 002E15BC 40 80 00 20 */ bge lbl_802E467C /* 802E4660 002E15C0 90 9F 00 00 */ stw r4, 0(r31) /* 802E4664 002E15C4 7C 7C E8 50 */ subf r3, r28, r29 /* 802E4668 002E15C8 3B A3 FF FF */ addi r29, r3, -1 /* 802E466C 002E15CC 80 7F 00 00 */ lwz r3, 0(r31) /* 802E4670 002E15D0 38 03 00 28 */ addi r0, r3, 0x28 /* 802E4674 002E15D4 90 1F 00 00 */ stw r0, 0(r31) /* 802E4678 002E15D8 48 00 00 08 */ b lbl_802E4680 lbl_802E467C: /* 802E467C 002E15DC 7F 9D E3 78 */ mr r29, r28 lbl_802E4680: /* 802E4680 002E15E0 2C 1D 00 00 */ cmpwi r29, 0 /* 802E4684 002E15E4 41 81 FF A8 */ bgt lbl_802E462C /* 802E4688 002E15E8 80 1F 00 00 */ lwz r0, 0(r31) /* 802E468C 002E15EC 90 1E 00 00 */ stw r0, 0(r30) /* 802E4690 002E15F0 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 802E4694 002E15F4 80 01 00 34 */ lwz r0, 0x34(r1) /* 802E4698 002E15F8 7C 08 03 A6 */ mtlr r0 /* 802E469C 002E15FC 38 21 00 30 */ addi r1, r1, 0x30 /* 802E46A0 002E1600 4E 80 00 20 */ blr .global "reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi": /* 802E46A4 002E1604 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802E46A8 002E1608 7C 08 02 A6 */ mflr r0 /* 802E46AC 002E160C 90 01 00 34 */ stw r0, 0x34(r1) /* 802E46B0 002E1610 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802E46B4 002E1614 7C 9F 23 78 */ mr r31, r4 /* 802E46B8 002E1618 93 C1 00 28 */ stw r30, 0x28(r1) /* 802E46BC 002E161C 7C 7E 1B 78 */ mr r30, r3 /* 802E46C0 002E1620 93 A1 00 24 */ stw r29, 0x24(r1) /* 802E46C4 002E1624 80 03 00 08 */ lwz r0, 8(r3) /* 802E46C8 002E1628 7C 1F 00 00 */ cmpw r31, r0 /* 802E46CC 002E162C 40 81 00 CC */ ble lbl_802E4798 /* 802E46D0 002E1630 1C 7F 00 14 */ mulli r3, r31, 0x14 /* 802E46D4 002E1634 2C 03 00 00 */ cmpwi r3, 0 /* 802E46D8 002E1638 40 82 00 0C */ bne lbl_802E46E4 /* 802E46DC 002E163C 3B A0 00 00 */ li r29, 0 /* 802E46E0 002E1640 48 00 00 18 */ b lbl_802E46F8 lbl_802E46E4: /* 802E46E4 002E1644 3C 80 80 3D */ lis r4, lbl_803D6DA8@ha /* 802E46E8 002E1648 38 A0 00 00 */ li r5, 0 /* 802E46EC 002E164C 38 84 6D A8 */ addi r4, r4, lbl_803D6DA8@l /* 802E46F0 002E1650 48 03 11 29 */ bl __nwa__FUlPCcPCc /* 802E46F4 002E1654 7C 7D 1B 78 */ mr r29, r3 lbl_802E46F8: /* 802E46F8 002E1658 80 1E 00 04 */ lwz r0, 4(r30) /* 802E46FC 002E165C 7F A4 EB 78 */ mr r4, r29 /* 802E4700 002E1660 80 BE 00 0C */ lwz r5, 0xc(r30) /* 802E4704 002E1664 1C 00 00 14 */ mulli r0, r0, 0x14 /* 802E4708 002E1668 90 A1 00 10 */ stw r5, 0x10(r1) /* 802E470C 002E166C 7C 65 02 14 */ add r3, r5, r0 /* 802E4710 002E1670 90 A1 00 14 */ stw r5, 0x14(r1) /* 802E4714 002E1674 90 61 00 08 */ stw r3, 8(r1) /* 802E4718 002E1678 90 61 00 0C */ stw r3, 0xc(r1) /* 802E471C 002E167C 48 00 00 3C */ b lbl_802E4758 lbl_802E4720: /* 802E4720 002E1680 28 04 00 00 */ cmplwi r4, 0 /* 802E4724 002E1684 41 82 00 2C */ beq lbl_802E4750 /* 802E4728 002E1688 80 05 00 00 */ lwz r0, 0(r5) /* 802E472C 002E168C 90 04 00 00 */ stw r0, 0(r4) /* 802E4730 002E1690 80 05 00 04 */ lwz r0, 4(r5) /* 802E4734 002E1694 90 04 00 04 */ stw r0, 4(r4) /* 802E4738 002E1698 C0 05 00 08 */ lfs f0, 8(r5) /* 802E473C 002E169C D0 04 00 08 */ stfs f0, 8(r4) /* 802E4740 002E16A0 80 05 00 0C */ lwz r0, 0xc(r5) /* 802E4744 002E16A4 90 04 00 0C */ stw r0, 0xc(r4) /* 802E4748 002E16A8 80 05 00 10 */ lwz r0, 0x10(r5) /* 802E474C 002E16AC 90 04 00 10 */ stw r0, 0x10(r4) lbl_802E4750: /* 802E4750 002E16B0 38 84 00 14 */ addi r4, r4, 0x14 /* 802E4754 002E16B4 38 A5 00 14 */ addi r5, r5, 0x14 lbl_802E4758: /* 802E4758 002E16B8 7C 05 18 40 */ cmplw r5, r3 /* 802E475C 002E16BC 40 82 FF C4 */ bne lbl_802E4720 /* 802E4760 002E16C0 80 1E 00 04 */ lwz r0, 4(r30) /* 802E4764 002E16C4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802E4768 002E16C8 1C 00 00 14 */ mulli r0, r0, 0x14 /* 802E476C 002E16CC 7C 64 1B 78 */ mr r4, r3 /* 802E4770 002E16D0 7C 03 02 14 */ add r0, r3, r0 /* 802E4774 002E16D4 48 00 00 08 */ b lbl_802E477C lbl_802E4778: /* 802E4778 002E16D8 38 84 00 14 */ addi r4, r4, 0x14 lbl_802E477C: /* 802E477C 002E16DC 7C 04 00 40 */ cmplw r4, r0 /* 802E4780 002E16E0 40 82 FF F8 */ bne lbl_802E4778 /* 802E4784 002E16E4 28 03 00 00 */ cmplwi r3, 0 /* 802E4788 002E16E8 41 82 00 08 */ beq lbl_802E4790 /* 802E478C 002E16EC 48 03 11 A5 */ bl Free__7CMemoryFPCv lbl_802E4790: /* 802E4790 002E16F0 93 BE 00 0C */ stw r29, 0xc(r30) /* 802E4794 002E16F4 93 FE 00 08 */ stw r31, 8(r30) lbl_802E4798: /* 802E4798 002E16F8 80 01 00 34 */ lwz r0, 0x34(r1) /* 802E479C 002E16FC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802E47A0 002E1700 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802E47A4 002E1704 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802E47A8 002E1708 7C 08 03 A6 */ mtlr r0 /* 802E47AC 002E170C 38 21 00 30 */ addi r1, r1, 0x30 /* 802E47B0 002E1710 4E 80 00 20 */ blr .global "reserve__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>Fi": /* 802E47B4 002E1714 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802E47B8 002E1718 7C 08 02 A6 */ mflr r0 /* 802E47BC 002E171C 90 01 00 34 */ stw r0, 0x34(r1) /* 802E47C0 002E1720 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802E47C4 002E1724 93 C1 00 28 */ stw r30, 0x28(r1) /* 802E47C8 002E1728 7C 9E 23 78 */ mr r30, r4 /* 802E47CC 002E172C 93 A1 00 24 */ stw r29, 0x24(r1) /* 802E47D0 002E1730 7C 7D 1B 78 */ mr r29, r3 /* 802E47D4 002E1734 80 03 00 08 */ lwz r0, 8(r3) /* 802E47D8 002E1738 7C 1E 00 00 */ cmpw r30, r0 /* 802E47DC 002E173C 40 81 01 50 */ ble lbl_802E492C /* 802E47E0 002E1740 1C 7E 00 28 */ mulli r3, r30, 0x28 /* 802E47E4 002E1744 2C 03 00 00 */ cmpwi r3, 0 /* 802E47E8 002E1748 40 82 00 0C */ bne lbl_802E47F4 /* 802E47EC 002E174C 3B E0 00 00 */ li r31, 0 /* 802E47F0 002E1750 48 00 00 18 */ b lbl_802E4808 lbl_802E47F4: /* 802E47F4 002E1754 3C 80 80 3D */ lis r4, lbl_803D6DA8@ha /* 802E47F8 002E1758 38 A0 00 00 */ li r5, 0 /* 802E47FC 002E175C 38 84 6D A8 */ addi r4, r4, lbl_803D6DA8@l /* 802E4800 002E1760 48 03 10 19 */ bl __nwa__FUlPCcPCc /* 802E4804 002E1764 7C 7F 1B 78 */ mr r31, r3 lbl_802E4808: /* 802E4808 002E1768 80 1D 00 04 */ lwz r0, 4(r29) /* 802E480C 002E176C 7F E4 FB 78 */ mr r4, r31 /* 802E4810 002E1770 80 FD 00 0C */ lwz r7, 0xc(r29) /* 802E4814 002E1774 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E4818 002E1778 90 E1 00 10 */ stw r7, 0x10(r1) /* 802E481C 002E177C 7C 67 02 14 */ add r3, r7, r0 /* 802E4820 002E1780 90 E1 00 14 */ stw r7, 0x14(r1) /* 802E4824 002E1784 90 61 00 08 */ stw r3, 8(r1) /* 802E4828 002E1788 90 61 00 0C */ stw r3, 0xc(r1) /* 802E482C 002E178C 48 00 00 58 */ b lbl_802E4884 lbl_802E4830: /* 802E4830 002E1790 28 04 00 00 */ cmplwi r4, 0 /* 802E4834 002E1794 41 82 00 48 */ beq lbl_802E487C /* 802E4838 002E1798 80 07 00 00 */ lwz r0, 0(r7) /* 802E483C 002E179C 38 C7 00 08 */ addi r6, r7, 8 /* 802E4840 002E17A0 38 A4 00 08 */ addi r5, r4, 8 /* 802E4844 002E17A4 90 04 00 00 */ stw r0, 0(r4) /* 802E4848 002E17A8 80 07 00 04 */ lwz r0, 4(r7) /* 802E484C 002E17AC 90 04 00 04 */ stw r0, 4(r4) /* 802E4850 002E17B0 80 04 00 04 */ lwz r0, 4(r4) /* 802E4854 002E17B4 7C 09 03 A6 */ mtctr r0 /* 802E4858 002E17B8 2C 00 00 00 */ cmpwi r0, 0 /* 802E485C 002E17BC 40 81 00 20 */ ble lbl_802E487C lbl_802E4860: /* 802E4860 002E17C0 28 05 00 00 */ cmplwi r5, 0 /* 802E4864 002E17C4 41 82 00 0C */ beq lbl_802E4870 /* 802E4868 002E17C8 80 06 00 00 */ lwz r0, 0(r6) /* 802E486C 002E17CC 90 05 00 00 */ stw r0, 0(r5) lbl_802E4870: /* 802E4870 002E17D0 38 A5 00 04 */ addi r5, r5, 4 /* 802E4874 002E17D4 38 C6 00 04 */ addi r6, r6, 4 /* 802E4878 002E17D8 42 00 FF E8 */ bdnz lbl_802E4860 lbl_802E487C: /* 802E487C 002E17DC 38 84 00 28 */ addi r4, r4, 0x28 /* 802E4880 002E17E0 38 E7 00 28 */ addi r7, r7, 0x28 lbl_802E4884: /* 802E4884 002E17E4 7C 07 18 40 */ cmplw r7, r3 /* 802E4888 002E17E8 40 82 FF A8 */ bne lbl_802E4830 /* 802E488C 002E17EC 80 1D 00 04 */ lwz r0, 4(r29) /* 802E4890 002E17F0 80 DD 00 0C */ lwz r6, 0xc(r29) /* 802E4894 002E17F4 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802E4898 002E17F8 7C 66 02 14 */ add r3, r6, r0 /* 802E489C 002E17FC 48 00 00 70 */ b lbl_802E490C lbl_802E48A0: /* 802E48A0 002E1800 28 06 00 00 */ cmplwi r6, 0 /* 802E48A4 002E1804 41 82 00 64 */ beq lbl_802E4908 /* 802E48A8 002E1808 34 06 00 04 */ addic. r0, r6, 4 /* 802E48AC 002E180C 41 82 00 5C */ beq lbl_802E4908 /* 802E48B0 002E1810 80 E6 00 04 */ lwz r7, 4(r6) /* 802E48B4 002E1814 38 80 00 00 */ li r4, 0 /* 802E48B8 002E1818 2C 07 00 00 */ cmpwi r7, 0 /* 802E48BC 002E181C 40 81 00 44 */ ble lbl_802E4900 /* 802E48C0 002E1820 2C 07 00 08 */ cmpwi r7, 8 /* 802E48C4 002E1824 38 A7 FF F8 */ addi r5, r7, -8 /* 802E48C8 002E1828 40 81 00 20 */ ble lbl_802E48E8 /* 802E48CC 002E182C 38 05 00 07 */ addi r0, r5, 7 /* 802E48D0 002E1830 54 00 E8 FE */ srwi r0, r0, 3 /* 802E48D4 002E1834 7C 09 03 A6 */ mtctr r0 /* 802E48D8 002E1838 2C 05 00 00 */ cmpwi r5, 0 /* 802E48DC 002E183C 40 81 00 0C */ ble lbl_802E48E8 lbl_802E48E0: /* 802E48E0 002E1840 38 84 00 08 */ addi r4, r4, 8 /* 802E48E4 002E1844 42 00 FF FC */ bdnz lbl_802E48E0 lbl_802E48E8: /* 802E48E8 002E1848 7C 04 38 50 */ subf r0, r4, r7 /* 802E48EC 002E184C 7C 09 03 A6 */ mtctr r0 /* 802E48F0 002E1850 7C 04 38 00 */ cmpw r4, r7 /* 802E48F4 002E1854 40 80 00 0C */ bge lbl_802E4900 lbl_802E48F8: /* 802E48F8 002E1858 38 84 00 01 */ addi r4, r4, 1 /* 802E48FC 002E185C 42 00 FF FC */ bdnz lbl_802E48F8 lbl_802E4900: /* 802E4900 002E1860 38 00 00 00 */ li r0, 0 /* 802E4904 002E1864 90 06 00 04 */ stw r0, 4(r6) lbl_802E4908: /* 802E4908 002E1868 38 C6 00 28 */ addi r6, r6, 0x28 lbl_802E490C: /* 802E490C 002E186C 7C 06 18 40 */ cmplw r6, r3 /* 802E4910 002E1870 40 82 FF 90 */ bne lbl_802E48A0 /* 802E4914 002E1874 80 7D 00 0C */ lwz r3, 0xc(r29) /* 802E4918 002E1878 28 03 00 00 */ cmplwi r3, 0 /* 802E491C 002E187C 41 82 00 08 */ beq lbl_802E4924 /* 802E4920 002E1880 48 03 10 11 */ bl Free__7CMemoryFPCv lbl_802E4924: /* 802E4924 002E1884 93 FD 00 0C */ stw r31, 0xc(r29) /* 802E4928 002E1888 93 DD 00 08 */ stw r30, 8(r29) lbl_802E492C: /* 802E492C 002E188C 80 01 00 34 */ lwz r0, 0x34(r1) /* 802E4930 002E1890 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802E4934 002E1894 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802E4938 002E1898 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802E493C 002E189C 7C 08 03 A6 */ mtlr r0 /* 802E4940 002E18A0 38 21 00 30 */ addi r1, r1, 0x30 /* 802E4944 002E18A4 4E 80 00 20 */ blr .global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": /* 802E4948 002E18A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802E494C 002E18AC 7C 08 02 A6 */ mflr r0 /* 802E4950 002E18B0 90 01 00 14 */ stw r0, 0x14(r1) /* 802E4954 002E18B4 38 A1 00 0C */ addi r5, r1, 0xc /* 802E4958 002E18B8 88 01 00 08 */ lbz r0, 8(r1) /* 802E495C 002E18BC 98 01 00 0C */ stb r0, 0xc(r1) /* 802E4960 002E18C0 48 00 00 55 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" /* 802E4964 002E18C4 80 01 00 14 */ lwz r0, 0x14(r1) /* 802E4968 002E18C8 7C 08 03 A6 */ mtlr r0 /* 802E496C 002E18CC 38 21 00 10 */ addi r1, r1, 0x10 /* 802E4970 002E18D0 4E 80 00 20 */ blr .global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": /* 802E4974 002E18D4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802E4978 002E18D8 7C 08 02 A6 */ mflr r0 /* 802E497C 002E18DC 90 01 00 14 */ stw r0, 0x14(r1) /* 802E4980 002E18E0 38 A1 00 0C */ addi r5, r1, 0xc /* 802E4984 002E18E4 88 01 00 08 */ lbz r0, 8(r1) /* 802E4988 002E18E8 98 01 00 0C */ stb r0, 0xc(r1) /* 802E498C 002E18EC 48 00 00 15 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" /* 802E4990 002E18F0 80 01 00 14 */ lwz r0, 0x14(r1) /* 802E4994 002E18F4 7C 08 03 A6 */ mtlr r0 /* 802E4998 002E18F8 38 21 00 10 */ addi r1, r1, 0x10 /* 802E499C 002E18FC 4E 80 00 20 */ blr .global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": /* 802E49A0 002E1900 1C 04 00 28 */ mulli r0, r4, 0x28 /* 802E49A4 002E1904 80 83 00 00 */ lwz r4, 0(r3) /* 802E49A8 002E1908 7C 04 02 14 */ add r0, r4, r0 /* 802E49AC 002E190C 90 03 00 00 */ stw r0, 0(r3) /* 802E49B0 002E1910 4E 80 00 20 */ blr .global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": /* 802E49B4 002E1914 1C 04 00 28 */ mulli r0, r4, 0x28 /* 802E49B8 002E1918 80 83 00 00 */ lwz r4, 0(r3) /* 802E49BC 002E191C 7C 04 02 14 */ add r0, r4, r0 /* 802E49C0 002E1920 90 03 00 00 */ stw r0, 0(r3) /* 802E49C4 002E1924 4E 80 00 20 */ blr .global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": /* 802E49C8 002E1928 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802E49CC 002E192C 7C 08 02 A6 */ mflr r0 /* 802E49D0 002E1930 90 01 00 24 */ stw r0, 0x24(r1) /* 802E49D4 002E1934 38 A1 00 0C */ addi r5, r1, 0xc /* 802E49D8 002E1938 88 E1 00 08 */ lbz r7, 8(r1) /* 802E49DC 002E193C 80 C4 00 00 */ lwz r6, 0(r4) /* 802E49E0 002E1940 38 81 00 10 */ addi r4, r1, 0x10 /* 802E49E4 002E1944 80 03 00 00 */ lwz r0, 0(r3) /* 802E49E8 002E1948 38 61 00 14 */ addi r3, r1, 0x14 /* 802E49EC 002E194C 90 C1 00 10 */ stw r6, 0x10(r1) /* 802E49F0 002E1950 98 E1 00 0C */ stb r7, 0xc(r1) /* 802E49F4 002E1954 90 01 00 14 */ stw r0, 0x14(r1) /* 802E49F8 002E1958 48 00 00 59 */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" /* 802E49FC 002E195C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802E4A00 002E1960 7C 08 03 A6 */ mtlr r0 /* 802E4A04 002E1964 38 21 00 20 */ addi r1, r1, 0x20 /* 802E4A08 002E1968 4E 80 00 20 */ blr .global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": /* 802E4A0C 002E196C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802E4A10 002E1970 7C 08 02 A6 */ mflr r0 /* 802E4A14 002E1974 90 01 00 24 */ stw r0, 0x24(r1) /* 802E4A18 002E1978 38 A1 00 0C */ addi r5, r1, 0xc /* 802E4A1C 002E197C 88 E1 00 08 */ lbz r7, 8(r1) /* 802E4A20 002E1980 80 C4 00 00 */ lwz r6, 0(r4) /* 802E4A24 002E1984 38 81 00 10 */ addi r4, r1, 0x10 /* 802E4A28 002E1988 80 03 00 00 */ lwz r0, 0(r3) /* 802E4A2C 002E198C 38 61 00 14 */ addi r3, r1, 0x14 /* 802E4A30 002E1990 90 C1 00 10 */ stw r6, 0x10(r1) /* 802E4A34 002E1994 98 E1 00 0C */ stb r7, 0xc(r1) /* 802E4A38 002E1998 90 01 00 14 */ stw r0, 0x14(r1) /* 802E4A3C 002E199C 48 00 00 3D */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" /* 802E4A40 002E19A0 80 01 00 24 */ lwz r0, 0x24(r1) /* 802E4A44 002E19A4 7C 08 03 A6 */ mtlr r0 /* 802E4A48 002E19A8 38 21 00 20 */ addi r1, r1, 0x20 /* 802E4A4C 002E19AC 4E 80 00 20 */ blr .global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": /* 802E4A50 002E19B0 80 A3 00 00 */ lwz r5, 0(r3) /* 802E4A54 002E19B4 3C 60 66 66 */ lis r3, 0x66666667@ha /* 802E4A58 002E19B8 80 04 00 00 */ lwz r0, 0(r4) /* 802E4A5C 002E19BC 38 63 66 67 */ addi r3, r3, 0x66666667@l /* 802E4A60 002E19C0 7C 05 00 50 */ subf r0, r5, r0 /* 802E4A64 002E19C4 7C 03 00 96 */ mulhw r0, r3, r0 /* 802E4A68 002E19C8 7C 00 26 70 */ srawi r0, r0, 4 /* 802E4A6C 002E19CC 54 03 0F FE */ srwi r3, r0, 0x1f /* 802E4A70 002E19D0 7C 60 1A 14 */ add r3, r0, r3 /* 802E4A74 002E19D4 4E 80 00 20 */ blr .global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": /* 802E4A78 002E19D8 80 A3 00 00 */ lwz r5, 0(r3) /* 802E4A7C 002E19DC 3C 60 66 66 */ lis r3, 0x66666667@ha /* 802E4A80 002E19E0 80 04 00 00 */ lwz r0, 0(r4) /* 802E4A84 002E19E4 38 63 66 67 */ addi r3, r3, 0x66666667@l /* 802E4A88 002E19E8 7C 05 00 50 */ subf r0, r5, r0 /* 802E4A8C 002E19EC 7C 03 00 96 */ mulhw r0, r3, r0 /* 802E4A90 002E19F0 7C 00 26 70 */ srawi r0, r0, 4 /* 802E4A94 002E19F4 54 03 0F FE */ srwi r3, r0, 0x1f /* 802E4A98 002E19F8 7C 60 1A 14 */ add r3, r0, r3 /* 802E4A9C 002E19FC 4E 80 00 20 */ blr .section .sdata2, "a" .global lbl_805AE2D8 lbl_805AE2D8: # ROM: 0x3FAB78 .double 4.503601774854144E15 .global lbl_805AE2E0 lbl_805AE2E0: # ROM: 0x3FAB80 .4byte 0 .global lbl_805AE2E4 lbl_805AE2E4: # ROM: 0x3FAB84 .float 1.0 .global lbl_805AE2E8 lbl_805AE2E8: # ROM: 0x3FAB88 .float 1.1920929E-7 .global lbl_805AE2EC lbl_805AE2EC: # ROM: 0x3FAB8C .float 0.5 .global lbl_805AE2F0 lbl_805AE2F0: # ROM: 0x3FAB90 .4byte 0x43300000 .4byte 0 .global lbl_805AE2F8 lbl_805AE2F8: # ROM: 0x3FAB98 .float -1.0 .4byte 0 .section .rodata .global lbl_803D6DA8 lbl_803D6DA8: # ROM: 0x3D3DA8 .asciz "??(??)" .balign 4