donut-decomp/asm/libnw4r_g3d/g3d_resnode.s

1101 lines
48 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global PatchChrAnmResult__Q34nw4r3g3d7ResNodeCFPQ34nw4r3g3d12ChrAnmResult
PatchChrAnmResult__Q34nw4r3g3d7ResNodeCFPQ34nw4r3g3d12ChrAnmResult:
/* 800CE7F0 000CA630 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800CE7F4 000CA634 7C 08 02 A6 */ mflr r0
/* 800CE7F8 000CA638 90 01 00 34 */ stw r0, 0x34(r1)
/* 800CE7FC 000CA63C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800CE800 000CA640 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800CE804 000CA644 7C 9E 23 78 */ mr r30, r4
/* 800CE808 000CA648 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800CE80C 000CA64C 83 A3 00 00 */ lwz r29, 0x0(r3)
/* 800CE810 000CA650 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800CE814 000CA654 41 82 01 5C */ beq lbl_800CE970
/* 800CE818 000CA658 83 E4 00 00 */ lwz r31, 0x0(r4)
/* 800CE81C 000CA65C 57 E0 06 31 */ rlwinm. r0, r31, 0, 24, 24
/* 800CE820 000CA660 41 82 00 58 */ beq lbl_800CE878
/* 800CE824 000CA664 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 800CE828 000CA668 54 60 07 39 */ rlwinm. r0, r3, 0, 28, 28
/* 800CE82C 000CA66C 41 82 00 1C */ beq lbl_800CE848
/* 800CE830 000CA670 C0 02 8E E0 */ lfs f0, "@7550"@sda21(r2)
/* 800CE834 000CA674 63 FF 00 18 */ ori r31, r31, 0x18
/* 800CE838 000CA678 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 800CE83C 000CA67C D0 04 00 08 */ stfs f0, 0x8(r4)
/* 800CE840 000CA680 D0 04 00 04 */ stfs f0, 0x4(r4)
/* 800CE844 000CA684 48 00 00 34 */ b lbl_800CE878
.global lbl_800CE848
lbl_800CE848:
/* 800CE848 000CA688 54 60 06 F7 */ rlwinm. r0, r3, 0, 27, 27
/* 800CE84C 000CA68C 57 E3 07 34 */ rlwinm r3, r31, 0, 28, 26
/* 800CE850 000CA690 41 82 00 08 */ beq lbl_800CE858
/* 800CE854 000CA694 63 E3 00 10 */ ori r3, r31, 0x10
.global lbl_800CE858
lbl_800CE858:
/* 800CE858 000CA698 C0 1D 00 20 */ lfs f0, 0x20(r29)
/* 800CE85C 000CA69C 38 00 FF F5 */ li r0, -0xb
/* 800CE860 000CA6A0 D0 04 00 04 */ stfs f0, 0x4(r4)
/* 800CE864 000CA6A4 7C 7F 00 38 */ and r31, r3, r0
/* 800CE868 000CA6A8 C0 1D 00 24 */ lfs f0, 0x24(r29)
/* 800CE86C 000CA6AC D0 04 00 08 */ stfs f0, 0x8(r4)
/* 800CE870 000CA6B0 C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 800CE874 000CA6B4 D0 04 00 0C */ stfs f0, 0xc(r4)
.global lbl_800CE878
lbl_800CE878:
/* 800CE878 000CA6B8 57 E0 05 EF */ rlwinm. r0, r31, 0, 23, 23
/* 800CE87C 000CA6BC 41 82 00 80 */ beq lbl_800CE8FC
/* 800CE880 000CA6C0 80 1D 00 14 */ lwz r0, 0x14(r29)
/* 800CE884 000CA6C4 C0 44 00 48 */ lfs f2, 0x48(r4)
/* 800CE888 000CA6C8 C0 24 00 38 */ lfs f1, 0x38(r4)
/* 800CE88C 000CA6CC 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
/* 800CE890 000CA6D0 C0 04 00 28 */ lfs f0, 0x28(r4)
/* 800CE894 000CA6D4 D0 01 00 08 */ stfs f0, 0x8(r1)
/* 800CE898 000CA6D8 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 800CE89C 000CA6DC D0 41 00 10 */ stfs f2, 0x10(r1)
/* 800CE8A0 000CA6E0 41 82 00 14 */ beq lbl_800CE8B4
/* 800CE8A4 000CA6E4 38 64 00 1C */ addi r3, r4, 0x1c
/* 800CE8A8 000CA6E8 4B F6 1C 39 */ bl PSMTXIdentity
/* 800CE8AC 000CA6EC 63 FF 00 20 */ ori r31, r31, 0x20
/* 800CE8B0 000CA6F0 48 00 00 30 */ b lbl_800CE8E0
.global lbl_800CE8B4
lbl_800CE8B4:
/* 800CE8B4 000CA6F4 C0 7D 00 34 */ lfs f3, 0x34(r29)
/* 800CE8B8 000CA6F8 38 64 00 1C */ addi r3, r4, 0x1c
/* 800CE8BC 000CA6FC C0 02 8E E4 */ lfs f0, "@7551"@sda21(r2)
/* 800CE8C0 000CA700 C0 5D 00 30 */ lfs f2, 0x30(r29)
/* 800CE8C4 000CA704 C0 3D 00 2C */ lfs f1, 0x2c(r29)
/* 800CE8C8 000CA708 EC 60 00 F2 */ fmuls f3, f0, f3
/* 800CE8CC 000CA70C EC 40 00 B2 */ fmuls f2, f0, f2
/* 800CE8D0 000CA710 EC 20 00 72 */ fmuls f1, f0, f1
/* 800CE8D4 000CA714 48 03 06 8D */ bl MTX34RotXYZFIdx__Q24nw4r4mathFPQ34nw4r4math5MTX34fff
/* 800CE8D8 000CA718 38 00 FF D9 */ li r0, -0x27
/* 800CE8DC 000CA71C 7F FF 00 38 */ and r31, r31, r0
.global lbl_800CE8E0
lbl_800CE8E0:
/* 800CE8E0 000CA720 C0 41 00 08 */ lfs f2, 0x8(r1)
/* 800CE8E4 000CA724 67 FF 80 00 */ oris r31, r31, 0x8000
/* 800CE8E8 000CA728 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 800CE8EC 000CA72C C0 01 00 10 */ lfs f0, 0x10(r1)
/* 800CE8F0 000CA730 D0 5E 00 28 */ stfs f2, 0x28(r30)
/* 800CE8F4 000CA734 D0 3E 00 38 */ stfs f1, 0x38(r30)
/* 800CE8F8 000CA738 D0 1E 00 48 */ stfs f0, 0x48(r30)
.global lbl_800CE8FC
lbl_800CE8FC:
/* 800CE8FC 000CA73C 57 E0 05 AD */ rlwinm. r0, r31, 0, 22, 22
/* 800CE900 000CA740 41 82 00 48 */ beq lbl_800CE948
/* 800CE904 000CA744 80 1D 00 14 */ lwz r0, 0x14(r29)
/* 800CE908 000CA748 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
/* 800CE90C 000CA74C 41 82 00 1C */ beq lbl_800CE928
/* 800CE910 000CA750 C0 02 8E E8 */ lfs f0, "@7552"@sda21(r2)
/* 800CE914 000CA754 63 FF 00 40 */ ori r31, r31, 0x40
/* 800CE918 000CA758 D0 1E 00 48 */ stfs f0, 0x48(r30)
/* 800CE91C 000CA75C D0 1E 00 38 */ stfs f0, 0x38(r30)
/* 800CE920 000CA760 D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 800CE924 000CA764 48 00 00 24 */ b lbl_800CE948
.global lbl_800CE928
lbl_800CE928:
/* 800CE928 000CA768 C0 1D 00 38 */ lfs f0, 0x38(r29)
/* 800CE92C 000CA76C 38 00 FF B9 */ li r0, -0x47
/* 800CE930 000CA770 D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 800CE934 000CA774 7F FF 00 38 */ and r31, r31, r0
/* 800CE938 000CA778 C0 1D 00 3C */ lfs f0, 0x3c(r29)
/* 800CE93C 000CA77C D0 1E 00 38 */ stfs f0, 0x38(r30)
/* 800CE940 000CA780 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 800CE944 000CA784 D0 1E 00 48 */ stfs f0, 0x48(r30)
.global lbl_800CE948
lbl_800CE948:
/* 800CE948 000CA788 57 E0 06 B5 */ rlwinm. r0, r31, 0, 26, 26
/* 800CE94C 000CA78C 41 82 00 1C */ beq lbl_800CE968
/* 800CE950 000CA790 57 E0 06 73 */ rlwinm. r0, r31, 0, 25, 25
/* 800CE954 000CA794 41 82 00 14 */ beq lbl_800CE968
/* 800CE958 000CA798 63 FF 00 04 */ ori r31, r31, 0x4
/* 800CE95C 000CA79C 57 E0 07 39 */ rlwinm. r0, r31, 0, 28, 28
/* 800CE960 000CA7A0 41 82 00 08 */ beq lbl_800CE968
/* 800CE964 000CA7A4 63 FF 00 02 */ ori r31, r31, 0x2
.global lbl_800CE968
lbl_800CE968:
/* 800CE968 000CA7A8 57 E0 06 6A */ rlwinm r0, r31, 0, 25, 21
/* 800CE96C 000CA7AC 90 1E 00 00 */ stw r0, 0x0(r30)
.global lbl_800CE970
lbl_800CE970:
/* 800CE970 000CA7B0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800CE974 000CA7B4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800CE978 000CA7B8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800CE97C 000CA7BC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800CE980 000CA7C0 7C 08 03 A6 */ mtlr r0
/* 800CE984 000CA7C4 38 21 00 30 */ addi r1, r1, 0x30
/* 800CE988 000CA7C8 4E 80 00 20 */ blr
/* 800CE98C 000CA7CC 00 00 00 00 */ .4byte 0x00000000
.global CalcChrAnmResult__Q34nw4r3g3d7ResNodeCFPQ34nw4r3g3d12ChrAnmResult
CalcChrAnmResult__Q34nw4r3g3d7ResNodeCFPQ34nw4r3g3d12ChrAnmResult:
/* 800CE990 000CA7D0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800CE994 000CA7D4 7C 08 02 A6 */ mflr r0
/* 800CE998 000CA7D8 90 01 00 34 */ stw r0, 0x34(r1)
/* 800CE99C 000CA7DC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800CE9A0 000CA7E0 83 E3 00 00 */ lwz r31, 0x0(r3)
/* 800CE9A4 000CA7E4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800CE9A8 000CA7E8 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CE9AC 000CA7EC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800CE9B0 000CA7F0 7C 9D 23 78 */ mr r29, r4
/* 800CE9B4 000CA7F4 41 82 01 28 */ beq lbl_800CEADC
/* 800CE9B8 000CA7F8 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800CE9BC 000CA7FC 3B C0 00 00 */ li r30, 0x0
/* 800CE9C0 000CA800 54 60 07 39 */ rlwinm. r0, r3, 0, 28, 28
/* 800CE9C4 000CA804 41 82 00 1C */ beq lbl_800CE9E0
/* 800CE9C8 000CA808 C0 02 8E E0 */ lfs f0, "@7550"@sda21(r2)
/* 800CE9CC 000CA80C 63 DE 00 18 */ ori r30, r30, 0x18
/* 800CE9D0 000CA810 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 800CE9D4 000CA814 D0 04 00 08 */ stfs f0, 0x8(r4)
/* 800CE9D8 000CA818 D0 04 00 04 */ stfs f0, 0x4(r4)
/* 800CE9DC 000CA81C 48 00 00 28 */ b lbl_800CEA04
.global lbl_800CE9E0
lbl_800CE9E0:
/* 800CE9E0 000CA820 54 60 06 F7 */ rlwinm. r0, r3, 0, 27, 27
/* 800CE9E4 000CA824 41 82 00 08 */ beq lbl_800CE9EC
/* 800CE9E8 000CA828 63 DE 00 10 */ ori r30, r30, 0x10
.global lbl_800CE9EC
lbl_800CE9EC:
/* 800CE9EC 000CA82C C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 800CE9F0 000CA830 D0 04 00 04 */ stfs f0, 0x4(r4)
/* 800CE9F4 000CA834 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 800CE9F8 000CA838 D0 04 00 08 */ stfs f0, 0x8(r4)
/* 800CE9FC 000CA83C C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 800CEA00 000CA840 D0 04 00 0C */ stfs f0, 0xc(r4)
.global lbl_800CEA04
lbl_800CEA04:
/* 800CEA04 000CA844 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800CEA08 000CA848 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
/* 800CEA0C 000CA84C 41 82 00 14 */ beq lbl_800CEA20
/* 800CEA10 000CA850 38 64 00 1C */ addi r3, r4, 0x1c
/* 800CEA14 000CA854 4B F6 1A CD */ bl PSMTXIdentity
/* 800CEA18 000CA858 63 DE 00 20 */ ori r30, r30, 0x20
/* 800CEA1C 000CA85C 48 00 00 4C */ b lbl_800CEA68
.global lbl_800CEA20
lbl_800CEA20:
/* 800CEA20 000CA860 C0 3F 00 2C */ lfs f1, 0x2c(r31)
/* 800CEA24 000CA864 38 64 00 1C */ addi r3, r4, 0x1c
/* 800CEA28 000CA868 C0 BF 00 30 */ lfs f5, 0x30(r31)
/* 800CEA2C 000CA86C C0 9F 00 34 */ lfs f4, 0x34(r31)
/* 800CEA30 000CA870 D0 84 00 18 */ stfs f4, 0x18(r4)
/* 800CEA34 000CA874 C0 02 8E E4 */ lfs f0, "@7551"@sda21(r2)
/* 800CEA38 000CA878 D0 24 00 10 */ stfs f1, 0x10(r4)
/* 800CEA3C 000CA87C D0 A4 00 14 */ stfs f5, 0x14(r4)
/* 800CEA40 000CA880 C0 7F 00 34 */ lfs f3, 0x34(r31)
/* 800CEA44 000CA884 C0 5F 00 30 */ lfs f2, 0x30(r31)
/* 800CEA48 000CA888 C0 DF 00 2C */ lfs f6, 0x2c(r31)
/* 800CEA4C 000CA88C EC 60 00 F2 */ fmuls f3, f0, f3
/* 800CEA50 000CA890 D0 21 00 08 */ stfs f1, 0x8(r1)
/* 800CEA54 000CA894 EC 40 00 B2 */ fmuls f2, f0, f2
/* 800CEA58 000CA898 EC 20 01 B2 */ fmuls f1, f0, f6
/* 800CEA5C 000CA89C D0 A1 00 0C */ stfs f5, 0xc(r1)
/* 800CEA60 000CA8A0 D0 81 00 10 */ stfs f4, 0x10(r1)
/* 800CEA64 000CA8A4 48 03 04 FD */ bl MTX34RotXYZFIdx__Q24nw4r4mathFPQ34nw4r4math5MTX34fff
.global lbl_800CEA68
lbl_800CEA68:
/* 800CEA68 000CA8A8 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800CEA6C 000CA8AC 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
/* 800CEA70 000CA8B0 41 82 00 0C */ beq lbl_800CEA7C
/* 800CEA74 000CA8B4 63 DE 00 40 */ ori r30, r30, 0x40
/* 800CEA78 000CA8B8 48 00 00 1C */ b lbl_800CEA94
.global lbl_800CEA7C
lbl_800CEA7C:
/* 800CEA7C 000CA8BC C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 800CEA80 000CA8C0 D0 1D 00 28 */ stfs f0, 0x28(r29)
/* 800CEA84 000CA8C4 C0 1F 00 3C */ lfs f0, 0x3c(r31)
/* 800CEA88 000CA8C8 D0 1D 00 38 */ stfs f0, 0x38(r29)
/* 800CEA8C 000CA8CC C0 1F 00 40 */ lfs f0, 0x40(r31)
/* 800CEA90 000CA8D0 D0 1D 00 48 */ stfs f0, 0x48(r29)
.global lbl_800CEA94
lbl_800CEA94:
/* 800CEA94 000CA8D4 57 C0 06 B5 */ rlwinm. r0, r30, 0, 26, 26
/* 800CEA98 000CA8D8 41 82 00 1C */ beq lbl_800CEAB4
/* 800CEA9C 000CA8DC 57 C0 06 73 */ rlwinm. r0, r30, 0, 25, 25
/* 800CEAA0 000CA8E0 41 82 00 14 */ beq lbl_800CEAB4
/* 800CEAA4 000CA8E4 63 DE 00 04 */ ori r30, r30, 0x4
/* 800CEAA8 000CA8E8 57 C0 07 39 */ rlwinm. r0, r30, 0, 28, 28
/* 800CEAAC 000CA8EC 41 82 00 08 */ beq lbl_800CEAB4
/* 800CEAB0 000CA8F0 63 DE 00 02 */ ori r30, r30, 0x2
.global lbl_800CEAB4
lbl_800CEAB4:
/* 800CEAB4 000CA8F4 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800CEAB8 000CA8F8 67 DE 80 00 */ oris r30, r30, 0x8000
/* 800CEABC 000CA8FC 63 DE 00 01 */ ori r30, r30, 0x1
/* 800CEAC0 000CA900 54 60 06 B5 */ rlwinm. r0, r3, 0, 26, 26
/* 800CEAC4 000CA904 41 82 00 08 */ beq lbl_800CEACC
/* 800CEAC8 000CA908 63 DE 04 00 */ ori r30, r30, 0x400
.global lbl_800CEACC
lbl_800CEACC:
/* 800CEACC 000CA90C 54 60 06 73 */ rlwinm. r0, r3, 0, 25, 25
/* 800CEAD0 000CA910 41 82 00 08 */ beq lbl_800CEAD8
/* 800CEAD4 000CA914 63 DE 08 00 */ ori r30, r30, 0x800
.global lbl_800CEAD8
lbl_800CEAD8:
/* 800CEAD8 000CA918 93 DD 00 00 */ stw r30, 0x0(r29)
.global lbl_800CEADC
lbl_800CEADC:
/* 800CEADC 000CA91C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800CEAE0 000CA920 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800CEAE4 000CA924 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800CEAE8 000CA928 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800CEAEC 000CA92C 7C 08 03 A6 */ mtlr r0
/* 800CEAF0 000CA930 38 21 00 30 */ addi r1, r1, 0x30
/* 800CEAF4 000CA934 4E 80 00 20 */ blr
/* 800CEAF8 000CA938 00 00 00 00 */ .4byte 0x00000000
/* 800CEAFC 000CA93C 00 00 00 00 */ .4byte 0x00000000
.global "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
"OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl":
/* 800CEB00 000CA940 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800CEB04 000CA944 7C 08 02 A6 */ mflr r0
/* 800CEB08 000CA948 90 01 00 34 */ stw r0, 0x34(r1)
/* 800CEB0C 000CA94C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800CEB10 000CA950 7C 9F 23 78 */ mr r31, r4
/* 800CEB14 000CA954 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800CEB18 000CA958 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800CEB1C 000CA95C 7C 7D 1B 78 */ mr r29, r3
/* 800CEB20 000CA960 80 A3 00 00 */ lwz r5, 0x0(r3)
/* 800CEB24 000CA964 2C 05 00 00 */ cmpwi r5, 0x0
/* 800CEB28 000CA968 41 82 01 84 */ beq lbl_800CECAC
/* 800CEB2C 000CA96C 80 05 00 18 */ lwz r0, 0x18(r5)
/* 800CEB30 000CA970 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEB34 000CA974 40 82 01 78 */ bne lbl_800CECAC
/* 800CEB38 000CA978 80 05 00 14 */ lwz r0, 0x14(r5)
/* 800CEB3C 000CA97C 60 00 04 00 */ ori r0, r0, 0x400
/* 800CEB40 000CA980 90 05 00 14 */ stw r0, 0x14(r5)
/* 800CEB44 000CA984 90 85 00 1C */ stw r4, 0x1c(r5)
/* 800CEB48 000CA988 48 00 00 08 */ b lbl_800CEB50
/* 800CEB4C 000CA98C 48 00 01 60 */ b lbl_800CECAC
.global lbl_800CEB50
lbl_800CEB50:
/* 800CEB50 000CA990 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CEB54 000CA994 80 03 00 60 */ lwz r0, 0x60(r3)
/* 800CEB58 000CA998 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEB5C 000CA99C 41 82 00 0C */ beq lbl_800CEB68
/* 800CEB60 000CA9A0 7F C3 02 14 */ add r30, r3, r0
/* 800CEB64 000CA9A4 48 00 00 08 */ b lbl_800CEB6C
.global lbl_800CEB68
lbl_800CEB68:
/* 800CEB68 000CA9A8 3B C0 00 00 */ li r30, 0x0
.global lbl_800CEB6C
lbl_800CEB6C:
/* 800CEB6C 000CA9AC 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CEB70 000CA9B0 41 82 00 88 */ beq lbl_800CEBF8
/* 800CEB74 000CA9B4 41 82 00 84 */ beq lbl_800CEBF8
/* 800CEB78 000CA9B8 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 800CEB7C 000CA9BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEB80 000CA9C0 40 82 00 78 */ bne lbl_800CEBF8
/* 800CEB84 000CA9C4 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 800CEB88 000CA9C8 60 00 04 00 */ ori r0, r0, 0x400
/* 800CEB8C 000CA9CC 90 1E 00 14 */ stw r0, 0x14(r30)
/* 800CEB90 000CA9D0 90 9E 00 1C */ stw r4, 0x1c(r30)
/* 800CEB94 000CA9D4 80 1E 00 60 */ lwz r0, 0x60(r30)
/* 800CEB98 000CA9D8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEB9C 000CA9DC 41 82 00 0C */ beq lbl_800CEBA8
/* 800CEBA0 000CA9E0 7C 1E 02 14 */ add r0, r30, r0
/* 800CEBA4 000CA9E4 48 00 00 08 */ b lbl_800CEBAC
.global lbl_800CEBA8
lbl_800CEBA8:
/* 800CEBA8 000CA9E8 38 00 00 00 */ li r0, 0x0
.global lbl_800CEBAC
lbl_800CEBAC:
/* 800CEBAC 000CA9EC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEBB0 000CA9F0 41 82 00 28 */ beq lbl_800CEBD8
/* 800CEBB4 000CA9F4 90 01 00 10 */ stw r0, 0x10(r1)
/* 800CEBB8 000CA9F8 7F E4 FB 78 */ mr r4, r31
/* 800CEBBC 000CA9FC 38 61 00 10 */ addi r3, r1, 0x10
/* 800CEBC0 000CAA00 4B FF FF 41 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
/* 800CEBC4 000CAA04 48 00 00 14 */ b lbl_800CEBD8
.global lbl_800CEBC8
lbl_800CEBC8:
/* 800CEBC8 000CAA08 93 C1 00 14 */ stw r30, 0x14(r1)
/* 800CEBCC 000CAA0C 7F E4 FB 78 */ mr r4, r31
/* 800CEBD0 000CAA10 38 61 00 14 */ addi r3, r1, 0x14
/* 800CEBD4 000CAA14 4B FF FF 2D */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CEBD8
lbl_800CEBD8:
/* 800CEBD8 000CAA18 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CEBDC 000CAA1C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEBE0 000CAA20 41 82 00 0C */ beq lbl_800CEBEC
/* 800CEBE4 000CAA24 7F DE 02 14 */ add r30, r30, r0
/* 800CEBE8 000CAA28 48 00 00 08 */ b lbl_800CEBF0
.global lbl_800CEBEC
lbl_800CEBEC:
/* 800CEBEC 000CAA2C 3B C0 00 00 */ li r30, 0x0
.global lbl_800CEBF0
lbl_800CEBF0:
/* 800CEBF0 000CAA30 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CEBF4 000CAA34 40 82 FF D4 */ bne lbl_800CEBC8
.global lbl_800CEBF8
lbl_800CEBF8:
/* 800CEBF8 000CAA38 83 BD 00 00 */ lwz r29, 0x0(r29)
/* 800CEBFC 000CAA3C 48 00 00 90 */ b lbl_800CEC8C
.global lbl_800CEC00
lbl_800CEC00:
/* 800CEC00 000CAA40 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800CEC04 000CAA44 41 82 00 88 */ beq lbl_800CEC8C
/* 800CEC08 000CAA48 80 1D 00 18 */ lwz r0, 0x18(r29)
/* 800CEC0C 000CAA4C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEC10 000CAA50 40 82 00 7C */ bne lbl_800CEC8C
/* 800CEC14 000CAA54 80 1D 00 14 */ lwz r0, 0x14(r29)
/* 800CEC18 000CAA58 60 00 04 00 */ ori r0, r0, 0x400
/* 800CEC1C 000CAA5C 90 1D 00 14 */ stw r0, 0x14(r29)
/* 800CEC20 000CAA60 93 FD 00 1C */ stw r31, 0x1c(r29)
/* 800CEC24 000CAA64 80 1D 00 60 */ lwz r0, 0x60(r29)
/* 800CEC28 000CAA68 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEC2C 000CAA6C 41 82 00 0C */ beq lbl_800CEC38
/* 800CEC30 000CAA70 7C 1D 02 14 */ add r0, r29, r0
/* 800CEC34 000CAA74 48 00 00 08 */ b lbl_800CEC3C
.global lbl_800CEC38
lbl_800CEC38:
/* 800CEC38 000CAA78 38 00 00 00 */ li r0, 0x0
.global lbl_800CEC3C
lbl_800CEC3C:
/* 800CEC3C 000CAA7C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEC40 000CAA80 41 82 00 14 */ beq lbl_800CEC54
/* 800CEC44 000CAA84 90 01 00 08 */ stw r0, 0x8(r1)
/* 800CEC48 000CAA88 7F E4 FB 78 */ mr r4, r31
/* 800CEC4C 000CAA8C 38 61 00 08 */ addi r3, r1, 0x8
/* 800CEC50 000CAA90 4B FF FE B1 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CEC54
lbl_800CEC54:
/* 800CEC54 000CAA94 7F BE EB 78 */ mr r30, r29
/* 800CEC58 000CAA98 48 00 00 14 */ b lbl_800CEC6C
.global lbl_800CEC5C
lbl_800CEC5C:
/* 800CEC5C 000CAA9C 93 C1 00 0C */ stw r30, 0xc(r1)
/* 800CEC60 000CAAA0 7F E4 FB 78 */ mr r4, r31
/* 800CEC64 000CAAA4 38 61 00 0C */ addi r3, r1, 0xc
/* 800CEC68 000CAAA8 4B FF FE 99 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CEC6C
lbl_800CEC6C:
/* 800CEC6C 000CAAAC 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CEC70 000CAAB0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEC74 000CAAB4 41 82 00 0C */ beq lbl_800CEC80
/* 800CEC78 000CAAB8 7F DE 02 14 */ add r30, r30, r0
/* 800CEC7C 000CAABC 48 00 00 08 */ b lbl_800CEC84
.global lbl_800CEC80
lbl_800CEC80:
/* 800CEC80 000CAAC0 3B C0 00 00 */ li r30, 0x0
.global lbl_800CEC84
lbl_800CEC84:
/* 800CEC84 000CAAC4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CEC88 000CAAC8 40 82 FF D4 */ bne lbl_800CEC5C
.global lbl_800CEC8C
lbl_800CEC8C:
/* 800CEC8C 000CAACC 80 1D 00 64 */ lwz r0, 0x64(r29)
/* 800CEC90 000CAAD0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEC94 000CAAD4 41 82 00 0C */ beq lbl_800CECA0
/* 800CEC98 000CAAD8 7F BD 02 14 */ add r29, r29, r0
/* 800CEC9C 000CAADC 48 00 00 08 */ b lbl_800CECA4
.global lbl_800CECA0
lbl_800CECA0:
/* 800CECA0 000CAAE0 3B A0 00 00 */ li r29, 0x0
.global lbl_800CECA4
lbl_800CECA4:
/* 800CECA4 000CAAE4 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800CECA8 000CAAE8 40 82 FF 58 */ bne lbl_800CEC00
.global lbl_800CECAC
lbl_800CECAC:
/* 800CECAC 000CAAEC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800CECB0 000CAAF0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800CECB4 000CAAF4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800CECB8 000CAAF8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800CECBC 000CAAFC 7C 08 03 A6 */ mtlr r0
/* 800CECC0 000CAB00 38 21 00 30 */ addi r1, r1, 0x30
/* 800CECC4 000CAB04 4E 80 00 20 */ blr
/* 800CECC8 000CAB08 00 00 00 00 */ .4byte 0x00000000
/* 800CECCC 000CAB0C 00 00 00 00 */ .4byte 0x00000000
.global "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
"OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode":
/* 800CECD0 000CAB10 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800CECD4 000CAB14 7C 08 02 A6 */ mflr r0
/* 800CECD8 000CAB18 90 01 00 34 */ stw r0, 0x34(r1)
/* 800CECDC 000CAB1C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800CECE0 000CAB20 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800CECE4 000CAB24 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800CECE8 000CAB28 7C 7D 1B 78 */ mr r29, r3
/* 800CECEC 000CAB2C 80 A3 00 00 */ lwz r5, 0x0(r3)
/* 800CECF0 000CAB30 2C 05 00 00 */ cmpwi r5, 0x0
/* 800CECF4 000CAB34 41 82 01 80 */ beq lbl_800CEE74
/* 800CECF8 000CAB38 80 05 00 18 */ lwz r0, 0x18(r5)
/* 800CECFC 000CAB3C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CED00 000CAB40 40 82 01 74 */ bne lbl_800CEE74
/* 800CED04 000CAB44 80 85 00 14 */ lwz r4, 0x14(r5)
/* 800CED08 000CAB48 38 00 00 00 */ li r0, 0x0
/* 800CED0C 000CAB4C 54 84 05 A8 */ rlwinm r4, r4, 0, 22, 20
/* 800CED10 000CAB50 90 85 00 14 */ stw r4, 0x14(r5)
/* 800CED14 000CAB54 90 05 00 1C */ stw r0, 0x1c(r5)
/* 800CED18 000CAB58 48 00 00 08 */ b lbl_800CED20
/* 800CED1C 000CAB5C 48 00 01 58 */ b lbl_800CEE74
.global lbl_800CED20
lbl_800CED20:
/* 800CED20 000CAB60 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CED24 000CAB64 80 03 00 60 */ lwz r0, 0x60(r3)
/* 800CED28 000CAB68 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CED2C 000CAB6C 41 82 00 0C */ beq lbl_800CED38
/* 800CED30 000CAB70 7F E3 02 14 */ add r31, r3, r0
/* 800CED34 000CAB74 48 00 00 08 */ b lbl_800CED3C
.global lbl_800CED38
lbl_800CED38:
/* 800CED38 000CAB78 3B E0 00 00 */ li r31, 0x0
.global lbl_800CED3C
lbl_800CED3C:
/* 800CED3C 000CAB7C 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CED40 000CAB80 41 82 00 84 */ beq lbl_800CEDC4
/* 800CED44 000CAB84 41 82 00 80 */ beq lbl_800CEDC4
/* 800CED48 000CAB88 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 800CED4C 000CAB8C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CED50 000CAB90 40 82 00 74 */ bne lbl_800CEDC4
/* 800CED54 000CAB94 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800CED58 000CAB98 38 00 00 00 */ li r0, 0x0
/* 800CED5C 000CAB9C 54 63 05 A8 */ rlwinm r3, r3, 0, 22, 20
/* 800CED60 000CABA0 90 7F 00 14 */ stw r3, 0x14(r31)
/* 800CED64 000CABA4 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 800CED68 000CABA8 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 800CED6C 000CABAC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CED70 000CABB0 41 82 00 0C */ beq lbl_800CED7C
/* 800CED74 000CABB4 7C 1F 02 14 */ add r0, r31, r0
/* 800CED78 000CABB8 48 00 00 08 */ b lbl_800CED80
.global lbl_800CED7C
lbl_800CED7C:
/* 800CED7C 000CABBC 38 00 00 00 */ li r0, 0x0
.global lbl_800CED80
lbl_800CED80:
/* 800CED80 000CABC0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CED84 000CABC4 41 82 00 20 */ beq lbl_800CEDA4
/* 800CED88 000CABC8 90 01 00 10 */ stw r0, 0x10(r1)
/* 800CED8C 000CABCC 38 61 00 10 */ addi r3, r1, 0x10
/* 800CED90 000CABD0 4B FF FF 41 */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
/* 800CED94 000CABD4 48 00 00 10 */ b lbl_800CEDA4
.global lbl_800CED98
lbl_800CED98:
/* 800CED98 000CABD8 93 E1 00 14 */ stw r31, 0x14(r1)
/* 800CED9C 000CABDC 38 61 00 14 */ addi r3, r1, 0x14
/* 800CEDA0 000CABE0 4B FF FF 31 */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
.global lbl_800CEDA4
lbl_800CEDA4:
/* 800CEDA4 000CABE4 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 800CEDA8 000CABE8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEDAC 000CABEC 41 82 00 0C */ beq lbl_800CEDB8
/* 800CEDB0 000CABF0 7F FF 02 14 */ add r31, r31, r0
/* 800CEDB4 000CABF4 48 00 00 08 */ b lbl_800CEDBC
.global lbl_800CEDB8
lbl_800CEDB8:
/* 800CEDB8 000CABF8 3B E0 00 00 */ li r31, 0x0
.global lbl_800CEDBC
lbl_800CEDBC:
/* 800CEDBC 000CABFC 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CEDC0 000CAC00 40 82 FF D8 */ bne lbl_800CED98
.global lbl_800CEDC4
lbl_800CEDC4:
/* 800CEDC4 000CAC04 83 DD 00 00 */ lwz r30, 0x0(r29)
/* 800CEDC8 000CAC08 3B A0 00 00 */ li r29, 0x0
/* 800CEDCC 000CAC0C 48 00 00 88 */ b lbl_800CEE54
.global lbl_800CEDD0
lbl_800CEDD0:
/* 800CEDD0 000CAC10 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CEDD4 000CAC14 41 82 00 80 */ beq lbl_800CEE54
/* 800CEDD8 000CAC18 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 800CEDDC 000CAC1C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEDE0 000CAC20 40 82 00 74 */ bne lbl_800CEE54
/* 800CEDE4 000CAC24 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 800CEDE8 000CAC28 54 00 05 A8 */ rlwinm r0, r0, 0, 22, 20
/* 800CEDEC 000CAC2C 90 1E 00 14 */ stw r0, 0x14(r30)
/* 800CEDF0 000CAC30 93 BE 00 1C */ stw r29, 0x1c(r30)
/* 800CEDF4 000CAC34 80 1E 00 60 */ lwz r0, 0x60(r30)
/* 800CEDF8 000CAC38 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEDFC 000CAC3C 41 82 00 0C */ beq lbl_800CEE08
/* 800CEE00 000CAC40 7C 1E 02 14 */ add r0, r30, r0
/* 800CEE04 000CAC44 48 00 00 08 */ b lbl_800CEE0C
.global lbl_800CEE08
lbl_800CEE08:
/* 800CEE08 000CAC48 38 00 00 00 */ li r0, 0x0
.global lbl_800CEE0C
lbl_800CEE0C:
/* 800CEE0C 000CAC4C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEE10 000CAC50 41 82 00 10 */ beq lbl_800CEE20
/* 800CEE14 000CAC54 90 01 00 08 */ stw r0, 0x8(r1)
/* 800CEE18 000CAC58 38 61 00 08 */ addi r3, r1, 0x8
/* 800CEE1C 000CAC5C 4B FF FE B5 */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
.global lbl_800CEE20
lbl_800CEE20:
/* 800CEE20 000CAC60 7F DF F3 78 */ mr r31, r30
/* 800CEE24 000CAC64 48 00 00 10 */ b lbl_800CEE34
.global lbl_800CEE28
lbl_800CEE28:
/* 800CEE28 000CAC68 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800CEE2C 000CAC6C 38 61 00 0C */ addi r3, r1, 0xc
/* 800CEE30 000CAC70 4B FF FE A1 */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
.global lbl_800CEE34
lbl_800CEE34:
/* 800CEE34 000CAC74 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 800CEE38 000CAC78 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEE3C 000CAC7C 41 82 00 0C */ beq lbl_800CEE48
/* 800CEE40 000CAC80 7F FF 02 14 */ add r31, r31, r0
/* 800CEE44 000CAC84 48 00 00 08 */ b lbl_800CEE4C
.global lbl_800CEE48
lbl_800CEE48:
/* 800CEE48 000CAC88 3B E0 00 00 */ li r31, 0x0
.global lbl_800CEE4C
lbl_800CEE4C:
/* 800CEE4C 000CAC8C 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CEE50 000CAC90 40 82 FF D8 */ bne lbl_800CEE28
.global lbl_800CEE54
lbl_800CEE54:
/* 800CEE54 000CAC94 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CEE58 000CAC98 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEE5C 000CAC9C 41 82 00 0C */ beq lbl_800CEE68
/* 800CEE60 000CACA0 7F DE 02 14 */ add r30, r30, r0
/* 800CEE64 000CACA4 48 00 00 08 */ b lbl_800CEE6C
.global lbl_800CEE68
lbl_800CEE68:
/* 800CEE68 000CACA8 3B C0 00 00 */ li r30, 0x0
.global lbl_800CEE6C
lbl_800CEE6C:
/* 800CEE6C 000CACAC 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CEE70 000CACB0 40 82 FF 60 */ bne lbl_800CEDD0
.global lbl_800CEE74
lbl_800CEE74:
/* 800CEE74 000CACB4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800CEE78 000CACB8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800CEE7C 000CACBC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800CEE80 000CACC0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800CEE84 000CACC4 7C 08 03 A6 */ mtlr r0
/* 800CEE88 000CACC8 38 21 00 30 */ addi r1, r1, 0x30
/* 800CEE8C 000CACCC 4E 80 00 20 */ blr
.global SetBillboardMode__Q34nw4r3g3d7ResNodeFQ44nw4r3g3d18ResNodeDataTypedef9Billboard
SetBillboardMode__Q34nw4r3g3d7ResNodeFQ44nw4r3g3d18ResNodeDataTypedef9Billboard:
/* 800CEE90 000CACD0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800CEE94 000CACD4 7C 08 02 A6 */ mflr r0
/* 800CEE98 000CACD8 90 01 00 54 */ stw r0, 0x54(r1)
/* 800CEE9C 000CACDC 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 800CEEA0 000CACE0 93 C1 00 48 */ stw r30, 0x48(r1)
/* 800CEEA4 000CACE4 93 A1 00 44 */ stw r29, 0x44(r1)
/* 800CEEA8 000CACE8 80 A3 00 00 */ lwz r5, 0x0(r3)
/* 800CEEAC 000CACEC 2C 05 00 00 */ cmpwi r5, 0x0
/* 800CEEB0 000CACF0 41 82 05 6C */ beq lbl_800CF41C
/* 800CEEB4 000CACF4 2C 04 00 00 */ cmpwi r4, 0x0
/* 800CEEB8 000CACF8 90 85 00 18 */ stw r4, 0x18(r5)
/* 800CEEBC 000CACFC 40 82 03 B4 */ bne lbl_800CF270
/* 800CEEC0 000CAD00 80 83 00 00 */ lwz r4, 0x0(r3)
/* 800CEEC4 000CAD04 48 00 00 20 */ b lbl_800CEEE4
.global lbl_800CEEC8
lbl_800CEEC8:
/* 800CEEC8 000CAD08 2C 04 00 00 */ cmpwi r4, 0x0
/* 800CEECC 000CAD0C 41 82 00 0C */ beq lbl_800CEED8
/* 800CEED0 000CAD10 80 04 00 18 */ lwz r0, 0x18(r4)
/* 800CEED4 000CAD14 48 00 00 08 */ b lbl_800CEEDC
.global lbl_800CEED8
lbl_800CEED8:
/* 800CEED8 000CAD18 38 00 00 00 */ li r0, 0x0
.global lbl_800CEEDC
lbl_800CEEDC:
/* 800CEEDC 000CAD1C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEEE0 000CAD20 40 82 00 24 */ bne lbl_800CEF04
.global lbl_800CEEE4
lbl_800CEEE4:
/* 800CEEE4 000CAD24 80 04 00 5C */ lwz r0, 0x5c(r4)
/* 800CEEE8 000CAD28 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEEEC 000CAD2C 41 82 00 0C */ beq lbl_800CEEF8
/* 800CEEF0 000CAD30 7C 84 02 14 */ add r4, r4, r0
/* 800CEEF4 000CAD34 48 00 00 08 */ b lbl_800CEEFC
.global lbl_800CEEF8
lbl_800CEEF8:
/* 800CEEF8 000CAD38 38 80 00 00 */ li r4, 0x0
.global lbl_800CEEFC
lbl_800CEEFC:
/* 800CEEFC 000CAD3C 2C 04 00 00 */ cmpwi r4, 0x0
/* 800CEF00 000CAD40 40 82 FF C8 */ bne lbl_800CEEC8
.global lbl_800CEF04
lbl_800CEF04:
/* 800CEF04 000CAD44 2C 04 00 00 */ cmpwi r4, 0x0
/* 800CEF08 000CAD48 41 82 01 C0 */ beq lbl_800CF0C8
/* 800CEF0C 000CAD4C 80 05 00 14 */ lwz r0, 0x14(r5)
/* 800CEF10 000CAD50 60 00 04 00 */ ori r0, r0, 0x400
/* 800CEF14 000CAD54 90 05 00 14 */ stw r0, 0x14(r5)
/* 800CEF18 000CAD58 41 82 00 0C */ beq lbl_800CEF24
/* 800CEF1C 000CAD5C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 800CEF20 000CAD60 48 00 00 08 */ b lbl_800CEF28
.global lbl_800CEF24
lbl_800CEF24:
/* 800CEF24 000CAD64 38 00 00 00 */ li r0, 0x0
.global lbl_800CEF28
lbl_800CEF28:
/* 800CEF28 000CAD68 90 05 00 1C */ stw r0, 0x1c(r5)
/* 800CEF2C 000CAD6C 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CEF30 000CAD70 80 03 00 60 */ lwz r0, 0x60(r3)
/* 800CEF34 000CAD74 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEF38 000CAD78 41 82 00 0C */ beq lbl_800CEF44
/* 800CEF3C 000CAD7C 7F C3 02 14 */ add r30, r3, r0
/* 800CEF40 000CAD80 48 00 00 08 */ b lbl_800CEF48
.global lbl_800CEF44
lbl_800CEF44:
/* 800CEF44 000CAD84 3B C0 00 00 */ li r30, 0x0
.global lbl_800CEF48
lbl_800CEF48:
/* 800CEF48 000CAD88 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CEF4C 000CAD8C 83 A5 00 1C */ lwz r29, 0x1c(r5)
/* 800CEF50 000CAD90 41 82 04 CC */ beq lbl_800CF41C
/* 800CEF54 000CAD94 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 800CEF58 000CAD98 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEF5C 000CAD9C 40 82 04 C0 */ bne lbl_800CF41C
/* 800CEF60 000CADA0 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 800CEF64 000CADA4 60 00 04 00 */ ori r0, r0, 0x400
/* 800CEF68 000CADA8 90 1E 00 14 */ stw r0, 0x14(r30)
/* 800CEF6C 000CADAC 93 BE 00 1C */ stw r29, 0x1c(r30)
/* 800CEF70 000CADB0 80 1E 00 60 */ lwz r0, 0x60(r30)
/* 800CEF74 000CADB4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEF78 000CADB8 41 82 00 0C */ beq lbl_800CEF84
/* 800CEF7C 000CADBC 7F FE 02 14 */ add r31, r30, r0
/* 800CEF80 000CADC0 48 00 00 08 */ b lbl_800CEF88
.global lbl_800CEF84
lbl_800CEF84:
/* 800CEF84 000CADC4 3B E0 00 00 */ li r31, 0x0
.global lbl_800CEF88
lbl_800CEF88:
/* 800CEF88 000CADC8 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CEF8C 000CADCC 41 82 01 18 */ beq lbl_800CF0A4
/* 800CEF90 000CADD0 41 82 01 14 */ beq lbl_800CF0A4
/* 800CEF94 000CADD4 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 800CEF98 000CADD8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEF9C 000CADDC 40 82 01 08 */ bne lbl_800CF0A4
/* 800CEFA0 000CADE0 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800CEFA4 000CADE4 60 00 04 00 */ ori r0, r0, 0x400
/* 800CEFA8 000CADE8 90 1F 00 14 */ stw r0, 0x14(r31)
/* 800CEFAC 000CADEC 93 BF 00 1C */ stw r29, 0x1c(r31)
/* 800CEFB0 000CADF0 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 800CEFB4 000CADF4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEFB8 000CADF8 41 82 00 0C */ beq lbl_800CEFC4
/* 800CEFBC 000CADFC 7C 1F 02 14 */ add r0, r31, r0
/* 800CEFC0 000CAE00 48 00 00 08 */ b lbl_800CEFC8
.global lbl_800CEFC4
lbl_800CEFC4:
/* 800CEFC4 000CAE04 38 00 00 00 */ li r0, 0x0
.global lbl_800CEFC8
lbl_800CEFC8:
/* 800CEFC8 000CAE08 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEFCC 000CAE0C 41 82 00 28 */ beq lbl_800CEFF4
/* 800CEFD0 000CAE10 90 01 00 2C */ stw r0, 0x2c(r1)
/* 800CEFD4 000CAE14 7F A4 EB 78 */ mr r4, r29
/* 800CEFD8 000CAE18 38 61 00 2C */ addi r3, r1, 0x2c
/* 800CEFDC 000CAE1C 4B FF FB 25 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
/* 800CEFE0 000CAE20 48 00 00 14 */ b lbl_800CEFF4
.global lbl_800CEFE4
lbl_800CEFE4:
/* 800CEFE4 000CAE24 93 E1 00 28 */ stw r31, 0x28(r1)
/* 800CEFE8 000CAE28 7F A4 EB 78 */ mr r4, r29
/* 800CEFEC 000CAE2C 38 61 00 28 */ addi r3, r1, 0x28
/* 800CEFF0 000CAE30 4B FF FB 11 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CEFF4
lbl_800CEFF4:
/* 800CEFF4 000CAE34 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 800CEFF8 000CAE38 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CEFFC 000CAE3C 41 82 00 0C */ beq lbl_800CF008
/* 800CF000 000CAE40 7F FF 02 14 */ add r31, r31, r0
/* 800CF004 000CAE44 48 00 00 08 */ b lbl_800CF00C
.global lbl_800CF008
lbl_800CF008:
/* 800CF008 000CAE48 3B E0 00 00 */ li r31, 0x0
.global lbl_800CF00C
lbl_800CF00C:
/* 800CF00C 000CAE4C 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF010 000CAE50 40 82 FF D4 */ bne lbl_800CEFE4
/* 800CF014 000CAE54 48 00 00 90 */ b lbl_800CF0A4
.global lbl_800CF018
lbl_800CF018:
/* 800CF018 000CAE58 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF01C 000CAE5C 41 82 00 88 */ beq lbl_800CF0A4
/* 800CF020 000CAE60 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 800CF024 000CAE64 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF028 000CAE68 40 82 00 7C */ bne lbl_800CF0A4
/* 800CF02C 000CAE6C 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 800CF030 000CAE70 60 00 04 00 */ ori r0, r0, 0x400
/* 800CF034 000CAE74 90 1E 00 14 */ stw r0, 0x14(r30)
/* 800CF038 000CAE78 93 BE 00 1C */ stw r29, 0x1c(r30)
/* 800CF03C 000CAE7C 80 1E 00 60 */ lwz r0, 0x60(r30)
/* 800CF040 000CAE80 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF044 000CAE84 41 82 00 0C */ beq lbl_800CF050
/* 800CF048 000CAE88 7C 1E 02 14 */ add r0, r30, r0
/* 800CF04C 000CAE8C 48 00 00 08 */ b lbl_800CF054
.global lbl_800CF050
lbl_800CF050:
/* 800CF050 000CAE90 38 00 00 00 */ li r0, 0x0
.global lbl_800CF054
lbl_800CF054:
/* 800CF054 000CAE94 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF058 000CAE98 41 82 00 14 */ beq lbl_800CF06C
/* 800CF05C 000CAE9C 90 01 00 34 */ stw r0, 0x34(r1)
/* 800CF060 000CAEA0 7F A4 EB 78 */ mr r4, r29
/* 800CF064 000CAEA4 38 61 00 34 */ addi r3, r1, 0x34
/* 800CF068 000CAEA8 4B FF FA 99 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CF06C
lbl_800CF06C:
/* 800CF06C 000CAEAC 7F DF F3 78 */ mr r31, r30
/* 800CF070 000CAEB0 48 00 00 14 */ b lbl_800CF084
.global lbl_800CF074
lbl_800CF074:
/* 800CF074 000CAEB4 93 E1 00 30 */ stw r31, 0x30(r1)
/* 800CF078 000CAEB8 7F A4 EB 78 */ mr r4, r29
/* 800CF07C 000CAEBC 38 61 00 30 */ addi r3, r1, 0x30
/* 800CF080 000CAEC0 4B FF FA 81 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CF084
lbl_800CF084:
/* 800CF084 000CAEC4 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 800CF088 000CAEC8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF08C 000CAECC 41 82 00 0C */ beq lbl_800CF098
/* 800CF090 000CAED0 7F FF 02 14 */ add r31, r31, r0
/* 800CF094 000CAED4 48 00 00 08 */ b lbl_800CF09C
.global lbl_800CF098
lbl_800CF098:
/* 800CF098 000CAED8 3B E0 00 00 */ li r31, 0x0
.global lbl_800CF09C
lbl_800CF09C:
/* 800CF09C 000CAEDC 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF0A0 000CAEE0 40 82 FF D4 */ bne lbl_800CF074
.global lbl_800CF0A4
lbl_800CF0A4:
/* 800CF0A4 000CAEE4 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CF0A8 000CAEE8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF0AC 000CAEEC 41 82 00 0C */ beq lbl_800CF0B8
/* 800CF0B0 000CAEF0 7F DE 02 14 */ add r30, r30, r0
/* 800CF0B4 000CAEF4 48 00 00 08 */ b lbl_800CF0BC
.global lbl_800CF0B8
lbl_800CF0B8:
/* 800CF0B8 000CAEF8 3B C0 00 00 */ li r30, 0x0
.global lbl_800CF0BC
lbl_800CF0BC:
/* 800CF0BC 000CAEFC 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF0C0 000CAF00 40 82 FF 58 */ bne lbl_800CF018
/* 800CF0C4 000CAF04 48 00 03 58 */ b lbl_800CF41C
.global lbl_800CF0C8
lbl_800CF0C8:
/* 800CF0C8 000CAF08 80 85 00 14 */ lwz r4, 0x14(r5)
/* 800CF0CC 000CAF0C 38 00 00 00 */ li r0, 0x0
/* 800CF0D0 000CAF10 54 84 05 A8 */ rlwinm r4, r4, 0, 22, 20
/* 800CF0D4 000CAF14 90 85 00 14 */ stw r4, 0x14(r5)
/* 800CF0D8 000CAF18 90 05 00 1C */ stw r0, 0x1c(r5)
/* 800CF0DC 000CAF1C 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CF0E0 000CAF20 80 03 00 60 */ lwz r0, 0x60(r3)
/* 800CF0E4 000CAF24 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF0E8 000CAF28 41 82 00 0C */ beq lbl_800CF0F4
/* 800CF0EC 000CAF2C 7F E3 02 14 */ add r31, r3, r0
/* 800CF0F0 000CAF30 48 00 00 08 */ b lbl_800CF0F8
.global lbl_800CF0F4
lbl_800CF0F4:
/* 800CF0F4 000CAF34 3B E0 00 00 */ li r31, 0x0
.global lbl_800CF0F8
lbl_800CF0F8:
/* 800CF0F8 000CAF38 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF0FC 000CAF3C 41 82 03 20 */ beq lbl_800CF41C
/* 800CF100 000CAF40 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 800CF104 000CAF44 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF108 000CAF48 40 82 03 14 */ bne lbl_800CF41C
/* 800CF10C 000CAF4C 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800CF110 000CAF50 38 00 00 00 */ li r0, 0x0
/* 800CF114 000CAF54 54 63 05 A8 */ rlwinm r3, r3, 0, 22, 20
/* 800CF118 000CAF58 90 7F 00 14 */ stw r3, 0x14(r31)
/* 800CF11C 000CAF5C 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 800CF120 000CAF60 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 800CF124 000CAF64 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF128 000CAF68 41 82 00 0C */ beq lbl_800CF134
/* 800CF12C 000CAF6C 7F DF 02 14 */ add r30, r31, r0
/* 800CF130 000CAF70 48 00 00 08 */ b lbl_800CF138
.global lbl_800CF134
lbl_800CF134:
/* 800CF134 000CAF74 3B C0 00 00 */ li r30, 0x0
.global lbl_800CF138
lbl_800CF138:
/* 800CF138 000CAF78 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF13C 000CAF7C 41 82 00 84 */ beq lbl_800CF1C0
/* 800CF140 000CAF80 41 82 00 80 */ beq lbl_800CF1C0
/* 800CF144 000CAF84 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 800CF148 000CAF88 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF14C 000CAF8C 40 82 00 74 */ bne lbl_800CF1C0
/* 800CF150 000CAF90 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 800CF154 000CAF94 38 00 00 00 */ li r0, 0x0
/* 800CF158 000CAF98 54 63 05 A8 */ rlwinm r3, r3, 0, 22, 20
/* 800CF15C 000CAF9C 90 7E 00 14 */ stw r3, 0x14(r30)
/* 800CF160 000CAFA0 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 800CF164 000CAFA4 80 1E 00 60 */ lwz r0, 0x60(r30)
/* 800CF168 000CAFA8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF16C 000CAFAC 41 82 00 0C */ beq lbl_800CF178
/* 800CF170 000CAFB0 7C 1E 02 14 */ add r0, r30, r0
/* 800CF174 000CAFB4 48 00 00 08 */ b lbl_800CF17C
.global lbl_800CF178
lbl_800CF178:
/* 800CF178 000CAFB8 38 00 00 00 */ li r0, 0x0
.global lbl_800CF17C
lbl_800CF17C:
/* 800CF17C 000CAFBC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF180 000CAFC0 41 82 00 20 */ beq lbl_800CF1A0
/* 800CF184 000CAFC4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800CF188 000CAFC8 38 61 00 1C */ addi r3, r1, 0x1c
/* 800CF18C 000CAFCC 4B FF FB 45 */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
/* 800CF190 000CAFD0 48 00 00 10 */ b lbl_800CF1A0
.global lbl_800CF194
lbl_800CF194:
/* 800CF194 000CAFD4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800CF198 000CAFD8 38 61 00 18 */ addi r3, r1, 0x18
/* 800CF19C 000CAFDC 4B FF FB 35 */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
.global lbl_800CF1A0
lbl_800CF1A0:
/* 800CF1A0 000CAFE0 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CF1A4 000CAFE4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF1A8 000CAFE8 41 82 00 0C */ beq lbl_800CF1B4
/* 800CF1AC 000CAFEC 7F DE 02 14 */ add r30, r30, r0
/* 800CF1B0 000CAFF0 48 00 00 08 */ b lbl_800CF1B8
.global lbl_800CF1B4
lbl_800CF1B4:
/* 800CF1B4 000CAFF4 3B C0 00 00 */ li r30, 0x0
.global lbl_800CF1B8
lbl_800CF1B8:
/* 800CF1B8 000CAFF8 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF1BC 000CAFFC 40 82 FF D8 */ bne lbl_800CF194
.global lbl_800CF1C0
lbl_800CF1C0:
/* 800CF1C0 000CB000 3B A0 00 00 */ li r29, 0x0
/* 800CF1C4 000CB004 48 00 00 88 */ b lbl_800CF24C
.global lbl_800CF1C8
lbl_800CF1C8:
/* 800CF1C8 000CB008 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF1CC 000CB00C 41 82 00 80 */ beq lbl_800CF24C
/* 800CF1D0 000CB010 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 800CF1D4 000CB014 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF1D8 000CB018 40 82 00 74 */ bne lbl_800CF24C
/* 800CF1DC 000CB01C 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800CF1E0 000CB020 54 00 05 A8 */ rlwinm r0, r0, 0, 22, 20
/* 800CF1E4 000CB024 90 1F 00 14 */ stw r0, 0x14(r31)
/* 800CF1E8 000CB028 93 BF 00 1C */ stw r29, 0x1c(r31)
/* 800CF1EC 000CB02C 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 800CF1F0 000CB030 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF1F4 000CB034 41 82 00 0C */ beq lbl_800CF200
/* 800CF1F8 000CB038 7C 1F 02 14 */ add r0, r31, r0
/* 800CF1FC 000CB03C 48 00 00 08 */ b lbl_800CF204
.global lbl_800CF200
lbl_800CF200:
/* 800CF200 000CB040 38 00 00 00 */ li r0, 0x0
.global lbl_800CF204
lbl_800CF204:
/* 800CF204 000CB044 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF208 000CB048 41 82 00 10 */ beq lbl_800CF218
/* 800CF20C 000CB04C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800CF210 000CB050 38 61 00 24 */ addi r3, r1, 0x24
/* 800CF214 000CB054 4B FF FA BD */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
.global lbl_800CF218
lbl_800CF218:
/* 800CF218 000CB058 7F FE FB 78 */ mr r30, r31
/* 800CF21C 000CB05C 48 00 00 10 */ b lbl_800CF22C
.global lbl_800CF220
lbl_800CF220:
/* 800CF220 000CB060 93 C1 00 20 */ stw r30, 0x20(r1)
/* 800CF224 000CB064 38 61 00 20 */ addi r3, r1, 0x20
/* 800CF228 000CB068 4B FF FA A9 */ bl "OffRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNode"
.global lbl_800CF22C
lbl_800CF22C:
/* 800CF22C 000CB06C 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CF230 000CB070 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF234 000CB074 41 82 00 0C */ beq lbl_800CF240
/* 800CF238 000CB078 7F DE 02 14 */ add r30, r30, r0
/* 800CF23C 000CB07C 48 00 00 08 */ b lbl_800CF244
.global lbl_800CF240
lbl_800CF240:
/* 800CF240 000CB080 3B C0 00 00 */ li r30, 0x0
.global lbl_800CF244
lbl_800CF244:
/* 800CF244 000CB084 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF248 000CB088 40 82 FF D8 */ bne lbl_800CF220
.global lbl_800CF24C
lbl_800CF24C:
/* 800CF24C 000CB08C 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 800CF250 000CB090 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF254 000CB094 41 82 00 0C */ beq lbl_800CF260
/* 800CF258 000CB098 7F FF 02 14 */ add r31, r31, r0
/* 800CF25C 000CB09C 48 00 00 08 */ b lbl_800CF264
.global lbl_800CF260
lbl_800CF260:
/* 800CF260 000CB0A0 3B E0 00 00 */ li r31, 0x0
.global lbl_800CF264
lbl_800CF264:
/* 800CF264 000CB0A4 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF268 000CB0A8 40 82 FF 60 */ bne lbl_800CF1C8
/* 800CF26C 000CB0AC 48 00 01 B0 */ b lbl_800CF41C
.global lbl_800CF270
lbl_800CF270:
/* 800CF270 000CB0B0 80 85 00 14 */ lwz r4, 0x14(r5)
/* 800CF274 000CB0B4 38 00 00 00 */ li r0, 0x0
/* 800CF278 000CB0B8 54 84 05 A8 */ rlwinm r4, r4, 0, 22, 20
/* 800CF27C 000CB0BC 90 85 00 14 */ stw r4, 0x14(r5)
/* 800CF280 000CB0C0 90 05 00 1C */ stw r0, 0x1c(r5)
/* 800CF284 000CB0C4 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800CF288 000CB0C8 80 03 00 60 */ lwz r0, 0x60(r3)
/* 800CF28C 000CB0CC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF290 000CB0D0 41 82 00 0C */ beq lbl_800CF29C
/* 800CF294 000CB0D4 7F E3 02 14 */ add r31, r3, r0
/* 800CF298 000CB0D8 48 00 00 08 */ b lbl_800CF2A0
.global lbl_800CF29C
lbl_800CF29C:
/* 800CF29C 000CB0DC 3B E0 00 00 */ li r31, 0x0
.global lbl_800CF2A0
lbl_800CF2A0:
/* 800CF2A0 000CB0E0 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF2A4 000CB0E4 83 A5 00 0C */ lwz r29, 0xc(r5)
/* 800CF2A8 000CB0E8 41 82 01 74 */ beq lbl_800CF41C
/* 800CF2AC 000CB0EC 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 800CF2B0 000CB0F0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF2B4 000CB0F4 40 82 01 68 */ bne lbl_800CF41C
/* 800CF2B8 000CB0F8 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800CF2BC 000CB0FC 60 00 04 00 */ ori r0, r0, 0x400
/* 800CF2C0 000CB100 90 1F 00 14 */ stw r0, 0x14(r31)
/* 800CF2C4 000CB104 93 BF 00 1C */ stw r29, 0x1c(r31)
/* 800CF2C8 000CB108 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 800CF2CC 000CB10C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF2D0 000CB110 41 82 00 0C */ beq lbl_800CF2DC
/* 800CF2D4 000CB114 7F DF 02 14 */ add r30, r31, r0
/* 800CF2D8 000CB118 48 00 00 08 */ b lbl_800CF2E0
.global lbl_800CF2DC
lbl_800CF2DC:
/* 800CF2DC 000CB11C 3B C0 00 00 */ li r30, 0x0
.global lbl_800CF2E0
lbl_800CF2E0:
/* 800CF2E0 000CB120 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF2E4 000CB124 41 82 01 18 */ beq lbl_800CF3FC
/* 800CF2E8 000CB128 41 82 01 14 */ beq lbl_800CF3FC
/* 800CF2EC 000CB12C 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 800CF2F0 000CB130 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF2F4 000CB134 40 82 01 08 */ bne lbl_800CF3FC
/* 800CF2F8 000CB138 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 800CF2FC 000CB13C 60 00 04 00 */ ori r0, r0, 0x400
/* 800CF300 000CB140 90 1E 00 14 */ stw r0, 0x14(r30)
/* 800CF304 000CB144 93 BE 00 1C */ stw r29, 0x1c(r30)
/* 800CF308 000CB148 80 1E 00 60 */ lwz r0, 0x60(r30)
/* 800CF30C 000CB14C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF310 000CB150 41 82 00 0C */ beq lbl_800CF31C
/* 800CF314 000CB154 7C 1E 02 14 */ add r0, r30, r0
/* 800CF318 000CB158 48 00 00 08 */ b lbl_800CF320
.global lbl_800CF31C
lbl_800CF31C:
/* 800CF31C 000CB15C 38 00 00 00 */ li r0, 0x0
.global lbl_800CF320
lbl_800CF320:
/* 800CF320 000CB160 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF324 000CB164 41 82 00 28 */ beq lbl_800CF34C
/* 800CF328 000CB168 90 01 00 0C */ stw r0, 0xc(r1)
/* 800CF32C 000CB16C 7F A4 EB 78 */ mr r4, r29
/* 800CF330 000CB170 38 61 00 0C */ addi r3, r1, 0xc
/* 800CF334 000CB174 4B FF F7 CD */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
/* 800CF338 000CB178 48 00 00 14 */ b lbl_800CF34C
.global lbl_800CF33C
lbl_800CF33C:
/* 800CF33C 000CB17C 93 C1 00 08 */ stw r30, 0x8(r1)
/* 800CF340 000CB180 7F A4 EB 78 */ mr r4, r29
/* 800CF344 000CB184 38 61 00 08 */ addi r3, r1, 0x8
/* 800CF348 000CB188 4B FF F7 B9 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CF34C
lbl_800CF34C:
/* 800CF34C 000CB18C 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CF350 000CB190 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF354 000CB194 41 82 00 0C */ beq lbl_800CF360
/* 800CF358 000CB198 7F DE 02 14 */ add r30, r30, r0
/* 800CF35C 000CB19C 48 00 00 08 */ b lbl_800CF364
.global lbl_800CF360
lbl_800CF360:
/* 800CF360 000CB1A0 3B C0 00 00 */ li r30, 0x0
.global lbl_800CF364
lbl_800CF364:
/* 800CF364 000CB1A4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF368 000CB1A8 40 82 FF D4 */ bne lbl_800CF33C
/* 800CF36C 000CB1AC 48 00 00 90 */ b lbl_800CF3FC
.global lbl_800CF370
lbl_800CF370:
/* 800CF370 000CB1B0 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF374 000CB1B4 41 82 00 88 */ beq lbl_800CF3FC
/* 800CF378 000CB1B8 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 800CF37C 000CB1BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF380 000CB1C0 40 82 00 7C */ bne lbl_800CF3FC
/* 800CF384 000CB1C4 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800CF388 000CB1C8 60 00 04 00 */ ori r0, r0, 0x400
/* 800CF38C 000CB1CC 90 1F 00 14 */ stw r0, 0x14(r31)
/* 800CF390 000CB1D0 93 BF 00 1C */ stw r29, 0x1c(r31)
/* 800CF394 000CB1D4 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 800CF398 000CB1D8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF39C 000CB1DC 41 82 00 0C */ beq lbl_800CF3A8
/* 800CF3A0 000CB1E0 7C 1F 02 14 */ add r0, r31, r0
/* 800CF3A4 000CB1E4 48 00 00 08 */ b lbl_800CF3AC
.global lbl_800CF3A8
lbl_800CF3A8:
/* 800CF3A8 000CB1E8 38 00 00 00 */ li r0, 0x0
.global lbl_800CF3AC
lbl_800CF3AC:
/* 800CF3AC 000CB1EC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF3B0 000CB1F0 41 82 00 14 */ beq lbl_800CF3C4
/* 800CF3B4 000CB1F4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800CF3B8 000CB1F8 7F A4 EB 78 */ mr r4, r29
/* 800CF3BC 000CB1FC 38 61 00 14 */ addi r3, r1, 0x14
/* 800CF3C0 000CB200 4B FF F7 41 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CF3C4
lbl_800CF3C4:
/* 800CF3C4 000CB204 7F FE FB 78 */ mr r30, r31
/* 800CF3C8 000CB208 48 00 00 14 */ b lbl_800CF3DC
.global lbl_800CF3CC
lbl_800CF3CC:
/* 800CF3CC 000CB20C 93 C1 00 10 */ stw r30, 0x10(r1)
/* 800CF3D0 000CB210 7F A4 EB 78 */ mr r4, r29
/* 800CF3D4 000CB214 38 61 00 10 */ addi r3, r1, 0x10
/* 800CF3D8 000CB218 4B FF F7 29 */ bl "OnRefBBRecursively__Q34nw4r3g3d25@unnamed@g3d_resnode_cpp@FQ34nw4r3g3d7ResNodeUl"
.global lbl_800CF3DC
lbl_800CF3DC:
/* 800CF3DC 000CB21C 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800CF3E0 000CB220 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF3E4 000CB224 41 82 00 0C */ beq lbl_800CF3F0
/* 800CF3E8 000CB228 7F DE 02 14 */ add r30, r30, r0
/* 800CF3EC 000CB22C 48 00 00 08 */ b lbl_800CF3F4
.global lbl_800CF3F0
lbl_800CF3F0:
/* 800CF3F0 000CB230 3B C0 00 00 */ li r30, 0x0
.global lbl_800CF3F4
lbl_800CF3F4:
/* 800CF3F4 000CB234 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800CF3F8 000CB238 40 82 FF D4 */ bne lbl_800CF3CC
.global lbl_800CF3FC
lbl_800CF3FC:
/* 800CF3FC 000CB23C 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 800CF400 000CB240 2C 00 00 00 */ cmpwi r0, 0x0
/* 800CF404 000CB244 41 82 00 0C */ beq lbl_800CF410
/* 800CF408 000CB248 7F FF 02 14 */ add r31, r31, r0
/* 800CF40C 000CB24C 48 00 00 08 */ b lbl_800CF414
.global lbl_800CF410
lbl_800CF410:
/* 800CF410 000CB250 3B E0 00 00 */ li r31, 0x0
.global lbl_800CF414
lbl_800CF414:
/* 800CF414 000CB254 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800CF418 000CB258 40 82 FF 58 */ bne lbl_800CF370
.global lbl_800CF41C
lbl_800CF41C:
/* 800CF41C 000CB25C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800CF420 000CB260 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 800CF424 000CB264 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 800CF428 000CB268 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 800CF42C 000CB26C 7C 08 03 A6 */ mtlr r0
/* 800CF430 000CB270 38 21 00 50 */ addi r1, r1, 0x50
/* 800CF434 000CB274 4E 80 00 20 */ blr
/* 800CF438 000CB278 00 00 00 00 */ .4byte 0x00000000
/* 800CF43C 000CB27C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
.global "@7550"
"@7550":
.4byte 0x3F800000
.global "@7551"
"@7551":
.4byte 0x3F360B61
.global "@7552"
"@7552":
.4byte 0
.4byte 0