donut-decomp/asm/libnw4r_g3d/g3d_resshp_800cb800.s

757 lines
32 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global lbl_800CB800
lbl_800CB800:
/* 800CB800 000C7640 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800CB804 000C7644 7C 08 02 A6 */ mflr r0
/* 800CB808 000C7648 80 83 00 00 */ lwz r4, 0x0(r3)
/* 800CB80C 000C764C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800CB810 000C7650 80 04 00 04 */ lwz r0, 0x4(r4)
/* 800CB814 000C7654 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CB818 000C7658 41 82 00 0C */ beq lbl_800CB824
/* 800CB81C 000C765C 7C 04 02 14 */ add r0, r4, r0
/* 800CB820 000C7660 48 00 00 08 */ b lbl_800CB828
.global lbl_800CB824
lbl_800CB824:
/* 800CB824 000C7664 38 00 00 00 */ li r0, 0x0
.global lbl_800CB828
lbl_800CB828:
/* 800CB828 000C7668 90 01 00 08 */ stw r0, 0x8(r1)
/* 800CB82C 000C766C 38 61 00 08 */ addi r3, r1, 0x8
/* 800CB830 000C7670 A8 84 00 48 */ lha r4, 0x48(r4)
/* 800CB834 000C7674 4B FF F0 9D */ bl lbl_800CA8D0
/* 800CB838 000C7678 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800CB83C 000C767C 7C 08 03 A6 */ mtlr r0
/* 800CB840 000C7680 38 21 00 10 */ addi r1, r1, 0x10
/* 800CB844 000C7684 4E 80 00 20 */ blr
/* 800CB848 000C7688 00 00 00 00 */ .4byte 0x00000000
/* 800CB84C 000C768C 00 00 00 00 */ .4byte 0x00000000
.global lbl_800CB850
lbl_800CB850:
/* 800CB850 000C7690 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800CB854 000C7694 7C 08 02 A6 */ mflr r0
/* 800CB858 000C7698 80 83 00 00 */ lwz r4, 0x0(r3)
/* 800CB85C 000C769C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800CB860 000C76A0 A8 04 00 4A */ lha r0, 0x4a(r4)
/* 800CB864 000C76A4 2C 00 FF FF */ cmpwi r0, -0x1
/* 800CB868 000C76A8 41 82 00 30 */ beq lbl_800CB898
/* 800CB86C 000C76AC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 800CB870 000C76B0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CB874 000C76B4 41 82 00 0C */ beq lbl_800CB880
/* 800CB878 000C76B8 7C 04 02 14 */ add r0, r4, r0
/* 800CB87C 000C76BC 48 00 00 08 */ b lbl_800CB884
.global lbl_800CB880
lbl_800CB880:
/* 800CB880 000C76C0 38 00 00 00 */ li r0, 0x0
.global lbl_800CB884
lbl_800CB884:
/* 800CB884 000C76C4 90 01 00 08 */ stw r0, 0x8(r1)
/* 800CB888 000C76C8 38 61 00 08 */ addi r3, r1, 0x8
/* 800CB88C 000C76CC A8 84 00 4A */ lha r4, 0x4a(r4)
/* 800CB890 000C76D0 4B FF F1 31 */ bl lbl_800CA9C0
/* 800CB894 000C76D4 48 00 00 08 */ b lbl_800CB89C
.global lbl_800CB898
lbl_800CB898:
/* 800CB898 000C76D8 38 60 00 00 */ li r3, 0x0
.global lbl_800CB89C
lbl_800CB89C:
/* 800CB89C 000C76DC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800CB8A0 000C76E0 7C 08 03 A6 */ mtlr r0
/* 800CB8A4 000C76E4 38 21 00 10 */ addi r1, r1, 0x10
/* 800CB8A8 000C76E8 4E 80 00 20 */ blr
/* 800CB8AC 000C76EC 00 00 00 00 */ .4byte 0x00000000
.global lbl_800CB8B0
lbl_800CB8B0:
/* 800CB8B0 000C76F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800CB8B4 000C76F4 7C 08 02 A6 */ mflr r0
/* 800CB8B8 000C76F8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CB8BC 000C76FC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800CB8C0 000C7700 54 80 08 3C */ slwi r0, r4, 1
/* 800CB8C4 000C7704 7C 83 02 14 */ add r4, r3, r0
/* 800CB8C8 000C7708 A8 04 00 4C */ lha r0, 0x4c(r4)
/* 800CB8CC 000C770C 2C 00 FF FF */ cmpwi r0, -0x1
/* 800CB8D0 000C7710 41 82 00 30 */ beq lbl_800CB900
/* 800CB8D4 000C7714 80 03 00 04 */ lwz r0, 0x4(r3)
/* 800CB8D8 000C7718 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CB8DC 000C771C 41 82 00 0C */ beq lbl_800CB8E8
/* 800CB8E0 000C7720 7C 03 02 14 */ add r0, r3, r0
/* 800CB8E4 000C7724 48 00 00 08 */ b lbl_800CB8EC
.global lbl_800CB8E8
lbl_800CB8E8:
/* 800CB8E8 000C7728 38 00 00 00 */ li r0, 0x0
.global lbl_800CB8EC
lbl_800CB8EC:
/* 800CB8EC 000C772C 90 01 00 08 */ stw r0, 0x8(r1)
/* 800CB8F0 000C7730 38 61 00 08 */ addi r3, r1, 0x8
/* 800CB8F4 000C7734 A8 84 00 4C */ lha r4, 0x4c(r4)
/* 800CB8F8 000C7738 4B FF F1 B9 */ bl lbl_800CAAB0
/* 800CB8FC 000C773C 48 00 00 08 */ b lbl_800CB904
.global lbl_800CB900
lbl_800CB900:
/* 800CB900 000C7740 38 60 00 00 */ li r3, 0x0
.global lbl_800CB904
lbl_800CB904:
/* 800CB904 000C7744 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800CB908 000C7748 7C 08 03 A6 */ mtlr r0
/* 800CB90C 000C774C 38 21 00 10 */ addi r1, r1, 0x10
/* 800CB910 000C7750 4E 80 00 20 */ blr
/* 800CB914 000C7754 00 00 00 00 */ .4byte 0x00000000
/* 800CB918 000C7758 00 00 00 00 */ .4byte 0x00000000
/* 800CB91C 000C775C 00 00 00 00 */ .4byte 0x00000000
.global lbl_800CB920
lbl_800CB920:
/* 800CB920 000C7760 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800CB924 000C7764 7C 08 02 A6 */ mflr r0
/* 800CB928 000C7768 80 83 00 00 */ lwz r4, 0x0(r3)
/* 800CB92C 000C776C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800CB930 000C7770 A8 04 00 62 */ lha r0, 0x62(r4)
/* 800CB934 000C7774 2C 00 FF FF */ cmpwi r0, -0x1
/* 800CB938 000C7778 41 82 00 30 */ beq lbl_800CB968
/* 800CB93C 000C777C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 800CB940 000C7780 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CB944 000C7784 41 82 00 0C */ beq lbl_800CB950
/* 800CB948 000C7788 7C 04 02 14 */ add r0, r4, r0
/* 800CB94C 000C778C 48 00 00 08 */ b lbl_800CB954
.global lbl_800CB950
lbl_800CB950:
/* 800CB950 000C7790 38 00 00 00 */ li r0, 0x0
.global lbl_800CB954
lbl_800CB954:
/* 800CB954 000C7794 90 01 00 08 */ stw r0, 0x8(r1)
/* 800CB958 000C7798 38 61 00 08 */ addi r3, r1, 0x8
/* 800CB95C 000C779C A8 84 00 62 */ lha r4, 0x62(r4)
/* 800CB960 000C77A0 4B FF F2 51 */ bl lbl_800CABB0
/* 800CB964 000C77A4 48 00 00 08 */ b lbl_800CB96C
.global lbl_800CB968
lbl_800CB968:
/* 800CB968 000C77A8 38 60 00 00 */ li r3, 0x0
.global lbl_800CB96C
lbl_800CB96C:
/* 800CB96C 000C77AC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800CB970 000C77B0 7C 08 03 A6 */ mtlr r0
/* 800CB974 000C77B4 38 21 00 10 */ addi r1, r1, 0x10
/* 800CB978 000C77B8 4E 80 00 20 */ blr
/* 800CB97C 000C77BC 00 00 00 00 */ .4byte 0x00000000
.global lbl_800CB980
lbl_800CB980:
/* 800CB980 000C77C0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800CB984 000C77C4 7C 08 02 A6 */ mflr r0
/* 800CB988 000C77C8 90 01 00 54 */ stw r0, 0x54(r1)
/* 800CB98C 000C77CC 39 61 00 50 */ addi r11, r1, 0x50
/* 800CB990 000C77D0 4B F3 B9 A9 */ bl lbl_80007338
/* 800CB994 000C77D4 80 83 00 00 */ lwz r4, 0x0(r3)
/* 800CB998 000C77D8 7C 7D 1B 78 */ mr r29, r3
/* 800CB99C 000C77DC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 800CB9A0 000C77E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CB9A4 000C77E4 41 82 00 0C */ beq lbl_800CB9B0
/* 800CB9A8 000C77E8 7C 04 02 14 */ add r0, r4, r0
/* 800CB9AC 000C77EC 48 00 00 08 */ b lbl_800CB9B4
.global lbl_800CB9B0
lbl_800CB9B0:
/* 800CB9B0 000C77F0 38 00 00 00 */ li r0, 0x0
.global lbl_800CB9B4
lbl_800CB9B4:
/* 800CB9B4 000C77F4 90 01 00 18 */ stw r0, 0x18(r1)
/* 800CB9B8 000C77F8 38 61 00 18 */ addi r3, r1, 0x18
/* 800CB9BC 000C77FC A8 84 00 48 */ lha r4, 0x48(r4)
/* 800CB9C0 000C7800 4B FF EF 11 */ bl lbl_800CA8D0
/* 800CB9C4 000C7804 90 61 00 1C */ stw r3, 0x1c(r1)
/* 800CB9C8 000C7808 38 61 00 1C */ addi r3, r1, 0x1c
/* 800CB9CC 000C780C 38 81 00 2C */ addi r4, r1, 0x2c
/* 800CB9D0 000C7810 38 A1 00 08 */ addi r5, r1, 0x8
/* 800CB9D4 000C7814 48 00 2A 5D */ bl lbl_800CE430
/* 800CB9D8 000C7818 80 7D 00 00 */ lwz r3, 0x0(r29)
/* 800CB9DC 000C781C 8B 81 00 08 */ lbz r28, 0x8(r1)
/* 800CB9E0 000C7820 38 63 00 18 */ addi r3, r3, 0x18
/* 800CB9E4 000C7824 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 800CB9E8 000C7828 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CB9EC 000C782C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CB9F0 000C7830 41 82 00 0C */ beq lbl_800CB9FC
/* 800CB9F4 000C7834 7C 63 02 14 */ add r3, r3, r0
/* 800CB9F8 000C7838 48 00 00 08 */ b lbl_800CBA00
.global lbl_800CB9FC
lbl_800CB9FC:
/* 800CB9FC 000C783C 38 60 00 00 */ li r3, 0x0
.global lbl_800CBA00
lbl_800CBA00:
/* 800CBA00 000C7840 3B C3 00 32 */ addi r30, r3, 0x32
/* 800CBA04 000C7844 3C A4 80 00 */ addis r5, r4, 0x8000
/* 800CBA08 000C7848 7F C3 F3 78 */ mr r3, r30
/* 800CBA0C 000C784C 38 80 00 A0 */ li r4, 0xa0
/* 800CBA10 000C7850 4B FF D1 B1 */ bl lbl_800C8BC0
/* 800CBA14 000C7854 7F 85 E3 78 */ mr r5, r28
/* 800CBA18 000C7858 38 7E 00 06 */ addi r3, r30, 0x6
/* 800CBA1C 000C785C 38 80 00 B0 */ li r4, 0xb0
/* 800CBA20 000C7860 4B FF D1 A1 */ bl lbl_800C8BC0
/* 800CBA24 000C7864 80 9D 00 00 */ lwz r4, 0x0(r29)
/* 800CBA28 000C7868 A8 04 00 4A */ lha r0, 0x4a(r4)
/* 800CBA2C 000C786C 2C 00 FF FF */ cmpwi r0, -0x1
/* 800CBA30 000C7870 41 82 00 30 */ beq lbl_800CBA60
/* 800CBA34 000C7874 80 04 00 04 */ lwz r0, 0x4(r4)
/* 800CBA38 000C7878 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBA3C 000C787C 41 82 00 0C */ beq lbl_800CBA48
/* 800CBA40 000C7880 7C 04 02 14 */ add r0, r4, r0
/* 800CBA44 000C7884 48 00 00 08 */ b lbl_800CBA4C
.global lbl_800CBA48
lbl_800CBA48:
/* 800CBA48 000C7888 38 00 00 00 */ li r0, 0x0
.global lbl_800CBA4C
lbl_800CBA4C:
/* 800CBA4C 000C788C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800CBA50 000C7890 38 61 00 14 */ addi r3, r1, 0x14
/* 800CBA54 000C7894 A8 84 00 4A */ lha r4, 0x4a(r4)
/* 800CBA58 000C7898 4B FF EF 69 */ bl lbl_800CA9C0
/* 800CBA5C 000C789C 48 00 00 08 */ b lbl_800CBA64
.global lbl_800CBA60
lbl_800CBA60:
/* 800CBA60 000C78A0 38 60 00 00 */ li r3, 0x0
.global lbl_800CBA64
lbl_800CBA64:
/* 800CBA64 000C78A4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800CBA68 000C78A8 90 61 00 28 */ stw r3, 0x28(r1)
/* 800CBA6C 000C78AC 41 82 00 60 */ beq lbl_800CBACC
/* 800CBA70 000C78B0 38 61 00 28 */ addi r3, r1, 0x28
/* 800CBA74 000C78B4 38 81 00 2C */ addi r4, r1, 0x2c
/* 800CBA78 000C78B8 38 A1 00 08 */ addi r5, r1, 0x8
/* 800CBA7C 000C78BC 48 00 29 B5 */ bl lbl_800CE430
/* 800CBA80 000C78C0 80 7D 00 00 */ lwz r3, 0x0(r29)
/* 800CBA84 000C78C4 8B 81 00 08 */ lbz r28, 0x8(r1)
/* 800CBA88 000C78C8 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBA8C 000C78CC 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 800CBA90 000C78D0 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBA94 000C78D4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBA98 000C78D8 41 82 00 0C */ beq lbl_800CBAA4
/* 800CBA9C 000C78DC 7C 63 02 14 */ add r3, r3, r0
/* 800CBAA0 000C78E0 48 00 00 08 */ b lbl_800CBAA8
.global lbl_800CBAA4
lbl_800CBAA4:
/* 800CBAA4 000C78E4 38 60 00 00 */ li r3, 0x0
.global lbl_800CBAA8
lbl_800CBAA8:
/* 800CBAA8 000C78E8 3B C3 00 3E */ addi r30, r3, 0x3e
/* 800CBAAC 000C78EC 3C A4 80 00 */ addis r5, r4, 0x8000
/* 800CBAB0 000C78F0 7F C3 F3 78 */ mr r3, r30
/* 800CBAB4 000C78F4 38 80 00 A1 */ li r4, 0xa1
/* 800CBAB8 000C78F8 4B FF D1 09 */ bl lbl_800C8BC0
/* 800CBABC 000C78FC 7F 85 E3 78 */ mr r5, r28
/* 800CBAC0 000C7900 38 7E 00 06 */ addi r3, r30, 0x6
/* 800CBAC4 000C7904 38 80 00 B1 */ li r4, 0xb1
/* 800CBAC8 000C7908 4B FF D0 F9 */ bl lbl_800C8BC0
.global lbl_800CBACC
lbl_800CBACC:
/* 800CBACC 000C790C 3B C0 00 00 */ li r30, 0x0
/* 800CBAD0 000C7910 3B E0 00 00 */ li r31, 0x0
.global lbl_800CBAD4
lbl_800CBAD4:
/* 800CBAD4 000C7914 80 7D 00 00 */ lwz r3, 0x0(r29)
/* 800CBAD8 000C7918 7C 83 FA 14 */ add r4, r3, r31
/* 800CBADC 000C791C A8 04 00 4C */ lha r0, 0x4c(r4)
/* 800CBAE0 000C7920 2C 00 FF FF */ cmpwi r0, -0x1
/* 800CBAE4 000C7924 41 82 00 30 */ beq lbl_800CBB14
/* 800CBAE8 000C7928 80 03 00 04 */ lwz r0, 0x4(r3)
/* 800CBAEC 000C792C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBAF0 000C7930 41 82 00 0C */ beq lbl_800CBAFC
/* 800CBAF4 000C7934 7C 03 02 14 */ add r0, r3, r0
/* 800CBAF8 000C7938 48 00 00 08 */ b lbl_800CBB00
.global lbl_800CBAFC
lbl_800CBAFC:
/* 800CBAFC 000C793C 38 00 00 00 */ li r0, 0x0
.global lbl_800CBB00
lbl_800CBB00:
/* 800CBB00 000C7940 90 01 00 10 */ stw r0, 0x10(r1)
/* 800CBB04 000C7944 38 61 00 10 */ addi r3, r1, 0x10
/* 800CBB08 000C7948 A8 84 00 4C */ lha r4, 0x4c(r4)
/* 800CBB0C 000C794C 4B FF EF A5 */ bl lbl_800CAAB0
/* 800CBB10 000C7950 48 00 00 08 */ b lbl_800CBB18
.global lbl_800CBB14
lbl_800CBB14:
/* 800CBB14 000C7954 38 60 00 00 */ li r3, 0x0
.global lbl_800CBB18
lbl_800CBB18:
/* 800CBB18 000C7958 2C 03 00 00 */ cmpwi r3, 0x0
/* 800CBB1C 000C795C 90 61 00 24 */ stw r3, 0x24(r1)
/* 800CBB20 000C7960 41 82 00 88 */ beq lbl_800CBBA8
/* 800CBB24 000C7964 38 61 00 24 */ addi r3, r1, 0x24
/* 800CBB28 000C7968 38 81 00 2C */ addi r4, r1, 0x2c
/* 800CBB2C 000C796C 38 A1 00 08 */ addi r5, r1, 0x8
/* 800CBB30 000C7970 48 00 2A 21 */ bl lbl_800CE550
/* 800CBB34 000C7974 80 7D 00 00 */ lwz r3, 0x0(r29)
/* 800CBB38 000C7978 8B 61 00 08 */ lbz r27, 0x8(r1)
/* 800CBB3C 000C797C 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBB40 000C7980 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 800CBB44 000C7984 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBB48 000C7988 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBB4C 000C798C 41 82 00 0C */ beq lbl_800CBB58
/* 800CBB50 000C7990 7C 83 02 14 */ add r4, r3, r0
/* 800CBB54 000C7994 48 00 00 08 */ b lbl_800CBB5C
.global lbl_800CBB58
lbl_800CBB58:
/* 800CBB58 000C7998 38 80 00 00 */ li r4, 0x0
.global lbl_800CBB5C
lbl_800CBB5C:
/* 800CBB5C 000C799C 38 DE 00 02 */ addi r6, r30, 0x2
/* 800CBB60 000C79A0 38 1E 00 0B */ addi r0, r30, 0xb
/* 800CBB64 000C79A4 1C 66 00 0C */ mulli r3, r6, 0xc
/* 800CBB68 000C79A8 3B 80 00 01 */ li r28, 0x1
/* 800CBB6C 000C79AC 2C 00 00 19 */ cmpwi r0, 0x19
/* 800CBB70 000C79B0 7C 64 1A 14 */ add r3, r4, r3
/* 800CBB74 000C79B4 3B 43 00 32 */ addi r26, r3, 0x32
/* 800CBB78 000C79B8 41 82 00 08 */ beq lbl_800CBB80
/* 800CBB7C 000C79BC 7C DC 33 78 */ mr r28, r6
.global lbl_800CBB80
lbl_800CBB80:
/* 800CBB80 000C79C0 38 1C 00 A0 */ addi r0, r28, 0xa0
/* 800CBB84 000C79C4 7F 43 D3 78 */ mr r3, r26
/* 800CBB88 000C79C8 54 04 06 3E */ clrlwi r4, r0, 24
/* 800CBB8C 000C79CC 3C A5 80 00 */ addis r5, r5, 0x8000
/* 800CBB90 000C79D0 4B FF D0 31 */ bl lbl_800C8BC0
/* 800CBB94 000C79D4 38 1C 00 B0 */ addi r0, r28, 0xb0
/* 800CBB98 000C79D8 7F 65 DB 78 */ mr r5, r27
/* 800CBB9C 000C79DC 38 7A 00 06 */ addi r3, r26, 0x6
/* 800CBBA0 000C79E0 54 04 06 3E */ clrlwi r4, r0, 24
/* 800CBBA4 000C79E4 4B FF D0 1D */ bl lbl_800C8BC0
.global lbl_800CBBA8
lbl_800CBBA8:
/* 800CBBA8 000C79E8 3B DE 00 01 */ addi r30, r30, 0x1
/* 800CBBAC 000C79EC 3B FF 00 02 */ addi r31, r31, 0x2
/* 800CBBB0 000C79F0 28 1E 00 02 */ cmplwi r30, 0x2
/* 800CBBB4 000C79F4 41 80 FF 20 */ blt lbl_800CBAD4
/* 800CBBB8 000C79F8 3B C0 00 00 */ li r30, 0x0
/* 800CBBBC 000C79FC 3B E0 00 00 */ li r31, 0x0
.global lbl_800CBBC0
lbl_800CBBC0:
/* 800CBBC0 000C7A00 80 7D 00 00 */ lwz r3, 0x0(r29)
/* 800CBBC4 000C7A04 7C 83 FA 14 */ add r4, r3, r31
/* 800CBBC8 000C7A08 A8 04 00 50 */ lha r0, 0x50(r4)
/* 800CBBCC 000C7A0C 2C 00 FF FF */ cmpwi r0, -0x1
/* 800CBBD0 000C7A10 41 82 00 30 */ beq lbl_800CBC00
/* 800CBBD4 000C7A14 80 03 00 04 */ lwz r0, 0x4(r3)
/* 800CBBD8 000C7A18 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBBDC 000C7A1C 41 82 00 0C */ beq lbl_800CBBE8
/* 800CBBE0 000C7A20 7C 03 02 14 */ add r0, r3, r0
/* 800CBBE4 000C7A24 48 00 00 08 */ b lbl_800CBBEC
.global lbl_800CBBE8
lbl_800CBBE8:
/* 800CBBE8 000C7A28 38 00 00 00 */ li r0, 0x0
.global lbl_800CBBEC
lbl_800CBBEC:
/* 800CBBEC 000C7A2C 90 01 00 0C */ stw r0, 0xc(r1)
/* 800CBBF0 000C7A30 38 61 00 0C */ addi r3, r1, 0xc
/* 800CBBF4 000C7A34 A8 84 00 50 */ lha r4, 0x50(r4)
/* 800CBBF8 000C7A38 4B FF EF 59 */ bl lbl_800CAB50
/* 800CBBFC 000C7A3C 48 00 00 08 */ b lbl_800CBC04
.global lbl_800CBC00
lbl_800CBC00:
/* 800CBC00 000C7A40 38 60 00 00 */ li r3, 0x0
.global lbl_800CBC04
lbl_800CBC04:
/* 800CBC04 000C7A44 2C 03 00 00 */ cmpwi r3, 0x0
/* 800CBC08 000C7A48 90 61 00 20 */ stw r3, 0x20(r1)
/* 800CBC0C 000C7A4C 41 82 00 88 */ beq lbl_800CBC94
/* 800CBC10 000C7A50 38 61 00 20 */ addi r3, r1, 0x20
/* 800CBC14 000C7A54 38 81 00 2C */ addi r4, r1, 0x2c
/* 800CBC18 000C7A58 38 A1 00 08 */ addi r5, r1, 0x8
/* 800CBC1C 000C7A5C 48 00 28 15 */ bl lbl_800CE430
/* 800CBC20 000C7A60 80 7D 00 00 */ lwz r3, 0x0(r29)
/* 800CBC24 000C7A64 8B 41 00 08 */ lbz r26, 0x8(r1)
/* 800CBC28 000C7A68 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBC2C 000C7A6C 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 800CBC30 000C7A70 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBC34 000C7A74 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBC38 000C7A78 41 82 00 0C */ beq lbl_800CBC44
/* 800CBC3C 000C7A7C 7C 83 02 14 */ add r4, r3, r0
/* 800CBC40 000C7A80 48 00 00 08 */ b lbl_800CBC48
.global lbl_800CBC44
lbl_800CBC44:
/* 800CBC44 000C7A84 38 80 00 00 */ li r4, 0x0
.global lbl_800CBC48
lbl_800CBC48:
/* 800CBC48 000C7A88 38 DE 00 04 */ addi r6, r30, 0x4
/* 800CBC4C 000C7A8C 38 1E 00 0D */ addi r0, r30, 0xd
/* 800CBC50 000C7A90 1C 66 00 0C */ mulli r3, r6, 0xc
/* 800CBC54 000C7A94 3B 80 00 01 */ li r28, 0x1
/* 800CBC58 000C7A98 2C 00 00 19 */ cmpwi r0, 0x19
/* 800CBC5C 000C7A9C 7C 64 1A 14 */ add r3, r4, r3
/* 800CBC60 000C7AA0 3B 63 00 32 */ addi r27, r3, 0x32
/* 800CBC64 000C7AA4 41 82 00 08 */ beq lbl_800CBC6C
/* 800CBC68 000C7AA8 7C DC 33 78 */ mr r28, r6
.global lbl_800CBC6C
lbl_800CBC6C:
/* 800CBC6C 000C7AAC 38 1C 00 A0 */ addi r0, r28, 0xa0
/* 800CBC70 000C7AB0 7F 63 DB 78 */ mr r3, r27
/* 800CBC74 000C7AB4 54 04 06 3E */ clrlwi r4, r0, 24
/* 800CBC78 000C7AB8 3C A5 80 00 */ addis r5, r5, 0x8000
/* 800CBC7C 000C7ABC 4B FF CF 45 */ bl lbl_800C8BC0
/* 800CBC80 000C7AC0 38 1C 00 B0 */ addi r0, r28, 0xb0
/* 800CBC84 000C7AC4 7F 45 D3 78 */ mr r5, r26
/* 800CBC88 000C7AC8 38 7B 00 06 */ addi r3, r27, 0x6
/* 800CBC8C 000C7ACC 54 04 06 3E */ clrlwi r4, r0, 24
/* 800CBC90 000C7AD0 4B FF CF 31 */ bl lbl_800C8BC0
.global lbl_800CBC94
lbl_800CBC94:
/* 800CBC94 000C7AD4 3B DE 00 01 */ addi r30, r30, 0x1
/* 800CBC98 000C7AD8 3B FF 00 02 */ addi r31, r31, 0x2
/* 800CBC9C 000C7ADC 28 1E 00 08 */ cmplwi r30, 0x8
/* 800CBCA0 000C7AE0 41 80 FF 20 */ blt lbl_800CBBC0
/* 800CBCA4 000C7AE4 80 7D 00 00 */ lwz r3, 0x0(r29)
/* 800CBCA8 000C7AE8 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBCAC 000C7AEC 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBCB0 000C7AF0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBCB4 000C7AF4 41 82 00 0C */ beq lbl_800CBCC0
/* 800CBCB8 000C7AF8 7C 63 02 14 */ add r3, r3, r0
/* 800CBCBC 000C7AFC 48 00 00 08 */ b lbl_800CBCC4
.global lbl_800CBCC0
lbl_800CBCC0:
/* 800CBCC0 000C7B00 38 60 00 00 */ li r3, 0x0
.global lbl_800CBCC4
lbl_800CBCC4:
/* 800CBCC4 000C7B04 38 80 00 E0 */ li r4, 0xe0
/* 800CBCC8 000C7B08 4B F5 0D 49 */ bl lbl_8001CA10
/* 800CBCCC 000C7B0C 80 9D 00 00 */ lwz r4, 0x0(r29)
/* 800CBCD0 000C7B10 80 04 00 2C */ lwz r0, 0x2c(r4)
/* 800CBCD4 000C7B14 38 64 00 24 */ addi r3, r4, 0x24
/* 800CBCD8 000C7B18 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBCDC 000C7B1C 41 82 00 0C */ beq lbl_800CBCE8
/* 800CBCE0 000C7B20 7C 63 02 14 */ add r3, r3, r0
/* 800CBCE4 000C7B24 48 00 00 08 */ b lbl_800CBCEC
.global lbl_800CBCE8
lbl_800CBCE8:
/* 800CBCE8 000C7B28 38 60 00 00 */ li r3, 0x0
.global lbl_800CBCEC
lbl_800CBCEC:
/* 800CBCEC 000C7B2C 80 84 00 24 */ lwz r4, 0x24(r4)
/* 800CBCF0 000C7B30 4B F5 0D 21 */ bl lbl_8001CA10
/* 800CBCF4 000C7B34 39 61 00 50 */ addi r11, r1, 0x50
/* 800CBCF8 000C7B38 4B F3 B6 8D */ bl lbl_80007384
/* 800CBCFC 000C7B3C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800CBD00 000C7B40 7C 08 03 A6 */ mtlr r0
/* 800CBD04 000C7B44 38 21 00 50 */ addi r1, r1, 0x50
/* 800CBD08 000C7B48 4E 80 00 20 */ blr
/* 800CBD0C 000C7B4C 00 00 00 00 */ .4byte 0x00000000
.global lbl_800CBD10
lbl_800CBD10:
/* 800CBD10 000C7B50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800CBD14 000C7B54 7C 08 02 A6 */ mflr r0
/* 800CBD18 000C7B58 90 01 00 14 */ stw r0, 0x14(r1)
/* 800CBD1C 000C7B5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800CBD20 000C7B60 7C 7F 1B 78 */ mr r31, r3
/* 800CBD24 000C7B64 80 83 00 00 */ lwz r4, 0x0(r3)
/* 800CBD28 000C7B68 80 04 00 20 */ lwz r0, 0x20(r4)
/* 800CBD2C 000C7B6C 38 64 00 18 */ addi r3, r4, 0x18
/* 800CBD30 000C7B70 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBD34 000C7B74 41 82 00 0C */ beq lbl_800CBD40
/* 800CBD38 000C7B78 7C 63 02 14 */ add r3, r3, r0
/* 800CBD3C 000C7B7C 48 00 00 08 */ b lbl_800CBD44
.global lbl_800CBD40
lbl_800CBD40:
/* 800CBD40 000C7B80 38 60 00 00 */ li r3, 0x0
.global lbl_800CBD44
lbl_800CBD44:
/* 800CBD44 000C7B84 38 63 00 32 */ addi r3, r3, 0x32
/* 800CBD48 000C7B88 38 80 00 00 */ li r4, 0x0
/* 800CBD4C 000C7B8C 38 A0 00 0C */ li r5, 0xc
/* 800CBD50 000C7B90 4B F3 86 01 */ bl func_80004350
/* 800CBD54 000C7B94 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBD58 000C7B98 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBD5C 000C7B9C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBD60 000C7BA0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBD64 000C7BA4 41 82 00 0C */ beq lbl_800CBD70
/* 800CBD68 000C7BA8 7C 63 02 14 */ add r3, r3, r0
/* 800CBD6C 000C7BAC 48 00 00 08 */ b lbl_800CBD74
.global lbl_800CBD70
lbl_800CBD70:
/* 800CBD70 000C7BB0 38 60 00 00 */ li r3, 0x0
.global lbl_800CBD74
lbl_800CBD74:
/* 800CBD74 000C7BB4 38 63 00 3E */ addi r3, r3, 0x3e
/* 800CBD78 000C7BB8 38 80 00 00 */ li r4, 0x0
/* 800CBD7C 000C7BBC 38 A0 00 0C */ li r5, 0xc
/* 800CBD80 000C7BC0 4B F3 85 D1 */ bl func_80004350
/* 800CBD84 000C7BC4 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBD88 000C7BC8 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBD8C 000C7BCC 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBD90 000C7BD0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBD94 000C7BD4 41 82 00 0C */ beq lbl_800CBDA0
/* 800CBD98 000C7BD8 7C 63 02 14 */ add r3, r3, r0
/* 800CBD9C 000C7BDC 48 00 00 08 */ b lbl_800CBDA4
.global lbl_800CBDA0
lbl_800CBDA0:
/* 800CBDA0 000C7BE0 38 60 00 00 */ li r3, 0x0
.global lbl_800CBDA4
lbl_800CBDA4:
/* 800CBDA4 000C7BE4 38 63 00 4A */ addi r3, r3, 0x4a
/* 800CBDA8 000C7BE8 38 80 00 00 */ li r4, 0x0
/* 800CBDAC 000C7BEC 38 A0 00 0C */ li r5, 0xc
/* 800CBDB0 000C7BF0 4B F3 85 A1 */ bl func_80004350
/* 800CBDB4 000C7BF4 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBDB8 000C7BF8 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBDBC 000C7BFC 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBDC0 000C7C00 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBDC4 000C7C04 41 82 00 0C */ beq lbl_800CBDD0
/* 800CBDC8 000C7C08 7C 63 02 14 */ add r3, r3, r0
/* 800CBDCC 000C7C0C 48 00 00 08 */ b lbl_800CBDD4
.global lbl_800CBDD0
lbl_800CBDD0:
/* 800CBDD0 000C7C10 38 60 00 00 */ li r3, 0x0
.global lbl_800CBDD4
lbl_800CBDD4:
/* 800CBDD4 000C7C14 38 63 00 56 */ addi r3, r3, 0x56
/* 800CBDD8 000C7C18 38 80 00 00 */ li r4, 0x0
/* 800CBDDC 000C7C1C 38 A0 00 0C */ li r5, 0xc
/* 800CBDE0 000C7C20 4B F3 85 71 */ bl func_80004350
/* 800CBDE4 000C7C24 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBDE8 000C7C28 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBDEC 000C7C2C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBDF0 000C7C30 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBDF4 000C7C34 41 82 00 0C */ beq lbl_800CBE00
/* 800CBDF8 000C7C38 7C 63 02 14 */ add r3, r3, r0
/* 800CBDFC 000C7C3C 48 00 00 08 */ b lbl_800CBE04
.global lbl_800CBE00
lbl_800CBE00:
/* 800CBE00 000C7C40 38 60 00 00 */ li r3, 0x0
.global lbl_800CBE04
lbl_800CBE04:
/* 800CBE04 000C7C44 38 63 00 62 */ addi r3, r3, 0x62
/* 800CBE08 000C7C48 38 80 00 00 */ li r4, 0x0
/* 800CBE0C 000C7C4C 38 A0 00 0C */ li r5, 0xc
/* 800CBE10 000C7C50 4B F3 85 41 */ bl func_80004350
/* 800CBE14 000C7C54 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBE18 000C7C58 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBE1C 000C7C5C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBE20 000C7C60 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBE24 000C7C64 41 82 00 0C */ beq lbl_800CBE30
/* 800CBE28 000C7C68 7C 63 02 14 */ add r3, r3, r0
/* 800CBE2C 000C7C6C 48 00 00 08 */ b lbl_800CBE34
.global lbl_800CBE30
lbl_800CBE30:
/* 800CBE30 000C7C70 38 60 00 00 */ li r3, 0x0
.global lbl_800CBE34
lbl_800CBE34:
/* 800CBE34 000C7C74 38 63 00 6E */ addi r3, r3, 0x6e
/* 800CBE38 000C7C78 38 80 00 00 */ li r4, 0x0
/* 800CBE3C 000C7C7C 38 A0 00 0C */ li r5, 0xc
/* 800CBE40 000C7C80 4B F3 85 11 */ bl func_80004350
/* 800CBE44 000C7C84 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBE48 000C7C88 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBE4C 000C7C8C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBE50 000C7C90 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBE54 000C7C94 41 82 00 0C */ beq lbl_800CBE60
/* 800CBE58 000C7C98 7C 63 02 14 */ add r3, r3, r0
/* 800CBE5C 000C7C9C 48 00 00 08 */ b lbl_800CBE64
.global lbl_800CBE60
lbl_800CBE60:
/* 800CBE60 000C7CA0 38 60 00 00 */ li r3, 0x0
.global lbl_800CBE64
lbl_800CBE64:
/* 800CBE64 000C7CA4 38 63 00 7A */ addi r3, r3, 0x7a
/* 800CBE68 000C7CA8 38 80 00 00 */ li r4, 0x0
/* 800CBE6C 000C7CAC 38 A0 00 0C */ li r5, 0xc
/* 800CBE70 000C7CB0 4B F3 84 E1 */ bl func_80004350
/* 800CBE74 000C7CB4 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBE78 000C7CB8 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBE7C 000C7CBC 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBE80 000C7CC0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBE84 000C7CC4 41 82 00 0C */ beq lbl_800CBE90
/* 800CBE88 000C7CC8 7C 63 02 14 */ add r3, r3, r0
/* 800CBE8C 000C7CCC 48 00 00 08 */ b lbl_800CBE94
.global lbl_800CBE90
lbl_800CBE90:
/* 800CBE90 000C7CD0 38 60 00 00 */ li r3, 0x0
.global lbl_800CBE94
lbl_800CBE94:
/* 800CBE94 000C7CD4 38 63 00 86 */ addi r3, r3, 0x86
/* 800CBE98 000C7CD8 38 80 00 00 */ li r4, 0x0
/* 800CBE9C 000C7CDC 38 A0 00 0C */ li r5, 0xc
/* 800CBEA0 000C7CE0 4B F3 84 B1 */ bl func_80004350
/* 800CBEA4 000C7CE4 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBEA8 000C7CE8 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBEAC 000C7CEC 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBEB0 000C7CF0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBEB4 000C7CF4 41 82 00 0C */ beq lbl_800CBEC0
/* 800CBEB8 000C7CF8 7C 63 02 14 */ add r3, r3, r0
/* 800CBEBC 000C7CFC 48 00 00 08 */ b lbl_800CBEC4
.global lbl_800CBEC0
lbl_800CBEC0:
/* 800CBEC0 000C7D00 38 60 00 00 */ li r3, 0x0
.global lbl_800CBEC4
lbl_800CBEC4:
/* 800CBEC4 000C7D04 38 63 00 92 */ addi r3, r3, 0x92
/* 800CBEC8 000C7D08 38 80 00 00 */ li r4, 0x0
/* 800CBECC 000C7D0C 38 A0 00 0C */ li r5, 0xc
/* 800CBED0 000C7D10 4B F3 84 81 */ bl func_80004350
/* 800CBED4 000C7D14 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBED8 000C7D18 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBEDC 000C7D1C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBEE0 000C7D20 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBEE4 000C7D24 41 82 00 0C */ beq lbl_800CBEF0
/* 800CBEE8 000C7D28 7C 63 02 14 */ add r3, r3, r0
/* 800CBEEC 000C7D2C 48 00 00 08 */ b lbl_800CBEF4
.global lbl_800CBEF0
lbl_800CBEF0:
/* 800CBEF0 000C7D30 38 60 00 00 */ li r3, 0x0
.global lbl_800CBEF4
lbl_800CBEF4:
/* 800CBEF4 000C7D34 38 63 00 9E */ addi r3, r3, 0x9e
/* 800CBEF8 000C7D38 38 80 00 00 */ li r4, 0x0
/* 800CBEFC 000C7D3C 38 A0 00 0C */ li r5, 0xc
/* 800CBF00 000C7D40 4B F3 84 51 */ bl func_80004350
/* 800CBF04 000C7D44 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBF08 000C7D48 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBF0C 000C7D4C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBF10 000C7D50 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBF14 000C7D54 41 82 00 0C */ beq lbl_800CBF20
/* 800CBF18 000C7D58 7C 63 02 14 */ add r3, r3, r0
/* 800CBF1C 000C7D5C 48 00 00 08 */ b lbl_800CBF24
.global lbl_800CBF20
lbl_800CBF20:
/* 800CBF20 000C7D60 38 60 00 00 */ li r3, 0x0
.global lbl_800CBF24
lbl_800CBF24:
/* 800CBF24 000C7D64 38 63 00 AA */ addi r3, r3, 0xaa
/* 800CBF28 000C7D68 38 80 00 00 */ li r4, 0x0
/* 800CBF2C 000C7D6C 38 A0 00 0C */ li r5, 0xc
/* 800CBF30 000C7D70 4B F3 84 21 */ bl func_80004350
/* 800CBF34 000C7D74 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 800CBF38 000C7D78 38 63 00 18 */ addi r3, r3, 0x18
/* 800CBF3C 000C7D7C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800CBF40 000C7D80 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBF44 000C7D84 41 82 00 0C */ beq lbl_800CBF50
/* 800CBF48 000C7D88 7C 63 02 14 */ add r3, r3, r0
/* 800CBF4C 000C7D8C 48 00 00 08 */ b lbl_800CBF54
.global lbl_800CBF50
lbl_800CBF50:
/* 800CBF50 000C7D90 38 60 00 00 */ li r3, 0x0
.global lbl_800CBF54
lbl_800CBF54:
/* 800CBF54 000C7D94 38 63 00 B6 */ addi r3, r3, 0xb6
/* 800CBF58 000C7D98 38 80 00 00 */ li r4, 0x0
/* 800CBF5C 000C7D9C 38 A0 00 0C */ li r5, 0xc
/* 800CBF60 000C7DA0 4B F3 83 F1 */ bl func_80004350
/* 800CBF64 000C7DA4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800CBF68 000C7DA8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800CBF6C 000C7DAC 7C 08 03 A6 */ mtlr r0
/* 800CBF70 000C7DB0 38 21 00 10 */ addi r1, r1, 0x10
/* 800CBF74 000C7DB4 4E 80 00 20 */ blr
/* 800CBF78 000C7DB8 00 00 00 00 */ .4byte 0x00000000
/* 800CBF7C 000C7DBC 00 00 00 00 */ .4byte 0x00000000
.global lbl_800CBF80
lbl_800CBF80:
/* 800CBF80 000C7DC0 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CBF84 000C7DC4 2C 05 00 00 */ cmpwi r5, 0x0
/* 800CBF88 000C7DC8 38 A3 00 18 */ addi r5, r3, 0x18
/* 800CBF8C 000C7DCC 41 82 00 70 */ beq lbl_800CBFFC
/* 800CBF90 000C7DD0 2C 04 00 00 */ cmpwi r4, 0x0
/* 800CBF94 000C7DD4 41 82 00 2C */ beq lbl_800CBFC0
/* 800CBF98 000C7DD8 80 05 00 08 */ lwz r0, 0x8(r5)
/* 800CBF9C 000C7DDC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBFA0 000C7DE0 41 82 00 0C */ beq lbl_800CBFAC
/* 800CBFA4 000C7DE4 7C 65 02 14 */ add r3, r5, r0
/* 800CBFA8 000C7DE8 48 00 00 08 */ b lbl_800CBFB0
.global lbl_800CBFAC
lbl_800CBFAC:
/* 800CBFAC 000C7DEC 38 60 00 00 */ li r3, 0x0
.global lbl_800CBFB0
lbl_800CBFB0:
/* 800CBFB0 000C7DF0 80 85 00 04 */ lwz r4, 0x4(r5)
/* 800CBFB4 000C7DF4 38 63 00 20 */ addi r3, r3, 0x20
/* 800CBFB8 000C7DF8 38 84 FF E0 */ addi r4, r4, -0x20
/* 800CBFBC 000C7DFC 4B F6 CA 94 */ b lbl_80038A50
.global lbl_800CBFC0
lbl_800CBFC0:
/* 800CBFC0 000C7E00 80 05 00 08 */ lwz r0, 0x8(r5)
/* 800CBFC4 000C7E04 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CBFC8 000C7E08 41 82 00 0C */ beq lbl_800CBFD4
/* 800CBFCC 000C7E0C 7C C5 02 14 */ add r6, r5, r0
/* 800CBFD0 000C7E10 48 00 00 08 */ b lbl_800CBFD8
.global lbl_800CBFD4
lbl_800CBFD4:
/* 800CBFD4 000C7E14 38 C0 00 00 */ li r6, 0x0
.global lbl_800CBFD8
lbl_800CBFD8:
/* 800CBFD8 000C7E18 80 A5 00 04 */ lwz r5, 0x4(r5)
/* 800CBFDC 000C7E1C 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 800CBFE0 000C7E20 38 80 00 40 */ li r4, 0x40
/* 800CBFE4 000C7E24 38 06 00 20 */ addi r0, r6, 0x20
/* 800CBFE8 000C7E28 98 83 80 00 */ stb r4, 0xCC008000@l(r3)
/* 800CBFEC 000C7E2C 38 85 FF E0 */ addi r4, r5, -0x20
/* 800CBFF0 000C7E30 90 03 80 00 */ stw r0, -0x8000(r3)
/* 800CBFF4 000C7E34 90 83 80 00 */ stw r4, -0x8000(r3)
/* 800CBFF8 000C7E38 4E 80 00 20 */ blr
.global lbl_800CBFFC
lbl_800CBFFC:
/* 800CBFFC 000C7E3C 2C 04 00 00 */ cmpwi r4, 0x0
/* 800CC000 000C7E40 41 82 00 24 */ beq lbl_800CC024
/* 800CC004 000C7E44 80 05 00 08 */ lwz r0, 0x8(r5)
/* 800CC008 000C7E48 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CC00C 000C7E4C 41 82 00 0C */ beq lbl_800CC018
/* 800CC010 000C7E50 7C 65 02 14 */ add r3, r5, r0
/* 800CC014 000C7E54 48 00 00 08 */ b lbl_800CC01C
.global lbl_800CC018
lbl_800CC018:
/* 800CC018 000C7E58 38 60 00 00 */ li r3, 0x0
.global lbl_800CC01C
lbl_800CC01C:
/* 800CC01C 000C7E5C 80 85 00 04 */ lwz r4, 0x4(r5)
/* 800CC020 000C7E60 4B F6 CA 30 */ b lbl_80038A50
.global lbl_800CC024
lbl_800CC024:
/* 800CC024 000C7E64 80 05 00 08 */ lwz r0, 0x8(r5)
/* 800CC028 000C7E68 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CC02C 000C7E6C 41 82 00 0C */ beq lbl_800CC038
/* 800CC030 000C7E70 7C 85 02 14 */ add r4, r5, r0
/* 800CC034 000C7E74 48 00 00 08 */ b lbl_800CC03C
.global lbl_800CC038
lbl_800CC038:
/* 800CC038 000C7E78 38 80 00 00 */ li r4, 0x0
.global lbl_800CC03C
lbl_800CC03C:
/* 800CC03C 000C7E7C 80 A5 00 04 */ lwz r5, 0x4(r5)
/* 800CC040 000C7E80 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 800CC044 000C7E84 38 00 00 40 */ li r0, 0x40
/* 800CC048 000C7E88 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
/* 800CC04C 000C7E8C 90 83 80 00 */ stw r4, -0x8000(r3)
/* 800CC050 000C7E90 90 A3 80 00 */ stw r5, -0x8000(r3)
/* 800CC054 000C7E94 4E 80 00 20 */ blr
/* 800CC058 000C7E98 00 00 00 00 */ .4byte 0x00000000
/* 800CC05C 000C7E9C 00 00 00 00 */ .4byte 0x00000000
.global lbl_800CC060
lbl_800CC060:
/* 800CC060 000C7EA0 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CC064 000C7EA4 2C 04 00 00 */ cmpwi r4, 0x0
/* 800CC068 000C7EA8 38 83 00 24 */ addi r4, r3, 0x24
/* 800CC06C 000C7EAC 41 82 00 24 */ beq lbl_800CC090
/* 800CC070 000C7EB0 80 04 00 08 */ lwz r0, 0x8(r4)
/* 800CC074 000C7EB4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CC078 000C7EB8 41 82 00 0C */ beq lbl_800CC084
/* 800CC07C 000C7EBC 7C 64 02 14 */ add r3, r4, r0
/* 800CC080 000C7EC0 48 00 00 08 */ b lbl_800CC088
.global lbl_800CC084
lbl_800CC084:
/* 800CC084 000C7EC4 38 60 00 00 */ li r3, 0x0
.global lbl_800CC088
lbl_800CC088:
/* 800CC088 000C7EC8 80 84 00 04 */ lwz r4, 0x4(r4)
/* 800CC08C 000C7ECC 4B F6 C9 C4 */ b lbl_80038A50
.global lbl_800CC090
lbl_800CC090:
/* 800CC090 000C7ED0 80 04 00 08 */ lwz r0, 0x8(r4)
/* 800CC094 000C7ED4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CC098 000C7ED8 41 82 00 0C */ beq lbl_800CC0A4
/* 800CC09C 000C7EDC 7C A4 02 14 */ add r5, r4, r0
/* 800CC0A0 000C7EE0 48 00 00 08 */ b lbl_800CC0A8
.global lbl_800CC0A4
lbl_800CC0A4:
/* 800CC0A4 000C7EE4 38 A0 00 00 */ li r5, 0x0
.global lbl_800CC0A8
lbl_800CC0A8:
/* 800CC0A8 000C7EE8 80 84 00 04 */ lwz r4, 0x4(r4)
/* 800CC0AC 000C7EEC 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 800CC0B0 000C7EF0 38 00 00 40 */ li r0, 0x40
/* 800CC0B4 000C7EF4 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
/* 800CC0B8 000C7EF8 90 A3 80 00 */ stw r5, -0x8000(r3)
/* 800CC0BC 000C7EFC 90 83 80 00 */ stw r4, -0x8000(r3)
/* 800CC0C0 000C7F00 4E 80 00 20 */ blr
/* 800CC0C4 000C7F04 00 00 00 00 */ .4byte 0x00000000
/* 800CC0C8 000C7F08 00 00 00 00 */ .4byte 0x00000000
/* 800CC0CC 000C7F0C 00 00 00 00 */ .4byte 0x00000000