donut-decomp/asm/libMobiclip/MoApi_8014ed10.s

1180 lines
50 KiB
ArmAsm
Raw Normal View History

2022-10-16 16:05:58 +00:00
.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global lbl_8014ED10
lbl_8014ED10:
/* 8014ED10 0014AB50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014ED14 0014AB54 7C 08 02 A6 */ mflr r0
/* 8014ED18 0014AB58 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014ED1C 0014AB5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014ED20 0014AB60 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014ED24 0014AB64 7C 7F 1B 78 */ mr r31, r3
/* 8014ED28 0014AB68 40 82 00 0C */ bne lbl_8014ED34
/* 8014ED2C 0014AB6C 38 60 FF FA */ li r3, -0x6
/* 8014ED30 0014AB70 48 00 00 2C */ b lbl_8014ED5C
.global lbl_8014ED34
lbl_8014ED34:
/* 8014ED34 0014AB74 48 00 49 DD */ bl lbl_80153710
/* 8014ED38 0014AB78 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014ED3C 0014AB7C 41 82 00 0C */ beq lbl_8014ED48
/* 8014ED40 0014AB80 38 60 FF F8 */ li r3, -0x8
/* 8014ED44 0014AB84 48 00 00 18 */ b lbl_8014ED5C
.global lbl_8014ED48
lbl_8014ED48:
/* 8014ED48 0014AB88 7F E3 FB 78 */ mr r3, r31
/* 8014ED4C 0014AB8C 48 00 49 B5 */ bl lbl_80153700
/* 8014ED50 0014AB90 80 6D 86 90 */ lwz r3, lbl_80556AB0@sda21(r13)
/* 8014ED54 0014AB94 4B EC C9 8D */ bl lbl_8001B6E0
/* 8014ED58 0014AB98 38 60 00 00 */ li r3, 0x0
.global lbl_8014ED5C
lbl_8014ED5C:
/* 8014ED5C 0014AB9C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014ED60 0014ABA0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014ED64 0014ABA4 7C 08 03 A6 */ mtlr r0
/* 8014ED68 0014ABA8 38 21 00 10 */ addi r1, r1, 0x10
/* 8014ED6C 0014ABAC 4E 80 00 20 */ blr
.global lbl_8014ED70
lbl_8014ED70:
/* 8014ED70 0014ABB0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014ED74 0014ABB4 7C 08 02 A6 */ mflr r0
/* 8014ED78 0014ABB8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014ED7C 0014ABBC 80 0D EC B0 */ lwz r0, lbl_8055D0D0@sda21(r13)
/* 8014ED80 0014ABC0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014ED84 0014ABC4 41 82 00 0C */ beq lbl_8014ED90
/* 8014ED88 0014ABC8 38 60 FF F7 */ li r3, -0x9
/* 8014ED8C 0014ABCC 48 00 00 10 */ b lbl_8014ED9C
.global lbl_8014ED90
lbl_8014ED90:
/* 8014ED90 0014ABD0 38 60 00 00 */ li r3, 0x0
/* 8014ED94 0014ABD4 48 00 49 6D */ bl lbl_80153700
/* 8014ED98 0014ABD8 38 60 00 00 */ li r3, 0x0
.global lbl_8014ED9C
lbl_8014ED9C:
/* 8014ED9C 0014ABDC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014EDA0 0014ABE0 7C 08 03 A6 */ mtlr r0
/* 8014EDA4 0014ABE4 38 21 00 10 */ addi r1, r1, 0x10
/* 8014EDA8 0014ABE8 4E 80 00 20 */ blr
/* 8014EDAC 0014ABEC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014EDB0
lbl_8014EDB0:
/* 8014EDB0 0014ABF0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8014EDB4 0014ABF4 7C 08 02 A6 */ mflr r0
/* 8014EDB8 0014ABF8 2C 04 00 00 */ cmpwi r4, 0x0
/* 8014EDBC 0014ABFC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014EDC0 0014AC00 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8014EDC4 0014AC04 7C BF 2B 78 */ mr r31, r5
/* 8014EDC8 0014AC08 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8014EDCC 0014AC0C 7C 9E 23 78 */ mr r30, r4
/* 8014EDD0 0014AC10 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8014EDD4 0014AC14 7C 7D 1B 78 */ mr r29, r3
/* 8014EDD8 0014AC18 40 82 00 0C */ bne lbl_8014EDE4
/* 8014EDDC 0014AC1C 38 60 FF FA */ li r3, -0x6
/* 8014EDE0 0014AC20 48 00 00 7C */ b lbl_8014EE5C
.global lbl_8014EDE4
lbl_8014EDE4:
/* 8014EDE4 0014AC24 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EDE8 0014AC28 40 82 00 0C */ bne lbl_8014EDF4
/* 8014EDEC 0014AC2C 38 60 FF FA */ li r3, -0x6
/* 8014EDF0 0014AC30 48 00 00 6C */ b lbl_8014EE5C
.global lbl_8014EDF4
lbl_8014EDF4:
/* 8014EDF4 0014AC34 48 00 49 1D */ bl lbl_80153710
/* 8014EDF8 0014AC38 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EDFC 0014AC3C 40 82 00 0C */ bne lbl_8014EE08
/* 8014EE00 0014AC40 38 60 FF F9 */ li r3, -0x7
/* 8014EE04 0014AC44 48 00 00 58 */ b lbl_8014EE5C
.global lbl_8014EE08
lbl_8014EE08:
/* 8014EE08 0014AC48 38 60 01 10 */ li r3, 0x110
/* 8014EE0C 0014AC4C 48 00 21 25 */ bl lbl_80150F30
/* 8014EE10 0014AC50 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EE14 0014AC54 41 82 00 0C */ beq lbl_8014EE20
/* 8014EE18 0014AC58 7F C4 F3 78 */ mr r4, r30
/* 8014EE1C 0014AC5C 48 00 21 35 */ bl lbl_80150F50
.global lbl_8014EE20
lbl_8014EE20:
/* 8014EE20 0014AC60 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EE24 0014AC64 40 82 00 0C */ bne lbl_8014EE30
/* 8014EE28 0014AC68 38 60 FF FB */ li r3, -0x5
/* 8014EE2C 0014AC6C 48 00 00 30 */ b lbl_8014EE5C
.global lbl_8014EE30
lbl_8014EE30:
/* 8014EE30 0014AC70 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8014EE34 0014AC74 90 7D 00 00 */ stw r3, 0x0(r29)
/* 8014EE38 0014AC78 41 82 00 14 */ beq lbl_8014EE4C
/* 8014EE3C 0014AC7C 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 8014EE40 0014AC80 90 03 00 44 */ stw r0, 0x44(r3)
/* 8014EE44 0014AC84 80 1F 00 04 */ lwz r0, 0x4(r31)
/* 8014EE48 0014AC88 90 03 00 48 */ stw r0, 0x48(r3)
.global lbl_8014EE4C
lbl_8014EE4C:
/* 8014EE4C 0014AC8C 80 8D EC B0 */ lwz r4, lbl_8055D0D0@sda21(r13)
/* 8014EE50 0014AC90 38 60 00 00 */ li r3, 0x0
/* 8014EE54 0014AC94 38 04 00 01 */ addi r0, r4, 0x1
/* 8014EE58 0014AC98 90 0D EC B0 */ stw r0, lbl_8055D0D0@sda21(r13)
.global lbl_8014EE5C
lbl_8014EE5C:
/* 8014EE5C 0014AC9C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8014EE60 0014ACA0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8014EE64 0014ACA4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8014EE68 0014ACA8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8014EE6C 0014ACAC 7C 08 03 A6 */ mtlr r0
/* 8014EE70 0014ACB0 38 21 00 20 */ addi r1, r1, 0x20
/* 8014EE74 0014ACB4 4E 80 00 20 */ blr
/* 8014EE78 0014ACB8 00 00 00 00 */ .4byte 0x00000000
/* 8014EE7C 0014ACBC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014EE80
lbl_8014EE80:
/* 8014EE80 0014ACC0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8014EE84 0014ACC4 7C 08 02 A6 */ mflr r0
/* 8014EE88 0014ACC8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EE8C 0014ACCC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014EE90 0014ACD0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8014EE94 0014ACD4 3F E0 80 44 */ lis r31, lbl_80447B88@ha
/* 8014EE98 0014ACD8 3B FF 7B 88 */ addi r31, r31, lbl_80447B88@l
/* 8014EE9C 0014ACDC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8014EEA0 0014ACE0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8014EEA4 0014ACE4 7C 7D 1B 78 */ mr r29, r3
/* 8014EEA8 0014ACE8 40 82 00 0C */ bne lbl_8014EEB4
/* 8014EEAC 0014ACEC 38 60 FF FA */ li r3, -0x6
/* 8014EEB0 0014ACF0 48 00 00 6C */ b lbl_8014EF1C
.global lbl_8014EEB4
lbl_8014EEB4:
/* 8014EEB4 0014ACF4 2C 04 00 00 */ cmpwi r4, 0x0
/* 8014EEB8 0014ACF8 40 82 00 18 */ bne lbl_8014EED0
/* 8014EEBC 0014ACFC 38 9F 00 50 */ addi r4, r31, 0x50
/* 8014EEC0 0014AD00 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014EEC4 0014AD04 48 00 0A BD */ bl lbl_8014F980
/* 8014EEC8 0014AD08 38 60 FF FA */ li r3, -0x6
/* 8014EECC 0014AD0C 48 00 00 50 */ b lbl_8014EF1C
.global lbl_8014EED0
lbl_8014EED0:
/* 8014EED0 0014AD10 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014EED4 0014AD14 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014EED8 0014AD18 41 82 00 18 */ beq lbl_8014EEF0
/* 8014EEDC 0014AD1C 38 9F 00 70 */ addi r4, r31, 0x70
/* 8014EEE0 0014AD20 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014EEE4 0014AD24 48 00 0A 9D */ bl lbl_8014F980
/* 8014EEE8 0014AD28 38 60 FF FD */ li r3, -0x3
/* 8014EEEC 0014AD2C 48 00 00 30 */ b lbl_8014EF1C
.global lbl_8014EEF0
lbl_8014EEF0:
/* 8014EEF0 0014AD30 48 00 21 21 */ bl lbl_80151010
/* 8014EEF4 0014AD34 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EEF8 0014AD38 7C 7E 1B 78 */ mr r30, r3
/* 8014EEFC 0014AD3C 41 82 00 1C */ beq lbl_8014EF18
/* 8014EF00 0014AD40 7F A3 EB 78 */ mr r3, r29
/* 8014EF04 0014AD44 38 9F 00 8C */ addi r4, r31, 0x8c
/* 8014EF08 0014AD48 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014EF0C 0014AD4C 48 00 0A 75 */ bl lbl_8014F980
/* 8014EF10 0014AD50 7F C3 F3 78 */ mr r3, r30
/* 8014EF14 0014AD54 48 00 00 08 */ b lbl_8014EF1C
.global lbl_8014EF18
lbl_8014EF18:
/* 8014EF18 0014AD58 38 60 00 00 */ li r3, 0x0
.global lbl_8014EF1C
lbl_8014EF1C:
/* 8014EF1C 0014AD5C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8014EF20 0014AD60 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8014EF24 0014AD64 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8014EF28 0014AD68 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8014EF2C 0014AD6C 7C 08 03 A6 */ mtlr r0
/* 8014EF30 0014AD70 38 21 00 20 */ addi r1, r1, 0x20
/* 8014EF34 0014AD74 4E 80 00 20 */ blr
/* 8014EF38 0014AD78 00 00 00 00 */ .4byte 0x00000000
/* 8014EF3C 0014AD7C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014EF40
lbl_8014EF40:
/* 8014EF40 0014AD80 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EF44 0014AD84 40 82 00 0C */ bne lbl_8014EF50
/* 8014EF48 0014AD88 38 60 00 04 */ li r3, 0x4
/* 8014EF4C 0014AD8C 4E 80 00 20 */ blr
.global lbl_8014EF50
lbl_8014EF50:
/* 8014EF50 0014AD90 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014EF54 0014AD94 28 00 00 08 */ cmplwi r0, 0x8
/* 8014EF58 0014AD98 41 81 00 5C */ bgt lbl_8014EFB4
/* 8014EF5C 0014AD9C 3C 60 80 44 */ lis r3, lbl_80447C28@ha
/* 8014EF60 0014ADA0 54 00 10 3A */ slwi r0, r0, 2
/* 8014EF64 0014ADA4 38 63 7C 28 */ addi r3, r3, lbl_80447C28@l
/* 8014EF68 0014ADA8 7C 63 00 2E */ lwzx r3, r3, r0
/* 8014EF6C 0014ADAC 7C 69 03 A6 */ mtctr r3
/* 8014EF70 0014ADB0 4E 80 04 20 */ bctr
.global lbl_8014EF74
lbl_8014EF74:
/* 8014EF74 0014ADB4 38 60 00 04 */ li r3, 0x4
/* 8014EF78 0014ADB8 4E 80 00 20 */ blr
.global lbl_8014EF7C
lbl_8014EF7C:
/* 8014EF7C 0014ADBC 38 60 00 01 */ li r3, 0x1
/* 8014EF80 0014ADC0 4E 80 00 20 */ blr
.global lbl_8014EF84
lbl_8014EF84:
/* 8014EF84 0014ADC4 38 60 00 01 */ li r3, 0x1
/* 8014EF88 0014ADC8 4E 80 00 20 */ blr
.global lbl_8014EF8C
lbl_8014EF8C:
/* 8014EF8C 0014ADCC 38 60 00 01 */ li r3, 0x1
/* 8014EF90 0014ADD0 4E 80 00 20 */ blr
.global lbl_8014EF94
lbl_8014EF94:
/* 8014EF94 0014ADD4 38 60 00 02 */ li r3, 0x2
/* 8014EF98 0014ADD8 4E 80 00 20 */ blr
.global lbl_8014EF9C
lbl_8014EF9C:
/* 8014EF9C 0014ADDC 38 60 00 05 */ li r3, 0x5
/* 8014EFA0 0014ADE0 4E 80 00 20 */ blr
.global lbl_8014EFA4
lbl_8014EFA4:
/* 8014EFA4 0014ADE4 38 60 00 07 */ li r3, 0x7
/* 8014EFA8 0014ADE8 4E 80 00 20 */ blr
.global lbl_8014EFAC
lbl_8014EFAC:
/* 8014EFAC 0014ADEC 38 60 00 04 */ li r3, 0x4
/* 8014EFB0 0014ADF0 4E 80 00 20 */ blr
.global lbl_8014EFB4
lbl_8014EFB4:
/* 8014EFB4 0014ADF4 38 60 00 04 */ li r3, 0x4
/* 8014EFB8 0014ADF8 4E 80 00 20 */ blr
/* 8014EFBC 0014ADFC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014EFC0
lbl_8014EFC0:
/* 8014EFC0 0014AE00 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014EFC4 0014AE04 7C 08 02 A6 */ mflr r0
/* 8014EFC8 0014AE08 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014EFCC 0014AE0C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014EFD0 0014AE10 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014EFD4 0014AE14 7C 7F 1B 78 */ mr r31, r3
/* 8014EFD8 0014AE18 40 82 00 0C */ bne lbl_8014EFE4
/* 8014EFDC 0014AE1C 38 60 FF FA */ li r3, -0x6
/* 8014EFE0 0014AE20 48 00 00 54 */ b lbl_8014F034
.global lbl_8014EFE4
lbl_8014EFE4:
/* 8014EFE4 0014AE24 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014EFE8 0014AE28 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014EFEC 0014AE2C 40 82 00 1C */ bne lbl_8014F008
/* 8014EFF0 0014AE30 3C 80 80 44 */ lis r4, lbl_80447C4C@ha
/* 8014EFF4 0014AE34 38 84 7C 4C */ addi r4, r4, lbl_80447C4C@l
/* 8014EFF8 0014AE38 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014EFFC 0014AE3C 48 00 09 85 */ bl lbl_8014F980
/* 8014F000 0014AE40 38 60 FF FE */ li r3, -0x2
/* 8014F004 0014AE44 48 00 00 30 */ b lbl_8014F034
.global lbl_8014F008
lbl_8014F008:
/* 8014F008 0014AE48 48 00 23 99 */ bl lbl_801513A0
/* 8014F00C 0014AE4C 2C 03 00 04 */ cmpwi r3, 0x4
/* 8014F010 0014AE50 40 82 00 20 */ bne lbl_8014F030
/* 8014F014 0014AE54 3C 80 80 44 */ lis r4, lbl_80447C68@ha
/* 8014F018 0014AE58 7F E3 FB 78 */ mr r3, r31
/* 8014F01C 0014AE5C 38 84 7C 68 */ addi r4, r4, lbl_80447C68@l
/* 8014F020 0014AE60 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F024 0014AE64 48 00 09 5D */ bl lbl_8014F980
/* 8014F028 0014AE68 38 60 FF FF */ li r3, -0x1
/* 8014F02C 0014AE6C 48 00 00 08 */ b lbl_8014F034
.global lbl_8014F030
lbl_8014F030:
/* 8014F030 0014AE70 38 60 00 00 */ li r3, 0x0
.global lbl_8014F034
lbl_8014F034:
/* 8014F034 0014AE74 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F038 0014AE78 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014F03C 0014AE7C 7C 08 03 A6 */ mtlr r0
/* 8014F040 0014AE80 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F044 0014AE84 4E 80 00 20 */ blr
/* 8014F048 0014AE88 00 00 00 00 */ .4byte 0x00000000
/* 8014F04C 0014AE8C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F050
lbl_8014F050:
/* 8014F050 0014AE90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F054 0014AE94 7C 08 02 A6 */ mflr r0
/* 8014F058 0014AE98 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F05C 0014AE9C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F060 0014AEA0 40 82 00 0C */ bne lbl_8014F06C
/* 8014F064 0014AEA4 38 60 FF FA */ li r3, -0x6
/* 8014F068 0014AEA8 48 00 00 30 */ b lbl_8014F098
.global lbl_8014F06C
lbl_8014F06C:
/* 8014F06C 0014AEAC 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F070 0014AEB0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014F074 0014AEB4 40 82 00 1C */ bne lbl_8014F090
/* 8014F078 0014AEB8 3C 80 80 44 */ lis r4, lbl_80447C80@ha
/* 8014F07C 0014AEBC 38 84 7C 80 */ addi r4, r4, lbl_80447C80@l
/* 8014F080 0014AEC0 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F084 0014AEC4 48 00 08 FD */ bl lbl_8014F980
/* 8014F088 0014AEC8 38 60 FF FE */ li r3, -0x2
/* 8014F08C 0014AECC 48 00 00 0C */ b lbl_8014F098
.global lbl_8014F090
lbl_8014F090:
/* 8014F090 0014AED0 48 00 26 A1 */ bl lbl_80151730
/* 8014F094 0014AED4 38 60 00 00 */ li r3, 0x0
.global lbl_8014F098
lbl_8014F098:
/* 8014F098 0014AED8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F09C 0014AEDC 7C 08 03 A6 */ mtlr r0
/* 8014F0A0 0014AEE0 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F0A4 0014AEE4 4E 80 00 20 */ blr
/* 8014F0A8 0014AEE8 00 00 00 00 */ .4byte 0x00000000
/* 8014F0AC 0014AEEC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F0B0
lbl_8014F0B0:
/* 8014F0B0 0014AEF0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F0B4 0014AEF4 7C 08 02 A6 */ mflr r0
/* 8014F0B8 0014AEF8 2F 03 00 00 */ cmpwi cr6, r3, 0x0
/* 8014F0BC 0014AEFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F0C0 0014AF00 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014F0C4 0014AF04 7C 7F 1B 78 */ mr r31, r3
/* 8014F0C8 0014AF08 40 9A 00 0C */ bne cr6, lbl_8014F0D4
/* 8014F0CC 0014AF0C 38 60 FF FA */ li r3, -0x6
/* 8014F0D0 0014AF10 48 00 00 50 */ b lbl_8014F120
.global lbl_8014F0D4
lbl_8014F0D4:
/* 8014F0D4 0014AF14 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F0D8 0014AF18 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014F0DC 0014AF1C 41 82 00 1C */ beq lbl_8014F0F8
/* 8014F0E0 0014AF20 3C 80 80 44 */ lis r4, lbl_80447CA0@ha
/* 8014F0E4 0014AF24 38 84 7C A0 */ addi r4, r4, lbl_80447CA0@l
/* 8014F0E8 0014AF28 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F0EC 0014AF2C 48 00 08 95 */ bl lbl_8014F980
/* 8014F0F0 0014AF30 38 60 FF F6 */ li r3, -0xa
/* 8014F0F4 0014AF34 48 00 00 2C */ b lbl_8014F120
.global lbl_8014F0F8
lbl_8014F0F8:
/* 8014F0F8 0014AF38 41 9A 00 18 */ beq cr6, lbl_8014F110
/* 8014F0FC 0014AF3C 38 80 FF FF */ li r4, -0x1
/* 8014F100 0014AF40 38 63 00 60 */ addi r3, r3, 0x60
/* 8014F104 0014AF44 48 00 2D 8D */ bl lbl_80151E90
/* 8014F108 0014AF48 7F E3 FB 78 */ mr r3, r31
/* 8014F10C 0014AF4C 48 00 1E 35 */ bl lbl_80150F40
.global lbl_8014F110
lbl_8014F110:
/* 8014F110 0014AF50 80 8D EC B0 */ lwz r4, lbl_8055D0D0@sda21(r13)
/* 8014F114 0014AF54 38 60 00 00 */ li r3, 0x0
/* 8014F118 0014AF58 38 04 FF FF */ addi r0, r4, -0x1
/* 8014F11C 0014AF5C 90 0D EC B0 */ stw r0, lbl_8055D0D0@sda21(r13)
.global lbl_8014F120
lbl_8014F120:
/* 8014F120 0014AF60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F124 0014AF64 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014F128 0014AF68 7C 08 03 A6 */ mtlr r0
/* 8014F12C 0014AF6C 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F130 0014AF70 4E 80 00 20 */ blr
/* 8014F134 0014AF74 00 00 00 00 */ .4byte 0x00000000
/* 8014F138 0014AF78 00 00 00 00 */ .4byte 0x00000000
/* 8014F13C 0014AF7C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F140
lbl_8014F140:
/* 8014F140 0014AF80 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F144 0014AF84 40 82 00 0C */ bne lbl_8014F150
/* 8014F148 0014AF88 38 60 FF FA */ li r3, -0x6
/* 8014F14C 0014AF8C 4E 80 00 20 */ blr
.global lbl_8014F150
lbl_8014F150:
/* 8014F150 0014AF90 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F154 0014AF94 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F158 0014AF98 41 82 00 14 */ beq lbl_8014F16C
/* 8014F15C 0014AF9C 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F160 0014AFA0 41 82 00 0C */ beq lbl_8014F16C
/* 8014F164 0014AFA4 38 60 FF FE */ li r3, -0x2
/* 8014F168 0014AFA8 4E 80 00 20 */ blr
.global lbl_8014F16C
lbl_8014F16C:
/* 8014F16C 0014AFAC 80 03 00 28 */ lwz r0, 0x28(r3)
/* 8014F170 0014AFB0 38 60 00 00 */ li r3, 0x0
/* 8014F174 0014AFB4 90 04 00 00 */ stw r0, 0x0(r4)
/* 8014F178 0014AFB8 4E 80 00 20 */ blr
/* 8014F17C 0014AFBC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F180
lbl_8014F180:
/* 8014F180 0014AFC0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F184 0014AFC4 40 82 00 0C */ bne lbl_8014F190
/* 8014F188 0014AFC8 38 60 FF FA */ li r3, -0x6
/* 8014F18C 0014AFCC 4E 80 00 20 */ blr
.global lbl_8014F190
lbl_8014F190:
/* 8014F190 0014AFD0 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F194 0014AFD4 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F198 0014AFD8 41 82 00 14 */ beq lbl_8014F1AC
/* 8014F19C 0014AFDC 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F1A0 0014AFE0 41 82 00 0C */ beq lbl_8014F1AC
/* 8014F1A4 0014AFE4 38 60 FF FE */ li r3, -0x2
/* 8014F1A8 0014AFE8 4E 80 00 20 */ blr
.global lbl_8014F1AC
lbl_8014F1AC:
/* 8014F1AC 0014AFEC 80 03 00 2C */ lwz r0, 0x2c(r3)
/* 8014F1B0 0014AFF0 38 60 00 00 */ li r3, 0x0
/* 8014F1B4 0014AFF4 90 04 00 00 */ stw r0, 0x0(r4)
/* 8014F1B8 0014AFF8 4E 80 00 20 */ blr
/* 8014F1BC 0014AFFC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F1C0
lbl_8014F1C0:
/* 8014F1C0 0014B000 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F1C4 0014B004 40 82 00 0C */ bne lbl_8014F1D0
/* 8014F1C8 0014B008 38 60 FF FA */ li r3, -0x6
/* 8014F1CC 0014B00C 4E 80 00 20 */ blr
.global lbl_8014F1D0
lbl_8014F1D0:
/* 8014F1D0 0014B010 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F1D4 0014B014 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F1D8 0014B018 41 82 00 14 */ beq lbl_8014F1EC
/* 8014F1DC 0014B01C 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F1E0 0014B020 41 82 00 0C */ beq lbl_8014F1EC
/* 8014F1E4 0014B024 38 60 FF FE */ li r3, -0x2
/* 8014F1E8 0014B028 4E 80 00 20 */ blr
.global lbl_8014F1EC
lbl_8014F1EC:
/* 8014F1EC 0014B02C 80 03 00 34 */ lwz r0, 0x34(r3)
/* 8014F1F0 0014B030 38 60 00 00 */ li r3, 0x0
/* 8014F1F4 0014B034 90 04 00 00 */ stw r0, 0x0(r4)
/* 8014F1F8 0014B038 4E 80 00 20 */ blr
/* 8014F1FC 0014B03C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F200
lbl_8014F200:
/* 8014F200 0014B040 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F204 0014B044 40 82 00 0C */ bne lbl_8014F210
/* 8014F208 0014B048 38 60 FF FA */ li r3, -0x6
/* 8014F20C 0014B04C 4E 80 00 20 */ blr
.global lbl_8014F210
lbl_8014F210:
/* 8014F210 0014B050 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F214 0014B054 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F218 0014B058 41 82 00 14 */ beq lbl_8014F22C
/* 8014F21C 0014B05C 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F220 0014B060 41 82 00 0C */ beq lbl_8014F22C
/* 8014F224 0014B064 38 60 FF FE */ li r3, -0x2
/* 8014F228 0014B068 4E 80 00 20 */ blr
.global lbl_8014F22C
lbl_8014F22C:
/* 8014F22C 0014B06C 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 8014F230 0014B070 38 60 00 00 */ li r3, 0x0
/* 8014F234 0014B074 90 04 00 00 */ stw r0, 0x0(r4)
/* 8014F238 0014B078 4E 80 00 20 */ blr
/* 8014F23C 0014B07C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F240
lbl_8014F240:
/* 8014F240 0014B080 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F244 0014B084 40 82 00 0C */ bne lbl_8014F250
/* 8014F248 0014B088 38 60 FF FA */ li r3, -0x6
/* 8014F24C 0014B08C 4E 80 00 20 */ blr
.global lbl_8014F250
lbl_8014F250:
/* 8014F250 0014B090 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F254 0014B094 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F258 0014B098 41 82 00 14 */ beq lbl_8014F26C
/* 8014F25C 0014B09C 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F260 0014B0A0 41 82 00 0C */ beq lbl_8014F26C
/* 8014F264 0014B0A4 38 60 FF FE */ li r3, -0x2
/* 8014F268 0014B0A8 4E 80 00 20 */ blr
.global lbl_8014F26C
lbl_8014F26C:
/* 8014F26C 0014B0AC 80 03 00 30 */ lwz r0, 0x30(r3)
/* 8014F270 0014B0B0 38 60 00 00 */ li r3, 0x0
/* 8014F274 0014B0B4 90 04 00 00 */ stw r0, 0x0(r4)
/* 8014F278 0014B0B8 4E 80 00 20 */ blr
/* 8014F27C 0014B0BC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F280
lbl_8014F280:
/* 8014F280 0014B0C0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F284 0014B0C4 40 82 00 0C */ bne lbl_8014F290
/* 8014F288 0014B0C8 38 60 FF FA */ li r3, -0x6
/* 8014F28C 0014B0CC 4E 80 00 20 */ blr
.global lbl_8014F290
lbl_8014F290:
/* 8014F290 0014B0D0 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F294 0014B0D4 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F298 0014B0D8 41 82 00 14 */ beq lbl_8014F2AC
/* 8014F29C 0014B0DC 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F2A0 0014B0E0 41 82 00 0C */ beq lbl_8014F2AC
/* 8014F2A4 0014B0E4 38 60 FF FE */ li r3, -0x2
/* 8014F2A8 0014B0E8 4E 80 00 20 */ blr
.global lbl_8014F2AC
lbl_8014F2AC:
/* 8014F2AC 0014B0EC 80 03 00 38 */ lwz r0, 0x38(r3)
/* 8014F2B0 0014B0F0 38 60 00 00 */ li r3, 0x0
/* 8014F2B4 0014B0F4 90 04 00 00 */ stw r0, 0x0(r4)
/* 8014F2B8 0014B0F8 4E 80 00 20 */ blr
/* 8014F2BC 0014B0FC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F2C0
lbl_8014F2C0:
/* 8014F2C0 0014B100 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F2C4 0014B104 40 82 00 0C */ bne lbl_8014F2D0
/* 8014F2C8 0014B108 38 60 00 04 */ li r3, 0x4
/* 8014F2CC 0014B10C 4E 80 00 20 */ blr
.global lbl_8014F2D0
lbl_8014F2D0:
/* 8014F2D0 0014B110 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F2D4 0014B114 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014F2D8 0014B118 40 82 00 0C */ bne lbl_8014F2E4
/* 8014F2DC 0014B11C 38 60 00 04 */ li r3, 0x4
/* 8014F2E0 0014B120 4E 80 00 20 */ blr
.global lbl_8014F2E4
lbl_8014F2E4:
/* 8014F2E4 0014B124 48 00 2F 0C */ b lbl_801521F0
/* 8014F2E8 0014B128 4E 80 00 20 */ blr
/* 8014F2EC 0014B12C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F2F0
lbl_8014F2F0:
/* 8014F2F0 0014B130 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F2F4 0014B134 7C 08 02 A6 */ mflr r0
/* 8014F2F8 0014B138 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F2FC 0014B13C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F300 0014B140 40 82 00 0C */ bne lbl_8014F30C
/* 8014F304 0014B144 38 60 FF FA */ li r3, -0x6
/* 8014F308 0014B148 48 00 00 34 */ b lbl_8014F33C
.global lbl_8014F30C
lbl_8014F30C:
/* 8014F30C 0014B14C 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F310 0014B150 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F314 0014B154 41 82 00 24 */ beq lbl_8014F338
/* 8014F318 0014B158 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F31C 0014B15C 41 82 00 1C */ beq lbl_8014F338
/* 8014F320 0014B160 3C 80 80 44 */ lis r4, lbl_80447CCC@ha
/* 8014F324 0014B164 38 84 7C CC */ addi r4, r4, lbl_80447CCC@l
/* 8014F328 0014B168 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F32C 0014B16C 48 00 06 55 */ bl lbl_8014F980
/* 8014F330 0014B170 38 60 FF FE */ li r3, -0x2
/* 8014F334 0014B174 48 00 00 08 */ b lbl_8014F33C
.global lbl_8014F338
lbl_8014F338:
/* 8014F338 0014B178 48 00 47 99 */ bl lbl_80153AD0
.global lbl_8014F33C
lbl_8014F33C:
/* 8014F33C 0014B17C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F340 0014B180 7C 08 03 A6 */ mtlr r0
/* 8014F344 0014B184 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F348 0014B188 4E 80 00 20 */ blr
/* 8014F34C 0014B18C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F350
lbl_8014F350:
/* 8014F350 0014B190 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F354 0014B194 7C 08 02 A6 */ mflr r0
/* 8014F358 0014B198 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F35C 0014B19C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F360 0014B1A0 40 82 00 0C */ bne lbl_8014F36C
/* 8014F364 0014B1A4 38 60 FF FA */ li r3, -0x6
/* 8014F368 0014B1A8 48 00 00 4C */ b lbl_8014F3B4
.global lbl_8014F36C
lbl_8014F36C:
/* 8014F36C 0014B1AC 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F370 0014B1B0 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F374 0014B1B4 41 82 00 24 */ beq lbl_8014F398
/* 8014F378 0014B1B8 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F37C 0014B1BC 41 82 00 1C */ beq lbl_8014F398
/* 8014F380 0014B1C0 3C 80 80 44 */ lis r4, lbl_80447D1C@ha
/* 8014F384 0014B1C4 38 84 7D 1C */ addi r4, r4, lbl_80447D1C@l
/* 8014F388 0014B1C8 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F38C 0014B1CC 48 00 05 F5 */ bl lbl_8014F980
/* 8014F390 0014B1D0 38 60 FF FE */ li r3, -0x2
/* 8014F394 0014B1D4 48 00 00 20 */ b lbl_8014F3B4
.global lbl_8014F398
lbl_8014F398:
/* 8014F398 0014B1D8 80 63 00 5C */ lwz r3, 0x5c(r3)
/* 8014F39C 0014B1DC 48 00 4F 95 */ bl lbl_80154330
/* 8014F3A0 0014B1E0 28 03 00 01 */ cmplwi r3, 0x1
/* 8014F3A4 0014B1E4 40 82 00 0C */ bne lbl_8014F3B0
/* 8014F3A8 0014B1E8 38 60 00 00 */ li r3, 0x0
/* 8014F3AC 0014B1EC 48 00 00 08 */ b lbl_8014F3B4
.global lbl_8014F3B0
lbl_8014F3B0:
/* 8014F3B0 0014B1F0 38 60 FF F3 */ li r3, -0xd
.global lbl_8014F3B4
lbl_8014F3B4:
/* 8014F3B4 0014B1F4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F3B8 0014B1F8 7C 08 03 A6 */ mtlr r0
/* 8014F3BC 0014B1FC 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F3C0 0014B200 4E 80 00 20 */ blr
/* 8014F3C4 0014B204 00 00 00 00 */ .4byte 0x00000000
/* 8014F3C8 0014B208 00 00 00 00 */ .4byte 0x00000000
/* 8014F3CC 0014B20C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F3D0
lbl_8014F3D0:
/* 8014F3D0 0014B210 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8014F3D4 0014B214 7C 08 02 A6 */ mflr r0
/* 8014F3D8 0014B218 90 01 00 34 */ stw r0, 0x34(r1)
/* 8014F3DC 0014B21C 39 61 00 30 */ addi r11, r1, 0x30
/* 8014F3E0 0014B220 4B EB 7F 59 */ bl lbl_80007338
/* 8014F3E4 0014B224 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F3E8 0014B228 3F C0 80 44 */ lis r30, lbl_80447B88@ha
/* 8014F3EC 0014B22C 7C 7A 1B 78 */ mr r26, r3
/* 8014F3F0 0014B230 7C 9B 23 78 */ mr r27, r4
/* 8014F3F4 0014B234 7C BC 2B 78 */ mr r28, r5
/* 8014F3F8 0014B238 7C DD 33 78 */ mr r29, r6
/* 8014F3FC 0014B23C 3B DE 7B 88 */ addi r30, r30, lbl_80447B88@l
/* 8014F400 0014B240 40 82 00 0C */ bne lbl_8014F40C
/* 8014F404 0014B244 38 60 FF FA */ li r3, -0x6
/* 8014F408 0014B248 48 00 01 D8 */ b lbl_8014F5E0
.global lbl_8014F40C
lbl_8014F40C:
/* 8014F40C 0014B24C 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F410 0014B250 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F414 0014B254 41 82 00 20 */ beq lbl_8014F434
/* 8014F418 0014B258 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F41C 0014B25C 41 82 00 18 */ beq lbl_8014F434
/* 8014F420 0014B260 38 9E 01 B8 */ addi r4, r30, 0x1b8
/* 8014F424 0014B264 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F428 0014B268 48 00 05 59 */ bl lbl_8014F980
/* 8014F42C 0014B26C 38 60 FF FE */ li r3, -0x2
/* 8014F430 0014B270 48 00 01 B0 */ b lbl_8014F5E0
.global lbl_8014F434
lbl_8014F434:
/* 8014F434 0014B274 80 03 00 F4 */ lwz r0, 0xf4(r3)
/* 8014F438 0014B278 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014F43C 0014B27C 40 82 00 0C */ bne lbl_8014F448
/* 8014F440 0014B280 38 60 FF F5 */ li r3, -0xb
/* 8014F444 0014B284 48 00 01 9C */ b lbl_8014F5E0
.global lbl_8014F448
lbl_8014F448:
/* 8014F448 0014B288 38 63 00 60 */ addi r3, r3, 0x60
/* 8014F44C 0014B28C 48 00 2B 85 */ bl lbl_80151FD0
/* 8014F450 0014B290 3C 03 80 01 */ addis r0, r3, 0x8001
/* 8014F454 0014B294 7C 7F 1B 78 */ mr r31, r3
/* 8014F458 0014B298 28 00 FF FF */ cmplwi r0, 0xffff
/* 8014F45C 0014B29C 40 82 00 1C */ bne lbl_8014F478
/* 8014F460 0014B2A0 7F 43 D3 78 */ mr r3, r26
/* 8014F464 0014B2A4 38 9E 01 E4 */ addi r4, r30, 0x1e4
/* 8014F468 0014B2A8 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F46C 0014B2AC 48 00 05 15 */ bl lbl_8014F980
/* 8014F470 0014B2B0 38 60 FF F4 */ li r3, -0xc
/* 8014F474 0014B2B4 48 00 01 6C */ b lbl_8014F5E0
.global lbl_8014F478
lbl_8014F478:
/* 8014F478 0014B2B8 7C 1C 18 40 */ cmplw r28, r3
/* 8014F47C 0014B2BC 40 80 00 1C */ bge lbl_8014F498
/* 8014F480 0014B2C0 7F 43 D3 78 */ mr r3, r26
/* 8014F484 0014B2C4 38 9E 02 14 */ addi r4, r30, 0x214
/* 8014F488 0014B2C8 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F48C 0014B2CC 48 00 04 F5 */ bl lbl_8014F980
/* 8014F490 0014B2D0 38 60 FF FA */ li r3, -0x6
/* 8014F494 0014B2D4 48 00 01 4C */ b lbl_8014F5E0
.global lbl_8014F498
lbl_8014F498:
/* 8014F498 0014B2D8 38 00 00 00 */ li r0, 0x0
/* 8014F49C 0014B2DC 90 01 00 08 */ stw r0, 0x8(r1)
/* 8014F4A0 0014B2E0 7F A5 EB 78 */ mr r5, r29
/* 8014F4A4 0014B2E4 38 7A 00 60 */ addi r3, r26, 0x60
/* 8014F4A8 0014B2E8 38 81 00 08 */ addi r4, r1, 0x8
/* 8014F4AC 0014B2EC 48 00 2A C5 */ bl lbl_80151F70
/* 8014F4B0 0014B2F0 28 03 00 01 */ cmplwi r3, 0x1
/* 8014F4B4 0014B2F4 41 82 00 1C */ beq lbl_8014F4D0
/* 8014F4B8 0014B2F8 7F 43 D3 78 */ mr r3, r26
/* 8014F4BC 0014B2FC 38 9E 02 44 */ addi r4, r30, 0x244
/* 8014F4C0 0014B300 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F4C4 0014B304 48 00 04 BD */ bl lbl_8014F980
/* 8014F4C8 0014B308 38 60 FF F4 */ li r3, -0xc
/* 8014F4CC 0014B30C 48 00 01 14 */ b lbl_8014F5E0
.global lbl_8014F4D0
lbl_8014F4D0:
/* 8014F4D0 0014B310 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 8014F4D4 0014B314 2C 05 00 00 */ cmpwi r5, 0x0
/* 8014F4D8 0014B318 41 82 01 04 */ beq lbl_8014F5DC
/* 8014F4DC 0014B31C 80 1A 01 04 */ lwz r0, 0x104(r26)
/* 8014F4E0 0014B320 2C 00 00 01 */ cmpwi r0, 0x1
/* 8014F4E4 0014B324 41 82 00 10 */ beq lbl_8014F4F4
/* 8014F4E8 0014B328 80 1A 00 38 */ lwz r0, 0x38(r26)
/* 8014F4EC 0014B32C 28 00 00 01 */ cmplwi r0, 0x1
/* 8014F4F0 0014B330 40 82 00 14 */ bne lbl_8014F504
.global lbl_8014F4F4
lbl_8014F4F4:
/* 8014F4F4 0014B334 80 81 00 08 */ lwz r4, 0x8(r1)
/* 8014F4F8 0014B338 7F 63 DB 78 */ mr r3, r27
/* 8014F4FC 0014B33C 4B EB 4B 05 */ bl func_80004000
/* 8014F500 0014B340 48 00 00 DC */ b lbl_8014F5DC
.global lbl_8014F504
lbl_8014F504:
/* 8014F504 0014B344 57 E3 F8 7E */ srwi r3, r31, 1
/* 8014F508 0014B348 80 81 00 08 */ lwz r4, 0x8(r1)
/* 8014F50C 0014B34C 28 03 00 00 */ cmplwi r3, 0x0
/* 8014F510 0014B350 38 63 00 01 */ addi r3, r3, 0x1
/* 8014F514 0014B354 54 63 F8 7E */ srwi r3, r3, 1
/* 8014F518 0014B358 40 81 00 C4 */ ble lbl_8014F5DC
/* 8014F51C 0014B35C 54 60 E8 FF */ srwi. r0, r3, 3
/* 8014F520 0014B360 7C 09 03 A6 */ mtctr r0
/* 8014F524 0014B364 41 82 00 98 */ beq lbl_8014F5BC
.global lbl_8014F528
lbl_8014F528:
/* 8014F528 0014B368 A0 04 00 02 */ lhz r0, 0x2(r4)
/* 8014F52C 0014B36C B0 1B 00 00 */ sth r0, 0x0(r27)
/* 8014F530 0014B370 A0 04 00 00 */ lhz r0, 0x0(r4)
/* 8014F534 0014B374 B0 1B 00 02 */ sth r0, 0x2(r27)
/* 8014F538 0014B378 A0 04 00 06 */ lhz r0, 0x6(r4)
/* 8014F53C 0014B37C B0 1B 00 04 */ sth r0, 0x4(r27)
/* 8014F540 0014B380 A0 04 00 04 */ lhz r0, 0x4(r4)
/* 8014F544 0014B384 B0 1B 00 06 */ sth r0, 0x6(r27)
/* 8014F548 0014B388 A0 04 00 0A */ lhz r0, 0xa(r4)
/* 8014F54C 0014B38C B0 1B 00 08 */ sth r0, 0x8(r27)
/* 8014F550 0014B390 A0 04 00 08 */ lhz r0, 0x8(r4)
/* 8014F554 0014B394 B0 1B 00 0A */ sth r0, 0xa(r27)
/* 8014F558 0014B398 A0 04 00 0E */ lhz r0, 0xe(r4)
/* 8014F55C 0014B39C B0 1B 00 0C */ sth r0, 0xc(r27)
/* 8014F560 0014B3A0 A0 04 00 0C */ lhz r0, 0xc(r4)
/* 8014F564 0014B3A4 B0 1B 00 0E */ sth r0, 0xe(r27)
/* 8014F568 0014B3A8 A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8014F56C 0014B3AC B0 1B 00 10 */ sth r0, 0x10(r27)
/* 8014F570 0014B3B0 A0 04 00 10 */ lhz r0, 0x10(r4)
/* 8014F574 0014B3B4 B0 1B 00 12 */ sth r0, 0x12(r27)
/* 8014F578 0014B3B8 A0 04 00 16 */ lhz r0, 0x16(r4)
/* 8014F57C 0014B3BC B0 1B 00 14 */ sth r0, 0x14(r27)
/* 8014F580 0014B3C0 A0 04 00 14 */ lhz r0, 0x14(r4)
/* 8014F584 0014B3C4 B0 1B 00 16 */ sth r0, 0x16(r27)
/* 8014F588 0014B3C8 A0 04 00 1A */ lhz r0, 0x1a(r4)
/* 8014F58C 0014B3CC B0 1B 00 18 */ sth r0, 0x18(r27)
/* 8014F590 0014B3D0 A0 04 00 18 */ lhz r0, 0x18(r4)
/* 8014F594 0014B3D4 B0 1B 00 1A */ sth r0, 0x1a(r27)
/* 8014F598 0014B3D8 A0 04 00 1E */ lhz r0, 0x1e(r4)
/* 8014F59C 0014B3DC B0 1B 00 1C */ sth r0, 0x1c(r27)
/* 8014F5A0 0014B3E0 A0 04 00 1C */ lhz r0, 0x1c(r4)
/* 8014F5A4 0014B3E4 38 84 00 20 */ addi r4, r4, 0x20
/* 8014F5A8 0014B3E8 B0 1B 00 1E */ sth r0, 0x1e(r27)
/* 8014F5AC 0014B3EC 3B 7B 00 20 */ addi r27, r27, 0x20
/* 8014F5B0 0014B3F0 42 00 FF 78 */ bdnz lbl_8014F528
/* 8014F5B4 0014B3F4 70 63 00 07 */ andi. r3, r3, 0x7
/* 8014F5B8 0014B3F8 41 82 00 24 */ beq lbl_8014F5DC
.global lbl_8014F5BC
lbl_8014F5BC:
/* 8014F5BC 0014B3FC 7C 69 03 A6 */ mtctr r3
.global lbl_8014F5C0
lbl_8014F5C0:
/* 8014F5C0 0014B400 A0 04 00 02 */ lhz r0, 0x2(r4)
/* 8014F5C4 0014B404 B0 1B 00 00 */ sth r0, 0x0(r27)
/* 8014F5C8 0014B408 A0 04 00 00 */ lhz r0, 0x0(r4)
/* 8014F5CC 0014B40C 38 84 00 04 */ addi r4, r4, 0x4
/* 8014F5D0 0014B410 B0 1B 00 02 */ sth r0, 0x2(r27)
/* 8014F5D4 0014B414 3B 7B 00 04 */ addi r27, r27, 0x4
/* 8014F5D8 0014B418 42 00 FF E8 */ bdnz lbl_8014F5C0
.global lbl_8014F5DC
lbl_8014F5DC:
/* 8014F5DC 0014B41C 38 60 00 00 */ li r3, 0x0
.global lbl_8014F5E0
lbl_8014F5E0:
/* 8014F5E0 0014B420 39 61 00 30 */ addi r11, r1, 0x30
/* 8014F5E4 0014B424 4B EB 7D A1 */ bl lbl_80007384
/* 8014F5E8 0014B428 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8014F5EC 0014B42C 7C 08 03 A6 */ mtlr r0
/* 8014F5F0 0014B430 38 21 00 30 */ addi r1, r1, 0x30
/* 8014F5F4 0014B434 4E 80 00 20 */ blr
/* 8014F5F8 0014B438 00 00 00 00 */ .4byte 0x00000000
/* 8014F5FC 0014B43C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F600
lbl_8014F600:
/* 8014F600 0014B440 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F604 0014B444 7C 08 02 A6 */ mflr r0
/* 8014F608 0014B448 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F60C 0014B44C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F610 0014B450 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014F614 0014B454 7C 7F 1B 78 */ mr r31, r3
/* 8014F618 0014B458 40 82 00 0C */ bne lbl_8014F624
/* 8014F61C 0014B45C 38 60 FF FA */ li r3, -0x6
/* 8014F620 0014B460 48 00 00 74 */ b lbl_8014F694
.global lbl_8014F624
lbl_8014F624:
/* 8014F624 0014B464 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F628 0014B468 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F62C 0014B46C 41 82 00 24 */ beq lbl_8014F650
/* 8014F630 0014B470 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F634 0014B474 41 82 00 1C */ beq lbl_8014F650
/* 8014F638 0014B478 3C 80 80 44 */ lis r4, lbl_80447DFC@ha
/* 8014F63C 0014B47C 38 84 7D FC */ addi r4, r4, lbl_80447DFC@l
/* 8014F640 0014B480 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F644 0014B484 48 00 03 3D */ bl lbl_8014F980
/* 8014F648 0014B488 38 60 FF FE */ li r3, -0x2
/* 8014F64C 0014B48C 48 00 00 48 */ b lbl_8014F694
.global lbl_8014F650
lbl_8014F650:
/* 8014F650 0014B490 80 03 00 F4 */ lwz r0, 0xf4(r3)
/* 8014F654 0014B494 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014F658 0014B498 40 82 00 0C */ bne lbl_8014F664
/* 8014F65C 0014B49C 38 60 FF F5 */ li r3, -0xb
/* 8014F660 0014B4A0 48 00 00 34 */ b lbl_8014F694
.global lbl_8014F664
lbl_8014F664:
/* 8014F664 0014B4A4 38 63 00 60 */ addi r3, r3, 0x60
/* 8014F668 0014B4A8 48 00 29 99 */ bl lbl_80152000
/* 8014F66C 0014B4AC 28 03 00 01 */ cmplwi r3, 0x1
/* 8014F670 0014B4B0 40 82 00 0C */ bne lbl_8014F67C
/* 8014F674 0014B4B4 38 60 00 00 */ li r3, 0x0
/* 8014F678 0014B4B8 48 00 00 1C */ b lbl_8014F694
.global lbl_8014F67C
lbl_8014F67C:
/* 8014F67C 0014B4BC 3C 80 80 44 */ lis r4, lbl_80447E28@ha
/* 8014F680 0014B4C0 7F E3 FB 78 */ mr r3, r31
/* 8014F684 0014B4C4 38 84 7E 28 */ addi r4, r4, lbl_80447E28@l
/* 8014F688 0014B4C8 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F68C 0014B4CC 48 00 02 F5 */ bl lbl_8014F980
/* 8014F690 0014B4D0 38 60 FF F4 */ li r3, -0xc
.global lbl_8014F694
lbl_8014F694:
/* 8014F694 0014B4D4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F698 0014B4D8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014F69C 0014B4DC 7C 08 03 A6 */ mtlr r0
/* 8014F6A0 0014B4E0 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F6A4 0014B4E4 4E 80 00 20 */ blr
/* 8014F6A8 0014B4E8 00 00 00 00 */ .4byte 0x00000000
/* 8014F6AC 0014B4EC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F6B0
lbl_8014F6B0:
/* 8014F6B0 0014B4F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F6B4 0014B4F4 7C 08 02 A6 */ mflr r0
/* 8014F6B8 0014B4F8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F6BC 0014B4FC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F6C0 0014B500 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014F6C4 0014B504 7C 7F 1B 78 */ mr r31, r3
/* 8014F6C8 0014B508 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8014F6CC 0014B50C 7C 9E 23 78 */ mr r30, r4
/* 8014F6D0 0014B510 40 82 00 0C */ bne lbl_8014F6DC
/* 8014F6D4 0014B514 38 60 FF FA */ li r3, -0x6
/* 8014F6D8 0014B518 48 00 00 84 */ b lbl_8014F75C
.global lbl_8014F6DC
lbl_8014F6DC:
/* 8014F6DC 0014B51C 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F6E0 0014B520 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F6E4 0014B524 41 82 00 24 */ beq lbl_8014F708
/* 8014F6E8 0014B528 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F6EC 0014B52C 41 82 00 1C */ beq lbl_8014F708
/* 8014F6F0 0014B530 3C 80 80 44 */ lis r4, lbl_80447E58@ha
/* 8014F6F4 0014B534 38 84 7E 58 */ addi r4, r4, lbl_80447E58@l
/* 8014F6F8 0014B538 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F6FC 0014B53C 48 00 02 85 */ bl lbl_8014F980
/* 8014F700 0014B540 38 60 FF FE */ li r3, -0x2
/* 8014F704 0014B544 48 00 00 58 */ b lbl_8014F75C
.global lbl_8014F708
lbl_8014F708:
/* 8014F708 0014B548 80 03 00 F4 */ lwz r0, 0xf4(r3)
/* 8014F70C 0014B54C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014F710 0014B550 40 82 00 0C */ bne lbl_8014F71C
/* 8014F714 0014B554 38 60 FF F5 */ li r3, -0xb
/* 8014F718 0014B558 48 00 00 44 */ b lbl_8014F75C
.global lbl_8014F71C
lbl_8014F71C:
/* 8014F71C 0014B55C 38 63 00 60 */ addi r3, r3, 0x60
/* 8014F720 0014B560 48 00 28 B1 */ bl lbl_80151FD0
/* 8014F724 0014B564 3C 03 80 01 */ addis r0, r3, 0x8001
/* 8014F728 0014B568 28 00 FF FF */ cmplwi r0, 0xffff
/* 8014F72C 0014B56C 40 82 00 28 */ bne lbl_8014F754
/* 8014F730 0014B570 3C 80 80 44 */ lis r4, lbl_80447E8C@ha
/* 8014F734 0014B574 7F E3 FB 78 */ mr r3, r31
/* 8014F738 0014B578 38 84 7E 8C */ addi r4, r4, lbl_80447E8C@l
/* 8014F73C 0014B57C 4C C6 31 82 */ crclr 4*cr1+eq
/* 8014F740 0014B580 48 00 02 41 */ bl lbl_8014F980
/* 8014F744 0014B584 38 00 00 00 */ li r0, 0x0
/* 8014F748 0014B588 90 1E 00 00 */ stw r0, 0x0(r30)
/* 8014F74C 0014B58C 38 60 FF F4 */ li r3, -0xc
/* 8014F750 0014B590 48 00 00 0C */ b lbl_8014F75C
.global lbl_8014F754
lbl_8014F754:
/* 8014F754 0014B594 90 7E 00 00 */ stw r3, 0x0(r30)
/* 8014F758 0014B598 38 60 00 00 */ li r3, 0x0
.global lbl_8014F75C
lbl_8014F75C:
/* 8014F75C 0014B59C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F760 0014B5A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014F764 0014B5A4 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8014F768 0014B5A8 7C 08 03 A6 */ mtlr r0
/* 8014F76C 0014B5AC 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F770 0014B5B0 4E 80 00 20 */ blr
/* 8014F774 0014B5B4 00 00 00 00 */ .4byte 0x00000000
/* 8014F778 0014B5B8 00 00 00 00 */ .4byte 0x00000000
/* 8014F77C 0014B5BC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F780
lbl_8014F780:
/* 8014F780 0014B5C0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F784 0014B5C4 40 82 00 0C */ bne lbl_8014F790
/* 8014F788 0014B5C8 38 60 FF FA */ li r3, -0x6
/* 8014F78C 0014B5CC 4E 80 00 20 */ blr
.global lbl_8014F790
lbl_8014F790:
/* 8014F790 0014B5D0 90 83 00 50 */ stw r4, 0x50(r3)
/* 8014F794 0014B5D4 38 60 00 00 */ li r3, 0x0
/* 8014F798 0014B5D8 4E 80 00 20 */ blr
/* 8014F79C 0014B5DC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F7A0
lbl_8014F7A0:
/* 8014F7A0 0014B5E0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F7A4 0014B5E4 40 82 00 0C */ bne lbl_8014F7B0
/* 8014F7A8 0014B5E8 38 60 FF FA */ li r3, -0x6
/* 8014F7AC 0014B5EC 4E 80 00 20 */ blr
.global lbl_8014F7B0
lbl_8014F7B0:
/* 8014F7B0 0014B5F0 90 83 00 54 */ stw r4, 0x54(r3)
/* 8014F7B4 0014B5F4 38 60 00 00 */ li r3, 0x0
/* 8014F7B8 0014B5F8 4E 80 00 20 */ blr
/* 8014F7BC 0014B5FC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F7C0
lbl_8014F7C0:
/* 8014F7C0 0014B600 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F7C4 0014B604 40 82 00 0C */ bne lbl_8014F7D0
/* 8014F7C8 0014B608 38 60 00 04 */ li r3, 0x4
/* 8014F7CC 0014B60C 4E 80 00 20 */ blr
.global lbl_8014F7D0
lbl_8014F7D0:
/* 8014F7D0 0014B610 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F7D4 0014B614 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F7D8 0014B618 41 82 00 0C */ beq lbl_8014F7E4
/* 8014F7DC 0014B61C 38 60 00 04 */ li r3, 0x4
/* 8014F7E0 0014B620 4E 80 00 20 */ blr
.global lbl_8014F7E4
lbl_8014F7E4:
/* 8014F7E4 0014B624 48 00 45 4C */ b lbl_80153D30
/* 8014F7E8 0014B628 4E 80 00 20 */ blr
/* 8014F7EC 0014B62C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F7F0
lbl_8014F7F0:
/* 8014F7F0 0014B630 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F7F4 0014B634 7C 08 02 A6 */ mflr r0
/* 8014F7F8 0014B638 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F7FC 0014B63C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F800 0014B640 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014F804 0014B644 7C BF 2B 78 */ mr r31, r5
/* 8014F808 0014B648 40 82 00 0C */ bne lbl_8014F814
/* 8014F80C 0014B64C 38 60 FF FA */ li r3, -0x6
/* 8014F810 0014B650 48 00 00 2C */ b lbl_8014F83C
.global lbl_8014F814
lbl_8014F814:
/* 8014F814 0014B654 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F818 0014B658 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F81C 0014B65C 41 82 00 14 */ beq lbl_8014F830
/* 8014F820 0014B660 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F824 0014B664 41 82 00 0C */ beq lbl_8014F830
/* 8014F828 0014B668 38 60 FF FE */ li r3, -0x2
/* 8014F82C 0014B66C 48 00 00 10 */ b lbl_8014F83C
.global lbl_8014F830
lbl_8014F830:
/* 8014F830 0014B670 48 00 46 91 */ bl lbl_80153EC0
/* 8014F834 0014B674 90 7F 00 00 */ stw r3, 0x0(r31)
/* 8014F838 0014B678 38 60 00 00 */ li r3, 0x0
.global lbl_8014F83C
lbl_8014F83C:
/* 8014F83C 0014B67C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F840 0014B680 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014F844 0014B684 7C 08 03 A6 */ mtlr r0
/* 8014F848 0014B688 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F84C 0014B68C 4E 80 00 20 */ blr
.global lbl_8014F850
lbl_8014F850:
/* 8014F850 0014B690 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F854 0014B694 7C 08 02 A6 */ mflr r0
/* 8014F858 0014B698 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F85C 0014B69C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F860 0014B6A0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014F864 0014B6A4 7C 9F 23 78 */ mr r31, r4
/* 8014F868 0014B6A8 40 82 00 0C */ bne lbl_8014F874
/* 8014F86C 0014B6AC 38 60 FF FA */ li r3, -0x6
/* 8014F870 0014B6B0 48 00 00 30 */ b lbl_8014F8A0
.global lbl_8014F874
lbl_8014F874:
/* 8014F874 0014B6B4 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F878 0014B6B8 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F87C 0014B6BC 41 82 00 14 */ beq lbl_8014F890
/* 8014F880 0014B6C0 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F884 0014B6C4 41 82 00 0C */ beq lbl_8014F890
/* 8014F888 0014B6C8 38 60 FF FE */ li r3, -0x2
/* 8014F88C 0014B6CC 48 00 00 14 */ b lbl_8014F8A0
.global lbl_8014F890
lbl_8014F890:
/* 8014F890 0014B6D0 80 63 00 5C */ lwz r3, 0x5c(r3)
/* 8014F894 0014B6D4 48 00 4A FD */ bl lbl_80154390
/* 8014F898 0014B6D8 90 7F 00 00 */ stw r3, 0x0(r31)
/* 8014F89C 0014B6DC 38 60 00 00 */ li r3, 0x0
.global lbl_8014F8A0
lbl_8014F8A0:
/* 8014F8A0 0014B6E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F8A4 0014B6E4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014F8A8 0014B6E8 7C 08 03 A6 */ mtlr r0
/* 8014F8AC 0014B6EC 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F8B0 0014B6F0 4E 80 00 20 */ blr
/* 8014F8B4 0014B6F4 00 00 00 00 */ .4byte 0x00000000
/* 8014F8B8 0014B6F8 00 00 00 00 */ .4byte 0x00000000
/* 8014F8BC 0014B6FC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F8C0
lbl_8014F8C0:
/* 8014F8C0 0014B700 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F8C4 0014B704 40 82 00 0C */ bne lbl_8014F8D0
/* 8014F8C8 0014B708 38 60 FF FA */ li r3, -0x6
/* 8014F8CC 0014B70C 4E 80 00 20 */ blr
.global lbl_8014F8D0
lbl_8014F8D0:
/* 8014F8D0 0014B710 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F8D4 0014B714 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F8D8 0014B718 41 82 00 14 */ beq lbl_8014F8EC
/* 8014F8DC 0014B71C 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F8E0 0014B720 41 82 00 0C */ beq lbl_8014F8EC
/* 8014F8E4 0014B724 38 60 FF FE */ li r3, -0x2
/* 8014F8E8 0014B728 4E 80 00 20 */ blr
.global lbl_8014F8EC
lbl_8014F8EC:
/* 8014F8EC 0014B72C 80 A3 00 58 */ lwz r5, 0x58(r3)
/* 8014F8F0 0014B730 38 60 00 00 */ li r3, 0x0
/* 8014F8F4 0014B734 38 05 FF FF */ addi r0, r5, -0x1
/* 8014F8F8 0014B738 90 04 00 00 */ stw r0, 0x0(r4)
/* 8014F8FC 0014B73C 4E 80 00 20 */ blr
.global lbl_8014F900
lbl_8014F900:
/* 8014F900 0014B740 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014F904 0014B744 7C 08 02 A6 */ mflr r0
/* 8014F908 0014B748 2C 03 00 00 */ cmpwi r3, 0x0
/* 8014F90C 0014B74C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014F910 0014B750 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014F914 0014B754 7C 9F 23 78 */ mr r31, r4
/* 8014F918 0014B758 40 82 00 0C */ bne lbl_8014F924
/* 8014F91C 0014B75C 38 60 FF FA */ li r3, -0x6
/* 8014F920 0014B760 48 00 00 30 */ b lbl_8014F950
.global lbl_8014F924
lbl_8014F924:
/* 8014F924 0014B764 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8014F928 0014B768 2C 00 00 04 */ cmpwi r0, 0x4
/* 8014F92C 0014B76C 41 82 00 14 */ beq lbl_8014F940
/* 8014F930 0014B770 2C 00 00 05 */ cmpwi r0, 0x5
/* 8014F934 0014B774 41 82 00 0C */ beq lbl_8014F940
/* 8014F938 0014B778 38 60 FF FE */ li r3, -0x2
/* 8014F93C 0014B77C 48 00 00 14 */ b lbl_8014F950
.global lbl_8014F940
lbl_8014F940:
/* 8014F940 0014B780 80 63 00 5C */ lwz r3, 0x5c(r3)
/* 8014F944 0014B784 48 00 4A 5D */ bl lbl_801543A0
/* 8014F948 0014B788 90 7F 00 00 */ stw r3, 0x0(r31)
/* 8014F94C 0014B78C 38 60 00 00 */ li r3, 0x0
.global lbl_8014F950
lbl_8014F950:
/* 8014F950 0014B790 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014F954 0014B794 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014F958 0014B798 7C 08 03 A6 */ mtlr r0
/* 8014F95C 0014B79C 38 21 00 10 */ addi r1, r1, 0x10
/* 8014F960 0014B7A0 4E 80 00 20 */ blr
/* 8014F964 0014B7A4 00 00 00 00 */ .4byte 0x00000000
/* 8014F968 0014B7A8 00 00 00 00 */ .4byte 0x00000000
/* 8014F96C 0014B7AC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F970
lbl_8014F970:
/* 8014F970 0014B7B0 4E 80 00 20 */ blr
/* 8014F974 0014B7B4 00 00 00 00 */ .4byte 0x00000000
/* 8014F978 0014B7B8 00 00 00 00 */ .4byte 0x00000000
/* 8014F97C 0014B7BC 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014F980
lbl_8014F980:
/* 8014F980 0014B7C0 94 21 FD 80 */ stwu r1, -0x280(r1)
/* 8014F984 0014B7C4 7C 08 02 A6 */ mflr r0
/* 8014F988 0014B7C8 90 01 02 84 */ stw r0, 0x284(r1)
/* 8014F98C 0014B7CC 93 E1 02 7C */ stw r31, 0x27c(r1)
/* 8014F990 0014B7D0 93 C1 02 78 */ stw r30, 0x278(r1)
/* 8014F994 0014B7D4 7C 7E 1B 78 */ mr r30, r3
/* 8014F998 0014B7D8 40 86 00 24 */ bne cr1, lbl_8014F9BC
/* 8014F99C 0014B7DC D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8014F9A0 0014B7E0 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 8014F9A4 0014B7E4 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 8014F9A8 0014B7E8 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 8014F9AC 0014B7EC D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8014F9B0 0014B7F0 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 8014F9B4 0014B7F4 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 8014F9B8 0014B7F8 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_8014F9BC
lbl_8014F9BC:
/* 8014F9BC 0014B7FC 90 61 00 08 */ stw r3, 0x8(r1)
/* 8014F9C0 0014B800 39 61 02 88 */ addi r11, r1, 0x288
/* 8014F9C4 0014B804 38 01 00 08 */ addi r0, r1, 0x8
/* 8014F9C8 0014B808 3D 80 02 00 */ lis r12, 0x200
/* 8014F9CC 0014B80C 90 81 00 0C */ stw r4, 0xc(r1)
/* 8014F9D0 0014B810 3B E1 00 68 */ addi r31, r1, 0x68
/* 8014F9D4 0014B814 38 61 00 78 */ addi r3, r1, 0x78
/* 8014F9D8 0014B818 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8014F9DC 0014B81C 7F E5 FB 78 */ mr r5, r31
/* 8014F9E0 0014B820 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8014F9E4 0014B824 90 E1 00 18 */ stw r7, 0x18(r1)
/* 8014F9E8 0014B828 91 01 00 1C */ stw r8, 0x1c(r1)
/* 8014F9EC 0014B82C 91 21 00 20 */ stw r9, 0x20(r1)
/* 8014F9F0 0014B830 91 41 00 24 */ stw r10, 0x24(r1)
/* 8014F9F4 0014B834 91 81 00 68 */ stw r12, 0x68(r1)
/* 8014F9F8 0014B838 91 61 00 6C */ stw r11, 0x6c(r1)
/* 8014F9FC 0014B83C 90 01 00 70 */ stw r0, 0x70(r1)
/* 8014FA00 0014B840 4B EB DC 45 */ bl lbl_8000D644
/* 8014FA04 0014B844 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8014FA08 0014B848 41 82 00 24 */ beq lbl_8014FA2C
/* 8014FA0C 0014B84C 81 9E 00 44 */ lwz r12, 0x44(r30)
/* 8014FA10 0014B850 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8014FA14 0014B854 40 82 00 08 */ bne lbl_8014FA1C
/* 8014FA18 0014B858 48 00 00 14 */ b lbl_8014FA2C
.global lbl_8014FA1C
lbl_8014FA1C:
/* 8014FA1C 0014B85C 7F C3 F3 78 */ mr r3, r30
/* 8014FA20 0014B860 38 81 00 78 */ addi r4, r1, 0x78
/* 8014FA24 0014B864 7D 89 03 A6 */ mtctr r12
/* 8014FA28 0014B868 4E 80 04 21 */ bctrl
.global lbl_8014FA2C
lbl_8014FA2C:
/* 8014FA2C 0014B86C 80 01 02 84 */ lwz r0, 0x284(r1)
/* 8014FA30 0014B870 83 E1 02 7C */ lwz r31, 0x27c(r1)
/* 8014FA34 0014B874 83 C1 02 78 */ lwz r30, 0x278(r1)
/* 8014FA38 0014B878 7C 08 03 A6 */ mtlr r0
/* 8014FA3C 0014B87C 38 21 02 80 */ addi r1, r1, 0x280
/* 8014FA40 0014B880 4E 80 00 20 */ blr
/* 8014FA44 0014B884 00 00 00 00 */ .4byte 0x00000000
/* 8014FA48 0014B888 00 00 00 00 */ .4byte 0x00000000
/* 8014FA4C 0014B88C 00 00 00 00 */ .4byte 0x00000000
.global lbl_8014FA50
lbl_8014FA50:
/* 8014FA50 0014B890 94 21 FD 80 */ stwu r1, -0x280(r1)
/* 8014FA54 0014B894 7C 08 02 A6 */ mflr r0
/* 8014FA58 0014B898 90 01 02 84 */ stw r0, 0x284(r1)
/* 8014FA5C 0014B89C 93 E1 02 7C */ stw r31, 0x27c(r1)
/* 8014FA60 0014B8A0 93 C1 02 78 */ stw r30, 0x278(r1)
/* 8014FA64 0014B8A4 7C 7E 1B 78 */ mr r30, r3
/* 8014FA68 0014B8A8 40 86 00 24 */ bne cr1, lbl_8014FA8C
/* 8014FA6C 0014B8AC D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8014FA70 0014B8B0 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 8014FA74 0014B8B4 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 8014FA78 0014B8B8 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 8014FA7C 0014B8BC D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8014FA80 0014B8C0 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 8014FA84 0014B8C4 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 8014FA88 0014B8C8 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_8014FA8C
lbl_8014FA8C:
/* 8014FA8C 0014B8CC 90 61 00 08 */ stw r3, 0x8(r1)
/* 8014FA90 0014B8D0 39 61 02 88 */ addi r11, r1, 0x288
/* 8014FA94 0014B8D4 38 01 00 08 */ addi r0, r1, 0x8
/* 8014FA98 0014B8D8 3D 80 02 00 */ lis r12, 0x200
/* 8014FA9C 0014B8DC 90 81 00 0C */ stw r4, 0xc(r1)
/* 8014FAA0 0014B8E0 3B E1 00 68 */ addi r31, r1, 0x68
/* 8014FAA4 0014B8E4 38 61 00 78 */ addi r3, r1, 0x78
/* 8014FAA8 0014B8E8 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8014FAAC 0014B8EC 7F E5 FB 78 */ mr r5, r31
/* 8014FAB0 0014B8F0 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8014FAB4 0014B8F4 90 E1 00 18 */ stw r7, 0x18(r1)
/* 8014FAB8 0014B8F8 91 01 00 1C */ stw r8, 0x1c(r1)
/* 8014FABC 0014B8FC 91 21 00 20 */ stw r9, 0x20(r1)
/* 8014FAC0 0014B900 91 41 00 24 */ stw r10, 0x24(r1)
/* 8014FAC4 0014B904 91 81 00 68 */ stw r12, 0x68(r1)
/* 8014FAC8 0014B908 91 61 00 6C */ stw r11, 0x6c(r1)
/* 8014FACC 0014B90C 90 01 00 70 */ stw r0, 0x70(r1)
/* 8014FAD0 0014B910 4B EB DB 75 */ bl lbl_8000D644
/* 8014FAD4 0014B914 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8014FAD8 0014B918 41 82 00 10 */ beq lbl_8014FAE8
/* 8014FADC 0014B91C 81 9E 00 48 */ lwz r12, 0x48(r30)
/* 8014FAE0 0014B920 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8014FAE4 0014B924 40 82 00 08 */ bne lbl_8014FAEC
.global lbl_8014FAE8
lbl_8014FAE8:
/* 8014FAE8 0014B928 48 00 00 00 */ b lbl_8014FAE8
.global lbl_8014FAEC
lbl_8014FAEC:
/* 8014FAEC 0014B92C 7F C3 F3 78 */ mr r3, r30
/* 8014FAF0 0014B930 38 81 00 78 */ addi r4, r1, 0x78
/* 8014FAF4 0014B934 7D 89 03 A6 */ mtctr r12
/* 8014FAF8 0014B938 4E 80 04 21 */ bctrl
/* 8014FAFC 0014B93C 80 01 02 84 */ lwz r0, 0x284(r1)
/* 8014FB00 0014B940 83 E1 02 7C */ lwz r31, 0x27c(r1)
/* 8014FB04 0014B944 83 C1 02 78 */ lwz r30, 0x278(r1)
/* 8014FB08 0014B948 7C 08 03 A6 */ mtlr r0
/* 8014FB0C 0014B94C 38 21 02 80 */ addi r1, r1, 0x280
/* 8014FB10 0014B950 4E 80 00 20 */ blr
/* 8014FB14 0014B954 00 00 00 00 */ .4byte 0x00000000
/* 8014FB18 0014B958 00 00 00 00 */ .4byte 0x00000000
/* 8014FB1C 0014B95C 00 00 00 00 */ .4byte 0x00000000