prime/asm/MetroidPrime/Tweaks/CTweakTargeting.s

1131 lines
56 KiB
ArmAsm
Raw Normal View History

2022-04-12 09:14:24 +00:00
.include "macros.inc"
2022-04-18 04:19:18 +00:00
.section .data
.global lbl_803DF428
lbl_803DF428:
# ROM: 0x3DC428
.4byte 0
.4byte 0
.4byte __dt__15CTweakTargetingFv
.4byte 0
2022-04-24 17:43:04 +00:00
.section .sbss
# CTweakTargeting
.global lbl_805A8EA8
lbl_805A8EA8:
.skip 0x4
.global lbl_805A8EAC
lbl_805A8EAC:
.skip 0x4
2022-04-12 09:14:24 +00:00
.section .text, "ax"
.global __ct__15CTweakTargetingFR12CInputStream
__ct__15CTweakTargetingFR12CInputStream:
/* 800B59C8 000B2928 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800B59CC 000B292C 7C 08 02 A6 */ mflr r0
/* 800B59D0 000B2930 90 01 00 34 */ stw r0, 0x34(r1)
/* 800B59D4 000B2934 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 800B59D8 000B2938 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 800B59DC 000B293C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B59E0 000B2940 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B59E4 000B2944 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B59E8 000B2948 93 81 00 10 */ stw r28, 0x10(r1)
/* 800B59EC 000B294C 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha
/* 800B59F0 000B2950 3C A0 80 3E */ lis r5, lbl_803DF428@ha
/* 800B59F4 000B2954 7C 7E 1B 78 */ mr r30, r3
/* 800B59F8 000B2958 7C 9F 23 78 */ mr r31, r4
/* 800B59FC 000B295C 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l
/* 800B5A00 000B2960 38 05 F4 28 */ addi r0, r5, lbl_803DF428@l
/* 800B5A04 000B2964 90 7E 00 00 */ stw r3, 0(r30)
/* 800B5A08 000B2968 7F E3 FB 78 */ mr r3, r31
/* 800B5A0C 000B296C 90 1E 00 00 */ stw r0, 0(r30)
/* 800B5A10 000B2970 48 28 92 75 */ bl ReadLong__12CInputStreamFv
/* 800B5A14 000B2974 90 7E 00 04 */ stw r3, 4(r30)
/* 800B5A18 000B2978 7F E3 FB 78 */ mr r3, r31
/* 800B5A1C 000B297C 48 28 92 0D */ bl ReadFloat__12CInputStreamFv
/* 800B5A20 000B2980 D0 3E 00 08 */ stfs f1, 8(r30)
/* 800B5A24 000B2984 7F E3 FB 78 */ mr r3, r31
/* 800B5A28 000B2988 48 28 92 01 */ bl ReadFloat__12CInputStreamFv
/* 800B5A2C 000B298C D0 3E 00 0C */ stfs f1, 0xc(r30)
/* 800B5A30 000B2990 7F E3 FB 78 */ mr r3, r31
/* 800B5A34 000B2994 48 28 91 F5 */ bl ReadFloat__12CInputStreamFv
/* 800B5A38 000B2998 D0 3E 00 10 */ stfs f1, 0x10(r30)
/* 800B5A3C 000B299C 7F E3 FB 78 */ mr r3, r31
/* 800B5A40 000B29A0 48 28 91 E9 */ bl ReadFloat__12CInputStreamFv
/* 800B5A44 000B29A4 D0 3E 00 14 */ stfs f1, 0x14(r30)
/* 800B5A48 000B29A8 7F E3 FB 78 */ mr r3, r31
/* 800B5A4C 000B29AC 48 28 91 DD */ bl ReadFloat__12CInputStreamFv
/* 800B5A50 000B29B0 D0 3E 00 18 */ stfs f1, 0x18(r30)
/* 800B5A54 000B29B4 7F E3 FB 78 */ mr r3, r31
/* 800B5A58 000B29B8 48 28 91 D1 */ bl ReadFloat__12CInputStreamFv
/* 800B5A5C 000B29BC D0 3E 00 1C */ stfs f1, 0x1c(r30)
/* 800B5A60 000B29C0 7F E3 FB 78 */ mr r3, r31
/* 800B5A64 000B29C4 48 28 91 C5 */ bl ReadFloat__12CInputStreamFv
/* 800B5A68 000B29C8 D0 3E 00 20 */ stfs f1, 0x20(r30)
/* 800B5A6C 000B29CC 7F E3 FB 78 */ mr r3, r31
/* 800B5A70 000B29D0 48 28 91 B9 */ bl ReadFloat__12CInputStreamFv
/* 800B5A74 000B29D4 D0 3E 00 24 */ stfs f1, 0x24(r30)
/* 800B5A78 000B29D8 7F E3 FB 78 */ mr r3, r31
/* 800B5A7C 000B29DC 48 28 91 AD */ bl ReadFloat__12CInputStreamFv
/* 800B5A80 000B29E0 D0 3E 00 28 */ stfs f1, 0x28(r30)
/* 800B5A84 000B29E4 7F E3 FB 78 */ mr r3, r31
/* 800B5A88 000B29E8 48 28 91 A1 */ bl ReadFloat__12CInputStreamFv
/* 800B5A8C 000B29EC D0 3E 00 2C */ stfs f1, 0x2c(r30)
/* 800B5A90 000B29F0 7F E4 FB 78 */ mr r4, r31
/* 800B5A94 000B29F4 38 7E 00 30 */ addi r3, r30, 0x30
/* 800B5A98 000B29F8 48 25 F0 F5 */ bl __ct__9CVector3fFR12CInputStream
/* 800B5A9C 000B29FC 7F E4 FB 78 */ mr r4, r31
/* 800B5AA0 000B2A00 38 7E 00 3C */ addi r3, r30, 0x3c
/* 800B5AA4 000B2A04 48 25 F0 E9 */ bl __ct__9CVector3fFR12CInputStream
/* 800B5AA8 000B2A08 7F E3 FB 78 */ mr r3, r31
/* 800B5AAC 000B2A0C 48 28 91 7D */ bl ReadFloat__12CInputStreamFv
/* 800B5AB0 000B2A10 D0 3E 00 48 */ stfs f1, 0x48(r30)
/* 800B5AB4 000B2A14 7F E3 FB 78 */ mr r3, r31
/* 800B5AB8 000B2A18 48 28 91 71 */ bl ReadFloat__12CInputStreamFv
/* 800B5ABC 000B2A1C D0 3E 00 4C */ stfs f1, 0x4c(r30)
/* 800B5AC0 000B2A20 7F E3 FB 78 */ mr r3, r31
/* 800B5AC4 000B2A24 48 28 91 65 */ bl ReadFloat__12CInputStreamFv
/* 800B5AC8 000B2A28 D0 3E 00 50 */ stfs f1, 0x50(r30)
/* 800B5ACC 000B2A2C 7F E3 FB 78 */ mr r3, r31
/* 800B5AD0 000B2A30 48 28 91 59 */ bl ReadFloat__12CInputStreamFv
/* 800B5AD4 000B2A34 D0 3E 00 54 */ stfs f1, 0x54(r30)
/* 800B5AD8 000B2A38 7F E3 FB 78 */ mr r3, r31
/* 800B5ADC 000B2A3C 48 28 91 4D */ bl ReadFloat__12CInputStreamFv
/* 800B5AE0 000B2A40 D0 3E 00 58 */ stfs f1, 0x58(r30)
/* 800B5AE4 000B2A44 7F E3 FB 78 */ mr r3, r31
/* 800B5AE8 000B2A48 48 28 91 41 */ bl ReadFloat__12CInputStreamFv
/* 800B5AEC 000B2A4C D0 3E 00 5C */ stfs f1, 0x5c(r30)
/* 800B5AF0 000B2A50 7F E4 FB 78 */ mr r4, r31
/* 800B5AF4 000B2A54 38 7E 00 60 */ addi r3, r30, 0x60
/* 800B5AF8 000B2A58 48 25 F0 95 */ bl __ct__9CVector3fFR12CInputStream
/* 800B5AFC 000B2A5C 7F E4 FB 78 */ mr r4, r31
/* 800B5B00 000B2A60 38 7E 00 6C */ addi r3, r30, 0x6c
/* 800B5B04 000B2A64 48 25 F0 89 */ bl __ct__9CVector3fFR12CInputStream
/* 800B5B08 000B2A68 7F E4 FB 78 */ mr r4, r31
/* 800B5B0C 000B2A6C 38 7E 00 78 */ addi r3, r30, 0x78
/* 800B5B10 000B2A70 48 25 F0 7D */ bl __ct__9CVector3fFR12CInputStream
/* 800B5B14 000B2A74 7F E4 FB 78 */ mr r4, r31
/* 800B5B18 000B2A78 38 7E 00 84 */ addi r3, r30, 0x84
/* 800B5B1C 000B2A7C 48 25 F0 71 */ bl __ct__9CVector3fFR12CInputStream
/* 800B5B20 000B2A80 7F E3 FB 78 */ mr r3, r31
/* 800B5B24 000B2A84 48 28 91 05 */ bl ReadFloat__12CInputStreamFv
/* 800B5B28 000B2A88 D0 3E 00 90 */ stfs f1, 0x90(r30)
/* 800B5B2C 000B2A8C 7F E3 FB 78 */ mr r3, r31
/* 800B5B30 000B2A90 48 28 90 F9 */ bl ReadFloat__12CInputStreamFv
/* 800B5B34 000B2A94 D0 3E 00 94 */ stfs f1, 0x94(r30)
/* 800B5B38 000B2A98 7F E3 FB 78 */ mr r3, r31
/* 800B5B3C 000B2A9C 48 28 90 ED */ bl ReadFloat__12CInputStreamFv
/* 800B5B40 000B2AA0 D0 3E 00 98 */ stfs f1, 0x98(r30)
/* 800B5B44 000B2AA4 7F E3 FB 78 */ mr r3, r31
/* 800B5B48 000B2AA8 48 28 90 E1 */ bl ReadFloat__12CInputStreamFv
/* 800B5B4C 000B2AAC D0 3E 00 9C */ stfs f1, 0x9c(r30)
/* 800B5B50 000B2AB0 7F E3 FB 78 */ mr r3, r31
/* 800B5B54 000B2AB4 48 28 90 D5 */ bl ReadFloat__12CInputStreamFv
/* 800B5B58 000B2AB8 D0 3E 00 A0 */ stfs f1, 0xa0(r30)
/* 800B5B5C 000B2ABC 7F E3 FB 78 */ mr r3, r31
/* 800B5B60 000B2AC0 48 28 90 C9 */ bl ReadFloat__12CInputStreamFv
/* 800B5B64 000B2AC4 D0 3E 00 A4 */ stfs f1, 0xa4(r30)
/* 800B5B68 000B2AC8 7F E3 FB 78 */ mr r3, r31
/* 800B5B6C 000B2ACC 48 28 90 BD */ bl ReadFloat__12CInputStreamFv
/* 800B5B70 000B2AD0 D0 3E 00 A8 */ stfs f1, 0xa8(r30)
/* 800B5B74 000B2AD4 7F E3 FB 78 */ mr r3, r31
/* 800B5B78 000B2AD8 48 28 90 B1 */ bl ReadFloat__12CInputStreamFv
/* 800B5B7C 000B2ADC D0 3E 00 AC */ stfs f1, 0xac(r30)
/* 800B5B80 000B2AE0 7F E4 FB 78 */ mr r4, r31
/* 800B5B84 000B2AE4 38 7E 00 B0 */ addi r3, r30, 0xb0
/* 800B5B88 000B2AE8 48 2A D8 C5 */ bl __ct__6CColorFR12CInputStream
/* 800B5B8C 000B2AEC 7F E3 FB 78 */ mr r3, r31
/* 800B5B90 000B2AF0 48 28 90 99 */ bl ReadFloat__12CInputStreamFv
/* 800B5B94 000B2AF4 D0 3E 00 B4 */ stfs f1, 0xb4(r30)
/* 800B5B98 000B2AF8 7F E4 FB 78 */ mr r4, r31
/* 800B5B9C 000B2AFC 38 7E 00 B8 */ addi r3, r30, 0xb8
/* 800B5BA0 000B2B00 48 2A D8 AD */ bl __ct__6CColorFR12CInputStream
/* 800B5BA4 000B2B04 7F E3 FB 78 */ mr r3, r31
/* 800B5BA8 000B2B08 48 28 90 81 */ bl ReadFloat__12CInputStreamFv
/* 800B5BAC 000B2B0C D0 3E 00 BC */ stfs f1, 0xbc(r30)
/* 800B5BB0 000B2B10 7F E3 FB 78 */ mr r3, r31
/* 800B5BB4 000B2B14 48 28 90 75 */ bl ReadFloat__12CInputStreamFv
/* 800B5BB8 000B2B18 D0 3E 00 C0 */ stfs f1, 0xc0(r30)
/* 800B5BBC 000B2B1C 7F E3 FB 78 */ mr r3, r31
/* 800B5BC0 000B2B20 48 28 90 69 */ bl ReadFloat__12CInputStreamFv
/* 800B5BC4 000B2B24 D0 3E 00 C4 */ stfs f1, 0xc4(r30)
/* 800B5BC8 000B2B28 7F E3 FB 78 */ mr r3, r31
/* 800B5BCC 000B2B2C 48 28 90 5D */ bl ReadFloat__12CInputStreamFv
/* 800B5BD0 000B2B30 D0 3E 00 C8 */ stfs f1, 0xc8(r30)
/* 800B5BD4 000B2B34 7F E4 FB 78 */ mr r4, r31
/* 800B5BD8 000B2B38 38 7E 00 CC */ addi r3, r30, 0xcc
/* 800B5BDC 000B2B3C 48 2A D8 71 */ bl __ct__6CColorFR12CInputStream
/* 800B5BE0 000B2B40 7F E3 FB 78 */ mr r3, r31
/* 800B5BE4 000B2B44 48 28 90 45 */ bl ReadFloat__12CInputStreamFv
/* 800B5BE8 000B2B48 D0 3E 00 D0 */ stfs f1, 0xd0(r30)
/* 800B5BEC 000B2B4C 7F E3 FB 78 */ mr r3, r31
/* 800B5BF0 000B2B50 48 28 90 39 */ bl ReadFloat__12CInputStreamFv
/* 800B5BF4 000B2B54 D0 3E 00 D4 */ stfs f1, 0xd4(r30)
/* 800B5BF8 000B2B58 7F E4 FB 78 */ mr r4, r31
/* 800B5BFC 000B2B5C 38 7E 00 D8 */ addi r3, r30, 0xd8
/* 800B5C00 000B2B60 48 2A D8 4D */ bl __ct__6CColorFR12CInputStream
/* 800B5C04 000B2B64 7F E4 FB 78 */ mr r4, r31
/* 800B5C08 000B2B68 38 7E 00 DC */ addi r3, r30, 0xdc
/* 800B5C0C 000B2B6C 48 2A D8 41 */ bl __ct__6CColorFR12CInputStream
/* 800B5C10 000B2B70 7F E4 FB 78 */ mr r4, r31
/* 800B5C14 000B2B74 38 7E 00 E0 */ addi r3, r30, 0xe0
/* 800B5C18 000B2B78 48 2A D8 35 */ bl __ct__6CColorFR12CInputStream
/* 800B5C1C 000B2B7C 7F E4 FB 78 */ mr r4, r31
/* 800B5C20 000B2B80 38 7E 00 E4 */ addi r3, r30, 0xe4
/* 800B5C24 000B2B84 48 2A D8 29 */ bl __ct__6CColorFR12CInputStream
/* 800B5C28 000B2B88 7F E3 FB 78 */ mr r3, r31
/* 800B5C2C 000B2B8C 48 28 8F FD */ bl ReadFloat__12CInputStreamFv
/* 800B5C30 000B2B90 D0 3E 00 E8 */ stfs f1, 0xe8(r30)
/* 800B5C34 000B2B94 7F E3 FB 78 */ mr r3, r31
/* 800B5C38 000B2B98 48 28 8F F1 */ bl ReadFloat__12CInputStreamFv
/* 800B5C3C 000B2B9C D0 3E 00 EC */ stfs f1, 0xec(r30)
/* 800B5C40 000B2BA0 7F E3 FB 78 */ mr r3, r31
/* 800B5C44 000B2BA4 48 28 8F E5 */ bl ReadFloat__12CInputStreamFv
/* 800B5C48 000B2BA8 D0 3E 00 F0 */ stfs f1, 0xf0(r30)
/* 800B5C4C 000B2BAC 7F E4 FB 78 */ mr r4, r31
/* 800B5C50 000B2BB0 38 7E 00 F4 */ addi r3, r30, 0xf4
/* 800B5C54 000B2BB4 48 2A D7 F9 */ bl __ct__6CColorFR12CInputStream
/* 800B5C58 000B2BB8 7F E4 FB 78 */ mr r4, r31
/* 800B5C5C 000B2BBC 38 7E 00 F8 */ addi r3, r30, 0xf8
/* 800B5C60 000B2BC0 38 A1 00 08 */ addi r5, r1, 8
/* 800B5C64 000B2BC4 48 00 07 61 */ bl sub_800b63c4
/* 800B5C68 000B2BC8 38 00 00 00 */ li r0, 0
/* 800B5C6C 000B2BCC 7F E3 FB 78 */ mr r3, r31
/* 800B5C70 000B2BD0 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 800B5C74 000B2BD4 90 1E 01 10 */ stw r0, 0x110(r30)
/* 800B5C78 000B2BD8 90 1E 01 14 */ stw r0, 0x114(r30)
/* 800B5C7C 000B2BDC 48 28 90 09 */ bl ReadLong__12CInputStreamFv
/* 800B5C80 000B2BE0 7C 7C 1B 78 */ mr r28, r3
/* 800B5C84 000B2BE4 38 7E 01 08 */ addi r3, r30, 0x108
/* 800B5C88 000B2BE8 7F 84 E3 78 */ mr r4, r28
/* 800B5C8C 000B2BEC 4B FA 81 6D */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
/* 800B5C90 000B2BF0 3B A0 00 00 */ li r29, 0
/* 800B5C94 000B2BF4 48 00 00 60 */ b lbl_800B5CF4
lbl_800B5C98:
/* 800B5C98 000B2BF8 7F E3 FB 78 */ mr r3, r31
/* 800B5C9C 000B2BFC 48 28 8F 8D */ bl ReadFloat__12CInputStreamFv
/* 800B5CA0 000B2C00 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 800B5CA4 000B2C04 FF E0 08 90 */ fmr f31, f1
/* 800B5CA8 000B2C08 80 BE 01 10 */ lwz r5, 0x110(r30)
/* 800B5CAC 000B2C0C 7C 00 28 00 */ cmpw r0, r5
/* 800B5CB0 000B2C10 41 80 00 1C */ blt lbl_800B5CCC
/* 800B5CB4 000B2C14 2C 05 00 00 */ cmpwi r5, 0
/* 800B5CB8 000B2C18 38 7E 01 08 */ addi r3, r30, 0x108
/* 800B5CBC 000B2C1C 38 80 00 04 */ li r4, 4
/* 800B5CC0 000B2C20 41 82 00 08 */ beq lbl_800B5CC8
/* 800B5CC4 000B2C24 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B5CC8:
/* 800B5CC8 000B2C28 4B FA 81 31 */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
lbl_800B5CCC:
/* 800B5CCC 000B2C2C 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 800B5CD0 000B2C30 80 7E 01 14 */ lwz r3, 0x114(r30)
/* 800B5CD4 000B2C34 54 00 10 3A */ slwi r0, r0, 2
/* 800B5CD8 000B2C38 7C 63 02 15 */ add. r3, r3, r0
/* 800B5CDC 000B2C3C 41 82 00 08 */ beq lbl_800B5CE4
/* 800B5CE0 000B2C40 D3 E3 00 00 */ stfs f31, 0(r3)
lbl_800B5CE4:
/* 800B5CE4 000B2C44 80 7E 01 0C */ lwz r3, 0x10c(r30)
/* 800B5CE8 000B2C48 3B BD 00 01 */ addi r29, r29, 1
/* 800B5CEC 000B2C4C 38 03 00 01 */ addi r0, r3, 1
/* 800B5CF0 000B2C50 90 1E 01 0C */ stw r0, 0x10c(r30)
lbl_800B5CF4:
/* 800B5CF4 000B2C54 7C 1D E0 00 */ cmpw r29, r28
/* 800B5CF8 000B2C58 41 80 FF A0 */ blt lbl_800B5C98
/* 800B5CFC 000B2C5C 7F E3 FB 78 */ mr r3, r31
/* 800B5D00 000B2C60 48 28 8F 29 */ bl ReadFloat__12CInputStreamFv
/* 800B5D04 000B2C64 D0 3E 01 18 */ stfs f1, 0x118(r30)
/* 800B5D08 000B2C68 7F E4 FB 78 */ mr r4, r31
/* 800B5D0C 000B2C6C 38 7E 01 1C */ addi r3, r30, 0x11c
/* 800B5D10 000B2C70 48 2A D7 3D */ bl __ct__6CColorFR12CInputStream
/* 800B5D14 000B2C74 7F E3 FB 78 */ mr r3, r31
/* 800B5D18 000B2C78 48 28 8F 6D */ bl ReadLong__12CInputStreamFv
/* 800B5D1C 000B2C7C 90 7E 01 20 */ stw r3, 0x120(r30)
/* 800B5D20 000B2C80 7F E3 FB 78 */ mr r3, r31
/* 800B5D24 000B2C84 48 28 8F 05 */ bl ReadFloat__12CInputStreamFv
/* 800B5D28 000B2C88 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2)
/* 800B5D2C 000B2C8C 7F E3 FB 78 */ mr r3, r31
/* 800B5D30 000B2C90 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2)
/* 800B5D34 000B2C94 EC 00 00 72 */ fmuls f0, f0, f1
/* 800B5D38 000B2C98 C0 22 8C F8 */ lfs f1, lbl_805AAA18@sda21(r2)
/* 800B5D3C 000B2C9C EC 02 00 32 */ fmuls f0, f2, f0
/* 800B5D40 000B2CA0 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B5D44 000B2CA4 D0 1E 01 24 */ stfs f0, 0x124(r30)
/* 800B5D48 000B2CA8 48 28 8E E1 */ bl ReadFloat__12CInputStreamFv
/* 800B5D4C 000B2CAC D0 3E 01 28 */ stfs f1, 0x128(r30)
/* 800B5D50 000B2CB0 7F E3 FB 78 */ mr r3, r31
/* 800B5D54 000B2CB4 48 28 8E D5 */ bl ReadFloat__12CInputStreamFv
/* 800B5D58 000B2CB8 D0 3E 01 2C */ stfs f1, 0x12c(r30)
/* 800B5D5C 000B2CBC 7F E4 FB 78 */ mr r4, r31
/* 800B5D60 000B2CC0 38 7E 01 30 */ addi r3, r30, 0x130
/* 800B5D64 000B2CC4 48 2A D6 E9 */ bl __ct__6CColorFR12CInputStream
/* 800B5D68 000B2CC8 7F E3 FB 78 */ mr r3, r31
/* 800B5D6C 000B2CCC 48 28 8E BD */ bl ReadFloat__12CInputStreamFv
/* 800B5D70 000B2CD0 D0 3E 01 34 */ stfs f1, 0x134(r30)
/* 800B5D74 000B2CD4 7F E3 FB 78 */ mr r3, r31
/* 800B5D78 000B2CD8 48 28 8E B1 */ bl ReadFloat__12CInputStreamFv
/* 800B5D7C 000B2CDC D0 3E 01 38 */ stfs f1, 0x138(r30)
/* 800B5D80 000B2CE0 7F E4 FB 78 */ mr r4, r31
/* 800B5D84 000B2CE4 38 7E 01 3C */ addi r3, r30, 0x13c
/* 800B5D88 000B2CE8 48 2A D6 C5 */ bl __ct__6CColorFR12CInputStream
/* 800B5D8C 000B2CEC 7F E3 FB 78 */ mr r3, r31
/* 800B5D90 000B2CF0 48 28 8E 99 */ bl ReadFloat__12CInputStreamFv
/* 800B5D94 000B2CF4 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2)
/* 800B5D98 000B2CF8 7F E3 FB 78 */ mr r3, r31
/* 800B5D9C 000B2CFC C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2)
/* 800B5DA0 000B2D00 EC 00 00 72 */ fmuls f0, f0, f1
/* 800B5DA4 000B2D04 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B5DA8 000B2D08 D0 1E 01 40 */ stfs f0, 0x140(r30)
/* 800B5DAC 000B2D0C 48 28 8E 7D */ bl ReadFloat__12CInputStreamFv
/* 800B5DB0 000B2D10 C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2)
/* 800B5DB4 000B2D14 7F E3 FB 78 */ mr r3, r31
/* 800B5DB8 000B2D18 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2)
/* 800B5DBC 000B2D1C EC 00 00 72 */ fmuls f0, f0, f1
/* 800B5DC0 000B2D20 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B5DC4 000B2D24 D0 1E 01 44 */ stfs f0, 0x144(r30)
/* 800B5DC8 000B2D28 48 28 8E 61 */ bl ReadFloat__12CInputStreamFv
/* 800B5DCC 000B2D2C C0 02 8D 00 */ lfs f0, lbl_805AAA20@sda21(r2)
/* 800B5DD0 000B2D30 7F E4 FB 78 */ mr r4, r31
/* 800B5DD4 000B2D34 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2)
/* 800B5DD8 000B2D38 38 7E 01 4C */ addi r3, r30, 0x14c
/* 800B5DDC 000B2D3C EC 00 00 72 */ fmuls f0, f0, f1
/* 800B5DE0 000B2D40 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B5DE4 000B2D44 D0 1E 01 48 */ stfs f0, 0x148(r30)
/* 800B5DE8 000B2D48 48 2A D6 65 */ bl __ct__6CColorFR12CInputStream
/* 800B5DEC 000B2D4C 7F E4 FB 78 */ mr r4, r31
/* 800B5DF0 000B2D50 38 7E 01 50 */ addi r3, r30, 0x150
/* 800B5DF4 000B2D54 48 2A D6 59 */ bl __ct__6CColorFR12CInputStream
/* 800B5DF8 000B2D58 7F E3 FB 78 */ mr r3, r31
/* 800B5DFC 000B2D5C 48 28 8E 2D */ bl ReadFloat__12CInputStreamFv
/* 800B5E00 000B2D60 D0 3E 01 54 */ stfs f1, 0x154(r30)
/* 800B5E04 000B2D64 7F E3 FB 78 */ mr r3, r31
/* 800B5E08 000B2D68 48 28 8E 21 */ bl ReadFloat__12CInputStreamFv
/* 800B5E0C 000B2D6C D0 3E 01 58 */ stfs f1, 0x158(r30)
/* 800B5E10 000B2D70 7F E3 FB 78 */ mr r3, r31
/* 800B5E14 000B2D74 48 28 8E 15 */ bl ReadFloat__12CInputStreamFv
/* 800B5E18 000B2D78 D0 3E 01 5C */ stfs f1, 0x15c(r30)
/* 800B5E1C 000B2D7C 7F E3 FB 78 */ mr r3, r31
/* 800B5E20 000B2D80 48 28 8E 09 */ bl ReadFloat__12CInputStreamFv
/* 800B5E24 000B2D84 D0 3E 01 60 */ stfs f1, 0x160(r30)
/* 800B5E28 000B2D88 7F E3 FB 78 */ mr r3, r31
/* 800B5E2C 000B2D8C 48 28 8D FD */ bl ReadFloat__12CInputStreamFv
/* 800B5E30 000B2D90 D0 3E 01 64 */ stfs f1, 0x164(r30)
/* 800B5E34 000B2D94 7F E3 FB 78 */ mr r3, r31
/* 800B5E38 000B2D98 48 28 8D F1 */ bl ReadFloat__12CInputStreamFv
/* 800B5E3C 000B2D9C D0 3E 01 68 */ stfs f1, 0x168(r30)
/* 800B5E40 000B2DA0 7F E3 FB 78 */ mr r3, r31
/* 800B5E44 000B2DA4 48 28 8D E5 */ bl ReadFloat__12CInputStreamFv
/* 800B5E48 000B2DA8 D0 3E 01 6C */ stfs f1, 0x16c(r30)
/* 800B5E4C 000B2DAC 7F E3 FB 78 */ mr r3, r31
/* 800B5E50 000B2DB0 48 28 8D D9 */ bl ReadFloat__12CInputStreamFv
/* 800B5E54 000B2DB4 D0 3E 01 70 */ stfs f1, 0x170(r30)
/* 800B5E58 000B2DB8 7F E3 FB 78 */ mr r3, r31
/* 800B5E5C 000B2DBC 48 28 8D CD */ bl ReadFloat__12CInputStreamFv
/* 800B5E60 000B2DC0 D0 3E 01 74 */ stfs f1, 0x174(r30)
/* 800B5E64 000B2DC4 7F E3 FB 78 */ mr r3, r31
/* 800B5E68 000B2DC8 48 28 8D C1 */ bl ReadFloat__12CInputStreamFv
/* 800B5E6C 000B2DCC D0 3E 01 78 */ stfs f1, 0x178(r30)
/* 800B5E70 000B2DD0 7F E3 FB 78 */ mr r3, r31
/* 800B5E74 000B2DD4 48 28 8D B5 */ bl ReadFloat__12CInputStreamFv
/* 800B5E78 000B2DD8 D0 3E 01 7C */ stfs f1, 0x17c(r30)
/* 800B5E7C 000B2DDC 7F E3 FB 78 */ mr r3, r31
/* 800B5E80 000B2DE0 48 28 8D A9 */ bl ReadFloat__12CInputStreamFv
/* 800B5E84 000B2DE4 D0 3E 01 80 */ stfs f1, 0x180(r30)
/* 800B5E88 000B2DE8 7F E3 FB 78 */ mr r3, r31
/* 800B5E8C 000B2DEC 48 28 8D 9D */ bl ReadFloat__12CInputStreamFv
/* 800B5E90 000B2DF0 D0 3E 01 84 */ stfs f1, 0x184(r30)
/* 800B5E94 000B2DF4 7F E3 FB 78 */ mr r3, r31
/* 800B5E98 000B2DF8 48 28 8D 91 */ bl ReadFloat__12CInputStreamFv
/* 800B5E9C 000B2DFC D0 3E 01 88 */ stfs f1, 0x188(r30)
/* 800B5EA0 000B2E00 7F E3 FB 78 */ mr r3, r31
/* 800B5EA4 000B2E04 48 28 8D 85 */ bl ReadFloat__12CInputStreamFv
/* 800B5EA8 000B2E08 D0 3E 01 8C */ stfs f1, 0x18c(r30)
/* 800B5EAC 000B2E0C 7F E3 FB 78 */ mr r3, r31
/* 800B5EB0 000B2E10 48 28 8D 79 */ bl ReadFloat__12CInputStreamFv
/* 800B5EB4 000B2E14 D0 3E 01 90 */ stfs f1, 0x190(r30)
/* 800B5EB8 000B2E18 7F E3 FB 78 */ mr r3, r31
/* 800B5EBC 000B2E1C 48 28 8D 6D */ bl ReadFloat__12CInputStreamFv
/* 800B5EC0 000B2E20 D0 3E 01 94 */ stfs f1, 0x194(r30)
/* 800B5EC4 000B2E24 7F E3 FB 78 */ mr r3, r31
/* 800B5EC8 000B2E28 48 28 8D 61 */ bl ReadFloat__12CInputStreamFv
/* 800B5ECC 000B2E2C D0 3E 01 98 */ stfs f1, 0x198(r30)
/* 800B5ED0 000B2E30 7F E3 FB 78 */ mr r3, r31
/* 800B5ED4 000B2E34 48 28 8D 55 */ bl ReadFloat__12CInputStreamFv
/* 800B5ED8 000B2E38 D0 3E 01 9C */ stfs f1, 0x19c(r30)
/* 800B5EDC 000B2E3C 7F E3 FB 78 */ mr r3, r31
/* 800B5EE0 000B2E40 48 28 8D 49 */ bl ReadFloat__12CInputStreamFv
/* 800B5EE4 000B2E44 D0 3E 01 A0 */ stfs f1, 0x1a0(r30)
/* 800B5EE8 000B2E48 7F E4 FB 78 */ mr r4, r31
/* 800B5EEC 000B2E4C 38 7E 01 A4 */ addi r3, r30, 0x1a4
/* 800B5EF0 000B2E50 48 2A D5 5D */ bl __ct__6CColorFR12CInputStream
/* 800B5EF4 000B2E54 7F E4 FB 78 */ mr r4, r31
/* 800B5EF8 000B2E58 38 7E 01 A8 */ addi r3, r30, 0x1a8
/* 800B5EFC 000B2E5C 48 2A D5 51 */ bl __ct__6CColorFR12CInputStream
/* 800B5F00 000B2E60 7F E4 FB 78 */ mr r4, r31
/* 800B5F04 000B2E64 38 7E 01 AC */ addi r3, r30, 0x1ac
/* 800B5F08 000B2E68 48 2A D5 45 */ bl __ct__6CColorFR12CInputStream
/* 800B5F0C 000B2E6C 7F E3 FB 78 */ mr r3, r31
/* 800B5F10 000B2E70 48 28 8D 19 */ bl ReadFloat__12CInputStreamFv
/* 800B5F14 000B2E74 D0 3E 01 B0 */ stfs f1, 0x1b0(r30)
/* 800B5F18 000B2E78 7F E4 FB 78 */ mr r4, r31
/* 800B5F1C 000B2E7C 38 7E 01 B4 */ addi r3, r30, 0x1b4
/* 800B5F20 000B2E80 48 2A D5 2D */ bl __ct__6CColorFR12CInputStream
/* 800B5F24 000B2E84 7F E3 FB 78 */ mr r3, r31
/* 800B5F28 000B2E88 48 28 8D 01 */ bl ReadFloat__12CInputStreamFv
/* 800B5F2C 000B2E8C D0 3E 01 B8 */ stfs f1, 0x1b8(r30)
/* 800B5F30 000B2E90 7F E4 FB 78 */ mr r4, r31
/* 800B5F34 000B2E94 38 7E 01 BC */ addi r3, r30, 0x1bc
/* 800B5F38 000B2E98 48 2A D5 15 */ bl __ct__6CColorFR12CInputStream
/* 800B5F3C 000B2E9C 7F E4 FB 78 */ mr r4, r31
/* 800B5F40 000B2EA0 38 7E 01 C0 */ addi r3, r30, 0x1c0
/* 800B5F44 000B2EA4 48 2A D5 09 */ bl __ct__6CColorFR12CInputStream
/* 800B5F48 000B2EA8 7F E3 FB 78 */ mr r3, r31
/* 800B5F4C 000B2EAC 48 28 8C DD */ bl ReadFloat__12CInputStreamFv
/* 800B5F50 000B2EB0 D0 3E 01 C4 */ stfs f1, 0x1c4(r30)
/* 800B5F54 000B2EB4 7F E3 FB 78 */ mr r3, r31
/* 800B5F58 000B2EB8 48 28 8D 85 */ bl ReadBool__12CInputStreamFv
/* 800B5F5C 000B2EBC 98 7E 01 C8 */ stb r3, 0x1c8(r30)
/* 800B5F60 000B2EC0 7F E4 FB 78 */ mr r4, r31
/* 800B5F64 000B2EC4 38 7E 01 CC */ addi r3, r30, 0x1cc
/* 800B5F68 000B2EC8 48 2A D4 E5 */ bl __ct__6CColorFR12CInputStream
/* 800B5F6C 000B2ECC 7F E3 FB 78 */ mr r3, r31
/* 800B5F70 000B2ED0 48 28 8C B9 */ bl ReadFloat__12CInputStreamFv
/* 800B5F74 000B2ED4 D0 3E 01 D0 */ stfs f1, 0x1d0(r30)
/* 800B5F78 000B2ED8 7F E4 FB 78 */ mr r4, r31
/* 800B5F7C 000B2EDC 38 7E 01 D4 */ addi r3, r30, 0x1d4
/* 800B5F80 000B2EE0 48 2A D4 CD */ bl __ct__6CColorFR12CInputStream
/* 800B5F84 000B2EE4 7F E4 FB 78 */ mr r4, r31
/* 800B5F88 000B2EE8 38 7E 01 D8 */ addi r3, r30, 0x1d8
/* 800B5F8C 000B2EEC 48 2A D4 C1 */ bl __ct__6CColorFR12CInputStream
/* 800B5F90 000B2EF0 7F E4 FB 78 */ mr r4, r31
/* 800B5F94 000B2EF4 38 7E 01 DC */ addi r3, r30, 0x1dc
/* 800B5F98 000B2EF8 48 2A D4 B5 */ bl __ct__6CColorFR12CInputStream
/* 800B5F9C 000B2EFC 7F E3 FB 78 */ mr r3, r31
/* 800B5FA0 000B2F00 48 28 8C 89 */ bl ReadFloat__12CInputStreamFv
/* 800B5FA4 000B2F04 D0 3E 01 E0 */ stfs f1, 0x1e0(r30)
/* 800B5FA8 000B2F08 7F E3 FB 78 */ mr r3, r31
/* 800B5FAC 000B2F0C 48 28 8C 7D */ bl ReadFloat__12CInputStreamFv
/* 800B5FB0 000B2F10 D0 3E 01 E4 */ stfs f1, 0x1e4(r30)
/* 800B5FB4 000B2F14 7F E3 FB 78 */ mr r3, r31
/* 800B5FB8 000B2F18 48 28 8C 71 */ bl ReadFloat__12CInputStreamFv
/* 800B5FBC 000B2F1C D0 3E 01 E8 */ stfs f1, 0x1e8(r30)
/* 800B5FC0 000B2F20 7F E3 FB 78 */ mr r3, r31
/* 800B5FC4 000B2F24 48 28 8C 65 */ bl ReadFloat__12CInputStreamFv
/* 800B5FC8 000B2F28 D0 3E 01 EC */ stfs f1, 0x1ec(r30)
/* 800B5FCC 000B2F2C 7F E3 FB 78 */ mr r3, r31
/* 800B5FD0 000B2F30 48 28 8C 59 */ bl ReadFloat__12CInputStreamFv
/* 800B5FD4 000B2F34 D0 3E 01 F0 */ stfs f1, 0x1f0(r30)
/* 800B5FD8 000B2F38 7F E3 FB 78 */ mr r3, r31
/* 800B5FDC 000B2F3C 48 28 8C 4D */ bl ReadFloat__12CInputStreamFv
/* 800B5FE0 000B2F40 D0 3E 01 F4 */ stfs f1, 0x1f4(r30)
/* 800B5FE4 000B2F44 7F E3 FB 78 */ mr r3, r31
/* 800B5FE8 000B2F48 48 28 8C 41 */ bl ReadFloat__12CInputStreamFv
/* 800B5FEC 000B2F4C D0 3E 01 F8 */ stfs f1, 0x1f8(r30)
/* 800B5FF0 000B2F50 7F E3 FB 78 */ mr r3, r31
/* 800B5FF4 000B2F54 48 28 8C 35 */ bl ReadFloat__12CInputStreamFv
/* 800B5FF8 000B2F58 D0 3E 01 FC */ stfs f1, 0x1fc(r30)
/* 800B5FFC 000B2F5C 7F E3 FB 78 */ mr r3, r31
/* 800B6000 000B2F60 48 28 8C 29 */ bl ReadFloat__12CInputStreamFv
/* 800B6004 000B2F64 D0 3E 02 00 */ stfs f1, 0x200(r30)
/* 800B6008 000B2F68 7F E3 FB 78 */ mr r3, r31
/* 800B600C 000B2F6C 48 28 8C 1D */ bl ReadFloat__12CInputStreamFv
/* 800B6010 000B2F70 D0 3E 02 04 */ stfs f1, 0x204(r30)
/* 800B6014 000B2F74 7F E3 FB 78 */ mr r3, r31
/* 800B6018 000B2F78 48 28 8C 11 */ bl ReadFloat__12CInputStreamFv
/* 800B601C 000B2F7C D0 3E 02 08 */ stfs f1, 0x208(r30)
/* 800B6020 000B2F80 7F E3 FB 78 */ mr r3, r31
/* 800B6024 000B2F84 48 28 8C 05 */ bl ReadFloat__12CInputStreamFv
/* 800B6028 000B2F88 D0 3E 02 0C */ stfs f1, 0x20c(r30)
/* 800B602C 000B2F8C 7F E3 FB 78 */ mr r3, r31
/* 800B6030 000B2F90 48 28 8B F9 */ bl ReadFloat__12CInputStreamFv
/* 800B6034 000B2F94 D0 3E 02 10 */ stfs f1, 0x210(r30)
/* 800B6038 000B2F98 7F E4 FB 78 */ mr r4, r31
/* 800B603C 000B2F9C 38 7E 02 14 */ addi r3, r30, 0x214
/* 800B6040 000B2FA0 48 2A D4 0D */ bl __ct__6CColorFR12CInputStream
/* 800B6044 000B2FA4 7F E3 FB 78 */ mr r3, r31
/* 800B6048 000B2FA8 48 28 8B E1 */ bl ReadFloat__12CInputStreamFv
/* 800B604C 000B2FAC D0 3E 02 18 */ stfs f1, 0x218(r30)
/* 800B6050 000B2FB0 7F E3 FB 78 */ mr r3, r31
/* 800B6054 000B2FB4 48 28 8B D5 */ bl ReadFloat__12CInputStreamFv
/* 800B6058 000B2FB8 D0 3E 02 1C */ stfs f1, 0x21c(r30)
/* 800B605C 000B2FBC 7F E3 FB 78 */ mr r3, r31
/* 800B6060 000B2FC0 48 28 8B C9 */ bl ReadFloat__12CInputStreamFv
/* 800B6064 000B2FC4 D0 3E 02 20 */ stfs f1, 0x220(r30)
/* 800B6068 000B2FC8 7F E3 FB 78 */ mr r3, r31
/* 800B606C 000B2FCC 48 28 8B BD */ bl ReadFloat__12CInputStreamFv
/* 800B6070 000B2FD0 D0 3E 02 24 */ stfs f1, 0x224(r30)
/* 800B6074 000B2FD4 38 00 00 02 */ li r0, 2
/* 800B6078 000B2FD8 C0 22 8D 00 */ lfs f1, lbl_805AAA20@sda21(r2)
/* 800B607C 000B2FDC 38 C0 00 00 */ li r6, 0
/* 800B6080 000B2FE0 C0 1E 02 08 */ lfs f0, 0x208(r30)
/* 800B6084 000B2FE4 38 A0 00 00 */ li r5, 0
/* 800B6088 000B2FE8 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2)
/* 800B608C 000B2FEC EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6090 000B2FF0 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6094 000B2FF4 D0 1E 02 08 */ stfs f0, 0x208(r30)
/* 800B6098 000B2FF8 7C 09 03 A6 */ mtctr r0
lbl_800B609C:
/* 800B609C 000B2FFC 80 1E 01 04 */ lwz r0, 0x104(r30)
/* 800B60A0 000B3000 7C 80 2A 14 */ add r4, r0, r5
/* 800B60A4 000B3004 38 A5 00 10 */ addi r5, r5, 0x10
/* 800B60A8 000B3008 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B60AC 000B300C C0 03 00 00 */ lfs f0, 0(r3)
/* 800B60B0 000B3010 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B60B4 000B3014 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B60B8 000B3018 D0 03 00 00 */ stfs f0, 0(r3)
/* 800B60BC 000B301C 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B60C0 000B3020 C0 03 00 04 */ lfs f0, 4(r3)
/* 800B60C4 000B3024 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B60C8 000B3028 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B60CC 000B302C D0 03 00 04 */ stfs f0, 4(r3)
/* 800B60D0 000B3030 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B60D4 000B3034 C0 03 00 08 */ lfs f0, 8(r3)
/* 800B60D8 000B3038 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B60DC 000B303C EC 02 00 32 */ fmuls f0, f2, f0
/* 800B60E0 000B3040 D0 03 00 08 */ stfs f0, 8(r3)
/* 800B60E4 000B3044 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B60E8 000B3048 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 800B60EC 000B304C EC 01 00 32 */ fmuls f0, f1, f0
/* 800B60F0 000B3050 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B60F4 000B3054 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 800B60F8 000B3058 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B60FC 000B305C C0 03 00 10 */ lfs f0, 0x10(r3)
/* 800B6100 000B3060 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6104 000B3064 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6108 000B3068 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 800B610C 000B306C 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B6110 000B3070 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 800B6114 000B3074 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6118 000B3078 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B611C 000B307C D0 03 00 14 */ stfs f0, 0x14(r3)
/* 800B6120 000B3080 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B6124 000B3084 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 800B6128 000B3088 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B612C 000B308C EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6130 000B3090 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 800B6134 000B3094 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B6138 000B3098 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 800B613C 000B309C EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6140 000B30A0 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6144 000B30A4 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 800B6148 000B30A8 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B614C 000B30AC C0 03 00 20 */ lfs f0, 0x20(r3)
/* 800B6150 000B30B0 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6154 000B30B4 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6158 000B30B8 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 800B615C 000B30BC 80 1E 01 04 */ lwz r0, 0x104(r30)
/* 800B6160 000B30C0 7C 80 2A 14 */ add r4, r0, r5
/* 800B6164 000B30C4 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B6168 000B30C8 38 A5 00 10 */ addi r5, r5, 0x10
/* 800B616C 000B30CC 38 C6 00 01 */ addi r6, r6, 1
/* 800B6170 000B30D0 C0 03 00 00 */ lfs f0, 0(r3)
/* 800B6174 000B30D4 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6178 000B30D8 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B617C 000B30DC D0 03 00 00 */ stfs f0, 0(r3)
/* 800B6180 000B30E0 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B6184 000B30E4 C0 03 00 04 */ lfs f0, 4(r3)
/* 800B6188 000B30E8 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B618C 000B30EC EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6190 000B30F0 D0 03 00 04 */ stfs f0, 4(r3)
/* 800B6194 000B30F4 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B6198 000B30F8 C0 03 00 08 */ lfs f0, 8(r3)
/* 800B619C 000B30FC EC 01 00 32 */ fmuls f0, f1, f0
/* 800B61A0 000B3100 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B61A4 000B3104 D0 03 00 08 */ stfs f0, 8(r3)
/* 800B61A8 000B3108 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B61AC 000B310C C0 03 00 0C */ lfs f0, 0xc(r3)
/* 800B61B0 000B3110 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B61B4 000B3114 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B61B8 000B3118 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 800B61BC 000B311C 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B61C0 000B3120 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 800B61C4 000B3124 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B61C8 000B3128 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B61CC 000B312C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 800B61D0 000B3130 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B61D4 000B3134 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 800B61D8 000B3138 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B61DC 000B313C EC 02 00 32 */ fmuls f0, f2, f0
/* 800B61E0 000B3140 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 800B61E4 000B3144 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B61E8 000B3148 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 800B61EC 000B314C EC 01 00 32 */ fmuls f0, f1, f0
/* 800B61F0 000B3150 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B61F4 000B3154 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 800B61F8 000B3158 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B61FC 000B315C C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 800B6200 000B3160 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6204 000B3164 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6208 000B3168 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 800B620C 000B316C 80 64 00 0C */ lwz r3, 0xc(r4)
/* 800B6210 000B3170 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 800B6214 000B3174 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6218 000B3178 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B621C 000B317C D0 03 00 20 */ stfs f0, 0x20(r3)
/* 800B6220 000B3180 42 00 FE 7C */ bdnz lbl_800B609C
/* 800B6224 000B3184 80 9E 01 14 */ lwz r4, 0x114(r30)
/* 800B6228 000B3188 7F C3 F3 78 */ mr r3, r30
/* 800B622C 000B318C C0 22 8D 00 */ lfs f1, lbl_805AAA20@sda21(r2)
/* 800B6230 000B3190 C0 04 00 00 */ lfs f0, 0(r4)
/* 800B6234 000B3194 C0 42 8C FC */ lfs f2, lbl_805AAA1C@sda21(r2)
/* 800B6238 000B3198 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B623C 000B319C EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6240 000B31A0 D0 04 00 00 */ stfs f0, 0(r4)
/* 800B6244 000B31A4 80 9E 01 14 */ lwz r4, 0x114(r30)
/* 800B6248 000B31A8 C0 04 00 04 */ lfs f0, 4(r4)
/* 800B624C 000B31AC EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6250 000B31B0 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6254 000B31B4 D0 04 00 04 */ stfs f0, 4(r4)
/* 800B6258 000B31B8 80 9E 01 14 */ lwz r4, 0x114(r30)
/* 800B625C 000B31BC C0 04 00 08 */ lfs f0, 8(r4)
/* 800B6260 000B31C0 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6264 000B31C4 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B6268 000B31C8 D0 04 00 08 */ stfs f0, 8(r4)
/* 800B626C 000B31CC 80 9E 01 14 */ lwz r4, 0x114(r30)
/* 800B6270 000B31D0 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 800B6274 000B31D4 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B6278 000B31D8 EC 02 00 32 */ fmuls f0, f2, f0
/* 800B627C 000B31DC D0 04 00 0C */ stfs f0, 0xc(r4)
/* 800B6280 000B31E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 800B6284 000B31E4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B6288 000B31E8 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 800B628C 000B31EC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B6290 000B31F0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B6294 000B31F4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B6298 000B31F8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800B629C 000B31FC 7C 08 03 A6 */ mtlr r0
/* 800B62A0 000B3200 38 21 00 30 */ addi r1, r1, 0x30
/* 800B62A4 000B3204 4E 80 00 20 */ blr
.global sub_800b62a8
sub_800b62a8:
/* 800B62A8 000B3208 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B62AC 000B320C 7C 08 02 A6 */ mflr r0
/* 800B62B0 000B3210 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B62B4 000B3214 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B62B8 000B3218 7C 9F 23 78 */ mr r31, r4
/* 800B62BC 000B321C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B62C0 000B3220 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B62C4 000B3224 41 82 00 54 */ beq lbl_800B6318
/* 800B62C8 000B3228 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B62CC 000B322C 38 61 00 14 */ addi r3, r1, 0x14
/* 800B62D0 000B3230 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 800B62D4 000B3234 38 81 00 0C */ addi r4, r1, 0xc
/* 800B62D8 000B3238 54 00 20 36 */ slwi r0, r0, 4
/* 800B62DC 000B323C 7C A5 02 14 */ add r5, r5, r0
/* 800B62E0 000B3240 90 A1 00 0C */ stw r5, 0xc(r1)
/* 800B62E4 000B3244 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 800B62E8 000B3248 90 A1 00 08 */ stw r5, 8(r1)
/* 800B62EC 000B324C 90 01 00 10 */ stw r0, 0x10(r1)
/* 800B62F0 000B3250 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B62F4 000B3254 48 00 00 41 */ bl sub_800b6334
/* 800B62F8 000B3258 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800B62FC 000B325C 28 03 00 00 */ cmplwi r3, 0
/* 800B6300 000B3260 41 82 00 08 */ beq lbl_800B6308
/* 800B6304 000B3264 48 25 F6 2D */ bl Free__7CMemoryFPCv
lbl_800B6308:
/* 800B6308 000B3268 7F E0 07 35 */ extsh. r0, r31
/* 800B630C 000B326C 40 81 00 0C */ ble lbl_800B6318
/* 800B6310 000B3270 7F C3 F3 78 */ mr r3, r30
/* 800B6314 000B3274 48 25 F6 1D */ bl Free__7CMemoryFPCv
lbl_800B6318:
/* 800B6318 000B3278 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B631C 000B327C 7F C3 F3 78 */ mr r3, r30
/* 800B6320 000B3280 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B6324 000B3284 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B6328 000B3288 7C 08 03 A6 */ mtlr r0
/* 800B632C 000B328C 38 21 00 20 */ addi r1, r1, 0x20
/* 800B6330 000B3290 4E 80 00 20 */ blr
.global sub_800b6334
sub_800b6334:
/* 800B6334 000B3294 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B6338 000B3298 7C 08 02 A6 */ mflr r0
/* 800B633C 000B329C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B6340 000B32A0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B6344 000B32A4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B6348 000B32A8 7C 9E 23 78 */ mr r30, r4
/* 800B634C 000B32AC 83 E3 00 00 */ lwz r31, 0(r3)
/* 800B6350 000B32B0 48 00 00 50 */ b lbl_800B63A0
lbl_800B6354:
/* 800B6354 000B32B4 28 1F 00 00 */ cmplwi r31, 0
/* 800B6358 000B32B8 41 82 00 44 */ beq lbl_800B639C
/* 800B635C 000B32BC 80 1F 00 04 */ lwz r0, 4(r31)
/* 800B6360 000B32C0 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 800B6364 000B32C4 54 00 10 3A */ slwi r0, r0, 2
/* 800B6368 000B32C8 7C 03 02 14 */ add r0, r3, r0
/* 800B636C 000B32CC 90 61 00 0C */ stw r3, 0xc(r1)
/* 800B6370 000B32D0 7C 64 1B 78 */ mr r4, r3
/* 800B6374 000B32D4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B6378 000B32D8 90 01 00 10 */ stw r0, 0x10(r1)
/* 800B637C 000B32DC 90 61 00 08 */ stw r3, 8(r1)
/* 800B6380 000B32E0 48 00 00 08 */ b lbl_800B6388
lbl_800B6384:
/* 800B6384 000B32E4 38 84 00 04 */ addi r4, r4, 4
lbl_800B6388:
/* 800B6388 000B32E8 7C 04 00 40 */ cmplw r4, r0
/* 800B638C 000B32EC 40 82 FF F8 */ bne lbl_800B6384
/* 800B6390 000B32F0 28 03 00 00 */ cmplwi r3, 0
/* 800B6394 000B32F4 41 82 00 08 */ beq lbl_800B639C
/* 800B6398 000B32F8 48 25 F5 99 */ bl Free__7CMemoryFPCv
lbl_800B639C:
/* 800B639C 000B32FC 3B FF 00 10 */ addi r31, r31, 0x10
lbl_800B63A0:
/* 800B63A0 000B3300 80 1E 00 00 */ lwz r0, 0(r30)
/* 800B63A4 000B3304 7C 1F 00 40 */ cmplw r31, r0
/* 800B63A8 000B3308 40 82 FF AC */ bne lbl_800B6354
/* 800B63AC 000B330C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B63B0 000B3310 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B63B4 000B3314 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B63B8 000B3318 7C 08 03 A6 */ mtlr r0
/* 800B63BC 000B331C 38 21 00 20 */ addi r1, r1, 0x20
/* 800B63C0 000B3320 4E 80 00 20 */ blr
.global sub_800b63c4
sub_800b63c4:
/* 800B63C4 000B3324 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800B63C8 000B3328 7C 08 02 A6 */ mflr r0
/* 800B63CC 000B332C 90 01 00 54 */ stw r0, 0x54(r1)
/* 800B63D0 000B3330 38 00 00 00 */ li r0, 0
/* 800B63D4 000B3334 BF 61 00 3C */ stmw r27, 0x3c(r1)
/* 800B63D8 000B3338 7C 7B 1B 78 */ mr r27, r3
/* 800B63DC 000B333C 7C 9C 23 78 */ mr r28, r4
/* 800B63E0 000B3340 90 03 00 04 */ stw r0, 4(r3)
/* 800B63E4 000B3344 7F 83 E3 78 */ mr r3, r28
/* 800B63E8 000B3348 90 1B 00 08 */ stw r0, 8(r27)
/* 800B63EC 000B334C 90 1B 00 0C */ stw r0, 0xc(r27)
/* 800B63F0 000B3350 48 28 88 95 */ bl ReadLong__12CInputStreamFv
/* 800B63F4 000B3354 7C 7E 1B 78 */ mr r30, r3
/* 800B63F8 000B3358 7F 63 DB 78 */ mr r3, r27
/* 800B63FC 000B335C 7F C4 F3 78 */ mr r4, r30
/* 800B6400 000B3360 48 00 03 B5 */ bl sub_800b67b4
/* 800B6404 000B3364 3B E1 00 08 */ addi r31, r1, 8
/* 800B6408 000B3368 3B A0 00 00 */ li r29, 0
/* 800B640C 000B336C 48 00 00 6C */ b lbl_800B6478
lbl_800B6410:
/* 800B6410 000B3370 88 0D A2 E8 */ lbz r0, lbl_805A8EA8@sda21(r13)
/* 800B6414 000B3374 7F 84 E3 78 */ mr r4, r28
/* 800B6418 000B3378 7F E5 FB 78 */ mr r5, r31
/* 800B641C 000B337C 38 61 00 1C */ addi r3, r1, 0x1c
/* 800B6420 000B3380 98 01 00 08 */ stb r0, 8(r1)
/* 800B6424 000B3384 48 00 01 89 */ bl sub_800b65ac
/* 800B6428 000B3388 7F 63 DB 78 */ mr r3, r27
/* 800B642C 000B338C 38 81 00 1C */ addi r4, r1, 0x1c
/* 800B6430 000B3390 48 00 00 69 */ bl sub_800b6498
/* 800B6434 000B3394 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800B6438 000B3398 80 61 00 28 */ lwz r3, 0x28(r1)
/* 800B643C 000B339C 54 00 10 3A */ slwi r0, r0, 2
/* 800B6440 000B33A0 7C 03 02 14 */ add r0, r3, r0
/* 800B6444 000B33A4 90 61 00 10 */ stw r3, 0x10(r1)
/* 800B6448 000B33A8 7C 64 1B 78 */ mr r4, r3
/* 800B644C 000B33AC 90 01 00 18 */ stw r0, 0x18(r1)
/* 800B6450 000B33B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B6454 000B33B4 90 61 00 0C */ stw r3, 0xc(r1)
/* 800B6458 000B33B8 48 00 00 08 */ b lbl_800B6460
lbl_800B645C:
/* 800B645C 000B33BC 38 84 00 04 */ addi r4, r4, 4
lbl_800B6460:
/* 800B6460 000B33C0 7C 04 00 40 */ cmplw r4, r0
/* 800B6464 000B33C4 40 82 FF F8 */ bne lbl_800B645C
/* 800B6468 000B33C8 28 03 00 00 */ cmplwi r3, 0
/* 800B646C 000B33CC 41 82 00 08 */ beq lbl_800B6474
/* 800B6470 000B33D0 48 25 F4 C1 */ bl Free__7CMemoryFPCv
lbl_800B6474:
/* 800B6474 000B33D4 3B BD 00 01 */ addi r29, r29, 1
lbl_800B6478:
/* 800B6478 000B33D8 7C 1D F0 00 */ cmpw r29, r30
/* 800B647C 000B33DC 41 80 FF 94 */ blt lbl_800B6410
/* 800B6480 000B33E0 7F 63 DB 78 */ mr r3, r27
/* 800B6484 000B33E4 BB 61 00 3C */ lmw r27, 0x3c(r1)
/* 800B6488 000B33E8 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800B648C 000B33EC 7C 08 03 A6 */ mtlr r0
/* 800B6490 000B33F0 38 21 00 50 */ addi r1, r1, 0x50
/* 800B6494 000B33F4 4E 80 00 20 */ blr
.global sub_800b6498
sub_800b6498:
/* 800B6498 000B33F8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B649C 000B33FC 7C 08 02 A6 */ mflr r0
/* 800B64A0 000B3400 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B64A4 000B3404 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B64A8 000B3408 7C 9F 23 78 */ mr r31, r4
/* 800B64AC 000B340C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B64B0 000B3410 7C 7E 1B 78 */ mr r30, r3
/* 800B64B4 000B3414 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B64B8 000B3418 80 03 00 04 */ lwz r0, 4(r3)
/* 800B64BC 000B341C 80 A3 00 08 */ lwz r5, 8(r3)
/* 800B64C0 000B3420 7C 00 28 00 */ cmpw r0, r5
/* 800B64C4 000B3424 41 80 00 18 */ blt lbl_800B64DC
/* 800B64C8 000B3428 2C 05 00 00 */ cmpwi r5, 0
/* 800B64CC 000B342C 38 80 00 04 */ li r4, 4
/* 800B64D0 000B3430 41 82 00 08 */ beq lbl_800B64D8
/* 800B64D4 000B3434 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B64D8:
/* 800B64D8 000B3438 48 00 02 DD */ bl sub_800b67b4
lbl_800B64DC:
/* 800B64DC 000B343C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B64E0 000B3440 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800B64E4 000B3444 54 00 20 36 */ slwi r0, r0, 4
/* 800B64E8 000B3448 7F A3 02 15 */ add. r29, r3, r0
/* 800B64EC 000B344C 41 82 00 98 */ beq lbl_800B6584
/* 800B64F0 000B3450 80 1F 00 04 */ lwz r0, 4(r31)
/* 800B64F4 000B3454 90 1D 00 04 */ stw r0, 4(r29)
/* 800B64F8 000B3458 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B64FC 000B345C 90 1D 00 08 */ stw r0, 8(r29)
/* 800B6500 000B3460 80 1F 00 04 */ lwz r0, 4(r31)
/* 800B6504 000B3464 2C 00 00 00 */ cmpwi r0, 0
/* 800B6508 000B3468 40 82 00 1C */ bne lbl_800B6524
/* 800B650C 000B346C 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B6510 000B3470 2C 00 00 00 */ cmpwi r0, 0
/* 800B6514 000B3474 40 82 00 10 */ bne lbl_800B6524
/* 800B6518 000B3478 38 00 00 00 */ li r0, 0
/* 800B651C 000B347C 90 1D 00 0C */ stw r0, 0xc(r29)
/* 800B6520 000B3480 48 00 00 64 */ b lbl_800B6584
lbl_800B6524:
/* 800B6524 000B3484 80 1D 00 08 */ lwz r0, 8(r29)
/* 800B6528 000B3488 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 800B652C 000B348C 40 82 00 10 */ bne lbl_800B653C
/* 800B6530 000B3490 38 00 00 00 */ li r0, 0
/* 800B6534 000B3494 90 1D 00 0C */ stw r0, 0xc(r29)
/* 800B6538 000B3498 48 00 00 18 */ b lbl_800B6550
lbl_800B653C:
/* 800B653C 000B349C 3C 80 80 3D */ lis r4, lbl_803CDE80@ha
/* 800B6540 000B34A0 38 A0 00 00 */ li r5, 0
/* 800B6544 000B34A4 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l
/* 800B6548 000B34A8 48 25 F2 D1 */ bl __nwa__FUlPCcPCc
/* 800B654C 000B34AC 90 7D 00 0C */ stw r3, 0xc(r29)
lbl_800B6550:
/* 800B6550 000B34B0 80 1D 00 04 */ lwz r0, 4(r29)
/* 800B6554 000B34B4 80 9F 00 0C */ lwz r4, 0xc(r31)
/* 800B6558 000B34B8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 800B655C 000B34BC 7C 09 03 A6 */ mtctr r0
/* 800B6560 000B34C0 2C 00 00 00 */ cmpwi r0, 0
/* 800B6564 000B34C4 40 81 00 20 */ ble lbl_800B6584
lbl_800B6568:
/* 800B6568 000B34C8 28 03 00 00 */ cmplwi r3, 0
/* 800B656C 000B34CC 41 82 00 0C */ beq lbl_800B6578
/* 800B6570 000B34D0 C0 04 00 00 */ lfs f0, 0(r4)
/* 800B6574 000B34D4 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800B6578:
/* 800B6578 000B34D8 38 63 00 04 */ addi r3, r3, 4
/* 800B657C 000B34DC 38 84 00 04 */ addi r4, r4, 4
/* 800B6580 000B34E0 42 00 FF E8 */ bdnz lbl_800B6568
lbl_800B6584:
/* 800B6584 000B34E4 80 7E 00 04 */ lwz r3, 4(r30)
/* 800B6588 000B34E8 38 03 00 01 */ addi r0, r3, 1
/* 800B658C 000B34EC 90 1E 00 04 */ stw r0, 4(r30)
/* 800B6590 000B34F0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B6594 000B34F4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B6598 000B34F8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B659C 000B34FC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B65A0 000B3500 7C 08 03 A6 */ mtlr r0
/* 800B65A4 000B3504 38 21 00 20 */ addi r1, r1, 0x20
/* 800B65A8 000B3508 4E 80 00 20 */ blr
.global sub_800b65ac
sub_800b65ac:
/* 800B65AC 000B350C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B65B0 000B3510 7C 08 02 A6 */ mflr r0
/* 800B65B4 000B3514 7C 85 23 78 */ mr r5, r4
/* 800B65B8 000B3518 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B65BC 000B351C 38 81 00 08 */ addi r4, r1, 8
/* 800B65C0 000B3520 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B65C4 000B3524 7C 7F 1B 78 */ mr r31, r3
/* 800B65C8 000B3528 88 0D A2 EC */ lbz r0, lbl_805A8EAC@sda21(r13)
/* 800B65CC 000B352C 98 01 00 08 */ stb r0, 8(r1)
/* 800B65D0 000B3530 48 00 00 19 */ bl sub_800b65e8
/* 800B65D4 000B3534 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B65D8 000B3538 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B65DC 000B353C 7C 08 03 A6 */ mtlr r0
/* 800B65E0 000B3540 38 21 00 20 */ addi r1, r1, 0x20
/* 800B65E4 000B3544 4E 80 00 20 */ blr
.global sub_800b65e8
sub_800b65e8:
/* 800B65E8 000B3548 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B65EC 000B354C 7C 08 02 A6 */ mflr r0
/* 800B65F0 000B3550 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B65F4 000B3554 38 00 00 00 */ li r0, 0
/* 800B65F8 000B3558 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 800B65FC 000B355C 93 E1 00 14 */ stw r31, 0x14(r1)
/* 800B6600 000B3560 93 C1 00 10 */ stw r30, 0x10(r1)
/* 800B6604 000B3564 93 A1 00 0C */ stw r29, 0xc(r1)
/* 800B6608 000B3568 7C BD 2B 78 */ mr r29, r5
/* 800B660C 000B356C 93 81 00 08 */ stw r28, 8(r1)
/* 800B6610 000B3570 7C 7C 1B 78 */ mr r28, r3
/* 800B6614 000B3574 90 03 00 04 */ stw r0, 4(r3)
/* 800B6618 000B3578 7F A3 EB 78 */ mr r3, r29
/* 800B661C 000B357C 90 1C 00 08 */ stw r0, 8(r28)
/* 800B6620 000B3580 90 1C 00 0C */ stw r0, 0xc(r28)
/* 800B6624 000B3584 48 28 86 61 */ bl ReadLong__12CInputStreamFv
/* 800B6628 000B3588 7C 7E 1B 78 */ mr r30, r3
/* 800B662C 000B358C 7F 83 E3 78 */ mr r3, r28
/* 800B6630 000B3590 7F C4 F3 78 */ mr r4, r30
/* 800B6634 000B3594 4B FA 77 C5 */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
/* 800B6638 000B3598 3B E0 00 00 */ li r31, 0
/* 800B663C 000B359C 48 00 00 60 */ b lbl_800B669C
lbl_800B6640:
/* 800B6640 000B35A0 7F A3 EB 78 */ mr r3, r29
/* 800B6644 000B35A4 48 28 85 E5 */ bl ReadFloat__12CInputStreamFv
/* 800B6648 000B35A8 80 1C 00 04 */ lwz r0, 4(r28)
/* 800B664C 000B35AC FF E0 08 90 */ fmr f31, f1
/* 800B6650 000B35B0 80 BC 00 08 */ lwz r5, 8(r28)
/* 800B6654 000B35B4 7C 00 28 00 */ cmpw r0, r5
/* 800B6658 000B35B8 41 80 00 1C */ blt lbl_800B6674
/* 800B665C 000B35BC 2C 05 00 00 */ cmpwi r5, 0
/* 800B6660 000B35C0 7F 83 E3 78 */ mr r3, r28
/* 800B6664 000B35C4 38 80 00 04 */ li r4, 4
/* 800B6668 000B35C8 41 82 00 08 */ beq lbl_800B6670
/* 800B666C 000B35CC 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B6670:
/* 800B6670 000B35D0 4B FA 77 89 */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
lbl_800B6674:
/* 800B6674 000B35D4 80 1C 00 04 */ lwz r0, 4(r28)
/* 800B6678 000B35D8 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 800B667C 000B35DC 54 00 10 3A */ slwi r0, r0, 2
/* 800B6680 000B35E0 7C 63 02 15 */ add. r3, r3, r0
/* 800B6684 000B35E4 41 82 00 08 */ beq lbl_800B668C
/* 800B6688 000B35E8 D3 E3 00 00 */ stfs f31, 0(r3)
lbl_800B668C:
/* 800B668C 000B35EC 80 7C 00 04 */ lwz r3, 4(r28)
/* 800B6690 000B35F0 3B FF 00 01 */ addi r31, r31, 1
/* 800B6694 000B35F4 38 03 00 01 */ addi r0, r3, 1
/* 800B6698 000B35F8 90 1C 00 04 */ stw r0, 4(r28)
lbl_800B669C:
/* 800B669C 000B35FC 7C 1F F0 00 */ cmpw r31, r30
/* 800B66A0 000B3600 41 80 FF A0 */ blt lbl_800B6640
/* 800B66A4 000B3604 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B66A8 000B3608 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 800B66AC 000B360C 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 800B66B0 000B3610 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 800B66B4 000B3614 83 A1 00 0C */ lwz r29, 0xc(r1)
/* 800B66B8 000B3618 83 81 00 08 */ lwz r28, 8(r1)
/* 800B66BC 000B361C 7C 08 03 A6 */ mtlr r0
/* 800B66C0 000B3620 38 21 00 20 */ addi r1, r1, 0x20
/* 800B66C4 000B3624 4E 80 00 20 */ blr
.global __dt__15CTweakTargetingFv
__dt__15CTweakTargetingFv:
/* 800B66C8 000B3628 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B66CC 000B362C 7C 08 02 A6 */ mflr r0
/* 800B66D0 000B3630 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B66D4 000B3634 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B66D8 000B3638 7C 9F 23 78 */ mr r31, r4
/* 800B66DC 000B363C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B66E0 000B3640 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B66E4 000B3644 41 82 00 88 */ beq lbl_800B676C
/* 800B66E8 000B3648 3C 60 80 3E */ lis r3, lbl_803DF428@ha
/* 800B66EC 000B364C 34 1E 01 08 */ addic. r0, r30, 0x108
/* 800B66F0 000B3650 38 03 F4 28 */ addi r0, r3, lbl_803DF428@l
/* 800B66F4 000B3654 90 1E 00 00 */ stw r0, 0(r30)
/* 800B66F8 000B3658 41 82 00 44 */ beq lbl_800B673C
/* 800B66FC 000B365C 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 800B6700 000B3660 80 7E 01 14 */ lwz r3, 0x114(r30)
/* 800B6704 000B3664 54 00 10 3A */ slwi r0, r0, 2
/* 800B6708 000B3668 7C 03 02 14 */ add r0, r3, r0
/* 800B670C 000B366C 90 61 00 0C */ stw r3, 0xc(r1)
/* 800B6710 000B3670 7C 64 1B 78 */ mr r4, r3
/* 800B6714 000B3674 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B6718 000B3678 90 01 00 10 */ stw r0, 0x10(r1)
/* 800B671C 000B367C 90 61 00 08 */ stw r3, 8(r1)
/* 800B6720 000B3680 48 00 00 08 */ b lbl_800B6728
lbl_800B6724:
/* 800B6724 000B3684 38 84 00 04 */ addi r4, r4, 4
lbl_800B6728:
/* 800B6728 000B3688 7C 04 00 40 */ cmplw r4, r0
/* 800B672C 000B368C 40 82 FF F8 */ bne lbl_800B6724
/* 800B6730 000B3690 28 03 00 00 */ cmplwi r3, 0
/* 800B6734 000B3694 41 82 00 08 */ beq lbl_800B673C
/* 800B6738 000B3698 48 25 F1 F9 */ bl Free__7CMemoryFPCv
lbl_800B673C:
/* 800B673C 000B369C 38 7E 00 F8 */ addi r3, r30, 0xf8
/* 800B6740 000B36A0 38 80 FF FF */ li r4, -1
/* 800B6744 000B36A4 4B FF FB 65 */ bl sub_800b62a8
/* 800B6748 000B36A8 28 1E 00 00 */ cmplwi r30, 0
/* 800B674C 000B36AC 41 82 00 10 */ beq lbl_800B675C
/* 800B6750 000B36B0 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 800B6754 000B36B4 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 800B6758 000B36B8 90 1E 00 00 */ stw r0, 0(r30)
lbl_800B675C:
/* 800B675C 000B36BC 7F E0 07 35 */ extsh. r0, r31
/* 800B6760 000B36C0 40 81 00 0C */ ble lbl_800B676C
/* 800B6764 000B36C4 7F C3 F3 78 */ mr r3, r30
/* 800B6768 000B36C8 48 00 00 21 */ bl "__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc"
lbl_800B676C:
/* 800B676C 000B36CC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B6770 000B36D0 7F C3 F3 78 */ mr r3, r30
/* 800B6774 000B36D4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B6778 000B36D8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B677C 000B36DC 7C 08 03 A6 */ mtlr r0
/* 800B6780 000B36E0 38 21 00 20 */ addi r1, r1, 0x20
/* 800B6784 000B36E4 4E 80 00 20 */ blr
.global "__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc"
"__dl__29TOneStatic<15CTweakTargeting>FPvPCcPCc":
/* 800B6788 000B36E8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B678C 000B36EC 7C 08 02 A6 */ mflr r0
/* 800B6790 000B36F0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B6794 000B36F4 4B F8 07 B1 */ bl "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv"
/* 800B6798 000B36F8 80 83 00 00 */ lwz r4, 0(r3)
/* 800B679C 000B36FC 38 04 FF FF */ addi r0, r4, -1
/* 800B67A0 000B3700 90 03 00 00 */ stw r0, 0(r3)
/* 800B67A4 000B3704 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B67A8 000B3708 7C 08 03 A6 */ mtlr r0
/* 800B67AC 000B370C 38 21 00 10 */ addi r1, r1, 0x10
/* 800B67B0 000B3710 4E 80 00 20 */ blr
.global sub_800b67b4
sub_800b67b4:
/* 800B67B4 000B3714 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800B67B8 000B3718 7C 08 02 A6 */ mflr r0
/* 800B67BC 000B371C 90 01 00 44 */ stw r0, 0x44(r1)
/* 800B67C0 000B3720 BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 800B67C4 000B3724 7C 9F 23 78 */ mr r31, r4
/* 800B67C8 000B3728 7C 7E 1B 78 */ mr r30, r3
/* 800B67CC 000B372C 80 03 00 08 */ lwz r0, 8(r3)
/* 800B67D0 000B3730 7C 1F 00 00 */ cmpw r31, r0
/* 800B67D4 000B3734 40 81 00 DC */ ble lbl_800B68B0
/* 800B67D8 000B3738 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b
/* 800B67DC 000B373C 40 82 00 0C */ bne lbl_800B67E8
/* 800B67E0 000B3740 3B A0 00 00 */ li r29, 0
/* 800B67E4 000B3744 48 00 00 18 */ b lbl_800B67FC
lbl_800B67E8:
/* 800B67E8 000B3748 3C 80 80 3D */ lis r4, lbl_803CDE80@ha
/* 800B67EC 000B374C 38 A0 00 00 */ li r5, 0
/* 800B67F0 000B3750 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l
/* 800B67F4 000B3754 48 25 F0 25 */ bl __nwa__FUlPCcPCc
/* 800B67F8 000B3758 7C 7D 1B 78 */ mr r29, r3
lbl_800B67FC:
/* 800B67FC 000B375C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B6800 000B3760 7F A5 EB 78 */ mr r5, r29
/* 800B6804 000B3764 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 800B6808 000B3768 38 61 00 24 */ addi r3, r1, 0x24
/* 800B680C 000B376C 54 00 20 36 */ slwi r0, r0, 4
/* 800B6810 000B3770 38 81 00 1C */ addi r4, r1, 0x1c
/* 800B6814 000B3774 7C C6 02 14 */ add r6, r6, r0
/* 800B6818 000B3778 90 C1 00 1C */ stw r6, 0x1c(r1)
/* 800B681C 000B377C 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 800B6820 000B3780 90 C1 00 18 */ stw r6, 0x18(r1)
/* 800B6824 000B3784 90 01 00 20 */ stw r0, 0x20(r1)
/* 800B6828 000B3788 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B682C 000B378C 48 00 00 99 */ bl sub_800b68c4
/* 800B6830 000B3790 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B6834 000B3794 83 7E 00 0C */ lwz r27, 0xc(r30)
/* 800B6838 000B3798 54 00 20 36 */ slwi r0, r0, 4
/* 800B683C 000B379C 7F 9B 02 14 */ add r28, r27, r0
/* 800B6840 000B37A0 48 00 00 50 */ b lbl_800B6890
lbl_800B6844:
/* 800B6844 000B37A4 28 1B 00 00 */ cmplwi r27, 0
/* 800B6848 000B37A8 41 82 00 44 */ beq lbl_800B688C
/* 800B684C 000B37AC 80 1B 00 04 */ lwz r0, 4(r27)
/* 800B6850 000B37B0 80 7B 00 0C */ lwz r3, 0xc(r27)
/* 800B6854 000B37B4 54 00 10 3A */ slwi r0, r0, 2
/* 800B6858 000B37B8 7C 03 02 14 */ add r0, r3, r0
/* 800B685C 000B37BC 90 61 00 0C */ stw r3, 0xc(r1)
/* 800B6860 000B37C0 7C 64 1B 78 */ mr r4, r3
/* 800B6864 000B37C4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B6868 000B37C8 90 01 00 10 */ stw r0, 0x10(r1)
/* 800B686C 000B37CC 90 61 00 08 */ stw r3, 8(r1)
/* 800B6870 000B37D0 48 00 00 08 */ b lbl_800B6878
lbl_800B6874:
/* 800B6874 000B37D4 38 84 00 04 */ addi r4, r4, 4
lbl_800B6878:
/* 800B6878 000B37D8 7C 04 00 40 */ cmplw r4, r0
/* 800B687C 000B37DC 40 82 FF F8 */ bne lbl_800B6874
/* 800B6880 000B37E0 28 03 00 00 */ cmplwi r3, 0
/* 800B6884 000B37E4 41 82 00 08 */ beq lbl_800B688C
/* 800B6888 000B37E8 48 25 F0 A9 */ bl Free__7CMemoryFPCv
lbl_800B688C:
/* 800B688C 000B37EC 3B 7B 00 10 */ addi r27, r27, 0x10
lbl_800B6890:
/* 800B6890 000B37F0 7C 1B E0 40 */ cmplw r27, r28
/* 800B6894 000B37F4 40 82 FF B0 */ bne lbl_800B6844
/* 800B6898 000B37F8 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800B689C 000B37FC 28 03 00 00 */ cmplwi r3, 0
/* 800B68A0 000B3800 41 82 00 08 */ beq lbl_800B68A8
/* 800B68A4 000B3804 48 25 F0 8D */ bl Free__7CMemoryFPCv
lbl_800B68A8:
/* 800B68A8 000B3808 93 BE 00 0C */ stw r29, 0xc(r30)
/* 800B68AC 000B380C 93 FE 00 08 */ stw r31, 8(r30)
lbl_800B68B0:
/* 800B68B0 000B3810 BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 800B68B4 000B3814 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800B68B8 000B3818 7C 08 03 A6 */ mtlr r0
/* 800B68BC 000B381C 38 21 00 40 */ addi r1, r1, 0x40
/* 800B68C0 000B3820 4E 80 00 20 */ blr
.global sub_800b68c4
sub_800b68c4:
/* 800B68C4 000B3824 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B68C8 000B3828 7C 08 02 A6 */ mflr r0
/* 800B68CC 000B382C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B68D0 000B3830 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B68D4 000B3834 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B68D8 000B3838 7C BE 2B 78 */ mr r30, r5
/* 800B68DC 000B383C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B68E0 000B3840 7C 9D 23 78 */ mr r29, r4
/* 800B68E4 000B3844 83 E3 00 00 */ lwz r31, 0(r3)
/* 800B68E8 000B3848 48 00 00 A8 */ b lbl_800B6990
lbl_800B68EC:
/* 800B68EC 000B384C 28 1E 00 00 */ cmplwi r30, 0
/* 800B68F0 000B3850 41 82 00 98 */ beq lbl_800B6988
/* 800B68F4 000B3854 80 1F 00 04 */ lwz r0, 4(r31)
/* 800B68F8 000B3858 90 1E 00 04 */ stw r0, 4(r30)
/* 800B68FC 000B385C 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B6900 000B3860 90 1E 00 08 */ stw r0, 8(r30)
/* 800B6904 000B3864 80 1F 00 04 */ lwz r0, 4(r31)
/* 800B6908 000B3868 2C 00 00 00 */ cmpwi r0, 0
/* 800B690C 000B386C 40 82 00 1C */ bne lbl_800B6928
/* 800B6910 000B3870 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B6914 000B3874 2C 00 00 00 */ cmpwi r0, 0
/* 800B6918 000B3878 40 82 00 10 */ bne lbl_800B6928
/* 800B691C 000B387C 38 00 00 00 */ li r0, 0
/* 800B6920 000B3880 90 1E 00 0C */ stw r0, 0xc(r30)
/* 800B6924 000B3884 48 00 00 64 */ b lbl_800B6988
lbl_800B6928:
/* 800B6928 000B3888 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B692C 000B388C 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 800B6930 000B3890 40 82 00 10 */ bne lbl_800B6940
/* 800B6934 000B3894 38 00 00 00 */ li r0, 0
/* 800B6938 000B3898 90 1E 00 0C */ stw r0, 0xc(r30)
/* 800B693C 000B389C 48 00 00 18 */ b lbl_800B6954
lbl_800B6940:
/* 800B6940 000B38A0 3C 80 80 3D */ lis r4, lbl_803CDE80@ha
/* 800B6944 000B38A4 38 A0 00 00 */ li r5, 0
/* 800B6948 000B38A8 38 84 DE 80 */ addi r4, r4, lbl_803CDE80@l
/* 800B694C 000B38AC 48 25 EE CD */ bl __nwa__FUlPCcPCc
/* 800B6950 000B38B0 90 7E 00 0C */ stw r3, 0xc(r30)
lbl_800B6954:
/* 800B6954 000B38B4 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B6958 000B38B8 80 9F 00 0C */ lwz r4, 0xc(r31)
/* 800B695C 000B38BC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800B6960 000B38C0 7C 09 03 A6 */ mtctr r0
/* 800B6964 000B38C4 2C 00 00 00 */ cmpwi r0, 0
/* 800B6968 000B38C8 40 81 00 20 */ ble lbl_800B6988
lbl_800B696C:
/* 800B696C 000B38CC 28 03 00 00 */ cmplwi r3, 0
/* 800B6970 000B38D0 41 82 00 0C */ beq lbl_800B697C
/* 800B6974 000B38D4 C0 04 00 00 */ lfs f0, 0(r4)
/* 800B6978 000B38D8 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800B697C:
/* 800B697C 000B38DC 38 63 00 04 */ addi r3, r3, 4
/* 800B6980 000B38E0 38 84 00 04 */ addi r4, r4, 4
/* 800B6984 000B38E4 42 00 FF E8 */ bdnz lbl_800B696C
lbl_800B6988:
/* 800B6988 000B38E8 3B DE 00 10 */ addi r30, r30, 0x10
/* 800B698C 000B38EC 3B FF 00 10 */ addi r31, r31, 0x10
lbl_800B6990:
/* 800B6990 000B38F0 80 1D 00 00 */ lwz r0, 0(r29)
/* 800B6994 000B38F4 7C 1F 00 40 */ cmplw r31, r0
/* 800B6998 000B38F8 40 82 FF 54 */ bne lbl_800B68EC
/* 800B699C 000B38FC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B69A0 000B3900 7F C3 F3 78 */ mr r3, r30
/* 800B69A4 000B3904 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B69A8 000B3908 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B69AC 000B390C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B69B0 000B3910 7C 08 03 A6 */ mtlr r0
/* 800B69B4 000B3914 38 21 00 20 */ addi r1, r1, 0x20
/* 800B69B8 000B3918 4E 80 00 20 */ blr