donut-decomp/asm/libnw4r_g3d/g3d_resanmscn.s

931 lines
42 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global HasResAnmAmbLight__Q34nw4r3g3d9ResAnmScnCFv
HasResAnmAmbLight__Q34nw4r3g3d9ResAnmScnCFv:
/* 800D29E0 000CE820 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800D29E4 000CE824 7C 08 02 A6 */ mflr r0
/* 800D29E8 000CE828 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D29EC 000CE82C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D29F0 000CE830 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D29F4 000CE834 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D29F8 000CE838 41 82 00 0C */ beq lbl_800D2A04
/* 800D29FC 000CE83C 7C 03 02 14 */ add r0, r3, r0
/* 800D2A00 000CE840 48 00 00 08 */ b lbl_800D2A08
.global lbl_800D2A04
lbl_800D2A04:
/* 800D2A04 000CE844 38 00 00 00 */ li r0, 0x0
.global lbl_800D2A08
lbl_800D2A08:
/* 800D2A08 000CE848 3C 60 80 44 */ lis r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2A0C 000CE84C 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D2A10 000CE850 38 63 06 80 */ addi r3, r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2A14 000CE854 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2A18 000CE858 90 61 00 08 */ stw r3, 0x8(r1)
/* 800D2A1C 000CE85C 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2A20 000CE860 4B FF 64 71 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2A24 000CE864 7C 03 00 D0 */ neg r0, r3
/* 800D2A28 000CE868 7C 00 1B 78 */ or r0, r0, r3
/* 800D2A2C 000CE86C 54 03 0F FE */ srwi r3, r0, 31
/* 800D2A30 000CE870 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800D2A34 000CE874 7C 08 03 A6 */ mtlr r0
/* 800D2A38 000CE878 38 21 00 10 */ addi r1, r1, 0x10
/* 800D2A3C 000CE87C 4E 80 00 20 */ blr
.global HasResAnmLight__Q34nw4r3g3d9ResAnmScnCFv
HasResAnmLight__Q34nw4r3g3d9ResAnmScnCFv:
/* 800D2A40 000CE880 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800D2A44 000CE884 7C 08 02 A6 */ mflr r0
/* 800D2A48 000CE888 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2A4C 000CE88C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D2A50 000CE890 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2A54 000CE894 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2A58 000CE898 41 82 00 0C */ beq lbl_800D2A64
/* 800D2A5C 000CE89C 7C 03 02 14 */ add r0, r3, r0
/* 800D2A60 000CE8A0 48 00 00 08 */ b lbl_800D2A68
.global lbl_800D2A64
lbl_800D2A64:
/* 800D2A64 000CE8A4 38 00 00 00 */ li r0, 0x0
.global lbl_800D2A68
lbl_800D2A68:
/* 800D2A68 000CE8A8 3C 60 80 44 */ lis r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2A6C 000CE8AC 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D2A70 000CE8B0 38 63 06 A0 */ addi r3, r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2A74 000CE8B4 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2A78 000CE8B8 90 61 00 08 */ stw r3, 0x8(r1)
/* 800D2A7C 000CE8BC 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2A80 000CE8C0 4B FF 64 11 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2A84 000CE8C4 7C 03 00 D0 */ neg r0, r3
/* 800D2A88 000CE8C8 7C 00 1B 78 */ or r0, r0, r3
/* 800D2A8C 000CE8CC 54 03 0F FE */ srwi r3, r0, 31
/* 800D2A90 000CE8D0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800D2A94 000CE8D4 7C 08 03 A6 */ mtlr r0
/* 800D2A98 000CE8D8 38 21 00 10 */ addi r1, r1, 0x10
/* 800D2A9C 000CE8DC 4E 80 00 20 */ blr
.global GetResLightSetNumEntries__Q34nw4r3g3d9ResAnmScnCFv
GetResLightSetNumEntries__Q34nw4r3g3d9ResAnmScnCFv:
/* 800D2AA0 000CE8E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800D2AA4 000CE8E4 7C 08 02 A6 */ mflr r0
/* 800D2AA8 000CE8E8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2AAC 000CE8EC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D2AB0 000CE8F0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2AB4 000CE8F4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2AB8 000CE8F8 41 82 00 0C */ beq lbl_800D2AC4
/* 800D2ABC 000CE8FC 7C 03 02 14 */ add r0, r3, r0
/* 800D2AC0 000CE900 48 00 00 08 */ b lbl_800D2AC8
.global lbl_800D2AC4
lbl_800D2AC4:
/* 800D2AC4 000CE904 38 00 00 00 */ li r0, 0x0
.global lbl_800D2AC8
lbl_800D2AC8:
/* 800D2AC8 000CE908 3C 60 80 44 */ lis r3, "ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2ACC 000CE90C 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D2AD0 000CE910 38 63 06 60 */ addi r3, r3, "ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2AD4 000CE914 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2AD8 000CE918 90 61 00 08 */ stw r3, 0x8(r1)
/* 800D2ADC 000CE91C 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2AE0 000CE920 4B FF 63 B1 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2AE4 000CE924 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2AE8 000CE928 41 82 00 24 */ beq lbl_800D2B0C
/* 800D2AEC 000CE92C 7C 03 00 D0 */ neg r0, r3
/* 800D2AF0 000CE930 7C 00 1B 78 */ or r0, r0, r3
/* 800D2AF4 000CE934 54 00 0F FF */ srwi. r0, r0, 31
/* 800D2AF8 000CE938 41 82 00 0C */ beq lbl_800D2B04
/* 800D2AFC 000CE93C 80 63 00 04 */ lwz r3, 0x4(r3)
/* 800D2B00 000CE940 48 00 00 10 */ b lbl_800D2B10
.global lbl_800D2B04
lbl_800D2B04:
/* 800D2B04 000CE944 38 60 00 00 */ li r3, 0x0
/* 800D2B08 000CE948 48 00 00 08 */ b lbl_800D2B10
.global lbl_800D2B0C
lbl_800D2B0C:
/* 800D2B0C 000CE94C 38 60 00 00 */ li r3, 0x0
.global lbl_800D2B10
lbl_800D2B10:
/* 800D2B10 000CE950 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800D2B14 000CE954 7C 08 03 A6 */ mtlr r0
/* 800D2B18 000CE958 38 21 00 10 */ addi r1, r1, 0x10
/* 800D2B1C 000CE95C 4E 80 00 20 */ blr
.global GetResAnmAmbLight__Q34nw4r3g3d9ResAnmScnCFQ34nw4r3g3d7ResName
GetResAnmAmbLight__Q34nw4r3g3d9ResAnmScnCFQ34nw4r3g3d7ResName:
/* 800D2B20 000CE960 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800D2B24 000CE964 7C 08 02 A6 */ mflr r0
/* 800D2B28 000CE968 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2B2C 000CE96C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800D2B30 000CE970 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800D2B34 000CE974 7C 9F 23 78 */ mr r31, r4
/* 800D2B38 000CE978 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2B3C 000CE97C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2B40 000CE980 41 82 00 0C */ beq lbl_800D2B4C
/* 800D2B44 000CE984 7C 03 02 14 */ add r0, r3, r0
/* 800D2B48 000CE988 48 00 00 08 */ b lbl_800D2B50
.global lbl_800D2B4C
lbl_800D2B4C:
/* 800D2B4C 000CE98C 38 00 00 00 */ li r0, 0x0
.global lbl_800D2B50
lbl_800D2B50:
/* 800D2B50 000CE990 3C 60 80 44 */ lis r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2B54 000CE994 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D2B58 000CE998 38 63 06 80 */ addi r3, r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2B5C 000CE99C 38 81 00 10 */ addi r4, r1, 0x10
/* 800D2B60 000CE9A0 90 61 00 10 */ stw r3, 0x10(r1)
/* 800D2B64 000CE9A4 38 61 00 14 */ addi r3, r1, 0x14
/* 800D2B68 000CE9A8 4B FF 63 29 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2B6C 000CE9AC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2B70 000CE9B0 41 82 00 20 */ beq lbl_800D2B90
/* 800D2B74 000CE9B4 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 800D2B78 000CE9B8 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2B7C 000CE9BC 90 61 00 0C */ stw r3, 0xc(r1)
/* 800D2B80 000CE9C0 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2B84 000CE9C4 90 01 00 08 */ stw r0, 0x8(r1)
/* 800D2B88 000CE9C8 4B FF 63 09 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2B8C 000CE9CC 48 00 00 08 */ b lbl_800D2B94
.global lbl_800D2B90
lbl_800D2B90:
/* 800D2B90 000CE9D0 38 60 00 00 */ li r3, 0x0
.global lbl_800D2B94
lbl_800D2B94:
/* 800D2B94 000CE9D4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800D2B98 000CE9D8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800D2B9C 000CE9DC 7C 08 03 A6 */ mtlr r0
/* 800D2BA0 000CE9E0 38 21 00 20 */ addi r1, r1, 0x20
/* 800D2BA4 000CE9E4 4E 80 00 20 */ blr
/* 800D2BA8 000CE9E8 00 00 00 00 */ .4byte 0x00000000
/* 800D2BAC 000CE9EC 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmAmbLight__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmAmbLight__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D2BB0 000CE9F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800D2BB4 000CE9F4 7C 08 02 A6 */ mflr r0
/* 800D2BB8 000CE9F8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2BBC 000CE9FC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800D2BC0 000CEA00 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800D2BC4 000CEA04 7C 9F 23 78 */ mr r31, r4
/* 800D2BC8 000CEA08 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2BCC 000CEA0C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2BD0 000CEA10 41 82 00 0C */ beq lbl_800D2BDC
/* 800D2BD4 000CEA14 7C 03 02 14 */ add r0, r3, r0
/* 800D2BD8 000CEA18 48 00 00 08 */ b lbl_800D2BE0
.global lbl_800D2BDC
lbl_800D2BDC:
/* 800D2BDC 000CEA1C 38 00 00 00 */ li r0, 0x0
.global lbl_800D2BE0
lbl_800D2BE0:
/* 800D2BE0 000CEA20 3C 60 80 44 */ lis r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2BE4 000CEA24 90 01 00 08 */ stw r0, 0x8(r1)
/* 800D2BE8 000CEA28 38 63 06 80 */ addi r3, r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2BEC 000CEA2C 38 81 00 0C */ addi r4, r1, 0xc
/* 800D2BF0 000CEA30 90 61 00 0C */ stw r3, 0xc(r1)
/* 800D2BF4 000CEA34 38 61 00 08 */ addi r3, r1, 0x8
/* 800D2BF8 000CEA38 4B FF 62 99 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2BFC 000CEA3C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2C00 000CEA40 41 82 00 44 */ beq lbl_800D2C44
/* 800D2C04 000CEA44 7C 03 00 D0 */ neg r0, r3
/* 800D2C08 000CEA48 7C 00 1B 78 */ or r0, r0, r3
/* 800D2C0C 000CEA4C 54 00 0F FF */ srwi. r0, r0, 31
/* 800D2C10 000CEA50 41 82 00 2C */ beq lbl_800D2C3C
/* 800D2C14 000CEA54 38 1F 00 01 */ addi r0, r31, 0x1
/* 800D2C18 000CEA58 54 00 20 36 */ slwi r0, r0, 4
/* 800D2C1C 000CEA5C 7C 83 02 14 */ add r4, r3, r0
/* 800D2C20 000CEA60 80 04 00 14 */ lwz r0, 0x14(r4)
/* 800D2C24 000CEA64 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2C28 000CEA68 41 82 00 0C */ beq lbl_800D2C34
/* 800D2C2C 000CEA6C 7C 63 02 14 */ add r3, r3, r0
/* 800D2C30 000CEA70 48 00 00 18 */ b lbl_800D2C48
.global lbl_800D2C34
lbl_800D2C34:
/* 800D2C34 000CEA74 38 60 00 00 */ li r3, 0x0
/* 800D2C38 000CEA78 48 00 00 10 */ b lbl_800D2C48
.global lbl_800D2C3C
lbl_800D2C3C:
/* 800D2C3C 000CEA7C 38 60 00 00 */ li r3, 0x0
/* 800D2C40 000CEA80 48 00 00 08 */ b lbl_800D2C48
.global lbl_800D2C44
lbl_800D2C44:
/* 800D2C44 000CEA84 38 60 00 00 */ li r3, 0x0
.global lbl_800D2C48
lbl_800D2C48:
/* 800D2C48 000CEA88 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800D2C4C 000CEA8C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800D2C50 000CEA90 7C 08 03 A6 */ mtlr r0
/* 800D2C54 000CEA94 38 21 00 20 */ addi r1, r1, 0x20
/* 800D2C58 000CEA98 4E 80 00 20 */ blr
/* 800D2C5C 000CEA9C 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmAmbLightNumEntries__Q34nw4r3g3d9ResAnmScnCFv
GetResAnmAmbLightNumEntries__Q34nw4r3g3d9ResAnmScnCFv:
/* 800D2C60 000CEAA0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800D2C64 000CEAA4 7C 08 02 A6 */ mflr r0
/* 800D2C68 000CEAA8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2C6C 000CEAAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D2C70 000CEAB0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2C74 000CEAB4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2C78 000CEAB8 41 82 00 0C */ beq lbl_800D2C84
/* 800D2C7C 000CEABC 7C 03 02 14 */ add r0, r3, r0
/* 800D2C80 000CEAC0 48 00 00 08 */ b lbl_800D2C88
.global lbl_800D2C84
lbl_800D2C84:
/* 800D2C84 000CEAC4 38 00 00 00 */ li r0, 0x0
.global lbl_800D2C88
lbl_800D2C88:
/* 800D2C88 000CEAC8 3C 60 80 44 */ lis r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2C8C 000CEACC 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D2C90 000CEAD0 38 63 06 80 */ addi r3, r3, "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2C94 000CEAD4 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2C98 000CEAD8 90 61 00 08 */ stw r3, 0x8(r1)
/* 800D2C9C 000CEADC 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2CA0 000CEAE0 4B FF 61 F1 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2CA4 000CEAE4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2CA8 000CEAE8 41 82 00 24 */ beq lbl_800D2CCC
/* 800D2CAC 000CEAEC 7C 03 00 D0 */ neg r0, r3
/* 800D2CB0 000CEAF0 7C 00 1B 78 */ or r0, r0, r3
/* 800D2CB4 000CEAF4 54 00 0F FF */ srwi. r0, r0, 31
/* 800D2CB8 000CEAF8 41 82 00 0C */ beq lbl_800D2CC4
/* 800D2CBC 000CEAFC 80 63 00 04 */ lwz r3, 0x4(r3)
/* 800D2CC0 000CEB00 48 00 00 10 */ b lbl_800D2CD0
.global lbl_800D2CC4
lbl_800D2CC4:
/* 800D2CC4 000CEB04 38 60 00 00 */ li r3, 0x0
/* 800D2CC8 000CEB08 48 00 00 08 */ b lbl_800D2CD0
.global lbl_800D2CCC
lbl_800D2CCC:
/* 800D2CCC 000CEB0C 38 60 00 00 */ li r3, 0x0
.global lbl_800D2CD0
lbl_800D2CD0:
/* 800D2CD0 000CEB10 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800D2CD4 000CEB14 7C 08 03 A6 */ mtlr r0
/* 800D2CD8 000CEB18 38 21 00 10 */ addi r1, r1, 0x10
/* 800D2CDC 000CEB1C 4E 80 00 20 */ blr
.global GetResAnmLight__Q34nw4r3g3d9ResAnmScnCFQ34nw4r3g3d7ResName
GetResAnmLight__Q34nw4r3g3d9ResAnmScnCFQ34nw4r3g3d7ResName:
/* 800D2CE0 000CEB20 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800D2CE4 000CEB24 7C 08 02 A6 */ mflr r0
/* 800D2CE8 000CEB28 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2CEC 000CEB2C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800D2CF0 000CEB30 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800D2CF4 000CEB34 7C 9F 23 78 */ mr r31, r4
/* 800D2CF8 000CEB38 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2CFC 000CEB3C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2D00 000CEB40 41 82 00 0C */ beq lbl_800D2D0C
/* 800D2D04 000CEB44 7C 03 02 14 */ add r0, r3, r0
/* 800D2D08 000CEB48 48 00 00 08 */ b lbl_800D2D10
.global lbl_800D2D0C
lbl_800D2D0C:
/* 800D2D0C 000CEB4C 38 00 00 00 */ li r0, 0x0
.global lbl_800D2D10
lbl_800D2D10:
/* 800D2D10 000CEB50 3C 60 80 44 */ lis r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2D14 000CEB54 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D2D18 000CEB58 38 63 06 A0 */ addi r3, r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2D1C 000CEB5C 38 81 00 10 */ addi r4, r1, 0x10
/* 800D2D20 000CEB60 90 61 00 10 */ stw r3, 0x10(r1)
/* 800D2D24 000CEB64 38 61 00 14 */ addi r3, r1, 0x14
/* 800D2D28 000CEB68 4B FF 61 69 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2D2C 000CEB6C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2D30 000CEB70 41 82 00 20 */ beq lbl_800D2D50
/* 800D2D34 000CEB74 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 800D2D38 000CEB78 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2D3C 000CEB7C 90 61 00 0C */ stw r3, 0xc(r1)
/* 800D2D40 000CEB80 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2D44 000CEB84 90 01 00 08 */ stw r0, 0x8(r1)
/* 800D2D48 000CEB88 4B FF 61 49 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2D4C 000CEB8C 48 00 00 08 */ b lbl_800D2D54
.global lbl_800D2D50
lbl_800D2D50:
/* 800D2D50 000CEB90 38 60 00 00 */ li r3, 0x0
.global lbl_800D2D54
lbl_800D2D54:
/* 800D2D54 000CEB94 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800D2D58 000CEB98 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800D2D5C 000CEB9C 7C 08 03 A6 */ mtlr r0
/* 800D2D60 000CEBA0 38 21 00 20 */ addi r1, r1, 0x20
/* 800D2D64 000CEBA4 4E 80 00 20 */ blr
/* 800D2D68 000CEBA8 00 00 00 00 */ .4byte 0x00000000
/* 800D2D6C 000CEBAC 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmLight__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmLight__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D2D70 000CEBB0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800D2D74 000CEBB4 7C 08 02 A6 */ mflr r0
/* 800D2D78 000CEBB8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2D7C 000CEBBC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800D2D80 000CEBC0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800D2D84 000CEBC4 7C 9F 23 78 */ mr r31, r4
/* 800D2D88 000CEBC8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2D8C 000CEBCC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2D90 000CEBD0 41 82 00 0C */ beq lbl_800D2D9C
/* 800D2D94 000CEBD4 7C 03 02 14 */ add r0, r3, r0
/* 800D2D98 000CEBD8 48 00 00 08 */ b lbl_800D2DA0
.global lbl_800D2D9C
lbl_800D2D9C:
/* 800D2D9C 000CEBDC 38 00 00 00 */ li r0, 0x0
.global lbl_800D2DA0
lbl_800D2DA0:
/* 800D2DA0 000CEBE0 3C 60 80 44 */ lis r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2DA4 000CEBE4 90 01 00 08 */ stw r0, 0x8(r1)
/* 800D2DA8 000CEBE8 38 63 06 A0 */ addi r3, r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2DAC 000CEBEC 38 81 00 0C */ addi r4, r1, 0xc
/* 800D2DB0 000CEBF0 90 61 00 0C */ stw r3, 0xc(r1)
/* 800D2DB4 000CEBF4 38 61 00 08 */ addi r3, r1, 0x8
/* 800D2DB8 000CEBF8 4B FF 60 D9 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2DBC 000CEBFC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2DC0 000CEC00 41 82 00 44 */ beq lbl_800D2E04
/* 800D2DC4 000CEC04 7C 03 00 D0 */ neg r0, r3
/* 800D2DC8 000CEC08 7C 00 1B 78 */ or r0, r0, r3
/* 800D2DCC 000CEC0C 54 00 0F FF */ srwi. r0, r0, 31
/* 800D2DD0 000CEC10 41 82 00 2C */ beq lbl_800D2DFC
/* 800D2DD4 000CEC14 38 1F 00 01 */ addi r0, r31, 0x1
/* 800D2DD8 000CEC18 54 00 20 36 */ slwi r0, r0, 4
/* 800D2DDC 000CEC1C 7C 83 02 14 */ add r4, r3, r0
/* 800D2DE0 000CEC20 80 04 00 14 */ lwz r0, 0x14(r4)
/* 800D2DE4 000CEC24 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2DE8 000CEC28 41 82 00 0C */ beq lbl_800D2DF4
/* 800D2DEC 000CEC2C 7C 63 02 14 */ add r3, r3, r0
/* 800D2DF0 000CEC30 48 00 00 18 */ b lbl_800D2E08
.global lbl_800D2DF4
lbl_800D2DF4:
/* 800D2DF4 000CEC34 38 60 00 00 */ li r3, 0x0
/* 800D2DF8 000CEC38 48 00 00 10 */ b lbl_800D2E08
.global lbl_800D2DFC
lbl_800D2DFC:
/* 800D2DFC 000CEC3C 38 60 00 00 */ li r3, 0x0
/* 800D2E00 000CEC40 48 00 00 08 */ b lbl_800D2E08
.global lbl_800D2E04
lbl_800D2E04:
/* 800D2E04 000CEC44 38 60 00 00 */ li r3, 0x0
.global lbl_800D2E08
lbl_800D2E08:
/* 800D2E08 000CEC48 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800D2E0C 000CEC4C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800D2E10 000CEC50 7C 08 03 A6 */ mtlr r0
/* 800D2E14 000CEC54 38 21 00 20 */ addi r1, r1, 0x20
/* 800D2E18 000CEC58 4E 80 00 20 */ blr
/* 800D2E1C 000CEC5C 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmLightNumEntries__Q34nw4r3g3d9ResAnmScnCFv
GetResAnmLightNumEntries__Q34nw4r3g3d9ResAnmScnCFv:
/* 800D2E20 000CEC60 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800D2E24 000CEC64 7C 08 02 A6 */ mflr r0
/* 800D2E28 000CEC68 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2E2C 000CEC6C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D2E30 000CEC70 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2E34 000CEC74 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2E38 000CEC78 41 82 00 0C */ beq lbl_800D2E44
/* 800D2E3C 000CEC7C 7C 03 02 14 */ add r0, r3, r0
/* 800D2E40 000CEC80 48 00 00 08 */ b lbl_800D2E48
.global lbl_800D2E44
lbl_800D2E44:
/* 800D2E44 000CEC84 38 00 00 00 */ li r0, 0x0
.global lbl_800D2E48
lbl_800D2E48:
/* 800D2E48 000CEC88 3C 60 80 44 */ lis r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2E4C 000CEC8C 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D2E50 000CEC90 38 63 06 A0 */ addi r3, r3, "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2E54 000CEC94 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2E58 000CEC98 90 61 00 08 */ stw r3, 0x8(r1)
/* 800D2E5C 000CEC9C 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2E60 000CECA0 4B FF 60 31 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2E64 000CECA4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2E68 000CECA8 41 82 00 24 */ beq lbl_800D2E8C
/* 800D2E6C 000CECAC 7C 03 00 D0 */ neg r0, r3
/* 800D2E70 000CECB0 7C 00 1B 78 */ or r0, r0, r3
/* 800D2E74 000CECB4 54 00 0F FF */ srwi. r0, r0, 31
/* 800D2E78 000CECB8 41 82 00 0C */ beq lbl_800D2E84
/* 800D2E7C 000CECBC 80 63 00 04 */ lwz r3, 0x4(r3)
/* 800D2E80 000CECC0 48 00 00 10 */ b lbl_800D2E90
.global lbl_800D2E84
lbl_800D2E84:
/* 800D2E84 000CECC4 38 60 00 00 */ li r3, 0x0
/* 800D2E88 000CECC8 48 00 00 08 */ b lbl_800D2E90
.global lbl_800D2E8C
lbl_800D2E8C:
/* 800D2E8C 000CECCC 38 60 00 00 */ li r3, 0x0
.global lbl_800D2E90
lbl_800D2E90:
/* 800D2E90 000CECD0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800D2E94 000CECD4 7C 08 03 A6 */ mtlr r0
/* 800D2E98 000CECD8 38 21 00 10 */ addi r1, r1, 0x10
/* 800D2E9C 000CECDC 4E 80 00 20 */ blr
.global GetResAnmFog__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmFog__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D2EA0 000CECE0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800D2EA4 000CECE4 7C 08 02 A6 */ mflr r0
/* 800D2EA8 000CECE8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2EAC 000CECEC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800D2EB0 000CECF0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800D2EB4 000CECF4 7C 9F 23 78 */ mr r31, r4
/* 800D2EB8 000CECF8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2EBC 000CECFC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2EC0 000CED00 41 82 00 0C */ beq lbl_800D2ECC
/* 800D2EC4 000CED04 7C 03 02 14 */ add r0, r3, r0
/* 800D2EC8 000CED08 48 00 00 08 */ b lbl_800D2ED0
.global lbl_800D2ECC
lbl_800D2ECC:
/* 800D2ECC 000CED0C 38 00 00 00 */ li r0, 0x0
.global lbl_800D2ED0
lbl_800D2ED0:
/* 800D2ED0 000CED10 3C 60 80 44 */ lis r3, "ResNameData_Fogs__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2ED4 000CED14 90 01 00 08 */ stw r0, 0x8(r1)
/* 800D2ED8 000CED18 38 63 06 C0 */ addi r3, r3, "ResNameData_Fogs__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2EDC 000CED1C 38 81 00 0C */ addi r4, r1, 0xc
/* 800D2EE0 000CED20 90 61 00 0C */ stw r3, 0xc(r1)
/* 800D2EE4 000CED24 38 61 00 08 */ addi r3, r1, 0x8
/* 800D2EE8 000CED28 4B FF 5F A9 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2EEC 000CED2C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2EF0 000CED30 41 82 00 44 */ beq lbl_800D2F34
/* 800D2EF4 000CED34 7C 03 00 D0 */ neg r0, r3
/* 800D2EF8 000CED38 7C 00 1B 78 */ or r0, r0, r3
/* 800D2EFC 000CED3C 54 00 0F FF */ srwi. r0, r0, 31
/* 800D2F00 000CED40 41 82 00 2C */ beq lbl_800D2F2C
/* 800D2F04 000CED44 38 1F 00 01 */ addi r0, r31, 0x1
/* 800D2F08 000CED48 54 00 20 36 */ slwi r0, r0, 4
/* 800D2F0C 000CED4C 7C 83 02 14 */ add r4, r3, r0
/* 800D2F10 000CED50 80 04 00 14 */ lwz r0, 0x14(r4)
/* 800D2F14 000CED54 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2F18 000CED58 41 82 00 0C */ beq lbl_800D2F24
/* 800D2F1C 000CED5C 7C 63 02 14 */ add r3, r3, r0
/* 800D2F20 000CED60 48 00 00 18 */ b lbl_800D2F38
.global lbl_800D2F24
lbl_800D2F24:
/* 800D2F24 000CED64 38 60 00 00 */ li r3, 0x0
/* 800D2F28 000CED68 48 00 00 10 */ b lbl_800D2F38
.global lbl_800D2F2C
lbl_800D2F2C:
/* 800D2F2C 000CED6C 38 60 00 00 */ li r3, 0x0
/* 800D2F30 000CED70 48 00 00 08 */ b lbl_800D2F38
.global lbl_800D2F34
lbl_800D2F34:
/* 800D2F34 000CED74 38 60 00 00 */ li r3, 0x0
.global lbl_800D2F38
lbl_800D2F38:
/* 800D2F38 000CED78 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800D2F3C 000CED7C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800D2F40 000CED80 7C 08 03 A6 */ mtlr r0
/* 800D2F44 000CED84 38 21 00 20 */ addi r1, r1, 0x20
/* 800D2F48 000CED88 4E 80 00 20 */ blr
/* 800D2F4C 000CED8C 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmFogNumEntries__Q34nw4r3g3d9ResAnmScnCFv
GetResAnmFogNumEntries__Q34nw4r3g3d9ResAnmScnCFv:
/* 800D2F50 000CED90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800D2F54 000CED94 7C 08 02 A6 */ mflr r0
/* 800D2F58 000CED98 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2F5C 000CED9C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D2F60 000CEDA0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2F64 000CEDA4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2F68 000CEDA8 41 82 00 0C */ beq lbl_800D2F74
/* 800D2F6C 000CEDAC 7C 03 02 14 */ add r0, r3, r0
/* 800D2F70 000CEDB0 48 00 00 08 */ b lbl_800D2F78
.global lbl_800D2F74
lbl_800D2F74:
/* 800D2F74 000CEDB4 38 00 00 00 */ li r0, 0x0
.global lbl_800D2F78
lbl_800D2F78:
/* 800D2F78 000CEDB8 3C 60 80 44 */ lis r3, "ResNameData_Fogs__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D2F7C 000CEDBC 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D2F80 000CEDC0 38 63 06 C0 */ addi r3, r3, "ResNameData_Fogs__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D2F84 000CEDC4 38 81 00 08 */ addi r4, r1, 0x8
/* 800D2F88 000CEDC8 90 61 00 08 */ stw r3, 0x8(r1)
/* 800D2F8C 000CEDCC 38 61 00 0C */ addi r3, r1, 0xc
/* 800D2F90 000CEDD0 4B FF 5F 01 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D2F94 000CEDD4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D2F98 000CEDD8 41 82 00 24 */ beq lbl_800D2FBC
/* 800D2F9C 000CEDDC 7C 03 00 D0 */ neg r0, r3
/* 800D2FA0 000CEDE0 7C 00 1B 78 */ or r0, r0, r3
/* 800D2FA4 000CEDE4 54 00 0F FF */ srwi. r0, r0, 31
/* 800D2FA8 000CEDE8 41 82 00 0C */ beq lbl_800D2FB4
/* 800D2FAC 000CEDEC 80 63 00 04 */ lwz r3, 0x4(r3)
/* 800D2FB0 000CEDF0 48 00 00 10 */ b lbl_800D2FC0
.global lbl_800D2FB4
lbl_800D2FB4:
/* 800D2FB4 000CEDF4 38 60 00 00 */ li r3, 0x0
/* 800D2FB8 000CEDF8 48 00 00 08 */ b lbl_800D2FC0
.global lbl_800D2FBC
lbl_800D2FBC:
/* 800D2FBC 000CEDFC 38 60 00 00 */ li r3, 0x0
.global lbl_800D2FC0
lbl_800D2FC0:
/* 800D2FC0 000CEE00 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800D2FC4 000CEE04 7C 08 03 A6 */ mtlr r0
/* 800D2FC8 000CEE08 38 21 00 10 */ addi r1, r1, 0x10
/* 800D2FCC 000CEE0C 4E 80 00 20 */ blr
.global GetResAnmCamera__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmCamera__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D2FD0 000CEE10 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800D2FD4 000CEE14 7C 08 02 A6 */ mflr r0
/* 800D2FD8 000CEE18 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D2FDC 000CEE1C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800D2FE0 000CEE20 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800D2FE4 000CEE24 7C 9F 23 78 */ mr r31, r4
/* 800D2FE8 000CEE28 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D2FEC 000CEE2C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D2FF0 000CEE30 41 82 00 0C */ beq lbl_800D2FFC
/* 800D2FF4 000CEE34 7C 03 02 14 */ add r0, r3, r0
/* 800D2FF8 000CEE38 48 00 00 08 */ b lbl_800D3000
.global lbl_800D2FFC
lbl_800D2FFC:
/* 800D2FFC 000CEE3C 38 00 00 00 */ li r0, 0x0
.global lbl_800D3000
lbl_800D3000:
/* 800D3000 000CEE40 3C 60 80 44 */ lis r3, "ResNameData_Cameras__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D3004 000CEE44 90 01 00 08 */ stw r0, 0x8(r1)
/* 800D3008 000CEE48 38 63 06 E0 */ addi r3, r3, "ResNameData_Cameras__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D300C 000CEE4C 38 81 00 0C */ addi r4, r1, 0xc
/* 800D3010 000CEE50 90 61 00 0C */ stw r3, 0xc(r1)
/* 800D3014 000CEE54 38 61 00 08 */ addi r3, r1, 0x8
/* 800D3018 000CEE58 4B FF 5E 79 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D301C 000CEE5C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D3020 000CEE60 41 82 00 44 */ beq lbl_800D3064
/* 800D3024 000CEE64 7C 03 00 D0 */ neg r0, r3
/* 800D3028 000CEE68 7C 00 1B 78 */ or r0, r0, r3
/* 800D302C 000CEE6C 54 00 0F FF */ srwi. r0, r0, 31
/* 800D3030 000CEE70 41 82 00 2C */ beq lbl_800D305C
/* 800D3034 000CEE74 38 1F 00 01 */ addi r0, r31, 0x1
/* 800D3038 000CEE78 54 00 20 36 */ slwi r0, r0, 4
/* 800D303C 000CEE7C 7C 83 02 14 */ add r4, r3, r0
/* 800D3040 000CEE80 80 04 00 14 */ lwz r0, 0x14(r4)
/* 800D3044 000CEE84 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3048 000CEE88 41 82 00 0C */ beq lbl_800D3054
/* 800D304C 000CEE8C 7C 63 02 14 */ add r3, r3, r0
/* 800D3050 000CEE90 48 00 00 18 */ b lbl_800D3068
.global lbl_800D3054
lbl_800D3054:
/* 800D3054 000CEE94 38 60 00 00 */ li r3, 0x0
/* 800D3058 000CEE98 48 00 00 10 */ b lbl_800D3068
.global lbl_800D305C
lbl_800D305C:
/* 800D305C 000CEE9C 38 60 00 00 */ li r3, 0x0
/* 800D3060 000CEEA0 48 00 00 08 */ b lbl_800D3068
.global lbl_800D3064
lbl_800D3064:
/* 800D3064 000CEEA4 38 60 00 00 */ li r3, 0x0
.global lbl_800D3068
lbl_800D3068:
/* 800D3068 000CEEA8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800D306C 000CEEAC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800D3070 000CEEB0 7C 08 03 A6 */ mtlr r0
/* 800D3074 000CEEB4 38 21 00 20 */ addi r1, r1, 0x20
/* 800D3078 000CEEB8 4E 80 00 20 */ blr
/* 800D307C 000CEEBC 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmCameraNumEntries__Q34nw4r3g3d9ResAnmScnCFv
GetResAnmCameraNumEntries__Q34nw4r3g3d9ResAnmScnCFv:
/* 800D3080 000CEEC0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800D3084 000CEEC4 7C 08 02 A6 */ mflr r0
/* 800D3088 000CEEC8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D308C 000CEECC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800D3090 000CEED0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D3094 000CEED4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3098 000CEED8 41 82 00 0C */ beq lbl_800D30A4
/* 800D309C 000CEEDC 7C 03 02 14 */ add r0, r3, r0
/* 800D30A0 000CEEE0 48 00 00 08 */ b lbl_800D30A8
.global lbl_800D30A4
lbl_800D30A4:
/* 800D30A4 000CEEE4 38 00 00 00 */ li r0, 0x0
.global lbl_800D30A8
lbl_800D30A8:
/* 800D30A8 000CEEE8 3C 60 80 44 */ lis r3, "ResNameData_Cameras__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D30AC 000CEEEC 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D30B0 000CEEF0 38 63 06 E0 */ addi r3, r3, "ResNameData_Cameras__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D30B4 000CEEF4 38 81 00 08 */ addi r4, r1, 0x8
/* 800D30B8 000CEEF8 90 61 00 08 */ stw r3, 0x8(r1)
/* 800D30BC 000CEEFC 38 61 00 0C */ addi r3, r1, 0xc
/* 800D30C0 000CEF00 4B FF 5D D1 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D30C4 000CEF04 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D30C8 000CEF08 41 82 00 24 */ beq lbl_800D30EC
/* 800D30CC 000CEF0C 7C 03 00 D0 */ neg r0, r3
/* 800D30D0 000CEF10 7C 00 1B 78 */ or r0, r0, r3
/* 800D30D4 000CEF14 54 00 0F FF */ srwi. r0, r0, 31
/* 800D30D8 000CEF18 41 82 00 0C */ beq lbl_800D30E4
/* 800D30DC 000CEF1C 80 63 00 04 */ lwz r3, 0x4(r3)
/* 800D30E0 000CEF20 48 00 00 10 */ b lbl_800D30F0
.global lbl_800D30E4
lbl_800D30E4:
/* 800D30E4 000CEF24 38 60 00 00 */ li r3, 0x0
/* 800D30E8 000CEF28 48 00 00 08 */ b lbl_800D30F0
.global lbl_800D30EC
lbl_800D30EC:
/* 800D30EC 000CEF2C 38 60 00 00 */ li r3, 0x0
.global lbl_800D30F0
lbl_800D30F0:
/* 800D30F0 000CEF30 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800D30F4 000CEF34 7C 08 03 A6 */ mtlr r0
/* 800D30F8 000CEF38 38 21 00 10 */ addi r1, r1, 0x10
/* 800D30FC 000CEF3C 4E 80 00 20 */ blr
.global GetResLightSetByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl
GetResLightSetByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D3100 000CEF40 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D3104 000CEF44 A0 A3 00 3C */ lhz r5, 0x3c(r3)
/* 800D3108 000CEF48 7C 05 20 40 */ cmplw r5, r4
/* 800D310C 000CEF4C 41 81 00 0C */ bgt lbl_800D3118
/* 800D3110 000CEF50 38 60 00 00 */ li r3, 0x0
/* 800D3114 000CEF54 4E 80 00 20 */ blr
.global lbl_800D3118
lbl_800D3118:
/* 800D3118 000CEF58 80 03 00 14 */ lwz r0, 0x14(r3)
/* 800D311C 000CEF5C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3120 000CEF60 41 82 00 0C */ beq lbl_800D312C
/* 800D3124 000CEF64 7C 63 02 14 */ add r3, r3, r0
/* 800D3128 000CEF68 48 00 00 08 */ b lbl_800D3130
.global lbl_800D312C
lbl_800D312C:
/* 800D312C 000CEF6C 38 60 00 00 */ li r3, 0x0
.global lbl_800D3130
lbl_800D3130:
/* 800D3130 000CEF70 1C 04 00 4C */ mulli r0, r4, 0x4c
/* 800D3134 000CEF74 7C 63 02 14 */ add r3, r3, r0
/* 800D3138 000CEF78 80 03 00 0C */ lwz r0, 0xc(r3)
/* 800D313C 000CEF7C 7C 00 28 40 */ cmplw r0, r5
/* 800D3140 000CEF80 4D 80 00 20 */ bltlr
/* 800D3144 000CEF84 38 60 00 00 */ li r3, 0x0
/* 800D3148 000CEF88 4E 80 00 20 */ blr
/* 800D314C 000CEF8C 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmAmbLightByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmAmbLightByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D3150 000CEF90 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D3154 000CEF94 A0 A3 00 3E */ lhz r5, 0x3e(r3)
/* 800D3158 000CEF98 7C 05 20 40 */ cmplw r5, r4
/* 800D315C 000CEF9C 41 81 00 0C */ bgt lbl_800D3168
/* 800D3160 000CEFA0 38 60 00 00 */ li r3, 0x0
/* 800D3164 000CEFA4 4E 80 00 20 */ blr
.global lbl_800D3168
lbl_800D3168:
/* 800D3168 000CEFA8 80 03 00 18 */ lwz r0, 0x18(r3)
/* 800D316C 000CEFAC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3170 000CEFB0 41 82 00 0C */ beq lbl_800D317C
/* 800D3174 000CEFB4 7C 63 02 14 */ add r3, r3, r0
/* 800D3178 000CEFB8 48 00 00 08 */ b lbl_800D3180
.global lbl_800D317C
lbl_800D317C:
/* 800D317C 000CEFBC 38 60 00 00 */ li r3, 0x0
.global lbl_800D3180
lbl_800D3180:
/* 800D3180 000CEFC0 1C 04 00 1C */ mulli r0, r4, 0x1c
/* 800D3184 000CEFC4 7C 63 02 14 */ add r3, r3, r0
/* 800D3188 000CEFC8 80 03 00 0C */ lwz r0, 0xc(r3)
/* 800D318C 000CEFCC 7C 00 28 40 */ cmplw r0, r5
/* 800D3190 000CEFD0 4D 80 00 20 */ bltlr
/* 800D3194 000CEFD4 38 60 00 00 */ li r3, 0x0
/* 800D3198 000CEFD8 4E 80 00 20 */ blr
/* 800D319C 000CEFDC 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmLightByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmLightByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D31A0 000CEFE0 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D31A4 000CEFE4 A0 A3 00 40 */ lhz r5, 0x40(r3)
/* 800D31A8 000CEFE8 7C 05 20 40 */ cmplw r5, r4
/* 800D31AC 000CEFEC 41 81 00 0C */ bgt lbl_800D31B8
/* 800D31B0 000CEFF0 38 60 00 00 */ li r3, 0x0
/* 800D31B4 000CEFF4 4E 80 00 20 */ blr
.global lbl_800D31B8
lbl_800D31B8:
/* 800D31B8 000CEFF8 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 800D31BC 000CEFFC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D31C0 000CF000 41 82 00 0C */ beq lbl_800D31CC
/* 800D31C4 000CF004 7C 63 02 14 */ add r3, r3, r0
/* 800D31C8 000CF008 48 00 00 08 */ b lbl_800D31D0
.global lbl_800D31CC
lbl_800D31CC:
/* 800D31CC 000CF00C 38 60 00 00 */ li r3, 0x0
.global lbl_800D31D0
lbl_800D31D0:
/* 800D31D0 000CF010 1C 04 00 5C */ mulli r0, r4, 0x5c
/* 800D31D4 000CF014 7C 63 02 14 */ add r3, r3, r0
/* 800D31D8 000CF018 80 03 00 0C */ lwz r0, 0xc(r3)
/* 800D31DC 000CF01C 7C 00 28 40 */ cmplw r0, r5
/* 800D31E0 000CF020 4D 80 00 20 */ bltlr
/* 800D31E4 000CF024 38 60 00 00 */ li r3, 0x0
/* 800D31E8 000CF028 4E 80 00 20 */ blr
/* 800D31EC 000CF02C 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmFogByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmFogByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D31F0 000CF030 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D31F4 000CF034 A0 A3 00 42 */ lhz r5, 0x42(r3)
/* 800D31F8 000CF038 7C 05 20 40 */ cmplw r5, r4
/* 800D31FC 000CF03C 41 81 00 0C */ bgt lbl_800D3208
/* 800D3200 000CF040 38 60 00 00 */ li r3, 0x0
/* 800D3204 000CF044 4E 80 00 20 */ blr
.global lbl_800D3208
lbl_800D3208:
/* 800D3208 000CF048 80 03 00 20 */ lwz r0, 0x20(r3)
/* 800D320C 000CF04C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3210 000CF050 41 82 00 0C */ beq lbl_800D321C
/* 800D3214 000CF054 7C 63 02 14 */ add r3, r3, r0
/* 800D3218 000CF058 48 00 00 08 */ b lbl_800D3220
.global lbl_800D321C
lbl_800D321C:
/* 800D321C 000CF05C 38 60 00 00 */ li r3, 0x0
.global lbl_800D3220
lbl_800D3220:
/* 800D3220 000CF060 1C 04 00 28 */ mulli r0, r4, 0x28
/* 800D3224 000CF064 7C 63 02 14 */ add r3, r3, r0
/* 800D3228 000CF068 80 03 00 0C */ lwz r0, 0xc(r3)
/* 800D322C 000CF06C 7C 00 28 40 */ cmplw r0, r5
/* 800D3230 000CF070 4D 80 00 20 */ bltlr
/* 800D3234 000CF074 38 60 00 00 */ li r3, 0x0
/* 800D3238 000CF078 4E 80 00 20 */ blr
/* 800D323C 000CF07C 00 00 00 00 */ .4byte 0x00000000
.global GetResAnmCameraByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl
GetResAnmCameraByRefNumber__Q34nw4r3g3d9ResAnmScnCFUl:
/* 800D3240 000CF080 80 63 00 00 */ lwz r3, 0x0(r3)
/* 800D3244 000CF084 A0 A3 00 44 */ lhz r5, 0x44(r3)
/* 800D3248 000CF088 7C 05 20 40 */ cmplw r5, r4
/* 800D324C 000CF08C 41 81 00 0C */ bgt lbl_800D3258
/* 800D3250 000CF090 38 60 00 00 */ li r3, 0x0
/* 800D3254 000CF094 4E 80 00 20 */ blr
.global lbl_800D3258
lbl_800D3258:
/* 800D3258 000CF098 80 03 00 24 */ lwz r0, 0x24(r3)
/* 800D325C 000CF09C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3260 000CF0A0 41 82 00 0C */ beq lbl_800D326C
/* 800D3264 000CF0A4 7C 63 02 14 */ add r3, r3, r0
/* 800D3268 000CF0A8 48 00 00 08 */ b lbl_800D3270
.global lbl_800D326C
lbl_800D326C:
/* 800D326C 000CF0AC 38 60 00 00 */ li r3, 0x0
.global lbl_800D3270
lbl_800D3270:
/* 800D3270 000CF0B0 1C 04 00 5C */ mulli r0, r4, 0x5c
/* 800D3274 000CF0B4 7C 63 02 14 */ add r3, r3, r0
/* 800D3278 000CF0B8 80 03 00 0C */ lwz r0, 0xc(r3)
/* 800D327C 000CF0BC 7C 00 28 40 */ cmplw r0, r5
/* 800D3280 000CF0C0 4D 80 00 20 */ bltlr
/* 800D3284 000CF0C4 38 60 00 00 */ li r3, 0x0
/* 800D3288 000CF0C8 4E 80 00 20 */ blr
/* 800D328C 000CF0CC 00 00 00 00 */ .4byte 0x00000000
.global Bind__Q34nw4r3g3d9ResAnmScnFQ34nw4r3g3d9ResAnmScn
Bind__Q34nw4r3g3d9ResAnmScnFQ34nw4r3g3d9ResAnmScn:
/* 800D3290 000CF0D0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800D3294 000CF0D4 7C 08 02 A6 */ mflr r0
/* 800D3298 000CF0D8 90 01 00 44 */ stw r0, 0x44(r1)
/* 800D329C 000CF0DC 39 61 00 40 */ addi r11, r1, 0x40
/* 800D32A0 000CF0E0 4B F3 40 95 */ bl lbl_80007334
/* 800D32A4 000CF0E4 80 A3 00 00 */ lwz r5, 0x0(r3)
/* 800D32A8 000CF0E8 7C 7C 1B 78 */ mr r28, r3
/* 800D32AC 000CF0EC 7C 9D 23 78 */ mr r29, r4
/* 800D32B0 000CF0F0 80 05 00 10 */ lwz r0, 0x10(r5)
/* 800D32B4 000CF0F4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D32B8 000CF0F8 41 82 00 0C */ beq lbl_800D32C4
/* 800D32BC 000CF0FC 7C 05 02 14 */ add r0, r5, r0
/* 800D32C0 000CF100 48 00 00 08 */ b lbl_800D32C8
.global lbl_800D32C4
lbl_800D32C4:
/* 800D32C4 000CF104 38 00 00 00 */ li r0, 0x0
.global lbl_800D32C8
lbl_800D32C8:
/* 800D32C8 000CF108 3C 60 80 44 */ lis r3, "ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D32CC 000CF10C 90 01 00 10 */ stw r0, 0x10(r1)
/* 800D32D0 000CF110 38 63 06 60 */ addi r3, r3, "ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D32D4 000CF114 38 81 00 14 */ addi r4, r1, 0x14
/* 800D32D8 000CF118 90 61 00 14 */ stw r3, 0x14(r1)
/* 800D32DC 000CF11C 38 61 00 10 */ addi r3, r1, 0x10
/* 800D32E0 000CF120 4B FF 5B B1 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D32E4 000CF124 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D32E8 000CF128 41 82 00 24 */ beq lbl_800D330C
/* 800D32EC 000CF12C 7C 03 00 D0 */ neg r0, r3
/* 800D32F0 000CF130 7C 00 1B 78 */ or r0, r0, r3
/* 800D32F4 000CF134 54 00 0F FF */ srwi. r0, r0, 31
/* 800D32F8 000CF138 41 82 00 0C */ beq lbl_800D3304
/* 800D32FC 000CF13C 83 43 00 04 */ lwz r26, 0x4(r3)
/* 800D3300 000CF140 48 00 00 10 */ b lbl_800D3310
.global lbl_800D3304
lbl_800D3304:
/* 800D3304 000CF144 3B 40 00 00 */ li r26, 0x0
/* 800D3308 000CF148 48 00 00 08 */ b lbl_800D3310
.global lbl_800D330C
lbl_800D330C:
/* 800D330C 000CF14C 3B 40 00 00 */ li r26, 0x0
.global lbl_800D3310
lbl_800D3310:
/* 800D3310 000CF150 3F 60 80 44 */ lis r27, "ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@ha
/* 800D3314 000CF154 3B E0 00 01 */ li r31, 0x1
/* 800D3318 000CF158 3B 7B 06 60 */ addi r27, r27, "ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"@l
/* 800D331C 000CF15C 3B C0 00 00 */ li r30, 0x0
/* 800D3320 000CF160 48 00 00 B8 */ b lbl_800D33D8
.global lbl_800D3324
lbl_800D3324:
/* 800D3324 000CF164 80 7C 00 00 */ lwz r3, 0x0(r28)
/* 800D3328 000CF168 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800D332C 000CF16C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3330 000CF170 41 82 00 0C */ beq lbl_800D333C
/* 800D3334 000CF174 7C 03 02 14 */ add r0, r3, r0
/* 800D3338 000CF178 48 00 00 08 */ b lbl_800D3340
.global lbl_800D333C
lbl_800D333C:
/* 800D333C 000CF17C 38 00 00 00 */ li r0, 0x0
.global lbl_800D3340
lbl_800D3340:
/* 800D3340 000CF180 93 61 00 08 */ stw r27, 0x8(r1)
/* 800D3344 000CF184 38 81 00 08 */ addi r4, r1, 0x8
/* 800D3348 000CF188 38 61 00 0C */ addi r3, r1, 0xc
/* 800D334C 000CF18C 90 01 00 0C */ stw r0, 0xc(r1)
/* 800D3350 000CF190 4B FF 5B 41 */ bl __vc__Q34nw4r3g3d6ResDicCFQ34nw4r3g3d7ResName
/* 800D3354 000CF194 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D3358 000CF198 41 82 00 44 */ beq lbl_800D339C
/* 800D335C 000CF19C 7C 03 00 D0 */ neg r0, r3
/* 800D3360 000CF1A0 7C 00 1B 78 */ or r0, r0, r3
/* 800D3364 000CF1A4 54 00 0F FF */ srwi. r0, r0, 31
/* 800D3368 000CF1A8 41 82 00 2C */ beq lbl_800D3394
/* 800D336C 000CF1AC 38 1E 00 01 */ addi r0, r30, 0x1
/* 800D3370 000CF1B0 54 00 20 36 */ slwi r0, r0, 4
/* 800D3374 000CF1B4 7C 83 02 14 */ add r4, r3, r0
/* 800D3378 000CF1B8 80 04 00 14 */ lwz r0, 0x14(r4)
/* 800D337C 000CF1BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800D3380 000CF1C0 41 82 00 0C */ beq lbl_800D338C
/* 800D3384 000CF1C4 7C 63 02 14 */ add r3, r3, r0
/* 800D3388 000CF1C8 48 00 00 18 */ b lbl_800D33A0
.global lbl_800D338C
lbl_800D338C:
/* 800D338C 000CF1CC 38 60 00 00 */ li r3, 0x0
/* 800D3390 000CF1D0 48 00 00 10 */ b lbl_800D33A0
.global lbl_800D3394
lbl_800D3394:
/* 800D3394 000CF1D4 38 60 00 00 */ li r3, 0x0
/* 800D3398 000CF1D8 48 00 00 08 */ b lbl_800D33A0
.global lbl_800D339C
lbl_800D339C:
/* 800D339C 000CF1DC 38 60 00 00 */ li r3, 0x0
.global lbl_800D33A0
lbl_800D33A0:
/* 800D33A0 000CF1E0 80 1D 00 00 */ lwz r0, 0x0(r29)
/* 800D33A4 000CF1E4 38 81 00 18 */ addi r4, r1, 0x18
/* 800D33A8 000CF1E8 90 61 00 1C */ stw r3, 0x1c(r1)
/* 800D33AC 000CF1EC 38 61 00 1C */ addi r3, r1, 0x1c
/* 800D33B0 000CF1F0 3B 20 00 00 */ li r25, 0x0
/* 800D33B4 000CF1F4 90 01 00 18 */ stw r0, 0x18(r1)
/* 800D33B8 000CF1F8 4B FF EB 89 */ bl Bind__Q34nw4r3g3d11ResLightSetFQ34nw4r3g3d9ResAnmScn
/* 800D33BC 000CF1FC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800D33C0 000CF200 41 82 00 10 */ beq lbl_800D33D0
/* 800D33C4 000CF204 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800D33C8 000CF208 41 82 00 08 */ beq lbl_800D33D0
/* 800D33CC 000CF20C 3B 20 00 01 */ li r25, 0x1
.global lbl_800D33D0
lbl_800D33D0:
/* 800D33D0 000CF210 7F 3F CB 78 */ mr r31, r25
/* 800D33D4 000CF214 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_800D33D8
lbl_800D33D8:
/* 800D33D8 000CF218 7C 1E D0 40 */ cmplw r30, r26
/* 800D33DC 000CF21C 41 80 FF 48 */ blt lbl_800D3324
/* 800D33E0 000CF220 39 61 00 40 */ addi r11, r1, 0x40
/* 800D33E4 000CF224 7F E3 FB 78 */ mr r3, r31
/* 800D33E8 000CF228 4B F3 3F 99 */ bl lbl_80007380
/* 800D33EC 000CF22C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800D33F0 000CF230 7C 08 03 A6 */ mtlr r0
/* 800D33F4 000CF234 38 21 00 40 */ addi r1, r1, 0x40
/* 800D33F8 000CF238 4E 80 00 20 */ blr
/* 800D33FC 000CF23C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"
"ResNameData_LightSet__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@":
.4byte 0x0000000E
.4byte 0x4C696768
.4byte 0x74536574
.4byte 0x284E5734
.4byte 0x52290000
.4byte 0
.4byte 0
.4byte 0
.global "ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"
"ResNameData_AmbLights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@":
.4byte 0x0000000F
.4byte 0x416D624C
.4byte 0x69676874
.4byte 0x73284E57
.4byte 0x34522900
.4byte 0
.4byte 0
.4byte 0
.global "ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"
"ResNameData_Lights__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@":
.4byte 0x0000000C
.4byte 0x4C696768
.4byte 0x7473284E
.4byte 0x57345229
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.global "ResNameData_Fogs__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"
"ResNameData_Fogs__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@":
.4byte 0x0000000A
.4byte 0x466F6773
.4byte 0x284E5734
.4byte 0x52290000
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.global "ResNameData_Cameras__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@"
"ResNameData_Cameras__Q34nw4r3g3d27@unnamed@g3d_resanmscn_cpp@":
.4byte 0x0000000D
.4byte 0x43616D65
.4byte 0x72617328
.4byte 0x4E573452
.4byte 0x29000000
.4byte 0
.4byte 0
.4byte 0