donut-decomp/asm/libnw4r_lyt/lyt_material.s

3462 lines
169 KiB
ArmAsm
Raw Normal View History

2022-10-16 16:05:58 +00:00
.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
2022-10-16 16:31:36 +00:00
.global "CalcTextureMtx__Q34nw4r3lyt26@unnamed@lyt_material_cpp@FPQ34nw4r4math5MTX34RCQ34nw4r3lyt6TexSRT"
"CalcTextureMtx__Q34nw4r3lyt26@unnamed@lyt_material_cpp@FPQ34nw4r4math5MTX34RCQ34nw4r3lyt6TexSRT":
2022-10-16 16:05:58 +00:00
/* 800F9120 000F4F60 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800F9124 000F4F64 7C 08 02 A6 */ mflr r0
2022-10-16 16:31:36 +00:00
/* 800F9128 000F4F68 C0 42 91 F8 */ lfs f2, "@10055"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F912C 000F4F6C 90 01 00 34 */ stw r0, 0x34(r1)
/* 800F9130 000F4F70 C0 24 00 08 */ lfs f1, 0x8(r4)
/* 800F9134 000F4F74 DB E1 00 20 */ stfd f31, 0x20(r1)
2022-10-16 16:31:36 +00:00
/* 800F9138 000F4F78 C0 02 91 FC */ lfs f0, "@10056"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F913C 000F4F7C F3 E1 00 28 */ psq_st f31, 0x28(r1), 0, qr0
/* 800F9140 000F4F80 EC 20 00 72 */ fmuls f1, f0, f1
/* 800F9144 000F4F84 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800F9148 000F4F88 7C 9F 23 78 */ mr r31, r4
/* 800F914C 000F4F8C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800F9150 000F4F90 7C 7E 1B 78 */ mr r30, r3
/* 800F9154 000F4F94 D0 41 00 08 */ stfs f2, 0x8(r1)
/* 800F9158 000F4F98 D0 41 00 0C */ stfs f2, 0xc(r1)
2022-10-16 16:31:36 +00:00
/* 800F915C 000F4F9C 48 00 59 C5 */ bl CosFIdx__Q24nw4r4mathFf
2022-10-16 16:05:58 +00:00
/* 800F9160 000F4FA0 C0 5F 00 08 */ lfs f2, 0x8(r31)
/* 800F9164 000F4FA4 FF E0 08 90 */ fmr f31, f1
2022-10-16 16:31:36 +00:00
/* 800F9168 000F4FA8 C0 02 91 FC */ lfs f0, "@10056"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F916C 000F4FAC EC 20 00 B2 */ fmuls f1, f0, f2
2022-10-16 16:31:36 +00:00
/* 800F9170 000F4FB0 48 00 59 31 */ bl SinFIdx__Q24nw4r4mathFf
2022-10-16 16:05:58 +00:00
/* 800F9174 000F4FB4 C0 7F 00 0C */ lfs f3, 0xc(r31)
/* 800F9178 000F4FB8 FC A0 08 50 */ fneg f5, f1
/* 800F917C 000F4FBC C0 41 00 08 */ lfs f2, 0x8(r1)
/* 800F9180 000F4FC0 ED 21 00 F2 */ fmuls f9, f1, f3
2022-10-16 16:31:36 +00:00
/* 800F9184 000F4FC4 C1 02 92 00 */ lfs f8, "@10057"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F9188 000F4FC8 ED 7F 00 F2 */ fmuls f11, f31, f3
/* 800F918C 000F4FCC C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 800F9190 000F4FD0 C0 C1 00 0C */ lfs f6, 0xc(r1)
/* 800F9194 000F4FD4 FC 80 10 50 */ fneg f4, f2
/* 800F9198 000F4FD8 ED 85 00 32 */ fmuls f12, f5, f0
/* 800F919C 000F4FDC C0 7F 00 00 */ lfs f3, 0x0(r31)
/* 800F91A0 000F4FE0 ED 5F 00 32 */ fmuls f10, f31, f0
/* 800F91A4 000F4FE4 C0 3F 00 04 */ lfs f1, 0x4(r31)
/* 800F91A8 000F4FE8 EC A3 10 2A */ fadds f5, f3, f2
2022-10-16 16:31:36 +00:00
/* 800F91AC 000F4FEC C0 02 92 04 */ lfs f0, "@10058"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F91B0 000F4FF0 EC 41 30 2A */ fadds f2, f1, f6
/* 800F91B4 000F4FF4 D1 7E 00 00 */ stfs f11, 0x0(r30)
/* 800F91B8 000F4FF8 FC E0 30 50 */ fneg f7, f6
/* 800F91BC 000F4FFC EC 29 01 32 */ fmuls f1, f9, f4
/* 800F91C0 000F5000 D1 9E 00 04 */ stfs f12, 0x4(r30)
/* 800F91C4 000F5004 EC 6B 01 32 */ fmuls f3, f11, f4
/* 800F91C8 000F5008 EC CC 01 F2 */ fmuls f6, f12, f7
/* 800F91CC 000F500C D1 1E 00 08 */ stfs f8, 0x8(r30)
/* 800F91D0 000F5010 EC 22 08 2A */ fadds f1, f2, f1
/* 800F91D4 000F5014 EC 85 18 2A */ fadds f4, f5, f3
/* 800F91D8 000F5018 D1 3E 00 10 */ stfs f9, 0x10(r30)
/* 800F91DC 000F501C EC 6A 01 F2 */ fmuls f3, f10, f7
/* 800F91E0 000F5020 D1 5E 00 14 */ stfs f10, 0x14(r30)
/* 800F91E4 000F5024 EC 46 20 2A */ fadds f2, f6, f4
/* 800F91E8 000F5028 EC 23 08 2A */ fadds f1, f3, f1
/* 800F91EC 000F502C D1 1E 00 18 */ stfs f8, 0x18(r30)
/* 800F91F0 000F5030 D0 5E 00 0C */ stfs f2, 0xc(r30)
/* 800F91F4 000F5034 D0 3E 00 1C */ stfs f1, 0x1c(r30)
/* 800F91F8 000F5038 D1 1E 00 20 */ stfs f8, 0x20(r30)
/* 800F91FC 000F503C D1 1E 00 24 */ stfs f8, 0x24(r30)
/* 800F9200 000F5040 D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 800F9204 000F5044 D1 1E 00 2C */ stfs f8, 0x2c(r30)
/* 800F9208 000F5048 E3 E1 00 28 */ psq_l f31, 0x28(r1), 0, qr0
/* 800F920C 000F504C CB E1 00 20 */ lfd f31, 0x20(r1)
/* 800F9210 000F5050 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800F9214 000F5054 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800F9218 000F5058 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800F921C 000F505C 7C 08 03 A6 */ mtlr r0
/* 800F9220 000F5060 38 21 00 30 */ addi r1, r1, 0x30
/* 800F9224 000F5064 4E 80 00 20 */ blr
/* 800F9228 000F5068 00 00 00 00 */ .4byte 0x00000000
/* 800F922C 000F506C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global "SetIndTexMtx__Q34nw4r3lyt26@unnamed@lyt_material_cpp@F14_GXIndTexMtxIDPA3_Cf"
"SetIndTexMtx__Q34nw4r3lyt26@unnamed@lyt_material_cpp@F14_GXIndTexMtxIDPA3_Cf":
2022-10-16 16:05:58 +00:00
/* 800F9230 000F5070 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800F9234 000F5074 7C 08 02 A6 */ mflr r0
/* 800F9238 000F5078 C0 44 00 00 */ lfs f2, 0x0(r4)
/* 800F923C 000F507C 38 A0 00 00 */ li r5, 0x0
/* 800F9240 000F5080 C0 64 00 04 */ lfs f3, 0x4(r4)
/* 800F9244 000F5084 FD 00 12 10 */ fabs f8, f2
2022-10-16 16:31:36 +00:00
/* 800F9248 000F5088 C0 02 92 04 */ lfs f0, "@10058"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F924C 000F508C C0 84 00 08 */ lfs f4, 0x8(r4)
/* 800F9250 000F5090 FD 20 1A 10 */ fabs f9, f3
/* 800F9254 000F5094 C0 A4 00 0C */ lfs f5, 0xc(r4)
/* 800F9258 000F5098 C0 C4 00 10 */ lfs f6, 0x10(r4)
/* 800F925C 000F509C C0 E4 00 14 */ lfs f7, 0x14(r4)
/* 800F9260 000F50A0 FC 08 00 40 */ fcmpo cr0, f8, f0
/* 800F9264 000F50A4 FD 40 22 10 */ fabs f10, f4
/* 800F9268 000F50A8 90 01 00 24 */ stw r0, 0x24(r1)
/* 800F926C 000F50AC FD 60 2A 10 */ fabs f11, f5
/* 800F9270 000F50B0 FD 80 32 10 */ fabs f12, f6
/* 800F9274 000F50B4 FD A0 3A 10 */ fabs f13, f7
/* 800F9278 000F50B8 4C 41 13 82 */ cror eq, gt, eq
/* 800F927C 000F50BC 41 82 00 40 */ beq lbl_800F92BC
/* 800F9280 000F50C0 FC 09 00 40 */ fcmpo cr0, f9, f0
/* 800F9284 000F50C4 4C 41 13 82 */ cror eq, gt, eq
/* 800F9288 000F50C8 41 82 00 34 */ beq lbl_800F92BC
/* 800F928C 000F50CC FC 0A 00 40 */ fcmpo cr0, f10, f0
/* 800F9290 000F50D0 4C 41 13 82 */ cror eq, gt, eq
/* 800F9294 000F50D4 41 82 00 28 */ beq lbl_800F92BC
/* 800F9298 000F50D8 FC 0B 00 40 */ fcmpo cr0, f11, f0
/* 800F929C 000F50DC 4C 41 13 82 */ cror eq, gt, eq
/* 800F92A0 000F50E0 41 82 00 1C */ beq lbl_800F92BC
/* 800F92A4 000F50E4 FC 0C 00 40 */ fcmpo cr0, f12, f0
/* 800F92A8 000F50E8 4C 41 13 82 */ cror eq, gt, eq
/* 800F92AC 000F50EC 41 82 00 10 */ beq lbl_800F92BC
/* 800F92B0 000F50F0 FC 0D 00 40 */ fcmpo cr0, f13, f0
/* 800F92B4 000F50F4 4C 41 13 82 */ cror eq, gt, eq
/* 800F92B8 000F50F8 40 82 00 9C */ bne lbl_800F9354
.global lbl_800F92BC
lbl_800F92BC:
2022-10-16 16:31:36 +00:00
/* 800F92BC 000F50FC C0 22 91 F8 */ lfs f1, "@10055"@sda21(r2)
/* 800F92C0 000F5100 C0 02 92 04 */ lfs f0, "@10058"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F92C4 000F5104 60 00 00 00 */ nop
.global lbl_800F92C8
lbl_800F92C8:
/* 800F92C8 000F5108 7C A0 07 74 */ extsb r0, r5
/* 800F92CC 000F510C 2C 00 00 2E */ cmpwi r0, 0x2e
/* 800F92D0 000F5110 40 80 01 2C */ bge lbl_800F93FC
/* 800F92D4 000F5114 ED 08 00 72 */ fmuls f8, f8, f1
/* 800F92D8 000F5118 EC 42 00 72 */ fmuls f2, f2, f1
/* 800F92DC 000F511C EC 63 00 72 */ fmuls f3, f3, f1
/* 800F92E0 000F5120 FC 08 00 40 */ fcmpo cr0, f8, f0
/* 800F92E4 000F5124 EC 84 00 72 */ fmuls f4, f4, f1
/* 800F92E8 000F5128 EC A5 00 72 */ fmuls f5, f5, f1
/* 800F92EC 000F512C EC C6 00 72 */ fmuls f6, f6, f1
/* 800F92F0 000F5130 EC E7 00 72 */ fmuls f7, f7, f1
/* 800F92F4 000F5134 ED 29 00 72 */ fmuls f9, f9, f1
/* 800F92F8 000F5138 ED 4A 00 72 */ fmuls f10, f10, f1
/* 800F92FC 000F513C ED 6B 00 72 */ fmuls f11, f11, f1
/* 800F9300 000F5140 ED 8C 00 72 */ fmuls f12, f12, f1
/* 800F9304 000F5144 ED AD 00 72 */ fmuls f13, f13, f1
/* 800F9308 000F5148 4C 41 13 82 */ cror eq, gt, eq
/* 800F930C 000F514C 38 A5 00 01 */ addi r5, r5, 0x1
/* 800F9310 000F5150 41 82 FF B8 */ beq lbl_800F92C8
/* 800F9314 000F5154 FC 09 00 40 */ fcmpo cr0, f9, f0
/* 800F9318 000F5158 4C 41 13 82 */ cror eq, gt, eq
/* 800F931C 000F515C 41 82 FF AC */ beq lbl_800F92C8
/* 800F9320 000F5160 FC 0A 00 40 */ fcmpo cr0, f10, f0
/* 800F9324 000F5164 4C 41 13 82 */ cror eq, gt, eq
/* 800F9328 000F5168 41 82 FF A0 */ beq lbl_800F92C8
/* 800F932C 000F516C FC 0B 00 40 */ fcmpo cr0, f11, f0
/* 800F9330 000F5170 4C 41 13 82 */ cror eq, gt, eq
/* 800F9334 000F5174 41 82 FF 94 */ beq lbl_800F92C8
/* 800F9338 000F5178 FC 0C 00 40 */ fcmpo cr0, f12, f0
/* 800F933C 000F517C 4C 41 13 82 */ cror eq, gt, eq
/* 800F9340 000F5180 41 82 FF 88 */ beq lbl_800F92C8
/* 800F9344 000F5184 FC 0D 00 40 */ fcmpo cr0, f13, f0
/* 800F9348 000F5188 4C 41 13 82 */ cror eq, gt, eq
/* 800F934C 000F518C 41 82 FF 7C */ beq lbl_800F92C8
/* 800F9350 000F5190 48 00 00 AC */ b lbl_800F93FC
.global lbl_800F9354
lbl_800F9354:
2022-10-16 16:31:36 +00:00
/* 800F9354 000F5194 C0 22 91 F8 */ lfs f1, "@10055"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F9358 000F5198 FC 08 08 40 */ fcmpo cr0, f8, f1
/* 800F935C 000F519C 40 80 00 A0 */ bge lbl_800F93FC
/* 800F9360 000F51A0 FC 09 08 40 */ fcmpo cr0, f9, f1
/* 800F9364 000F51A4 40 80 00 98 */ bge lbl_800F93FC
/* 800F9368 000F51A8 FC 0A 08 40 */ fcmpo cr0, f10, f1
/* 800F936C 000F51AC 40 80 00 90 */ bge lbl_800F93FC
/* 800F9370 000F51B0 FC 0B 08 40 */ fcmpo cr0, f11, f1
/* 800F9374 000F51B4 40 80 00 88 */ bge lbl_800F93FC
/* 800F9378 000F51B8 FC 0C 08 40 */ fcmpo cr0, f12, f1
/* 800F937C 000F51BC 40 80 00 80 */ bge lbl_800F93FC
/* 800F9380 000F51C0 FC 0D 08 40 */ fcmpo cr0, f13, f1
/* 800F9384 000F51C4 40 80 00 78 */ bge lbl_800F93FC
2022-10-16 16:31:36 +00:00
/* 800F9388 000F51C8 C0 02 92 08 */ lfs f0, "@10071"@sda21(r2)
2022-10-16 16:05:58 +00:00
.global lbl_800F938C
lbl_800F938C:
/* 800F938C 000F51CC ED 08 00 32 */ fmuls f8, f8, f0
/* 800F9390 000F51D0 38 A5 FF FF */ addi r5, r5, -0x1
/* 800F9394 000F51D4 EC 42 00 32 */ fmuls f2, f2, f0
/* 800F9398 000F51D8 EC 63 00 32 */ fmuls f3, f3, f0
/* 800F939C 000F51DC FC 08 08 40 */ fcmpo cr0, f8, f1
/* 800F93A0 000F51E0 EC 84 00 32 */ fmuls f4, f4, f0
/* 800F93A4 000F51E4 EC A5 00 32 */ fmuls f5, f5, f0
/* 800F93A8 000F51E8 EC C6 00 32 */ fmuls f6, f6, f0
/* 800F93AC 000F51EC EC E7 00 32 */ fmuls f7, f7, f0
/* 800F93B0 000F51F0 ED 29 00 32 */ fmuls f9, f9, f0
/* 800F93B4 000F51F4 ED 4A 00 32 */ fmuls f10, f10, f0
/* 800F93B8 000F51F8 ED 6B 00 32 */ fmuls f11, f11, f0
/* 800F93BC 000F51FC ED 8C 00 32 */ fmuls f12, f12, f0
/* 800F93C0 000F5200 ED AD 00 32 */ fmuls f13, f13, f0
/* 800F93C4 000F5204 40 80 00 38 */ bge lbl_800F93FC
/* 800F93C8 000F5208 FC 09 08 40 */ fcmpo cr0, f9, f1
/* 800F93CC 000F520C 40 80 00 30 */ bge lbl_800F93FC
/* 800F93D0 000F5210 FC 0A 08 40 */ fcmpo cr0, f10, f1
/* 800F93D4 000F5214 40 80 00 28 */ bge lbl_800F93FC
/* 800F93D8 000F5218 FC 0B 08 40 */ fcmpo cr0, f11, f1
/* 800F93DC 000F521C 40 80 00 20 */ bge lbl_800F93FC
/* 800F93E0 000F5220 FC 0C 08 40 */ fcmpo cr0, f12, f1
/* 800F93E4 000F5224 40 80 00 18 */ bge lbl_800F93FC
/* 800F93E8 000F5228 FC 0D 08 40 */ fcmpo cr0, f13, f1
/* 800F93EC 000F522C 40 80 00 10 */ bge lbl_800F93FC
/* 800F93F0 000F5230 7C A0 07 74 */ extsb r0, r5
/* 800F93F4 000F5234 2C 00 FF EF */ cmpwi r0, -0x11
/* 800F93F8 000F5238 41 81 FF 94 */ bgt lbl_800F938C
.global lbl_800F93FC
lbl_800F93FC:
/* 800F93FC 000F523C D0 41 00 08 */ stfs f2, 0x8(r1)
/* 800F9400 000F5240 38 81 00 08 */ addi r4, r1, 0x8
/* 800F9404 000F5244 7C A5 07 74 */ extsb r5, r5
/* 800F9408 000F5248 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 800F940C 000F524C D0 81 00 10 */ stfs f4, 0x10(r1)
/* 800F9410 000F5250 D0 A1 00 14 */ stfs f5, 0x14(r1)
/* 800F9414 000F5254 D0 C1 00 18 */ stfs f6, 0x18(r1)
/* 800F9418 000F5258 D0 E1 00 1C */ stfs f7, 0x1c(r1)
2022-10-16 16:31:36 +00:00
/* 800F941C 000F525C 4B F3 E3 C5 */ bl GXSetIndTexMtx
2022-10-16 16:05:58 +00:00
/* 800F9420 000F5260 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800F9424 000F5264 7C 08 03 A6 */ mtlr r0
/* 800F9428 000F5268 38 21 00 20 */ addi r1, r1, 0x20
/* 800F942C 000F526C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __ct__Q34nw4r3lyt8MaterialFPCQ44nw4r3lyt3res8MaterialRCQ34nw4r3lyt11ResBlockSet
__ct__Q34nw4r3lyt8MaterialFPCQ44nw4r3lyt3res8MaterialRCQ34nw4r3lyt11ResBlockSet:
2022-10-16 16:05:58 +00:00
/* 800F9430 000F5270 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 800F9434 000F5274 7C 08 02 A6 */ mflr r0
/* 800F9438 000F5278 90 01 00 74 */ stw r0, 0x74(r1)
/* 800F943C 000F527C 39 61 00 70 */ addi r11, r1, 0x70
2022-10-16 16:31:36 +00:00
/* 800F9440 000F5280 4B F0 DE C9 */ bl __save_gpr
/* 800F9444 000F5284 3C C0 80 44 */ lis r6, __vt__Q34nw4r3lyt8Material@ha
2022-10-16 16:05:58 +00:00
/* 800F9448 000F5288 38 03 00 08 */ addi r0, r3, 0x8
2022-10-16 16:31:36 +00:00
/* 800F944C 000F528C 38 C6 15 28 */ addi r6, r6, __vt__Q34nw4r3lyt8Material@l
2022-10-16 16:05:58 +00:00
/* 800F9450 000F5290 39 C0 00 00 */ li r14, 0x0
/* 800F9454 000F5294 90 C3 00 00 */ stw r6, 0x0(r3)
2022-10-16 16:31:36 +00:00
/* 800F9458 000F5298 3C E0 80 0F */ lis r7, __ct__Q34nw4r2ut5ColorFv@ha
2022-10-16 16:05:58 +00:00
/* 800F945C 000F529C 7C 98 23 78 */ mr r24, r4
2022-10-16 16:31:36 +00:00
/* 800F9460 000F52A0 3C C0 80 0D */ lis r6, __dt__Q34nw4r2ut5ColorFv@ha
2022-10-16 16:05:58 +00:00
/* 800F9464 000F52A4 7C B9 2B 78 */ mr r25, r5
2022-10-16 16:31:36 +00:00
/* 800F9468 000F52A8 38 87 4D B0 */ addi r4, r7, __ct__Q34nw4r2ut5ColorFv@l
/* 800F946C 000F52AC 38 A6 F5 90 */ addi r5, r6, __dt__Q34nw4r2ut5ColorFv@l
2022-10-16 16:05:58 +00:00
/* 800F9470 000F52B0 91 C3 00 04 */ stw r14, 0x4(r3)
/* 800F9474 000F52B4 7C 77 1B 78 */ mr r23, r3
/* 800F9478 000F52B8 38 C0 00 04 */ li r6, 0x4
/* 800F947C 000F52BC 90 03 00 08 */ stw r0, 0x8(r3)
/* 800F9480 000F52C0 38 E0 00 04 */ li r7, 0x4
/* 800F9484 000F52C4 90 03 00 0C */ stw r0, 0xc(r3)
/* 800F9488 000F52C8 38 63 00 28 */ addi r3, r3, 0x28
2022-10-16 16:31:36 +00:00
/* 800F948C 000F52CC 4B F0 DB 99 */ bl __construct_array
/* 800F9490 000F52D0 38 82 E4 50 */ addi r4, r2, DefaultBlackColor_805643D0@sda21
2022-10-16 16:05:58 +00:00
/* 800F9494 000F52D4 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F9498 000F52D8 80 77 00 38 */ lwz r3, 0x38(r23)
/* 800F949C 000F52DC 38 E0 00 FF */ li r7, 0xff
2022-10-16 16:31:36 +00:00
/* 800F94A0 000F52E0 A9 42 E4 50 */ lha r10, DefaultBlackColor_805643D0@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F94A4 000F52E4 54 00 06 FE */ clrlwi r0, r0, 27
/* 800F94A8 000F52E8 54 66 06 FE */ clrlwi r6, r3, 27
/* 800F94AC 000F52EC A8 A4 00 02 */ lha r5, 0x2(r4)
/* 800F94B0 000F52F0 A9 24 00 04 */ lha r9, 0x4(r4)
/* 800F94B4 000F52F4 38 77 00 44 */ addi r3, r23, 0x44
/* 800F94B8 000F52F8 A9 04 00 06 */ lha r8, 0x6(r4)
/* 800F94BC 000F52FC 7F 04 C3 78 */ mr r4, r24
/* 800F94C0 000F5300 B0 B7 00 12 */ sth r5, 0x12(r23)
/* 800F94C4 000F5304 38 A0 00 14 */ li r5, 0x14
/* 800F94C8 000F5308 B1 57 00 10 */ sth r10, 0x10(r23)
/* 800F94CC 000F530C B1 37 00 14 */ sth r9, 0x14(r23)
/* 800F94D0 000F5310 B1 17 00 16 */ sth r8, 0x16(r23)
/* 800F94D4 000F5314 B0 F7 00 18 */ sth r7, 0x18(r23)
/* 800F94D8 000F5318 B0 F7 00 1A */ sth r7, 0x1a(r23)
/* 800F94DC 000F531C B0 F7 00 1C */ sth r7, 0x1c(r23)
/* 800F94E0 000F5320 B0 F7 00 1E */ sth r7, 0x1e(r23)
/* 800F94E4 000F5324 B0 F7 00 20 */ sth r7, 0x20(r23)
/* 800F94E8 000F5328 B0 F7 00 22 */ sth r7, 0x22(r23)
/* 800F94EC 000F532C B0 F7 00 24 */ sth r7, 0x24(r23)
/* 800F94F0 000F5330 B0 F7 00 26 */ sth r7, 0x26(r23)
/* 800F94F4 000F5334 90 D7 00 38 */ stw r6, 0x38(r23)
/* 800F94F8 000F5338 90 17 00 3C */ stw r0, 0x3c(r23)
/* 800F94FC 000F533C 99 D7 00 59 */ stb r14, 0x59(r23)
/* 800F9500 000F5340 91 D7 00 40 */ stw r14, 0x40(r23)
2022-10-16 16:31:36 +00:00
/* 800F9504 000F5344 4B F1 45 7D */ bl strncpy
2022-10-16 16:05:58 +00:00
/* 800F9508 000F5348 99 D7 00 58 */ stb r14, 0x58(r23)
/* 800F950C 000F534C 3B D8 00 40 */ addi r30, r24, 0x40
/* 800F9510 000F5350 39 E0 00 08 */ li r15, 0x8
/* 800F9514 000F5354 A8 18 00 14 */ lha r0, 0x14(r24)
/* 800F9518 000F5358 B0 17 00 10 */ sth r0, 0x10(r23)
/* 800F951C 000F535C A8 18 00 16 */ lha r0, 0x16(r24)
/* 800F9520 000F5360 B0 17 00 12 */ sth r0, 0x12(r23)
/* 800F9524 000F5364 A8 18 00 18 */ lha r0, 0x18(r24)
/* 800F9528 000F5368 B0 17 00 14 */ sth r0, 0x14(r23)
/* 800F952C 000F536C A8 18 00 1A */ lha r0, 0x1a(r24)
/* 800F9530 000F5370 B0 17 00 16 */ sth r0, 0x16(r23)
/* 800F9534 000F5374 A8 18 00 1C */ lha r0, 0x1c(r24)
/* 800F9538 000F5378 B0 17 00 18 */ sth r0, 0x18(r23)
/* 800F953C 000F537C A8 18 00 1E */ lha r0, 0x1e(r24)
/* 800F9540 000F5380 B0 17 00 1A */ sth r0, 0x1a(r23)
/* 800F9544 000F5384 A8 18 00 20 */ lha r0, 0x20(r24)
/* 800F9548 000F5388 B0 17 00 1C */ sth r0, 0x1c(r23)
/* 800F954C 000F538C A8 18 00 22 */ lha r0, 0x22(r24)
/* 800F9550 000F5390 B0 17 00 1E */ sth r0, 0x1e(r23)
/* 800F9554 000F5394 A8 18 00 24 */ lha r0, 0x24(r24)
/* 800F9558 000F5398 B0 17 00 20 */ sth r0, 0x20(r23)
/* 800F955C 000F539C A8 18 00 26 */ lha r0, 0x26(r24)
/* 800F9560 000F53A0 B0 17 00 22 */ sth r0, 0x22(r23)
/* 800F9564 000F53A4 A8 18 00 28 */ lha r0, 0x28(r24)
/* 800F9568 000F53A8 B0 17 00 24 */ sth r0, 0x24(r23)
/* 800F956C 000F53AC A8 18 00 2A */ lha r0, 0x2a(r24)
/* 800F9570 000F53B0 B0 17 00 26 */ sth r0, 0x26(r23)
/* 800F9574 000F53B4 80 18 00 2C */ lwz r0, 0x2c(r24)
/* 800F9578 000F53B8 90 17 00 28 */ stw r0, 0x28(r23)
/* 800F957C 000F53BC 80 18 00 30 */ lwz r0, 0x30(r24)
/* 800F9580 000F53C0 90 17 00 2C */ stw r0, 0x2c(r23)
/* 800F9584 000F53C4 80 18 00 34 */ lwz r0, 0x34(r24)
/* 800F9588 000F53C8 90 17 00 30 */ stw r0, 0x30(r23)
/* 800F958C 000F53CC 80 18 00 38 */ lwz r0, 0x38(r24)
/* 800F9590 000F53D0 90 17 00 34 */ stw r0, 0x34(r23)
/* 800F9594 000F53D4 80 18 00 3C */ lwz r0, 0x3c(r24)
/* 800F9598 000F53D8 54 06 E7 3E */ extrwi r6, r0, 4, 24
/* 800F959C 000F53DC 54 03 16 BA */ rlwinm r3, r0, 2, 26, 29
/* 800F95A0 000F53E0 1C 86 00 14 */ mulli r4, r6, 0x14
/* 800F95A4 000F53E4 54 05 07 3E */ clrlwi r5, r0, 28
/* 800F95A8 000F53E8 3B E3 00 40 */ addi r31, r3, 0x40
/* 800F95AC 000F53EC 28 05 00 08 */ cmplwi r5, 0x8
/* 800F95B0 000F53F0 7F B8 FA 14 */ add r29, r24, r31
/* 800F95B4 000F53F4 54 03 D6 BA */ rlwinm r3, r0, 26, 26, 29
/* 800F95B8 000F53F8 7F FF 22 14 */ add r31, r31, r4
/* 800F95BC 000F53FC 54 04 C7 3E */ extrwi r4, r0, 4, 20
/* 800F95C0 000F5400 7F 98 FA 14 */ add r28, r24, r31
/* 800F95C4 000F5404 7F FF 1A 14 */ add r31, r31, r3
/* 800F95C8 000F5408 41 81 00 08 */ bgt lbl_800F95D0
/* 800F95CC 000F540C 7C AF 2B 78 */ mr r15, r5
.global lbl_800F95D0
lbl_800F95D0:
/* 800F95D0 000F5410 28 06 00 0A */ cmplwi r6, 0xa
/* 800F95D4 000F5414 38 60 00 0A */ li r3, 0xa
/* 800F95D8 000F5418 90 61 00 20 */ stw r3, 0x20(r1)
/* 800F95DC 000F541C 41 81 00 08 */ bgt lbl_800F95E4
/* 800F95E0 000F5420 90 C1 00 20 */ stw r6, 0x20(r1)
.global lbl_800F95E4
lbl_800F95E4:
/* 800F95E4 000F5424 28 04 00 08 */ cmplwi r4, 0x8
/* 800F95E8 000F5428 3A 60 00 08 */ li r19, 0x8
/* 800F95EC 000F542C 41 81 00 08 */ bgt lbl_800F95F4
/* 800F95F0 000F5430 7C 93 23 78 */ mr r19, r4
.global lbl_800F95F4
lbl_800F95F4:
/* 800F95F4 000F5434 54 06 3F FE */ extrwi r6, r0, 1, 6
/* 800F95F8 000F5438 54 04 2F FE */ extrwi r4, r0, 1, 4
/* 800F95FC 000F543C 54 07 9F BE */ extrwi r7, r0, 2, 17
/* 800F9600 000F5440 54 03 A7 FE */ extrwi r3, r0, 1, 19
/* 800F9604 000F5444 98 61 00 1C */ stb r3, 0x1c(r1)
/* 800F9608 000F5448 7C A6 00 D0 */ neg r5, r6
/* 800F960C 000F544C 7C 64 00 D0 */ neg r3, r4
/* 800F9610 000F5450 28 07 00 03 */ cmplwi r7, 0x3
/* 800F9614 000F5454 7C 64 23 78 */ or r4, r3, r4
/* 800F9618 000F5458 7C A5 33 78 */ or r5, r5, r6
/* 800F961C 000F545C 54 03 4F FE */ extrwi r3, r0, 1, 8
/* 800F9620 000F5460 98 61 00 1B */ stb r3, 0x1b(r1)
/* 800F9624 000F5464 54 A3 0F FE */ srwi r3, r5, 31
/* 800F9628 000F5468 39 C0 00 03 */ li r14, 0x3
/* 800F962C 000F546C 98 61 00 19 */ stb r3, 0x19(r1)
/* 800F9630 000F5470 54 03 47 FE */ extrwi r3, r0, 1, 7
/* 800F9634 000F5474 98 61 00 1A */ stb r3, 0x1a(r1)
/* 800F9638 000F5478 54 83 0F FE */ srwi r3, r4, 31
/* 800F963C 000F547C 98 61 00 18 */ stb r3, 0x18(r1)
/* 800F9640 000F5480 41 81 00 08 */ bgt lbl_800F9648
/* 800F9644 000F5484 7C EE 3B 78 */ mr r14, r7
.global lbl_800F9648
lbl_800F9648:
/* 800F9648 000F5488 54 03 8F 7E */ extrwi r3, r0, 3, 14
/* 800F964C 000F548C 3A 80 00 04 */ li r20, 0x4
/* 800F9650 000F5490 28 03 00 04 */ cmplwi r3, 0x4
/* 800F9654 000F5494 41 81 00 08 */ bgt lbl_800F965C
/* 800F9658 000F5498 7C 74 1B 78 */ mr r20, r3
.global lbl_800F965C
lbl_800F965C:
/* 800F965C 000F549C 54 00 76 FE */ extrwi r0, r0, 5, 9
/* 800F9660 000F54A0 3A A0 00 10 */ li r21, 0x10
/* 800F9664 000F54A4 28 00 00 10 */ cmplwi r0, 0x10
/* 800F9668 000F54A8 41 81 00 08 */ bgt lbl_800F9670
/* 800F966C 000F54AC 7C 15 03 78 */ mr r21, r0
.global lbl_800F9670
lbl_800F9670:
/* 800F9670 000F54B0 88 01 00 19 */ lbz r0, 0x19(r1)
/* 800F9674 000F54B4 7E E3 BB 78 */ mr r3, r23
/* 800F9678 000F54B8 90 01 00 08 */ stw r0, 0x8(r1)
/* 800F967C 000F54BC 55 E4 06 3E */ clrlwi r4, r15, 24
/* 800F9680 000F54C0 88 01 00 18 */ lbz r0, 0x18(r1)
/* 800F9684 000F54C4 56 66 06 3E */ clrlwi r6, r19, 24
/* 800F9688 000F54C8 90 01 00 0C */ stw r0, 0xc(r1)
/* 800F968C 000F54CC 56 A7 06 3E */ clrlwi r7, r21, 24
/* 800F9690 000F54D0 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800F9694 000F54D4 56 89 06 3E */ clrlwi r9, r20, 24
/* 800F9698 000F54D8 89 01 00 1C */ lbz r8, 0x1c(r1)
/* 800F969C 000F54DC 55 CA 06 3E */ clrlwi r10, r14, 24
/* 800F96A0 000F54E0 54 05 06 3E */ clrlwi r5, r0, 24
/* 800F96A4 000F54E4 88 01 00 1B */ lbz r0, 0x1b(r1)
/* 800F96A8 000F54E8 90 01 00 10 */ stw r0, 0x10(r1)
/* 800F96AC 000F54EC 88 01 00 1A */ lbz r0, 0x1a(r1)
/* 800F96B0 000F54F0 90 01 00 14 */ stw r0, 0x14(r1)
2022-10-16 16:31:36 +00:00
/* 800F96B4 000F54F4 48 00 0E CD */ bl ReserveGXMem__Q34nw4r3lyt8MaterialFUcUcUcUcbUcUcbbbb
2022-10-16 16:05:58 +00:00
/* 800F96B8 000F54F8 81 17 00 40 */ lwz r8, 0x40(r23)
/* 800F96BC 000F54FC 2C 08 00 00 */ cmpwi r8, 0x0
/* 800F96C0 000F5500 41 82 0D A8 */ beq lbl_800FA468
/* 800F96C4 000F5504 55 E6 06 3F */ clrlwi. r6, r15, 24
/* 800F96C8 000F5508 41 82 00 78 */ beq lbl_800F9740
/* 800F96CC 000F550C 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F96D0 000F5510 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 800F96D4 000F5514 C0 02 92 00 */ lfs f0, "@10057"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F96D8 000F5518 38 60 00 01 */ li r3, 0x1
/* 800F96DC 000F551C 54 07 27 3E */ srwi r7, r0, 28
/* 800F96E0 000F5520 1C A7 00 1C */ mulli r5, r7, 0x1c
/* 800F96E4 000F5524 7C 07 30 50 */ subf r0, r7, r6
/* 800F96E8 000F5528 7C A8 2A 14 */ add r5, r8, r5
/* 800F96EC 000F552C 7C 09 03 A6 */ mtctr r0
/* 800F96F0 000F5530 7C 07 30 40 */ cmplw r7, r6
/* 800F96F4 000F5534 40 80 00 4C */ bge lbl_800F9740
.global lbl_800F96F8
lbl_800F96F8:
/* 800F96F8 000F5538 2C 05 00 00 */ cmpwi r5, 0x0
/* 800F96FC 000F553C 41 82 00 3C */ beq lbl_800F9738
/* 800F9700 000F5540 90 85 00 00 */ stw r4, 0x0(r5)
/* 800F9704 000F5544 B0 85 00 08 */ sth r4, 0x8(r5)
/* 800F9708 000F5548 B0 85 00 0A */ sth r4, 0xa(r5)
/* 800F970C 000F554C 80 05 00 18 */ lwz r0, 0x18(r5)
/* 800F9710 000F5550 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 800F9714 000F5554 54 00 02 7E */ clrlwi r0, r0, 9
/* 800F9718 000F5558 50 60 A2 56 */ rlwimi r0, r3, 20, 9, 11
/* 800F971C 000F555C D0 05 00 10 */ stfs f0, 0x10(r5)
/* 800F9720 000F5560 64 00 00 08 */ oris r0, r0, 0x8
/* 800F9724 000F5564 54 00 04 D8 */ rlwinm r0, r0, 0, 19, 12
/* 800F9728 000F5568 B0 85 00 14 */ sth r4, 0x14(r5)
/* 800F972C 000F556C 90 85 00 04 */ stw r4, 0x4(r5)
/* 800F9730 000F5570 90 05 00 18 */ stw r0, 0x18(r5)
/* 800F9734 000F5574 B0 85 00 16 */ sth r4, 0x16(r5)
.global lbl_800F9738
lbl_800F9738:
/* 800F9738 000F5578 38 A5 00 1C */ addi r5, r5, 0x1c
/* 800F973C 000F557C 42 00 FF BC */ bdnz lbl_800F96F8
.global lbl_800F9740
lbl_800F9740:
/* 800F9740 000F5580 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F9744 000F5584 55 F6 06 3F */ clrlwi. r22, r15, 24
/* 800F9748 000F5588 51 E0 E0 06 */ rlwimi r0, r15, 28, 0, 3
/* 800F974C 000F558C 90 17 00 3C */ stw r0, 0x3c(r23)
/* 800F9750 000F5590 41 82 01 5C */ beq lbl_800F98AC
/* 800F9754 000F5594 80 79 00 00 */ lwz r3, 0x0(r25)
/* 800F9758 000F5598 3B 60 00 00 */ li r27, 0x0
/* 800F975C 000F559C 82 37 00 40 */ lwz r17, 0x40(r23)
/* 800F9760 000F55A0 3B 40 00 00 */ li r26, 0x0
/* 800F9764 000F55A4 3A 43 00 0C */ addi r18, r3, 0xc
/* 800F9768 000F55A8 48 00 00 AC */ b lbl_800F9814
.global lbl_800F976C
lbl_800F976C:
/* 800F976C 000F55AC 57 50 15 BA */ rlwinm r16, r26, 2, 22, 29
/* 800F9770 000F55B0 80 79 00 0C */ lwz r3, 0xc(r25)
/* 800F9774 000F55B4 7C 1E 82 2E */ lhzx r0, r30, r16
/* 800F9778 000F55B8 3C 80 74 69 */ lis r4, 0x7469
/* 800F977C 000F55BC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 800F9780 000F55C0 7D FE 82 14 */ add r15, r30, r16
/* 800F9784 000F55C4 54 00 18 38 */ slwi r0, r0, 3
/* 800F9788 000F55C8 38 84 6D 67 */ addi r4, r4, 0x6d67
/* 800F978C 000F55CC 7C 12 00 2E */ lwzx r0, r18, r0
/* 800F9790 000F55D0 38 C0 00 00 */ li r6, 0x0
/* 800F9794 000F55D4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 800F9798 000F55D8 7C B2 02 14 */ add r5, r18, r0
/* 800F979C 000F55DC 7D 89 03 A6 */ mtctr r12
/* 800F97A0 000F55E0 4E 80 04 21 */ bctrl
/* 800F97A4 000F55E4 7C 97 82 14 */ add r4, r23, r16
/* 800F97A8 000F55E8 7C 70 1B 78 */ mr r16, r3
/* 800F97AC 000F55EC 90 64 00 5C */ stw r3, 0x5c(r4)
2022-10-16 16:31:36 +00:00
/* 800F97B0 000F55F0 48 07 B3 49 */ bl HALTPLBind__FP10TPLPalette
2022-10-16 16:05:58 +00:00
/* 800F97B4 000F55F4 57 60 06 3E */ clrlwi r0, r27, 24
/* 800F97B8 000F55F8 7E 04 83 78 */ mr r4, r16
/* 800F97BC 000F55FC 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800F97C0 000F5600 38 A0 00 00 */ li r5, 0x0
/* 800F97C4 000F5604 7E 11 02 14 */ add r16, r17, r0
/* 800F97C8 000F5608 7E 03 83 78 */ mr r3, r16
2022-10-16 16:31:36 +00:00
/* 800F97CC 000F560C 48 00 29 45 */ bl ReplaceImage__Q34nw4r3lyt6TexMapFP10TPLPaletteUl
2022-10-16 16:05:58 +00:00
/* 800F97D0 000F5610 88 0F 00 02 */ lbz r0, 0x2(r15)
/* 800F97D4 000F5614 3B 7B 00 01 */ addi r27, r27, 0x1
/* 800F97D8 000F5618 80 B0 00 18 */ lwz r5, 0x18(r16)
/* 800F97DC 000F561C 3B 5A 00 01 */ addi r26, r26, 0x1
/* 800F97E0 000F5620 50 05 C9 4C */ rlwimi r5, r0, 25, 5, 6
/* 800F97E4 000F5624 88 0F 00 03 */ lbz r0, 0x3(r15)
/* 800F97E8 000F5628 50 05 B9 D0 */ rlwimi r5, r0, 23, 7, 8
/* 800F97EC 000F562C 90 B0 00 18 */ stw r5, 0x18(r16)
/* 800F97F0 000F5630 88 0F 00 02 */ lbz r0, 0x2(r15)
/* 800F97F4 000F5634 88 8F 00 03 */ lbz r4, 0x3(r15)
/* 800F97F8 000F5638 54 03 F7 7E */ extrwi r3, r0, 3, 27
/* 800F97FC 000F563C 38 03 00 01 */ addi r0, r3, 0x1
/* 800F9800 000F5640 54 84 F7 FE */ extrwi r4, r4, 1, 29
/* 800F9804 000F5644 50 05 A2 56 */ rlwimi r5, r0, 20, 9, 11
/* 800F9808 000F5648 38 04 00 01 */ addi r0, r4, 0x1
/* 800F980C 000F564C 50 05 9B 18 */ rlwimi r5, r0, 19, 12, 12
/* 800F9810 000F5650 90 B0 00 18 */ stw r5, 0x18(r16)
.global lbl_800F9814
lbl_800F9814:
/* 800F9814 000F5654 57 40 06 3E */ clrlwi r0, r26, 24
/* 800F9818 000F5658 7C 00 B0 40 */ cmplw r0, r22
/* 800F981C 000F565C 41 80 FF 50 */ blt lbl_800F976C
/* 800F9820 000F5660 57 67 06 3F */ clrlwi. r7, r27, 24
/* 800F9824 000F5664 41 82 00 7C */ beq lbl_800F98A0
/* 800F9828 000F5668 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F982C 000F566C 38 80 00 00 */ li r4, 0x0
/* 800F9830 000F5670 80 D7 00 40 */ lwz r6, 0x40(r23)
/* 800F9834 000F5674 38 60 00 01 */ li r3, 0x1
/* 800F9838 000F5678 54 08 27 3E */ srwi r8, r0, 28
2022-10-16 16:31:36 +00:00
/* 800F983C 000F567C C0 02 92 00 */ lfs f0, "@10057"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800F9840 000F5680 1C A8 00 1C */ mulli r5, r8, 0x1c
/* 800F9844 000F5684 7C 08 38 50 */ subf r0, r8, r7
/* 800F9848 000F5688 7C A6 2A 14 */ add r5, r6, r5
/* 800F984C 000F568C 7C 09 03 A6 */ mtctr r0
/* 800F9850 000F5690 7C 08 38 40 */ cmplw r8, r7
/* 800F9854 000F5694 40 80 00 4C */ bge lbl_800F98A0
.global lbl_800F9858
lbl_800F9858:
/* 800F9858 000F5698 2C 05 00 00 */ cmpwi r5, 0x0
/* 800F985C 000F569C 41 82 00 3C */ beq lbl_800F9898
/* 800F9860 000F56A0 90 85 00 00 */ stw r4, 0x0(r5)
/* 800F9864 000F56A4 B0 85 00 08 */ sth r4, 0x8(r5)
/* 800F9868 000F56A8 B0 85 00 0A */ sth r4, 0xa(r5)
/* 800F986C 000F56AC 80 05 00 18 */ lwz r0, 0x18(r5)
/* 800F9870 000F56B0 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 800F9874 000F56B4 54 00 02 7E */ clrlwi r0, r0, 9
/* 800F9878 000F56B8 50 60 A2 56 */ rlwimi r0, r3, 20, 9, 11
/* 800F987C 000F56BC D0 05 00 10 */ stfs f0, 0x10(r5)
/* 800F9880 000F56C0 64 00 00 08 */ oris r0, r0, 0x8
/* 800F9884 000F56C4 54 00 04 D8 */ rlwinm r0, r0, 0, 19, 12
/* 800F9888 000F56C8 B0 85 00 14 */ sth r4, 0x14(r5)
/* 800F988C 000F56CC 90 85 00 04 */ stw r4, 0x4(r5)
/* 800F9890 000F56D0 90 05 00 18 */ stw r0, 0x18(r5)
/* 800F9894 000F56D4 B0 85 00 16 */ sth r4, 0x16(r5)
.global lbl_800F9898
lbl_800F9898:
/* 800F9898 000F56D8 38 A5 00 1C */ addi r5, r5, 0x1c
/* 800F989C 000F56DC 42 00 FF BC */ bdnz lbl_800F9858
.global lbl_800F98A0
lbl_800F98A0:
/* 800F98A0 000F56E0 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F98A4 000F56E4 53 60 E0 06 */ rlwimi r0, r27, 28, 0, 3
/* 800F98A8 000F56E8 90 17 00 3C */ stw r0, 0x3c(r23)
.global lbl_800F98AC
lbl_800F98AC:
/* 800F98AC 000F56EC 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800F98B0 000F56F0 7F A6 EB 78 */ mr r6, r29
/* 800F98B4 000F56F4 80 97 00 38 */ lwz r4, 0x38(r23)
/* 800F98B8 000F56F8 54 03 06 3F */ clrlwi. r3, r0, 24
/* 800F98BC 000F56FC 80 B7 00 40 */ lwz r5, 0x40(r23)
/* 800F98C0 000F5700 54 80 27 3E */ srwi r0, r4, 28
/* 800F98C4 000F5704 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800F98C8 000F5708 7C 85 02 14 */ add r4, r5, r0
/* 800F98CC 000F570C 40 81 01 04 */ ble lbl_800F99D0
/* 800F98D0 000F5710 54 60 F0 BF */ srwi. r0, r3, 2
/* 800F98D4 000F5714 7C 09 03 A6 */ mtctr r0
/* 800F98D8 000F5718 41 82 00 BC */ beq lbl_800F9994
.global lbl_800F98DC
lbl_800F98DC:
/* 800F98DC 000F571C C0 1D 00 00 */ lfs f0, 0x0(r29)
/* 800F98E0 000F5720 D0 04 00 00 */ stfs f0, 0x0(r4)
/* 800F98E4 000F5724 C0 1D 00 04 */ lfs f0, 0x4(r29)
/* 800F98E8 000F5728 D0 04 00 04 */ stfs f0, 0x4(r4)
/* 800F98EC 000F572C C0 06 00 08 */ lfs f0, 0x8(r6)
/* 800F98F0 000F5730 D0 04 00 08 */ stfs f0, 0x8(r4)
/* 800F98F4 000F5734 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800F98F8 000F5738 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 800F98FC 000F573C C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800F9900 000F5740 D0 04 00 10 */ stfs f0, 0x10(r4)
/* 800F9904 000F5744 C0 1D 00 14 */ lfs f0, 0x14(r29)
/* 800F9908 000F5748 D0 04 00 14 */ stfs f0, 0x14(r4)
/* 800F990C 000F574C C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 800F9910 000F5750 D0 04 00 18 */ stfs f0, 0x18(r4)
/* 800F9914 000F5754 C0 06 00 1C */ lfs f0, 0x1c(r6)
/* 800F9918 000F5758 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 800F991C 000F575C C0 06 00 20 */ lfs f0, 0x20(r6)
/* 800F9920 000F5760 D0 04 00 20 */ stfs f0, 0x20(r4)
/* 800F9924 000F5764 C0 06 00 24 */ lfs f0, 0x24(r6)
/* 800F9928 000F5768 D0 04 00 24 */ stfs f0, 0x24(r4)
/* 800F992C 000F576C C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 800F9930 000F5770 D0 04 00 28 */ stfs f0, 0x28(r4)
/* 800F9934 000F5774 C0 1D 00 2C */ lfs f0, 0x2c(r29)
/* 800F9938 000F5778 D0 04 00 2C */ stfs f0, 0x2c(r4)
/* 800F993C 000F577C C0 06 00 30 */ lfs f0, 0x30(r6)
/* 800F9940 000F5780 D0 04 00 30 */ stfs f0, 0x30(r4)
/* 800F9944 000F5784 C0 06 00 34 */ lfs f0, 0x34(r6)
/* 800F9948 000F5788 D0 04 00 34 */ stfs f0, 0x34(r4)
/* 800F994C 000F578C C0 06 00 38 */ lfs f0, 0x38(r6)
/* 800F9950 000F5790 D0 04 00 38 */ stfs f0, 0x38(r4)
/* 800F9954 000F5794 C0 1D 00 3C */ lfs f0, 0x3c(r29)
/* 800F9958 000F5798 D0 04 00 3C */ stfs f0, 0x3c(r4)
/* 800F995C 000F579C C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 800F9960 000F57A0 3B BD 00 50 */ addi r29, r29, 0x50
/* 800F9964 000F57A4 D0 04 00 40 */ stfs f0, 0x40(r4)
/* 800F9968 000F57A8 C0 06 00 44 */ lfs f0, 0x44(r6)
/* 800F996C 000F57AC D0 04 00 44 */ stfs f0, 0x44(r4)
/* 800F9970 000F57B0 C0 06 00 48 */ lfs f0, 0x48(r6)
/* 800F9974 000F57B4 D0 04 00 48 */ stfs f0, 0x48(r4)
/* 800F9978 000F57B8 C0 06 00 4C */ lfs f0, 0x4c(r6)
/* 800F997C 000F57BC 38 C6 00 50 */ addi r6, r6, 0x50
/* 800F9980 000F57C0 D0 04 00 4C */ stfs f0, 0x4c(r4)
/* 800F9984 000F57C4 38 84 00 50 */ addi r4, r4, 0x50
/* 800F9988 000F57C8 42 00 FF 54 */ bdnz lbl_800F98DC
/* 800F998C 000F57CC 70 63 00 03 */ andi. r3, r3, 0x3
/* 800F9990 000F57D0 41 82 00 40 */ beq lbl_800F99D0
.global lbl_800F9994
lbl_800F9994:
/* 800F9994 000F57D4 7C 69 03 A6 */ mtctr r3
.global lbl_800F9998
lbl_800F9998:
/* 800F9998 000F57D8 C0 1D 00 00 */ lfs f0, 0x0(r29)
/* 800F999C 000F57DC D0 04 00 00 */ stfs f0, 0x0(r4)
/* 800F99A0 000F57E0 C0 1D 00 04 */ lfs f0, 0x4(r29)
/* 800F99A4 000F57E4 3B BD 00 14 */ addi r29, r29, 0x14
/* 800F99A8 000F57E8 D0 04 00 04 */ stfs f0, 0x4(r4)
/* 800F99AC 000F57EC C0 06 00 08 */ lfs f0, 0x8(r6)
/* 800F99B0 000F57F0 D0 04 00 08 */ stfs f0, 0x8(r4)
/* 800F99B4 000F57F4 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800F99B8 000F57F8 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 800F99BC 000F57FC C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800F99C0 000F5800 38 C6 00 14 */ addi r6, r6, 0x14
/* 800F99C4 000F5804 D0 04 00 10 */ stfs f0, 0x10(r4)
/* 800F99C8 000F5808 38 84 00 14 */ addi r4, r4, 0x14
/* 800F99CC 000F580C 42 00 FF CC */ bdnz lbl_800F9998
.global lbl_800F99D0
lbl_800F99D0:
/* 800F99D0 000F5810 80 17 00 38 */ lwz r0, 0x38(r23)
/* 800F99D4 000F5814 56 67 06 3F */ clrlwi. r7, r19, 24
/* 800F99D8 000F5818 80 B7 00 40 */ lwz r5, 0x40(r23)
/* 800F99DC 000F581C 54 03 47 3E */ extrwi r3, r0, 4, 4
/* 800F99E0 000F5820 54 00 27 3E */ srwi r0, r0, 28
/* 800F99E4 000F5824 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800F99E8 000F5828 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800F99EC 000F582C 7C 05 22 14 */ add r0, r5, r4
/* 800F99F0 000F5830 7D 43 02 14 */ add r10, r3, r0
/* 800F99F4 000F5834 41 82 00 54 */ beq lbl_800F9A48
/* 800F99F8 000F5838 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F99FC 000F583C 38 C0 00 00 */ li r6, 0x0
/* 800F9A00 000F5840 38 A0 00 01 */ li r5, 0x1
/* 800F9A04 000F5844 38 80 00 04 */ li r4, 0x4
/* 800F9A08 000F5848 54 08 67 3E */ extrwi r8, r0, 4, 8
/* 800F9A0C 000F584C 54 03 76 BA */ rlwinm r3, r0, 14, 26, 29
/* 800F9A10 000F5850 7C 08 38 50 */ subf r0, r8, r7
/* 800F9A14 000F5854 7D 2A 1A 14 */ add r9, r10, r3
/* 800F9A18 000F5858 38 60 00 3C */ li r3, 0x3c
/* 800F9A1C 000F585C 7C 09 03 A6 */ mtctr r0
/* 800F9A20 000F5860 7C 08 38 40 */ cmplw r8, r7
/* 800F9A24 000F5864 40 80 00 24 */ bge lbl_800F9A48
.global lbl_800F9A28
lbl_800F9A28:
/* 800F9A28 000F5868 2C 09 00 00 */ cmpwi r9, 0x0
/* 800F9A2C 000F586C 41 82 00 14 */ beq lbl_800F9A40
/* 800F9A30 000F5870 98 C9 00 03 */ stb r6, 0x3(r9)
/* 800F9A34 000F5874 98 A9 00 00 */ stb r5, 0x0(r9)
/* 800F9A38 000F5878 98 89 00 01 */ stb r4, 0x1(r9)
/* 800F9A3C 000F587C 98 69 00 02 */ stb r3, 0x2(r9)
.global lbl_800F9A40
lbl_800F9A40:
/* 800F9A40 000F5880 39 29 00 04 */ addi r9, r9, 0x4
/* 800F9A44 000F5884 42 00 FF E4 */ bdnz lbl_800F9A28
.global lbl_800F9A48
lbl_800F9A48:
/* 800F9A48 000F5888 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F9A4C 000F588C 52 60 A2 16 */ rlwimi r0, r19, 20, 8, 11
/* 800F9A50 000F5890 90 17 00 3C */ stw r0, 0x3c(r23)
/* 800F9A54 000F5894 38 60 00 00 */ li r3, 0x0
/* 800F9A58 000F5898 48 00 00 30 */ b lbl_800F9A88
.global lbl_800F9A5C
lbl_800F9A5C:
/* 800F9A5C 000F589C 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 800F9A60 000F58A0 38 63 00 01 */ addi r3, r3, 0x1
/* 800F9A64 000F58A4 98 0A 00 00 */ stb r0, 0x0(r10)
/* 800F9A68 000F58A8 88 1C 00 01 */ lbz r0, 0x1(r28)
/* 800F9A6C 000F58AC 98 0A 00 01 */ stb r0, 0x1(r10)
/* 800F9A70 000F58B0 88 1C 00 02 */ lbz r0, 0x2(r28)
/* 800F9A74 000F58B4 98 0A 00 02 */ stb r0, 0x2(r10)
/* 800F9A78 000F58B8 88 1C 00 03 */ lbz r0, 0x3(r28)
/* 800F9A7C 000F58BC 3B 9C 00 04 */ addi r28, r28, 0x4
/* 800F9A80 000F58C0 98 0A 00 03 */ stb r0, 0x3(r10)
/* 800F9A84 000F58C4 39 4A 00 04 */ addi r10, r10, 0x4
.global lbl_800F9A88
lbl_800F9A88:
/* 800F9A88 000F58C8 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800F9A8C 000F58CC 54 00 67 3E */ extrwi r0, r0, 4, 8
/* 800F9A90 000F58D0 7C 03 00 40 */ cmplw r3, r0
/* 800F9A94 000F58D4 41 80 FF C8 */ blt lbl_800F9A5C
/* 800F9A98 000F58D8 88 01 00 19 */ lbz r0, 0x19(r1)
/* 800F9A9C 000F58DC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800F9AA0 000F58E0 41 82 00 50 */ beq lbl_800F9AF0
/* 800F9AA4 000F58E4 80 B7 00 38 */ lwz r5, 0x38(r23)
/* 800F9AA8 000F58E8 7C F8 FA 14 */ add r7, r24, r31
/* 800F9AAC 000F58EC 80 D7 00 40 */ lwz r6, 0x40(r23)
/* 800F9AB0 000F58F0 54 A4 47 3E */ extrwi r4, r5, 4, 4
/* 800F9AB4 000F58F4 54 A0 27 3E */ srwi r0, r5, 28
/* 800F9AB8 000F58F8 1C 84 00 14 */ mulli r4, r4, 0x14
/* 800F9ABC 000F58FC 54 A5 76 BA */ rlwinm r5, r5, 14, 26, 29
/* 800F9AC0 000F5900 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800F9AC4 000F5904 7C 18 F8 AE */ lbzx r0, r24, r31
/* 800F9AC8 000F5908 7C 85 22 14 */ add r4, r5, r4
/* 800F9ACC 000F590C 3B FF 00 04 */ addi r31, r31, 0x4
/* 800F9AD0 000F5910 7C 66 1A 14 */ add r3, r6, r3
/* 800F9AD4 000F5914 7C 03 21 EE */ stbux r0, r3, r4
/* 800F9AD8 000F5918 88 07 00 01 */ lbz r0, 0x1(r7)
/* 800F9ADC 000F591C 98 03 00 01 */ stb r0, 0x1(r3)
/* 800F9AE0 000F5920 88 07 00 02 */ lbz r0, 0x2(r7)
/* 800F9AE4 000F5924 98 03 00 02 */ stb r0, 0x2(r3)
/* 800F9AE8 000F5928 88 07 00 03 */ lbz r0, 0x3(r7)
/* 800F9AEC 000F592C 98 03 00 03 */ stb r0, 0x3(r3)
.global lbl_800F9AF0
lbl_800F9AF0:
/* 800F9AF0 000F5930 88 01 00 18 */ lbz r0, 0x18(r1)
/* 800F9AF4 000F5934 2C 00 00 00 */ cmpwi r0, 0x0
/* 800F9AF8 000F5938 41 82 00 58 */ beq lbl_800F9B50
/* 800F9AFC 000F593C 80 97 00 38 */ lwz r4, 0x38(r23)
/* 800F9B00 000F5940 7D 38 FA 14 */ add r9, r24, r31
/* 800F9B04 000F5944 81 17 00 40 */ lwz r8, 0x40(r23)
/* 800F9B08 000F5948 54 80 47 3E */ extrwi r0, r4, 4, 4
/* 800F9B0C 000F594C 54 83 27 3E */ srwi r3, r4, 28
/* 800F9B10 000F5950 1C A0 00 14 */ mulli r5, r0, 0x14
/* 800F9B14 000F5954 54 87 D7 7A */ rlwinm r7, r4, 26, 29, 29
/* 800F9B18 000F5958 54 86 76 BA */ rlwinm r6, r4, 14, 26, 29
/* 800F9B1C 000F595C 7C 18 F8 AE */ lbzx r0, r24, r31
/* 800F9B20 000F5960 3B FF 00 04 */ addi r31, r31, 0x4
/* 800F9B24 000F5964 1C 83 00 1C */ mulli r4, r3, 0x1c
/* 800F9B28 000F5968 7C 67 32 14 */ add r3, r7, r6
/* 800F9B2C 000F596C 7C 85 22 14 */ add r4, r5, r4
/* 800F9B30 000F5970 7C 68 1A 14 */ add r3, r8, r3
/* 800F9B34 000F5974 7C 03 21 EE */ stbux r0, r3, r4
/* 800F9B38 000F5978 88 09 00 01 */ lbz r0, 0x1(r9)
/* 800F9B3C 000F597C 98 03 00 01 */ stb r0, 0x1(r3)
/* 800F9B40 000F5980 88 09 00 02 */ lbz r0, 0x2(r9)
/* 800F9B44 000F5984 98 03 00 02 */ stb r0, 0x2(r3)
/* 800F9B48 000F5988 88 09 00 03 */ lbz r0, 0x3(r9)
/* 800F9B4C 000F598C 98 03 00 03 */ stb r0, 0x3(r3)
.global lbl_800F9B50
lbl_800F9B50:
/* 800F9B50 000F5990 88 01 00 1C */ lbz r0, 0x1c(r1)
/* 800F9B54 000F5994 2C 00 00 00 */ cmpwi r0, 0x0
/* 800F9B58 000F5998 41 82 00 60 */ beq lbl_800F9BB8
/* 800F9B5C 000F599C 80 F7 00 38 */ lwz r7, 0x38(r23)
/* 800F9B60 000F59A0 7D 38 FA 14 */ add r9, r24, r31
/* 800F9B64 000F59A4 81 17 00 40 */ lwz r8, 0x40(r23)
/* 800F9B68 000F59A8 54 E0 47 3E */ extrwi r0, r7, 4, 4
/* 800F9B6C 000F59AC 54 E3 27 3E */ srwi r3, r7, 28
/* 800F9B70 000F59B0 1C A0 00 14 */ mulli r5, r0, 0x14
/* 800F9B74 000F59B4 54 E6 DF 7A */ rlwinm r6, r7, 27, 29, 29
/* 800F9B78 000F59B8 54 E4 D7 7A */ rlwinm r4, r7, 26, 29, 29
/* 800F9B7C 000F59BC 7C 18 F8 AE */ lbzx r0, r24, r31
/* 800F9B80 000F59C0 54 E7 76 BA */ rlwinm r7, r7, 14, 26, 29
/* 800F9B84 000F59C4 7C C6 22 14 */ add r6, r6, r4
/* 800F9B88 000F59C8 1C 83 00 1C */ mulli r4, r3, 0x1c
/* 800F9B8C 000F59CC 3B FF 00 04 */ addi r31, r31, 0x4
/* 800F9B90 000F59D0 7C 67 32 14 */ add r3, r7, r6
/* 800F9B94 000F59D4 7C 85 22 14 */ add r4, r5, r4
/* 800F9B98 000F59D8 7C 68 1A 14 */ add r3, r8, r3
/* 800F9B9C 000F59DC 7C 03 21 EE */ stbux r0, r3, r4
/* 800F9BA0 000F59E0 88 09 00 01 */ lbz r0, 0x1(r9)
/* 800F9BA4 000F59E4 98 03 00 01 */ stb r0, 0x1(r3)
/* 800F9BA8 000F59E8 88 09 00 02 */ lbz r0, 0x2(r9)
/* 800F9BAC 000F59EC 98 03 00 02 */ stb r0, 0x2(r3)
/* 800F9BB0 000F59F0 88 09 00 03 */ lbz r0, 0x3(r9)
/* 800F9BB4 000F59F4 98 03 00 03 */ stb r0, 0x3(r3)
.global lbl_800F9BB8
lbl_800F9BB8:
/* 800F9BB8 000F59F8 55 C3 06 3E */ clrlwi r3, r14, 24
/* 800F9BBC 000F59FC 2C 83 00 00 */ cmpwi cr1, r3, 0x0
/* 800F9BC0 000F5A00 41 86 02 58 */ beq cr1, lbl_800F9E18
/* 800F9BC4 000F5A04 81 F7 00 38 */ lwz r15, 0x38(r23)
/* 800F9BC8 000F5A08 7C B8 FA 14 */ add r5, r24, r31
/* 800F9BCC 000F5A0C 82 17 00 40 */ lwz r16, 0x40(r23)
/* 800F9BD0 000F5A10 38 C0 00 00 */ li r6, 0x0
/* 800F9BD4 000F5A14 55 E4 47 3E */ extrwi r4, r15, 4, 4
/* 800F9BD8 000F5A18 55 E0 27 3E */ srwi r0, r15, 28
/* 800F9BDC 000F5A1C 1C E4 00 14 */ mulli r7, r4, 0x14
/* 800F9BE0 000F5A20 55 E9 DF 7A */ rlwinm r9, r15, 27, 29, 29
/* 800F9BE4 000F5A24 55 E8 D7 7A */ rlwinm r8, r15, 26, 29, 29
/* 800F9BE8 000F5A28 55 EB E7 7A */ rlwinm r11, r15, 28, 29, 29
/* 800F9BEC 000F5A2C 1C 80 00 1C */ mulli r4, r0, 0x1c
/* 800F9BF0 000F5A30 7D 09 42 14 */ add r8, r9, r8
/* 800F9BF4 000F5A34 55 EA A7 7A */ rlwinm r10, r15, 20, 29, 29
/* 800F9BF8 000F5A38 55 E9 76 BA */ rlwinm r9, r15, 14, 26, 29
/* 800F9BFC 000F5A3C 55 EC 9E FA */ rlwinm r12, r15, 19, 27, 29
/* 800F9C00 000F5A40 55 E0 EF 7A */ rlwinm r0, r15, 29, 29, 29
/* 800F9C04 000F5A44 7C 0C 02 14 */ add r0, r12, r0
/* 800F9C08 000F5A48 7D 2A 4A 14 */ add r9, r10, r9
/* 800F9C0C 000F5A4C 7D 0B 42 14 */ add r8, r11, r8
/* 800F9C10 000F5A50 7C 87 22 14 */ add r4, r7, r4
/* 800F9C14 000F5A54 7C E9 42 14 */ add r7, r9, r8
/* 800F9C18 000F5A58 7C 10 02 14 */ add r0, r16, r0
/* 800F9C1C 000F5A5C 7C 87 22 14 */ add r4, r7, r4
/* 800F9C20 000F5A60 7C 04 02 14 */ add r0, r4, r0
/* 800F9C24 000F5A64 40 85 01 F4 */ ble cr1, lbl_800F9E18
/* 800F9C28 000F5A68 2C 03 00 08 */ cmpwi r3, 0x8
/* 800F9C2C 000F5A6C 39 03 FF F8 */ addi r8, r3, -0x8
/* 800F9C30 000F5A70 40 81 01 94 */ ble lbl_800F9DC4
/* 800F9C34 000F5A74 38 E0 00 00 */ li r7, 0x0
/* 800F9C38 000F5A78 41 84 00 18 */ blt cr1, lbl_800F9C50
/* 800F9C3C 000F5A7C 3C 80 80 00 */ lis r4, 0x8000
/* 800F9C40 000F5A80 38 84 FF FE */ addi r4, r4, -0x2
/* 800F9C44 000F5A84 7C 03 20 00 */ cmpw r3, r4
/* 800F9C48 000F5A88 41 81 00 08 */ bgt lbl_800F9C50
/* 800F9C4C 000F5A8C 38 E0 00 01 */ li r7, 0x1
.global lbl_800F9C50
lbl_800F9C50:
/* 800F9C50 000F5A90 2C 07 00 00 */ cmpwi r7, 0x0
/* 800F9C54 000F5A94 41 82 01 70 */ beq lbl_800F9DC4
/* 800F9C58 000F5A98 38 E8 00 07 */ addi r7, r8, 0x7
/* 800F9C5C 000F5A9C 7C A3 2B 78 */ mr r3, r5
/* 800F9C60 000F5AA0 54 E7 E8 FE */ srwi r7, r7, 3
/* 800F9C64 000F5AA4 7C 04 03 78 */ mr r4, r0
/* 800F9C68 000F5AA8 7C E9 03 A6 */ mtctr r7
/* 800F9C6C 000F5AAC 2C 08 00 00 */ cmpwi r8, 0x0
/* 800F9C70 000F5AB0 40 81 01 54 */ ble lbl_800F9DC4
.global lbl_800F9C74
lbl_800F9C74:
/* 800F9C74 000F5AB4 80 E3 00 04 */ lwz r7, 0x4(r3)
/* 800F9C78 000F5AB8 38 C6 00 08 */ addi r6, r6, 0x8
/* 800F9C7C 000F5ABC 81 03 00 00 */ lwz r8, 0x0(r3)
/* 800F9C80 000F5AC0 91 04 00 00 */ stw r8, 0x0(r4)
/* 800F9C84 000F5AC4 90 E4 00 04 */ stw r7, 0x4(r4)
/* 800F9C88 000F5AC8 C0 03 00 08 */ lfs f0, 0x8(r3)
/* 800F9C8C 000F5ACC D0 04 00 08 */ stfs f0, 0x8(r4)
/* 800F9C90 000F5AD0 80 E3 00 10 */ lwz r7, 0x10(r3)
/* 800F9C94 000F5AD4 81 03 00 0C */ lwz r8, 0xc(r3)
/* 800F9C98 000F5AD8 91 04 00 0C */ stw r8, 0xc(r4)
/* 800F9C9C 000F5ADC 90 E4 00 10 */ stw r7, 0x10(r4)
/* 800F9CA0 000F5AE0 80 E3 00 18 */ lwz r7, 0x18(r3)
/* 800F9CA4 000F5AE4 81 03 00 14 */ lwz r8, 0x14(r3)
/* 800F9CA8 000F5AE8 91 04 00 14 */ stw r8, 0x14(r4)
/* 800F9CAC 000F5AEC 90 E4 00 18 */ stw r7, 0x18(r4)
/* 800F9CB0 000F5AF0 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 800F9CB4 000F5AF4 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 800F9CB8 000F5AF8 80 E3 00 24 */ lwz r7, 0x24(r3)
/* 800F9CBC 000F5AFC 81 03 00 20 */ lwz r8, 0x20(r3)
/* 800F9CC0 000F5B00 91 04 00 20 */ stw r8, 0x20(r4)
/* 800F9CC4 000F5B04 90 E4 00 24 */ stw r7, 0x24(r4)
/* 800F9CC8 000F5B08 80 E3 00 2C */ lwz r7, 0x2c(r3)
/* 800F9CCC 000F5B0C 81 03 00 28 */ lwz r8, 0x28(r3)
/* 800F9CD0 000F5B10 91 04 00 28 */ stw r8, 0x28(r4)
/* 800F9CD4 000F5B14 90 E4 00 2C */ stw r7, 0x2c(r4)
/* 800F9CD8 000F5B18 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 800F9CDC 000F5B1C D0 04 00 30 */ stfs f0, 0x30(r4)
/* 800F9CE0 000F5B20 80 E3 00 38 */ lwz r7, 0x38(r3)
/* 800F9CE4 000F5B24 81 03 00 34 */ lwz r8, 0x34(r3)
/* 800F9CE8 000F5B28 91 04 00 34 */ stw r8, 0x34(r4)
/* 800F9CEC 000F5B2C 90 E4 00 38 */ stw r7, 0x38(r4)
/* 800F9CF0 000F5B30 80 E3 00 40 */ lwz r7, 0x40(r3)
/* 800F9CF4 000F5B34 81 03 00 3C */ lwz r8, 0x3c(r3)
/* 800F9CF8 000F5B38 91 04 00 3C */ stw r8, 0x3c(r4)
/* 800F9CFC 000F5B3C 90 E4 00 40 */ stw r7, 0x40(r4)
/* 800F9D00 000F5B40 C0 03 00 44 */ lfs f0, 0x44(r3)
/* 800F9D04 000F5B44 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 800F9D08 000F5B48 80 E3 00 4C */ lwz r7, 0x4c(r3)
/* 800F9D0C 000F5B4C 81 03 00 48 */ lwz r8, 0x48(r3)
/* 800F9D10 000F5B50 91 04 00 48 */ stw r8, 0x48(r4)
/* 800F9D14 000F5B54 90 E4 00 4C */ stw r7, 0x4c(r4)
/* 800F9D18 000F5B58 80 E3 00 54 */ lwz r7, 0x54(r3)
/* 800F9D1C 000F5B5C 81 03 00 50 */ lwz r8, 0x50(r3)
/* 800F9D20 000F5B60 91 04 00 50 */ stw r8, 0x50(r4)
/* 800F9D24 000F5B64 90 E4 00 54 */ stw r7, 0x54(r4)
/* 800F9D28 000F5B68 C0 03 00 58 */ lfs f0, 0x58(r3)
/* 800F9D2C 000F5B6C D0 04 00 58 */ stfs f0, 0x58(r4)
/* 800F9D30 000F5B70 80 E3 00 60 */ lwz r7, 0x60(r3)
/* 800F9D34 000F5B74 81 03 00 5C */ lwz r8, 0x5c(r3)
/* 800F9D38 000F5B78 91 04 00 5C */ stw r8, 0x5c(r4)
/* 800F9D3C 000F5B7C 90 E4 00 60 */ stw r7, 0x60(r4)
/* 800F9D40 000F5B80 80 E3 00 68 */ lwz r7, 0x68(r3)
/* 800F9D44 000F5B84 81 03 00 64 */ lwz r8, 0x64(r3)
/* 800F9D48 000F5B88 91 04 00 64 */ stw r8, 0x64(r4)
/* 800F9D4C 000F5B8C 90 E4 00 68 */ stw r7, 0x68(r4)
/* 800F9D50 000F5B90 C0 03 00 6C */ lfs f0, 0x6c(r3)
/* 800F9D54 000F5B94 D0 04 00 6C */ stfs f0, 0x6c(r4)
/* 800F9D58 000F5B98 80 E3 00 74 */ lwz r7, 0x74(r3)
/* 800F9D5C 000F5B9C 81 03 00 70 */ lwz r8, 0x70(r3)
/* 800F9D60 000F5BA0 91 04 00 70 */ stw r8, 0x70(r4)
/* 800F9D64 000F5BA4 90 E4 00 74 */ stw r7, 0x74(r4)
/* 800F9D68 000F5BA8 80 E3 00 7C */ lwz r7, 0x7c(r3)
/* 800F9D6C 000F5BAC 81 03 00 78 */ lwz r8, 0x78(r3)
/* 800F9D70 000F5BB0 91 04 00 78 */ stw r8, 0x78(r4)
/* 800F9D74 000F5BB4 90 E4 00 7C */ stw r7, 0x7c(r4)
/* 800F9D78 000F5BB8 C0 03 00 80 */ lfs f0, 0x80(r3)
/* 800F9D7C 000F5BBC D0 04 00 80 */ stfs f0, 0x80(r4)
/* 800F9D80 000F5BC0 80 E3 00 88 */ lwz r7, 0x88(r3)
/* 800F9D84 000F5BC4 81 03 00 84 */ lwz r8, 0x84(r3)
/* 800F9D88 000F5BC8 91 04 00 84 */ stw r8, 0x84(r4)
/* 800F9D8C 000F5BCC 90 E4 00 88 */ stw r7, 0x88(r4)
/* 800F9D90 000F5BD0 80 E3 00 90 */ lwz r7, 0x90(r3)
/* 800F9D94 000F5BD4 81 03 00 8C */ lwz r8, 0x8c(r3)
/* 800F9D98 000F5BD8 91 04 00 8C */ stw r8, 0x8c(r4)
/* 800F9D9C 000F5BDC 90 E4 00 90 */ stw r7, 0x90(r4)
/* 800F9DA0 000F5BE0 C0 03 00 94 */ lfs f0, 0x94(r3)
/* 800F9DA4 000F5BE4 D0 04 00 94 */ stfs f0, 0x94(r4)
/* 800F9DA8 000F5BE8 80 E3 00 9C */ lwz r7, 0x9c(r3)
/* 800F9DAC 000F5BEC 81 03 00 98 */ lwz r8, 0x98(r3)
/* 800F9DB0 000F5BF0 38 63 00 A0 */ addi r3, r3, 0xa0
/* 800F9DB4 000F5BF4 91 04 00 98 */ stw r8, 0x98(r4)
/* 800F9DB8 000F5BF8 90 E4 00 9C */ stw r7, 0x9c(r4)
/* 800F9DBC 000F5BFC 38 84 00 A0 */ addi r4, r4, 0xa0
/* 800F9DC0 000F5C00 42 00 FE B4 */ bdnz lbl_800F9C74
.global lbl_800F9DC4
lbl_800F9DC4:
/* 800F9DC4 000F5C04 1C E6 00 14 */ mulli r7, r6, 0x14
/* 800F9DC8 000F5C08 55 C4 06 3E */ clrlwi r4, r14, 24
/* 800F9DCC 000F5C0C 7C 66 20 50 */ subf r3, r6, r4
/* 800F9DD0 000F5C10 7C A5 3A 14 */ add r5, r5, r7
/* 800F9DD4 000F5C14 7C E0 3A 14 */ add r7, r0, r7
/* 800F9DD8 000F5C18 7C 69 03 A6 */ mtctr r3
/* 800F9DDC 000F5C1C 7C 06 20 00 */ cmpw r6, r4
/* 800F9DE0 000F5C20 40 80 00 38 */ bge lbl_800F9E18
.global lbl_800F9DE4
lbl_800F9DE4:
/* 800F9DE4 000F5C24 80 05 00 04 */ lwz r0, 0x4(r5)
/* 800F9DE8 000F5C28 80 65 00 00 */ lwz r3, 0x0(r5)
/* 800F9DEC 000F5C2C 90 67 00 00 */ stw r3, 0x0(r7)
/* 800F9DF0 000F5C30 90 07 00 04 */ stw r0, 0x4(r7)
/* 800F9DF4 000F5C34 C0 05 00 08 */ lfs f0, 0x8(r5)
/* 800F9DF8 000F5C38 D0 07 00 08 */ stfs f0, 0x8(r7)
/* 800F9DFC 000F5C3C 80 05 00 10 */ lwz r0, 0x10(r5)
/* 800F9E00 000F5C40 80 65 00 0C */ lwz r3, 0xc(r5)
/* 800F9E04 000F5C44 38 A5 00 14 */ addi r5, r5, 0x14
/* 800F9E08 000F5C48 90 67 00 0C */ stw r3, 0xc(r7)
/* 800F9E0C 000F5C4C 90 07 00 10 */ stw r0, 0x10(r7)
/* 800F9E10 000F5C50 38 E7 00 14 */ addi r7, r7, 0x14
/* 800F9E14 000F5C54 42 00 FF D0 */ bdnz lbl_800F9DE4
.global lbl_800F9E18
lbl_800F9E18:
/* 800F9E18 000F5C58 80 18 00 3C */ lwz r0, 0x3c(r24)
/* 800F9E1C 000F5C5C 56 83 06 3F */ clrlwi. r3, r20, 24
/* 800F9E20 000F5C60 54 00 9F BE */ extrwi r0, r0, 2, 17
/* 800F9E24 000F5C64 1C 00 00 14 */ mulli r0, r0, 0x14
/* 800F9E28 000F5C68 7F FF 02 14 */ add r31, r31, r0
/* 800F9E2C 000F5C6C 41 82 02 B0 */ beq lbl_800FA0DC
/* 800F9E30 000F5C70 81 57 00 38 */ lwz r10, 0x38(r23)
/* 800F9E34 000F5C74 38 80 00 00 */ li r4, 0x0
/* 800F9E38 000F5C78 81 97 00 3C */ lwz r12, 0x3c(r23)
/* 800F9E3C 000F5C7C 55 45 47 3E */ extrwi r5, r10, 4, 4
/* 800F9E40 000F5C80 55 40 27 3E */ srwi r0, r10, 28
/* 800F9E44 000F5C84 1C A5 00 14 */ mulli r5, r5, 0x14
/* 800F9E48 000F5C88 55 47 DF 7A */ rlwinm r7, r10, 27, 29, 29
/* 800F9E4C 000F5C8C 55 46 D7 7A */ rlwinm r6, r10, 26, 29, 29
/* 800F9E50 000F5C90 81 77 00 40 */ lwz r11, 0x40(r23)
/* 800F9E54 000F5C94 55 49 E7 7A */ rlwinm r9, r10, 28, 29, 29
/* 800F9E58 000F5C98 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800F9E5C 000F5C9C 7C E7 32 14 */ add r7, r7, r6
/* 800F9E60 000F5CA0 55 48 A7 7A */ rlwinm r8, r10, 20, 29, 29
/* 800F9E64 000F5CA4 7C 05 02 14 */ add r0, r5, r0
/* 800F9E68 000F5CA8 55 46 76 BA */ rlwinm r6, r10, 14, 26, 29
/* 800F9E6C 000F5CAC 7C A9 3A 14 */ add r5, r9, r7
/* 800F9E70 000F5CB0 55 47 EF 7A */ rlwinm r7, r10, 29, 29, 29
/* 800F9E74 000F5CB4 7C C8 32 14 */ add r6, r8, r6
/* 800F9E78 000F5CB8 55 8E 8F 7E */ extrwi r14, r12, 3, 14
/* 800F9E7C 000F5CBC 7C A6 2A 14 */ add r5, r6, r5
/* 800F9E80 000F5CC0 7C 0B 02 14 */ add r0, r11, r0
/* 800F9E84 000F5CC4 7C A7 2A 14 */ add r5, r7, r5
/* 800F9E88 000F5CC8 55 86 9E FA */ rlwinm r6, r12, 19, 27, 29
/* 800F9E8C 000F5CCC 7C A5 02 14 */ add r5, r5, r0
/* 800F9E90 000F5CD0 7C 0E 18 50 */ subf r0, r14, r3
/* 800F9E94 000F5CD4 7C A6 2A 14 */ add r5, r6, r5
/* 800F9E98 000F5CD8 7C 09 03 A6 */ mtctr r0
/* 800F9E9C 000F5CDC 7C 0E 18 40 */ cmplw r14, r3
/* 800F9EA0 000F5CE0 40 80 00 28 */ bge lbl_800F9EC8
/* 800F9EA4 000F5CE4 60 00 00 00 */ nop
.global lbl_800F9EA8
lbl_800F9EA8:
/* 800F9EA8 000F5CE8 2C 05 00 00 */ cmpwi r5, 0x0
/* 800F9EAC 000F5CEC 41 82 00 14 */ beq lbl_800F9EC0
/* 800F9EB0 000F5CF0 98 85 00 00 */ stb r4, 0x0(r5)
/* 800F9EB4 000F5CF4 98 85 00 01 */ stb r4, 0x1(r5)
/* 800F9EB8 000F5CF8 98 85 00 02 */ stb r4, 0x2(r5)
/* 800F9EBC 000F5CFC 98 85 00 03 */ stb r4, 0x3(r5)
.global lbl_800F9EC0
lbl_800F9EC0:
/* 800F9EC0 000F5D00 38 A5 00 04 */ addi r5, r5, 0x4
/* 800F9EC4 000F5D04 42 00 FF E4 */ bdnz lbl_800F9EA8
.global lbl_800F9EC8
lbl_800F9EC8:
/* 800F9EC8 000F5D08 81 37 00 38 */ lwz r9, 0x38(r23)
/* 800F9ECC 000F5D0C 2C 83 00 00 */ cmpwi cr1, r3, 0x0
/* 800F9ED0 000F5D10 81 77 00 3C */ lwz r11, 0x3c(r23)
/* 800F9ED4 000F5D14 52 8B 7B A0 */ rlwimi r11, r20, 15, 14, 16
/* 800F9ED8 000F5D18 55 24 47 3E */ extrwi r4, r9, 4, 4
/* 800F9EDC 000F5D1C 55 20 27 3E */ srwi r0, r9, 28
/* 800F9EE0 000F5D20 55 26 DF 7A */ rlwinm r6, r9, 27, 29, 29
/* 800F9EE4 000F5D24 55 25 D7 7A */ rlwinm r5, r9, 26, 29, 29
/* 800F9EE8 000F5D28 7C A6 2A 14 */ add r5, r6, r5
/* 800F9EEC 000F5D2C 55 28 E7 7A */ rlwinm r8, r9, 28, 29, 29
/* 800F9EF0 000F5D30 1C 84 00 14 */ mulli r4, r4, 0x14
/* 800F9EF4 000F5D34 55 27 A7 7A */ rlwinm r7, r9, 20, 29, 29
/* 800F9EF8 000F5D38 55 26 76 BA */ rlwinm r6, r9, 14, 26, 29
/* 800F9EFC 000F5D3C 81 57 00 40 */ lwz r10, 0x40(r23)
/* 800F9F00 000F5D40 7C A8 2A 14 */ add r5, r8, r5
/* 800F9F04 000F5D44 91 77 00 3C */ stw r11, 0x3c(r23)
/* 800F9F08 000F5D48 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800F9F0C 000F5D4C 7C C7 32 14 */ add r6, r7, r6
/* 800F9F10 000F5D50 55 27 EF 7A */ rlwinm r7, r9, 29, 29, 29
/* 800F9F14 000F5D54 7C 04 02 14 */ add r0, r4, r0
/* 800F9F18 000F5D58 7C 86 2A 14 */ add r4, r6, r5
/* 800F9F1C 000F5D5C 7C 87 22 14 */ add r4, r7, r4
/* 800F9F20 000F5D60 7C B8 FA 14 */ add r5, r24, r31
/* 800F9F24 000F5D64 7C 0A 02 14 */ add r0, r10, r0
/* 800F9F28 000F5D68 38 C0 00 00 */ li r6, 0x0
/* 800F9F2C 000F5D6C 7C 04 02 14 */ add r0, r4, r0
/* 800F9F30 000F5D70 40 85 01 AC */ ble cr1, lbl_800FA0DC
/* 800F9F34 000F5D74 2C 03 00 08 */ cmpwi r3, 0x8
/* 800F9F38 000F5D78 39 03 FF F8 */ addi r8, r3, -0x8
/* 800F9F3C 000F5D7C 40 81 01 54 */ ble lbl_800FA090
/* 800F9F40 000F5D80 38 E0 00 00 */ li r7, 0x0
/* 800F9F44 000F5D84 41 84 00 18 */ blt cr1, lbl_800F9F5C
/* 800F9F48 000F5D88 3C 80 80 00 */ lis r4, 0x8000
/* 800F9F4C 000F5D8C 38 84 FF FE */ addi r4, r4, -0x2
/* 800F9F50 000F5D90 7C 03 20 00 */ cmpw r3, r4
/* 800F9F54 000F5D94 41 81 00 08 */ bgt lbl_800F9F5C
/* 800F9F58 000F5D98 38 E0 00 01 */ li r7, 0x1
.global lbl_800F9F5C
lbl_800F9F5C:
/* 800F9F5C 000F5D9C 2C 07 00 00 */ cmpwi r7, 0x0
/* 800F9F60 000F5DA0 41 82 01 30 */ beq lbl_800FA090
/* 800F9F64 000F5DA4 38 E8 00 07 */ addi r7, r8, 0x7
/* 800F9F68 000F5DA8 7C A3 2B 78 */ mr r3, r5
/* 800F9F6C 000F5DAC 54 E7 E8 FE */ srwi r7, r7, 3
/* 800F9F70 000F5DB0 7C 04 03 78 */ mr r4, r0
/* 800F9F74 000F5DB4 7C E9 03 A6 */ mtctr r7
/* 800F9F78 000F5DB8 2C 08 00 00 */ cmpwi r8, 0x0
/* 800F9F7C 000F5DBC 40 81 01 14 */ ble lbl_800FA090
.global lbl_800F9F80
lbl_800F9F80:
/* 800F9F80 000F5DC0 88 E3 00 00 */ lbz r7, 0x0(r3)
/* 800F9F84 000F5DC4 38 C6 00 08 */ addi r6, r6, 0x8
/* 800F9F88 000F5DC8 98 E4 00 00 */ stb r7, 0x0(r4)
/* 800F9F8C 000F5DCC 88 E3 00 01 */ lbz r7, 0x1(r3)
/* 800F9F90 000F5DD0 98 E4 00 01 */ stb r7, 0x1(r4)
/* 800F9F94 000F5DD4 88 E3 00 02 */ lbz r7, 0x2(r3)
/* 800F9F98 000F5DD8 98 E4 00 02 */ stb r7, 0x2(r4)
/* 800F9F9C 000F5DDC 88 E3 00 03 */ lbz r7, 0x3(r3)
/* 800F9FA0 000F5DE0 98 E4 00 03 */ stb r7, 0x3(r4)
/* 800F9FA4 000F5DE4 88 E3 00 04 */ lbz r7, 0x4(r3)
/* 800F9FA8 000F5DE8 98 E4 00 04 */ stb r7, 0x4(r4)
/* 800F9FAC 000F5DEC 88 E3 00 05 */ lbz r7, 0x5(r3)
/* 800F9FB0 000F5DF0 98 E4 00 05 */ stb r7, 0x5(r4)
/* 800F9FB4 000F5DF4 88 E3 00 06 */ lbz r7, 0x6(r3)
/* 800F9FB8 000F5DF8 98 E4 00 06 */ stb r7, 0x6(r4)
/* 800F9FBC 000F5DFC 88 E3 00 07 */ lbz r7, 0x7(r3)
/* 800F9FC0 000F5E00 98 E4 00 07 */ stb r7, 0x7(r4)
/* 800F9FC4 000F5E04 88 E3 00 08 */ lbz r7, 0x8(r3)
/* 800F9FC8 000F5E08 98 E4 00 08 */ stb r7, 0x8(r4)
/* 800F9FCC 000F5E0C 88 E3 00 09 */ lbz r7, 0x9(r3)
/* 800F9FD0 000F5E10 98 E4 00 09 */ stb r7, 0x9(r4)
/* 800F9FD4 000F5E14 88 E3 00 0A */ lbz r7, 0xa(r3)
/* 800F9FD8 000F5E18 98 E4 00 0A */ stb r7, 0xa(r4)
/* 800F9FDC 000F5E1C 88 E3 00 0B */ lbz r7, 0xb(r3)
/* 800F9FE0 000F5E20 98 E4 00 0B */ stb r7, 0xb(r4)
/* 800F9FE4 000F5E24 88 E3 00 0C */ lbz r7, 0xc(r3)
/* 800F9FE8 000F5E28 98 E4 00 0C */ stb r7, 0xc(r4)
/* 800F9FEC 000F5E2C 88 E3 00 0D */ lbz r7, 0xd(r3)
/* 800F9FF0 000F5E30 98 E4 00 0D */ stb r7, 0xd(r4)
/* 800F9FF4 000F5E34 88 E3 00 0E */ lbz r7, 0xe(r3)
/* 800F9FF8 000F5E38 98 E4 00 0E */ stb r7, 0xe(r4)
/* 800F9FFC 000F5E3C 88 E3 00 0F */ lbz r7, 0xf(r3)
/* 800FA000 000F5E40 98 E4 00 0F */ stb r7, 0xf(r4)
/* 800FA004 000F5E44 88 E3 00 10 */ lbz r7, 0x10(r3)
/* 800FA008 000F5E48 98 E4 00 10 */ stb r7, 0x10(r4)
/* 800FA00C 000F5E4C 88 E3 00 11 */ lbz r7, 0x11(r3)
/* 800FA010 000F5E50 98 E4 00 11 */ stb r7, 0x11(r4)
/* 800FA014 000F5E54 88 E3 00 12 */ lbz r7, 0x12(r3)
/* 800FA018 000F5E58 98 E4 00 12 */ stb r7, 0x12(r4)
/* 800FA01C 000F5E5C 88 E3 00 13 */ lbz r7, 0x13(r3)
/* 800FA020 000F5E60 98 E4 00 13 */ stb r7, 0x13(r4)
/* 800FA024 000F5E64 88 E3 00 14 */ lbz r7, 0x14(r3)
/* 800FA028 000F5E68 98 E4 00 14 */ stb r7, 0x14(r4)
/* 800FA02C 000F5E6C 88 E3 00 15 */ lbz r7, 0x15(r3)
/* 800FA030 000F5E70 98 E4 00 15 */ stb r7, 0x15(r4)
/* 800FA034 000F5E74 88 E3 00 16 */ lbz r7, 0x16(r3)
/* 800FA038 000F5E78 98 E4 00 16 */ stb r7, 0x16(r4)
/* 800FA03C 000F5E7C 88 E3 00 17 */ lbz r7, 0x17(r3)
/* 800FA040 000F5E80 98 E4 00 17 */ stb r7, 0x17(r4)
/* 800FA044 000F5E84 88 E3 00 18 */ lbz r7, 0x18(r3)
/* 800FA048 000F5E88 98 E4 00 18 */ stb r7, 0x18(r4)
/* 800FA04C 000F5E8C 88 E3 00 19 */ lbz r7, 0x19(r3)
/* 800FA050 000F5E90 98 E4 00 19 */ stb r7, 0x19(r4)
/* 800FA054 000F5E94 88 E3 00 1A */ lbz r7, 0x1a(r3)
/* 800FA058 000F5E98 98 E4 00 1A */ stb r7, 0x1a(r4)
/* 800FA05C 000F5E9C 88 E3 00 1B */ lbz r7, 0x1b(r3)
/* 800FA060 000F5EA0 98 E4 00 1B */ stb r7, 0x1b(r4)
/* 800FA064 000F5EA4 88 E3 00 1C */ lbz r7, 0x1c(r3)
/* 800FA068 000F5EA8 98 E4 00 1C */ stb r7, 0x1c(r4)
/* 800FA06C 000F5EAC 88 E3 00 1D */ lbz r7, 0x1d(r3)
/* 800FA070 000F5EB0 98 E4 00 1D */ stb r7, 0x1d(r4)
/* 800FA074 000F5EB4 88 E3 00 1E */ lbz r7, 0x1e(r3)
/* 800FA078 000F5EB8 98 E4 00 1E */ stb r7, 0x1e(r4)
/* 800FA07C 000F5EBC 88 E3 00 1F */ lbz r7, 0x1f(r3)
/* 800FA080 000F5EC0 38 63 00 20 */ addi r3, r3, 0x20
/* 800FA084 000F5EC4 98 E4 00 1F */ stb r7, 0x1f(r4)
/* 800FA088 000F5EC8 38 84 00 20 */ addi r4, r4, 0x20
/* 800FA08C 000F5ECC 42 00 FE F4 */ bdnz lbl_800F9F80
.global lbl_800FA090
lbl_800FA090:
/* 800FA090 000F5ED0 56 84 06 3E */ clrlwi r4, r20, 24
/* 800FA094 000F5ED4 54 C7 10 3A */ slwi r7, r6, 2
/* 800FA098 000F5ED8 7C 66 20 50 */ subf r3, r6, r4
/* 800FA09C 000F5EDC 7C A5 3A 14 */ add r5, r5, r7
/* 800FA0A0 000F5EE0 7C E0 3A 14 */ add r7, r0, r7
/* 800FA0A4 000F5EE4 7C 69 03 A6 */ mtctr r3
/* 800FA0A8 000F5EE8 7C 06 20 00 */ cmpw r6, r4
/* 800FA0AC 000F5EEC 40 80 00 30 */ bge lbl_800FA0DC
.global lbl_800FA0B0
lbl_800FA0B0:
/* 800FA0B0 000F5EF0 88 05 00 00 */ lbz r0, 0x0(r5)
/* 800FA0B4 000F5EF4 98 07 00 00 */ stb r0, 0x0(r7)
/* 800FA0B8 000F5EF8 88 05 00 01 */ lbz r0, 0x1(r5)
/* 800FA0BC 000F5EFC 98 07 00 01 */ stb r0, 0x1(r7)
/* 800FA0C0 000F5F00 88 05 00 02 */ lbz r0, 0x2(r5)
/* 800FA0C4 000F5F04 98 07 00 02 */ stb r0, 0x2(r7)
/* 800FA0C8 000F5F08 88 05 00 03 */ lbz r0, 0x3(r5)
/* 800FA0CC 000F5F0C 38 A5 00 04 */ addi r5, r5, 0x4
/* 800FA0D0 000F5F10 98 07 00 03 */ stb r0, 0x3(r7)
/* 800FA0D4 000F5F14 38 E7 00 04 */ addi r7, r7, 0x4
/* 800FA0D8 000F5F18 42 00 FF D8 */ bdnz lbl_800FA0B0
.global lbl_800FA0DC
lbl_800FA0DC:
/* 800FA0DC 000F5F1C 80 18 00 3C */ lwz r0, 0x3c(r24)
/* 800FA0E0 000F5F20 56 A3 06 3F */ clrlwi. r3, r21, 24
/* 800FA0E4 000F5F24 54 00 9E FA */ rlwinm r0, r0, 19, 27, 29
/* 800FA0E8 000F5F28 7F FF 02 14 */ add r31, r31, r0
/* 800FA0EC 000F5F2C 41 82 02 8C */ beq lbl_800FA378
/* 800FA0F0 000F5F30 81 57 00 38 */ lwz r10, 0x38(r23)
/* 800FA0F4 000F5F34 39 80 00 FF */ li r12, 0xff
/* 800FA0F8 000F5F38 80 17 00 3C */ lwz r0, 0x3c(r23)
/* 800FA0FC 000F5F3C 55 45 77 BE */ extrwi r5, r10, 2, 12
/* 800FA100 000F5F40 55 44 47 3E */ extrwi r4, r10, 4, 4
/* 800FA104 000F5F44 7C A5 22 14 */ add r5, r5, r4
/* 800FA108 000F5F48 55 47 27 3E */ srwi r7, r10, 28
/* 800FA10C 000F5F4C 1D 25 00 14 */ mulli r9, r5, 0x14
/* 800FA110 000F5F50 55 46 76 BA */ rlwinm r6, r10, 14, 26, 29
/* 800FA114 000F5F54 55 44 D7 7A */ rlwinm r4, r10, 26, 29, 29
/* 800FA118 000F5F58 81 77 00 40 */ lwz r11, 0x40(r23)
/* 800FA11C 000F5F5C 55 45 DF 7A */ rlwinm r5, r10, 27, 29, 29
/* 800FA120 000F5F60 7C 86 22 14 */ add r4, r6, r4
/* 800FA124 000F5F64 1D 07 00 1C */ mulli r8, r7, 0x1c
/* 800FA128 000F5F68 55 46 A7 7A */ rlwinm r6, r10, 20, 29, 29
/* 800FA12C 000F5F6C 7C A5 22 14 */ add r5, r5, r4
/* 800FA130 000F5F70 55 47 E7 7A */ rlwinm r7, r10, 28, 29, 29
/* 800FA134 000F5F74 7C A6 2A 14 */ add r5, r6, r5
/* 800FA138 000F5F78 54 04 BE FE */ extrwi r4, r0, 5, 18
/* 800FA13C 000F5F7C 7C C9 42 14 */ add r6, r9, r8
/* 800FA140 000F5F80 55 48 EF 7A */ rlwinm r8, r10, 29, 29, 29
/* 800FA144 000F5F84 7C A7 2A 14 */ add r5, r7, r5
/* 800FA148 000F5F88 55 47 9E FA */ rlwinm r7, r10, 19, 27, 29
/* 800FA14C 000F5F8C 7C A6 2A 14 */ add r5, r6, r5
/* 800FA150 000F5F90 54 06 DD F6 */ rlwinm r6, r0, 27, 23, 27
/* 800FA154 000F5F94 7C E8 3A 14 */ add r7, r8, r7
/* 800FA158 000F5F98 7C 04 18 50 */ subf r0, r4, r3
/* 800FA15C 000F5F9C 7C AB 2A 14 */ add r5, r11, r5
/* 800FA160 000F5FA0 39 60 00 04 */ li r11, 0x4
/* 800FA164 000F5FA4 7C A7 2A 14 */ add r5, r7, r5
/* 800FA168 000F5FA8 39 40 00 00 */ li r10, 0x0
/* 800FA16C 000F5FAC 7D C6 2A 14 */ add r14, r6, r5
/* 800FA170 000F5FB0 39 20 00 AF */ li r9, 0xaf
/* 800FA174 000F5FB4 39 00 00 77 */ li r8, 0x77
/* 800FA178 000F5FB8 38 E0 00 57 */ li r7, 0x57
/* 800FA17C 000F5FBC 38 C0 00 61 */ li r6, 0x61
/* 800FA180 000F5FC0 38 A0 00 81 */ li r5, 0x81
/* 800FA184 000F5FC4 7C 09 03 A6 */ mtctr r0
/* 800FA188 000F5FC8 7C 04 18 40 */ cmplw r4, r3
/* 800FA18C 000F5FCC 40 80 00 54 */ bge lbl_800FA1E0
.global lbl_800FA190
lbl_800FA190:
/* 800FA190 000F5FD0 2C 0E 00 00 */ cmpwi r14, 0x0
/* 800FA194 000F5FD4 41 82 00 44 */ beq lbl_800FA1D8
/* 800FA198 000F5FD8 99 8E 00 00 */ stb r12, 0x0(r14)
/* 800FA19C 000F5FDC 99 6E 00 01 */ stb r11, 0x1(r14)
/* 800FA1A0 000F5FE0 99 8E 00 02 */ stb r12, 0x2(r14)
/* 800FA1A4 000F5FE4 99 4E 00 03 */ stb r10, 0x3(r14)
/* 800FA1A8 000F5FE8 99 8E 00 04 */ stb r12, 0x4(r14)
/* 800FA1AC 000F5FEC 99 2E 00 05 */ stb r9, 0x5(r14)
/* 800FA1B0 000F5FF0 99 0E 00 08 */ stb r8, 0x8(r14)
/* 800FA1B4 000F5FF4 98 EE 00 09 */ stb r7, 0x9(r14)
/* 800FA1B8 000F5FF8 99 4E 00 06 */ stb r10, 0x6(r14)
/* 800FA1BC 000F5FFC 98 CE 00 07 */ stb r6, 0x7(r14)
/* 800FA1C0 000F6000 99 4E 00 0A */ stb r10, 0xa(r14)
/* 800FA1C4 000F6004 98 AE 00 0B */ stb r5, 0xb(r14)
/* 800FA1C8 000F6008 99 4E 00 0C */ stb r10, 0xc(r14)
/* 800FA1CC 000F600C 99 4E 00 0D */ stb r10, 0xd(r14)
/* 800FA1D0 000F6010 99 4E 00 0E */ stb r10, 0xe(r14)
/* 800FA1D4 000F6014 99 4E 00 0F */ stb r10, 0xf(r14)
.global lbl_800FA1D8
lbl_800FA1D8:
/* 800FA1D8 000F6018 39 CE 00 10 */ addi r14, r14, 0x10
/* 800FA1DC 000F601C 42 00 FF B4 */ bdnz lbl_800FA190
.global lbl_800FA1E0
lbl_800FA1E0:
/* 800FA1E0 000F6020 81 17 00 38 */ lwz r8, 0x38(r23)
/* 800FA1E4 000F6024 56 A3 06 3F */ clrlwi. r3, r21, 24
/* 800FA1E8 000F6028 81 57 00 3C */ lwz r10, 0x3c(r23)
/* 800FA1EC 000F602C 52 AA 4C AC */ rlwimi r10, r21, 9, 18, 22
/* 800FA1F0 000F6030 55 04 77 BE */ extrwi r4, r8, 2, 12
/* 800FA1F4 000F6034 55 00 47 3E */ extrwi r0, r8, 4, 4
/* 800FA1F8 000F6038 7C 84 02 14 */ add r4, r4, r0
/* 800FA1FC 000F603C 55 06 27 3E */ srwi r6, r8, 28
/* 800FA200 000F6040 1C E4 00 14 */ mulli r7, r4, 0x14
/* 800FA204 000F6044 55 05 76 BA */ rlwinm r5, r8, 14, 26, 29
/* 800FA208 000F6048 55 00 D7 7A */ rlwinm r0, r8, 26, 29, 29
/* 800FA20C 000F604C 81 37 00 40 */ lwz r9, 0x40(r23)
/* 800FA210 000F6050 55 04 DF 7A */ rlwinm r4, r8, 27, 29, 29
/* 800FA214 000F6054 91 57 00 3C */ stw r10, 0x3c(r23)
/* 800FA218 000F6058 7C 05 02 14 */ add r0, r5, r0
/* 800FA21C 000F605C 55 05 A7 7A */ rlwinm r5, r8, 20, 29, 29
/* 800FA220 000F6060 7C 04 02 14 */ add r0, r4, r0
/* 800FA224 000F6064 55 04 E7 7A */ rlwinm r4, r8, 28, 29, 29
/* 800FA228 000F6068 7C 05 02 14 */ add r0, r5, r0
/* 800FA22C 000F606C 55 05 EF 7A */ rlwinm r5, r8, 29, 29, 29
/* 800FA230 000F6070 1C C6 00 1C */ mulli r6, r6, 0x1c
/* 800FA234 000F6074 7C 04 02 14 */ add r0, r4, r0
/* 800FA238 000F6078 55 04 9E FA */ rlwinm r4, r8, 19, 27, 29
/* 800FA23C 000F607C 7C C7 32 14 */ add r6, r7, r6
/* 800FA240 000F6080 7C 06 02 14 */ add r0, r6, r0
/* 800FA244 000F6084 7C 85 22 14 */ add r4, r5, r4
/* 800FA248 000F6088 7C 09 02 14 */ add r0, r9, r0
/* 800FA24C 000F608C 7C D8 FA 14 */ add r6, r24, r31
/* 800FA250 000F6090 7C 84 02 14 */ add r4, r4, r0
/* 800FA254 000F6094 40 81 01 24 */ ble lbl_800FA378
/* 800FA258 000F6098 54 60 F8 7F */ srwi. r0, r3, 1
/* 800FA25C 000F609C 7C 09 03 A6 */ mtctr r0
/* 800FA260 000F60A0 41 82 00 B8 */ beq lbl_800FA318
.global lbl_800FA264
lbl_800FA264:
/* 800FA264 000F60A4 88 06 00 00 */ lbz r0, 0x0(r6)
/* 800FA268 000F60A8 98 04 00 00 */ stb r0, 0x0(r4)
/* 800FA26C 000F60AC 88 06 00 01 */ lbz r0, 0x1(r6)
/* 800FA270 000F60B0 98 04 00 01 */ stb r0, 0x1(r4)
/* 800FA274 000F60B4 88 06 00 02 */ lbz r0, 0x2(r6)
/* 800FA278 000F60B8 98 04 00 02 */ stb r0, 0x2(r4)
/* 800FA27C 000F60BC 88 06 00 03 */ lbz r0, 0x3(r6)
/* 800FA280 000F60C0 98 04 00 03 */ stb r0, 0x3(r4)
/* 800FA284 000F60C4 80 06 00 04 */ lwz r0, 0x4(r6)
/* 800FA288 000F60C8 90 04 00 04 */ stw r0, 0x4(r4)
/* 800FA28C 000F60CC 80 06 00 08 */ lwz r0, 0x8(r6)
/* 800FA290 000F60D0 90 04 00 08 */ stw r0, 0x8(r4)
/* 800FA294 000F60D4 88 06 00 0C */ lbz r0, 0xc(r6)
/* 800FA298 000F60D8 98 04 00 0C */ stb r0, 0xc(r4)
/* 800FA29C 000F60DC 88 06 00 0D */ lbz r0, 0xd(r6)
/* 800FA2A0 000F60E0 98 04 00 0D */ stb r0, 0xd(r4)
/* 800FA2A4 000F60E4 88 06 00 0E */ lbz r0, 0xe(r6)
/* 800FA2A8 000F60E8 98 04 00 0E */ stb r0, 0xe(r4)
/* 800FA2AC 000F60EC 88 06 00 0F */ lbz r0, 0xf(r6)
/* 800FA2B0 000F60F0 98 04 00 0F */ stb r0, 0xf(r4)
/* 800FA2B4 000F60F4 88 06 00 10 */ lbz r0, 0x10(r6)
/* 800FA2B8 000F60F8 98 04 00 10 */ stb r0, 0x10(r4)
/* 800FA2BC 000F60FC 88 06 00 11 */ lbz r0, 0x11(r6)
/* 800FA2C0 000F6100 98 04 00 11 */ stb r0, 0x11(r4)
/* 800FA2C4 000F6104 88 06 00 12 */ lbz r0, 0x12(r6)
/* 800FA2C8 000F6108 98 04 00 12 */ stb r0, 0x12(r4)
/* 800FA2CC 000F610C 88 06 00 13 */ lbz r0, 0x13(r6)
/* 800FA2D0 000F6110 98 04 00 13 */ stb r0, 0x13(r4)
/* 800FA2D4 000F6114 80 06 00 14 */ lwz r0, 0x14(r6)
/* 800FA2D8 000F6118 90 04 00 14 */ stw r0, 0x14(r4)
/* 800FA2DC 000F611C 80 06 00 18 */ lwz r0, 0x18(r6)
/* 800FA2E0 000F6120 90 04 00 18 */ stw r0, 0x18(r4)
/* 800FA2E4 000F6124 88 06 00 1C */ lbz r0, 0x1c(r6)
/* 800FA2E8 000F6128 98 04 00 1C */ stb r0, 0x1c(r4)
/* 800FA2EC 000F612C 88 06 00 1D */ lbz r0, 0x1d(r6)
/* 800FA2F0 000F6130 98 04 00 1D */ stb r0, 0x1d(r4)
/* 800FA2F4 000F6134 88 06 00 1E */ lbz r0, 0x1e(r6)
/* 800FA2F8 000F6138 98 04 00 1E */ stb r0, 0x1e(r4)
/* 800FA2FC 000F613C 88 06 00 1F */ lbz r0, 0x1f(r6)
/* 800FA300 000F6140 38 C6 00 20 */ addi r6, r6, 0x20
/* 800FA304 000F6144 98 04 00 1F */ stb r0, 0x1f(r4)
/* 800FA308 000F6148 38 84 00 20 */ addi r4, r4, 0x20
/* 800FA30C 000F614C 42 00 FF 58 */ bdnz lbl_800FA264
/* 800FA310 000F6150 70 63 00 01 */ andi. r3, r3, 0x1
/* 800FA314 000F6154 41 82 00 64 */ beq lbl_800FA378
.global lbl_800FA318
lbl_800FA318:
/* 800FA318 000F6158 7C 69 03 A6 */ mtctr r3
.global lbl_800FA31C
lbl_800FA31C:
/* 800FA31C 000F615C 88 06 00 00 */ lbz r0, 0x0(r6)
/* 800FA320 000F6160 98 04 00 00 */ stb r0, 0x0(r4)
/* 800FA324 000F6164 88 06 00 01 */ lbz r0, 0x1(r6)
/* 800FA328 000F6168 98 04 00 01 */ stb r0, 0x1(r4)
/* 800FA32C 000F616C 88 06 00 02 */ lbz r0, 0x2(r6)
/* 800FA330 000F6170 98 04 00 02 */ stb r0, 0x2(r4)
/* 800FA334 000F6174 88 06 00 03 */ lbz r0, 0x3(r6)
/* 800FA338 000F6178 98 04 00 03 */ stb r0, 0x3(r4)
/* 800FA33C 000F617C 80 06 00 04 */ lwz r0, 0x4(r6)
/* 800FA340 000F6180 90 04 00 04 */ stw r0, 0x4(r4)
/* 800FA344 000F6184 80 06 00 08 */ lwz r0, 0x8(r6)
/* 800FA348 000F6188 90 04 00 08 */ stw r0, 0x8(r4)
/* 800FA34C 000F618C 88 06 00 0C */ lbz r0, 0xc(r6)
/* 800FA350 000F6190 98 04 00 0C */ stb r0, 0xc(r4)
/* 800FA354 000F6194 88 06 00 0D */ lbz r0, 0xd(r6)
/* 800FA358 000F6198 98 04 00 0D */ stb r0, 0xd(r4)
/* 800FA35C 000F619C 88 06 00 0E */ lbz r0, 0xe(r6)
/* 800FA360 000F61A0 98 04 00 0E */ stb r0, 0xe(r4)
/* 800FA364 000F61A4 88 06 00 0F */ lbz r0, 0xf(r6)
/* 800FA368 000F61A8 38 C6 00 10 */ addi r6, r6, 0x10
/* 800FA36C 000F61AC 98 04 00 0F */ stb r0, 0xf(r4)
/* 800FA370 000F61B0 38 84 00 10 */ addi r4, r4, 0x10
/* 800FA374 000F61B4 42 00 FF A8 */ bdnz lbl_800FA31C
.global lbl_800FA378
lbl_800FA378:
/* 800FA378 000F61B8 88 01 00 1B */ lbz r0, 0x1b(r1)
/* 800FA37C 000F61BC 80 78 00 3C */ lwz r3, 0x3c(r24)
/* 800FA380 000F61C0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800FA384 000F61C4 54 60 95 F6 */ rlwinm r0, r3, 18, 23, 27
/* 800FA388 000F61C8 7F FF 02 14 */ add r31, r31, r0
/* 800FA38C 000F61CC 41 82 00 68 */ beq lbl_800FA3F4
/* 800FA390 000F61D0 80 B7 00 38 */ lwz r5, 0x38(r23)
/* 800FA394 000F61D4 7D 58 FA 14 */ add r10, r24, r31
/* 800FA398 000F61D8 81 37 00 40 */ lwz r9, 0x40(r23)
/* 800FA39C 000F61DC 54 A0 47 3E */ extrwi r0, r5, 4, 4
/* 800FA3A0 000F61E0 54 A3 27 3E */ srwi r3, r5, 28
/* 800FA3A4 000F61E4 54 A6 A7 7A */ rlwinm r6, r5, 20, 29, 29
/* 800FA3A8 000F61E8 54 A4 76 BA */ rlwinm r4, r5, 14, 26, 29
/* 800FA3AC 000F61EC 7C C6 22 14 */ add r6, r6, r4
/* 800FA3B0 000F61F0 54 A8 DF 7A */ rlwinm r8, r5, 27, 29, 29
/* 800FA3B4 000F61F4 54 A7 D7 7A */ rlwinm r7, r5, 26, 29, 29
/* 800FA3B8 000F61F8 1C A0 00 14 */ mulli r5, r0, 0x14
/* 800FA3BC 000F61FC 7C 18 F8 AE */ lbzx r0, r24, r31
/* 800FA3C0 000F6200 7C E8 3A 14 */ add r7, r8, r7
/* 800FA3C4 000F6204 3B FF 00 04 */ addi r31, r31, 0x4
/* 800FA3C8 000F6208 1C 83 00 1C */ mulli r4, r3, 0x1c
/* 800FA3CC 000F620C 7C 67 32 14 */ add r3, r7, r6
/* 800FA3D0 000F6210 7C 69 1A 14 */ add r3, r9, r3
/* 800FA3D4 000F6214 7C 85 22 14 */ add r4, r5, r4
/* 800FA3D8 000F6218 7C 03 21 EE */ stbux r0, r3, r4
/* 800FA3DC 000F621C 88 0A 00 01 */ lbz r0, 0x1(r10)
/* 800FA3E0 000F6220 98 03 00 01 */ stb r0, 0x1(r3)
/* 800FA3E4 000F6224 88 0A 00 02 */ lbz r0, 0x2(r10)
/* 800FA3E8 000F6228 98 03 00 02 */ stb r0, 0x2(r3)
/* 800FA3EC 000F622C 88 0A 00 03 */ lbz r0, 0x3(r10)
/* 800FA3F0 000F6230 98 03 00 03 */ stb r0, 0x3(r3)
.global lbl_800FA3F4
lbl_800FA3F4:
/* 800FA3F4 000F6234 88 01 00 1A */ lbz r0, 0x1a(r1)
/* 800FA3F8 000F6238 2C 00 00 00 */ cmpwi r0, 0x0
/* 800FA3FC 000F623C 41 82 00 6C */ beq lbl_800FA468
/* 800FA400 000F6240 80 D7 00 38 */ lwz r6, 0x38(r23)
/* 800FA404 000F6244 7D 58 FA 14 */ add r10, r24, r31
/* 800FA408 000F6248 81 37 00 40 */ lwz r9, 0x40(r23)
/* 800FA40C 000F624C 54 C5 DF 7A */ rlwinm r5, r6, 27, 29, 29
/* 800FA410 000F6250 54 C4 D7 7A */ rlwinm r4, r6, 26, 29, 29
/* 800FA414 000F6254 54 C0 47 3E */ extrwi r0, r6, 4, 4
/* 800FA418 000F6258 54 C3 27 3E */ srwi r3, r6, 28
/* 800FA41C 000F625C 7C 85 22 14 */ add r4, r5, r4
/* 800FA420 000F6260 54 C8 E7 7A */ rlwinm r8, r6, 28, 29, 29
/* 800FA424 000F6264 54 C7 A7 7A */ rlwinm r7, r6, 20, 29, 29
/* 800FA428 000F6268 54 C6 76 BA */ rlwinm r6, r6, 14, 26, 29
/* 800FA42C 000F626C 1C A0 00 14 */ mulli r5, r0, 0x14
/* 800FA430 000F6270 7C 18 F8 AE */ lbzx r0, r24, r31
/* 800FA434 000F6274 7C E7 32 14 */ add r7, r7, r6
/* 800FA438 000F6278 7C C8 22 14 */ add r6, r8, r4
/* 800FA43C 000F627C 1C 83 00 1C */ mulli r4, r3, 0x1c
/* 800FA440 000F6280 7C 67 32 14 */ add r3, r7, r6
/* 800FA444 000F6284 7C 85 22 14 */ add r4, r5, r4
/* 800FA448 000F6288 7C 69 1A 14 */ add r3, r9, r3
/* 800FA44C 000F628C 7C 03 21 EE */ stbux r0, r3, r4
/* 800FA450 000F6290 88 0A 00 01 */ lbz r0, 0x1(r10)
/* 800FA454 000F6294 98 03 00 01 */ stb r0, 0x1(r3)
/* 800FA458 000F6298 88 0A 00 02 */ lbz r0, 0x2(r10)
/* 800FA45C 000F629C 98 03 00 02 */ stb r0, 0x2(r3)
/* 800FA460 000F62A0 88 0A 00 03 */ lbz r0, 0x3(r10)
/* 800FA464 000F62A4 98 03 00 03 */ stb r0, 0x3(r3)
.global lbl_800FA468
lbl_800FA468:
/* 800FA468 000F62A8 39 61 00 70 */ addi r11, r1, 0x70
/* 800FA46C 000F62AC 7E E3 BB 78 */ mr r3, r23
2022-10-16 16:31:36 +00:00
/* 800FA470 000F62B0 4B F0 CE E5 */ bl __restore_gpr
2022-10-16 16:05:58 +00:00
/* 800FA474 000F62B4 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800FA478 000F62B8 7C 08 03 A6 */ mtlr r0
/* 800FA47C 000F62BC 38 21 00 70 */ addi r1, r1, 0x70
/* 800FA480 000F62C0 4E 80 00 20 */ blr
/* 800FA484 000F62C4 00 00 00 00 */ .4byte 0x00000000
/* 800FA488 000F62C8 00 00 00 00 */ .4byte 0x00000000
/* 800FA48C 000F62CC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global __dt__Q34nw4r3lyt8MaterialFv
__dt__Q34nw4r3lyt8MaterialFv:
2022-10-16 16:05:58 +00:00
/* 800FA490 000F62D0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800FA494 000F62D4 7C 08 02 A6 */ mflr r0
/* 800FA498 000F62D8 2C 03 00 00 */ cmpwi r3, 0x0
/* 800FA49C 000F62DC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800FA4A0 000F62E0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800FA4A4 000F62E4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800FA4A8 000F62E8 7C 9E 23 78 */ mr r30, r4
/* 800FA4AC 000F62EC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800FA4B0 000F62F0 7C 7D 1B 78 */ mr r29, r3
/* 800FA4B4 000F62F4 41 82 00 A4 */ beq lbl_800FA558
2022-10-16 16:31:36 +00:00
/* 800FA4B8 000F62F8 3D 80 80 44 */ lis r12, __vt__Q34nw4r3lyt8Material@ha
/* 800FA4BC 000F62FC 39 8C 15 28 */ addi r12, r12, __vt__Q34nw4r3lyt8Material@l
2022-10-16 16:05:58 +00:00
/* 800FA4C0 000F6300 91 83 00 00 */ stw r12, 0x0(r3)
/* 800FA4C4 000F6304 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 800FA4C8 000F6308 7D 89 03 A6 */ mtctr r12
/* 800FA4CC 000F630C 4E 80 04 21 */ bctrl
/* 800FA4D0 000F6310 80 1D 00 40 */ lwz r0, 0x40(r29)
/* 800FA4D4 000F6314 2C 00 00 00 */ cmpwi r0, 0x0
/* 800FA4D8 000F6318 41 82 00 48 */ beq lbl_800FA520
/* 800FA4DC 000F631C 3B E0 00 00 */ li r31, 0x0
/* 800FA4E0 000F6320 48 00 00 18 */ b lbl_800FA4F8
.global lbl_800FA4E4
lbl_800FA4E4:
/* 800FA4E4 000F6324 57 E0 15 BA */ rlwinm r0, r31, 2, 22, 29
/* 800FA4E8 000F6328 7C 7D 02 14 */ add r3, r29, r0
/* 800FA4EC 000F632C 80 63 00 5C */ lwz r3, 0x5c(r3)
2022-10-16 16:31:36 +00:00
/* 800FA4F0 000F6330 48 07 A6 79 */ bl HALTPLUnbind__FP10TPLPalette
2022-10-16 16:05:58 +00:00
/* 800FA4F4 000F6334 3B FF 00 01 */ addi r31, r31, 0x1
.global lbl_800FA4F8
lbl_800FA4F8:
/* 800FA4F8 000F6338 80 1D 00 38 */ lwz r0, 0x38(r29)
/* 800FA4FC 000F633C 57 E3 06 3E */ clrlwi r3, r31, 24
/* 800FA500 000F6340 54 00 27 3E */ srwi r0, r0, 28
/* 800FA504 000F6344 7C 03 00 40 */ cmplw r3, r0
/* 800FA508 000F6348 41 80 FF DC */ blt lbl_800FA4E4
2022-10-16 16:31:36 +00:00
/* 800FA50C 000F634C 80 6D EB 88 */ lwz r3, mspAllocator__Q34nw4r3lyt6Layout@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800FA510 000F6350 80 9D 00 40 */ lwz r4, 0x40(r29)
2022-10-16 16:31:36 +00:00
/* 800FA514 000F6354 4B FA 92 ED */ bl MEMFreeToAllocator
2022-10-16 16:05:58 +00:00
/* 800FA518 000F6358 38 00 00 00 */ li r0, 0x0
/* 800FA51C 000F635C 90 1D 00 40 */ stw r0, 0x40(r29)
.global lbl_800FA520
lbl_800FA520:
2022-10-16 16:31:36 +00:00
/* 800FA520 000F6360 3C 80 80 0D */ lis r4, __dt__Q34nw4r2ut5ColorFv@ha
2022-10-16 16:05:58 +00:00
/* 800FA524 000F6364 38 7D 00 28 */ addi r3, r29, 0x28
2022-10-16 16:31:36 +00:00
/* 800FA528 000F6368 38 84 F5 90 */ addi r4, r4, __dt__Q34nw4r2ut5ColorFv@l
2022-10-16 16:05:58 +00:00
/* 800FA52C 000F636C 38 A0 00 04 */ li r5, 0x4
/* 800FA530 000F6370 38 C0 00 04 */ li r6, 0x4
2022-10-16 16:31:36 +00:00
/* 800FA534 000F6374 4B F0 CB E9 */ bl __destroy_arr
2022-10-16 16:05:58 +00:00
/* 800FA538 000F6378 34 7D 00 04 */ addic. r3, r29, 0x4
/* 800FA53C 000F637C 41 82 00 0C */ beq lbl_800FA548
/* 800FA540 000F6380 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 800FA544 000F6384 48 02 57 3D */ bl __dt__Q44nw4r2ut6detail12LinkListImplFv
2022-10-16 16:05:58 +00:00
.global lbl_800FA548
lbl_800FA548:
/* 800FA548 000F6388 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800FA54C 000F638C 40 81 00 0C */ ble lbl_800FA558
/* 800FA550 000F6390 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 800FA554 000F6394 48 0C 51 C1 */ bl __dl__FPv
2022-10-16 16:05:58 +00:00
.global lbl_800FA558
lbl_800FA558:
/* 800FA558 000F6398 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800FA55C 000F639C 7F A3 EB 78 */ mr r3, r29
/* 800FA560 000F63A0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800FA564 000F63A4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800FA568 000F63A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800FA56C 000F63AC 7C 08 03 A6 */ mtlr r0
/* 800FA570 000F63B0 38 21 00 20 */ addi r1, r1, 0x20
/* 800FA574 000F63B4 4E 80 00 20 */ blr
/* 800FA578 000F63B8 00 00 00 00 */ .4byte 0x00000000
/* 800FA57C 000F63BC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global ReserveGXMem__Q34nw4r3lyt8MaterialFUcUcUcUcbUcUcbbbb
ReserveGXMem__Q34nw4r3lyt8MaterialFUcUcUcUcbUcUcbbbb:
2022-10-16 16:05:58 +00:00
/* 800FA580 000F63C0 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800FA584 000F63C4 7C 08 02 A6 */ mflr r0
/* 800FA588 000F63C8 90 01 00 64 */ stw r0, 0x64(r1)
/* 800FA58C 000F63CC 39 61 00 60 */ addi r11, r1, 0x60
/* 800FA590 000F63D0 4B F0 CD 91 */ bl lbl_80007320
/* 800FA594 000F63D4 80 03 00 38 */ lwz r0, 0x38(r3)
/* 800FA598 000F63D8 7C 74 1B 78 */ mr r20, r3
/* 800FA59C 000F63DC 8B 81 00 6B */ lbz r28, 0x6b(r1)
/* 800FA5A0 000F63E0 7C 95 23 78 */ mr r21, r4
/* 800FA5A4 000F63E4 54 0B 27 3E */ srwi r11, r0, 28
/* 800FA5A8 000F63E8 8B A1 00 6F */ lbz r29, 0x6f(r1)
/* 800FA5AC 000F63EC 7C 0B 20 40 */ cmplw r11, r4
/* 800FA5B0 000F63F0 8B C1 00 73 */ lbz r30, 0x73(r1)
/* 800FA5B4 000F63F4 8B E1 00 77 */ lbz r31, 0x77(r1)
/* 800FA5B8 000F63F8 7C B6 2B 78 */ mr r22, r5
/* 800FA5BC 000F63FC 7C D7 33 78 */ mr r23, r6
/* 800FA5C0 000F6400 7C F8 3B 78 */ mr r24, r7
/* 800FA5C4 000F6404 7D 19 43 78 */ mr r25, r8
/* 800FA5C8 000F6408 7D 3A 4B 78 */ mr r26, r9
/* 800FA5CC 000F640C 7D 5B 53 78 */ mr r27, r10
/* 800FA5D0 000F6410 41 80 00 7C */ blt lbl_800FA64C
/* 800FA5D4 000F6414 54 04 47 3E */ extrwi r4, r0, 4, 4
/* 800FA5D8 000F6418 7C 04 28 40 */ cmplw r4, r5
/* 800FA5DC 000F641C 41 80 00 70 */ blt lbl_800FA64C
/* 800FA5E0 000F6420 54 04 67 3E */ extrwi r4, r0, 4, 8
/* 800FA5E4 000F6424 7C 04 30 40 */ cmplw r4, r6
/* 800FA5E8 000F6428 41 80 00 64 */ blt lbl_800FA64C
/* 800FA5EC 000F642C 54 04 BE FE */ extrwi r4, r0, 5, 18
/* 800FA5F0 000F6430 7C 04 38 40 */ cmplw r4, r7
/* 800FA5F4 000F6434 41 80 00 58 */ blt lbl_800FA64C
/* 800FA5F8 000F6438 54 04 97 FE */ extrwi r4, r0, 1, 17
/* 800FA5FC 000F643C 7C 04 40 40 */ cmplw r4, r8
/* 800FA600 000F6440 41 80 00 4C */ blt lbl_800FA64C
/* 800FA604 000F6444 54 04 8F 7E */ extrwi r4, r0, 3, 14
/* 800FA608 000F6448 7C 04 48 40 */ cmplw r4, r9
/* 800FA60C 000F644C 41 80 00 40 */ blt lbl_800FA64C
/* 800FA610 000F6450 54 04 77 BE */ extrwi r4, r0, 2, 12
/* 800FA614 000F6454 7C 04 50 40 */ cmplw r4, r10
/* 800FA618 000F6458 41 80 00 34 */ blt lbl_800FA64C
/* 800FA61C 000F645C 54 04 C7 FE */ extrwi r4, r0, 1, 23
/* 800FA620 000F6460 7C 04 E0 40 */ cmplw r4, r28
/* 800FA624 000F6464 41 80 00 28 */ blt lbl_800FA64C
/* 800FA628 000F6468 54 04 CF FE */ extrwi r4, r0, 1, 24
/* 800FA62C 000F646C 7C 04 E8 40 */ cmplw r4, r29
/* 800FA630 000F6470 41 80 00 1C */ blt lbl_800FA64C
/* 800FA634 000F6474 54 04 D7 FE */ extrwi r4, r0, 1, 25
/* 800FA638 000F6478 7C 04 F0 40 */ cmplw r4, r30
/* 800FA63C 000F647C 41 80 00 10 */ blt lbl_800FA64C
/* 800FA640 000F6480 54 00 DF FE */ extrwi r0, r0, 1, 26
/* 800FA644 000F6484 7C 00 F8 40 */ cmplw r0, r31
/* 800FA648 000F6488 40 80 05 AC */ bge lbl_800FABF4
.global lbl_800FA64C
lbl_800FA64C:
/* 800FA64C 000F648C 80 83 00 40 */ lwz r4, 0x40(r3)
/* 800FA650 000F6490 2C 04 00 00 */ cmpwi r4, 0x0
/* 800FA654 000F6494 41 82 00 2C */ beq lbl_800FA680
2022-10-16 16:31:36 +00:00
/* 800FA658 000F6498 80 6D EB 88 */ lwz r3, mspAllocator__Q34nw4r3lyt6Layout@sda21(r13)
/* 800FA65C 000F649C 4B FA 91 A5 */ bl MEMFreeToAllocator
2022-10-16 16:05:58 +00:00
/* 800FA660 000F64A0 80 74 00 38 */ lwz r3, 0x38(r20)
/* 800FA664 000F64A4 38 80 00 00 */ li r4, 0x0
/* 800FA668 000F64A8 80 14 00 3C */ lwz r0, 0x3c(r20)
/* 800FA66C 000F64AC 54 63 06 FE */ clrlwi r3, r3, 27
/* 800FA670 000F64B0 90 94 00 40 */ stw r4, 0x40(r20)
/* 800FA674 000F64B4 54 00 06 FE */ clrlwi r0, r0, 27
/* 800FA678 000F64B8 90 74 00 38 */ stw r3, 0x38(r20)
/* 800FA67C 000F64BC 90 14 00 3C */ stw r0, 0x3c(r20)
.global lbl_800FA680
lbl_800FA680:
/* 800FA680 000F64C0 7C 9B B2 14 */ add r4, r27, r22
/* 800FA684 000F64C4 7C 19 E2 14 */ add r0, r25, r28
/* 800FA688 000F64C8 1C E4 00 14 */ mulli r7, r4, 0x14
/* 800FA68C 000F64CC 7C BF EA 14 */ add r5, r31, r29
/* 800FA690 000F64D0 7C 7A BA 14 */ add r3, r26, r23
/* 800FA694 000F64D4 7C 9E 02 14 */ add r4, r30, r0
/* 800FA698 000F64D8 7C C5 1A 14 */ add r6, r5, r3
/* 800FA69C 000F64DC 57 00 25 36 */ rlwinm r0, r24, 4, 20, 27
/* 800FA6A0 000F64E0 1C B5 00 1C */ mulli r5, r21, 0x1c
2022-10-16 16:31:36 +00:00
/* 800FA6A4 000F64E4 80 6D EB 88 */ lwz r3, mspAllocator__Q34nw4r3lyt6Layout@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800FA6A8 000F64E8 7C 86 22 14 */ add r4, r6, r4
/* 800FA6AC 000F64EC 54 84 10 3A */ slwi r4, r4, 2
/* 800FA6B0 000F64F0 7C 87 22 14 */ add r4, r7, r4
/* 800FA6B4 000F64F4 7C 05 02 14 */ add r0, r5, r0
/* 800FA6B8 000F64F8 7C 84 02 14 */ add r4, r4, r0
2022-10-16 16:31:36 +00:00
/* 800FA6BC 000F64FC 4B FA 91 35 */ bl MEMAllocFromAllocator
2022-10-16 16:05:58 +00:00
/* 800FA6C0 000F6500 2C 03 00 00 */ cmpwi r3, 0x0
/* 800FA6C4 000F6504 90 74 00 40 */ stw r3, 0x40(r20)
/* 800FA6C8 000F6508 41 82 05 2C */ beq lbl_800FABF4
/* 800FA6CC 000F650C 80 14 00 38 */ lwz r0, 0x38(r20)
/* 800FA6D0 000F6510 52 A0 E0 06 */ rlwimi r0, r21, 28, 0, 3
/* 800FA6D4 000F6514 52 C0 C1 0E */ rlwimi r0, r22, 24, 4, 7
/* 800FA6D8 000F6518 80 94 00 3C */ lwz r4, 0x3c(r20)
/* 800FA6DC 000F651C 52 E0 A2 16 */ rlwimi r0, r23, 20, 8, 11
/* 800FA6E0 000F6520 38 A0 00 00 */ li r5, 0x0
/* 800FA6E4 000F6524 53 60 93 1A */ rlwimi r0, r27, 18, 12, 13
/* 800FA6E8 000F6528 53 40 7B A0 */ rlwimi r0, r26, 15, 14, 16
/* 800FA6EC 000F652C 53 20 74 62 */ rlwimi r0, r25, 14, 17, 17
/* 800FA6F0 000F6530 53 00 4C AC */ rlwimi r0, r24, 9, 18, 22
/* 800FA6F4 000F6534 53 80 45 EE */ rlwimi r0, r28, 8, 23, 23
/* 800FA6F8 000F6538 53 A0 3E 30 */ rlwimi r0, r29, 7, 24, 24
/* 800FA6FC 000F653C 53 C0 36 72 */ rlwimi r0, r30, 6, 25, 25
/* 800FA700 000F6540 53 E0 2E B4 */ rlwimi r0, r31, 5, 26, 26
/* 800FA704 000F6544 90 14 00 38 */ stw r0, 0x38(r20)
/* 800FA708 000F6548 50 04 01 0E */ rlwimi r4, r0, 0, 4, 7
/* 800FA70C 000F654C 54 00 27 3E */ srwi r0, r0, 28
/* 800FA710 000F6550 90 94 00 3C */ stw r4, 0x3c(r20)
/* 800FA714 000F6554 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800FA718 000F6558 54 84 47 3F */ extrwi. r4, r4, 4, 4
/* 800FA71C 000F655C 7C C3 02 14 */ add r6, r3, r0
/* 800FA720 000F6560 41 82 01 38 */ beq lbl_800FA858
/* 800FA724 000F6564 28 04 00 08 */ cmplwi r4, 0x8
/* 800FA728 000F6568 38 64 FF F8 */ addi r3, r4, -0x8
/* 800FA72C 000F656C 40 81 00 E0 */ ble lbl_800FA80C
/* 800FA730 000F6570 38 03 00 07 */ addi r0, r3, 0x7
/* 800FA734 000F6574 7C C7 33 78 */ mr r7, r6
/* 800FA738 000F6578 54 00 E8 FE */ srwi r0, r0, 3
2022-10-16 16:31:36 +00:00
/* 800FA73C 000F657C C0 22 92 00 */ lfs f1, "@10057"@sda21(r2)
/* 800FA740 000F6580 C0 02 92 04 */ lfs f0, "@10058"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FA744 000F6584 7C 09 03 A6 */ mtctr r0
/* 800FA748 000F6588 28 03 00 00 */ cmplwi r3, 0x0
/* 800FA74C 000F658C 40 81 00 C0 */ ble lbl_800FA80C
.global lbl_800FA750
lbl_800FA750:
/* 800FA750 000F6590 D0 27 00 00 */ stfs f1, 0x0(r7)
/* 800FA754 000F6594 38 A5 00 08 */ addi r5, r5, 0x8
/* 800FA758 000F6598 D0 27 00 04 */ stfs f1, 0x4(r7)
/* 800FA75C 000F659C D0 27 00 08 */ stfs f1, 0x8(r7)
/* 800FA760 000F65A0 D0 07 00 0C */ stfs f0, 0xc(r7)
/* 800FA764 000F65A4 D0 07 00 10 */ stfs f0, 0x10(r7)
/* 800FA768 000F65A8 D0 27 00 14 */ stfs f1, 0x14(r7)
/* 800FA76C 000F65AC D0 27 00 18 */ stfs f1, 0x18(r7)
/* 800FA770 000F65B0 D0 27 00 1C */ stfs f1, 0x1c(r7)
/* 800FA774 000F65B4 D0 07 00 20 */ stfs f0, 0x20(r7)
/* 800FA778 000F65B8 D0 07 00 24 */ stfs f0, 0x24(r7)
/* 800FA77C 000F65BC D0 27 00 28 */ stfs f1, 0x28(r7)
/* 800FA780 000F65C0 D0 27 00 2C */ stfs f1, 0x2c(r7)
/* 800FA784 000F65C4 D0 27 00 30 */ stfs f1, 0x30(r7)
/* 800FA788 000F65C8 D0 07 00 34 */ stfs f0, 0x34(r7)
/* 800FA78C 000F65CC D0 07 00 38 */ stfs f0, 0x38(r7)
/* 800FA790 000F65D0 D0 27 00 3C */ stfs f1, 0x3c(r7)
/* 800FA794 000F65D4 D0 27 00 40 */ stfs f1, 0x40(r7)
/* 800FA798 000F65D8 D0 27 00 44 */ stfs f1, 0x44(r7)
/* 800FA79C 000F65DC D0 07 00 48 */ stfs f0, 0x48(r7)
/* 800FA7A0 000F65E0 D0 07 00 4C */ stfs f0, 0x4c(r7)
/* 800FA7A4 000F65E4 D0 27 00 50 */ stfs f1, 0x50(r7)
/* 800FA7A8 000F65E8 D0 27 00 54 */ stfs f1, 0x54(r7)
/* 800FA7AC 000F65EC D0 27 00 58 */ stfs f1, 0x58(r7)
/* 800FA7B0 000F65F0 D0 07 00 5C */ stfs f0, 0x5c(r7)
/* 800FA7B4 000F65F4 D0 07 00 60 */ stfs f0, 0x60(r7)
/* 800FA7B8 000F65F8 D0 27 00 64 */ stfs f1, 0x64(r7)
/* 800FA7BC 000F65FC D0 27 00 68 */ stfs f1, 0x68(r7)
/* 800FA7C0 000F6600 D0 27 00 6C */ stfs f1, 0x6c(r7)
/* 800FA7C4 000F6604 D0 07 00 70 */ stfs f0, 0x70(r7)
/* 800FA7C8 000F6608 D0 07 00 74 */ stfs f0, 0x74(r7)
/* 800FA7CC 000F660C D0 27 00 78 */ stfs f1, 0x78(r7)
/* 800FA7D0 000F6610 D0 27 00 7C */ stfs f1, 0x7c(r7)
/* 800FA7D4 000F6614 D0 27 00 80 */ stfs f1, 0x80(r7)
/* 800FA7D8 000F6618 D0 07 00 84 */ stfs f0, 0x84(r7)
/* 800FA7DC 000F661C D0 07 00 88 */ stfs f0, 0x88(r7)
/* 800FA7E0 000F6620 D0 27 00 8C */ stfs f1, 0x8c(r7)
/* 800FA7E4 000F6624 D0 27 00 90 */ stfs f1, 0x90(r7)
/* 800FA7E8 000F6628 D0 27 00 94 */ stfs f1, 0x94(r7)
/* 800FA7EC 000F662C D0 07 00 98 */ stfs f0, 0x98(r7)
/* 800FA7F0 000F6630 D0 07 00 9C */ stfs f0, 0x9c(r7)
/* 800FA7F4 000F6634 38 E7 00 A0 */ addi r7, r7, 0xa0
/* 800FA7F8 000F6638 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 800FA7FC 000F663C D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 800FA800 000F6640 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 800FA804 000F6644 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 800FA808 000F6648 42 00 FF 48 */ bdnz lbl_800FA750
.global lbl_800FA80C
lbl_800FA80C:
/* 800FA80C 000F664C 1C 65 00 14 */ mulli r3, r5, 0x14
/* 800FA810 000F6650 7C 05 20 50 */ subf r0, r5, r4
2022-10-16 16:31:36 +00:00
/* 800FA814 000F6654 C0 22 92 00 */ lfs f1, "@10057"@sda21(r2)
/* 800FA818 000F6658 C0 02 92 04 */ lfs f0, "@10058"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FA81C 000F665C 7C 66 1A 14 */ add r3, r6, r3
/* 800FA820 000F6660 7C 09 03 A6 */ mtctr r0
/* 800FA824 000F6664 7C 05 20 40 */ cmplw r5, r4
/* 800FA828 000F6668 40 80 00 30 */ bge lbl_800FA858
.global lbl_800FA82C
lbl_800FA82C:
/* 800FA82C 000F666C D0 23 00 00 */ stfs f1, 0x0(r3)
/* 800FA830 000F6670 D0 23 00 04 */ stfs f1, 0x4(r3)
/* 800FA834 000F6674 D0 23 00 08 */ stfs f1, 0x8(r3)
/* 800FA838 000F6678 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 800FA83C 000F667C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 800FA840 000F6680 38 63 00 14 */ addi r3, r3, 0x14
/* 800FA844 000F6684 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 800FA848 000F6688 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 800FA84C 000F668C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 800FA850 000F6690 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 800FA854 000F6694 42 00 FF D8 */ bdnz lbl_800FA82C
.global lbl_800FA858
lbl_800FA858:
/* 800FA858 000F6698 81 54 00 38 */ lwz r10, 0x38(r20)
/* 800FA85C 000F669C 38 80 00 00 */ li r4, 0x0
/* 800FA860 000F66A0 80 14 00 38 */ lwz r0, 0x38(r20)
/* 800FA864 000F66A4 82 B4 00 3C */ lwz r21, 0x3c(r20)
/* 800FA868 000F66A8 55 47 DF 7A */ rlwinm r7, r10, 27, 29, 29
/* 800FA86C 000F66AC 50 15 03 1A */ rlwimi r21, r0, 0, 12, 13
/* 800FA870 000F66B0 55 40 D7 7A */ rlwinm r0, r10, 26, 29, 29
/* 800FA874 000F66B4 55 45 27 3E */ srwi r5, r10, 28
/* 800FA878 000F66B8 55 46 47 3E */ extrwi r6, r10, 4, 4
/* 800FA87C 000F66BC 7C 07 02 14 */ add r0, r7, r0
/* 800FA880 000F66C0 55 48 E7 7A */ rlwinm r8, r10, 28, 29, 29
/* 800FA884 000F66C4 55 49 A7 7A */ rlwinm r9, r10, 20, 29, 29
/* 800FA888 000F66C8 55 47 76 BA */ rlwinm r7, r10, 14, 26, 29
/* 800FA88C 000F66CC 7D 29 3A 14 */ add r9, r9, r7
/* 800FA890 000F66D0 55 4B 9E FA */ rlwinm r11, r10, 19, 27, 29
/* 800FA894 000F66D4 1C E6 00 14 */ mulli r7, r6, 0x14
/* 800FA898 000F66D8 7D 08 02 14 */ add r8, r8, r0
/* 800FA89C 000F66DC 55 4A EF 7A */ rlwinm r10, r10, 29, 29, 29
/* 800FA8A0 000F66E0 81 94 00 40 */ lwz r12, 0x40(r20)
/* 800FA8A4 000F66E4 56 A3 77 BF */ extrwi. r3, r21, 2, 12
/* 800FA8A8 000F66E8 92 B4 00 3C */ stw r21, 0x3c(r20)
/* 800FA8AC 000F66EC 1C A5 00 1C */ mulli r5, r5, 0x1c
/* 800FA8B0 000F66F0 7C 0B 52 14 */ add r0, r11, r10
/* 800FA8B4 000F66F4 7C C9 42 14 */ add r6, r9, r8
/* 800FA8B8 000F66F8 7C 0C 02 14 */ add r0, r12, r0
/* 800FA8BC 000F66FC 7C A7 2A 14 */ add r5, r7, r5
/* 800FA8C0 000F6700 7C A6 2A 14 */ add r5, r6, r5
/* 800FA8C4 000F6704 7C C5 02 14 */ add r6, r5, r0
/* 800FA8C8 000F6708 41 82 01 38 */ beq lbl_800FAA00
/* 800FA8CC 000F670C 28 03 00 08 */ cmplwi r3, 0x8
/* 800FA8D0 000F6710 38 A3 FF F8 */ addi r5, r3, -0x8
/* 800FA8D4 000F6714 40 81 00 E0 */ ble lbl_800FA9B4
/* 800FA8D8 000F6718 38 05 00 07 */ addi r0, r5, 0x7
/* 800FA8DC 000F671C 7C C7 33 78 */ mr r7, r6
/* 800FA8E0 000F6720 54 00 E8 FE */ srwi r0, r0, 3
2022-10-16 16:31:36 +00:00
/* 800FA8E4 000F6724 C0 22 92 00 */ lfs f1, "@10057"@sda21(r2)
/* 800FA8E8 000F6728 C0 02 92 04 */ lfs f0, "@10058"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FA8EC 000F672C 7C 09 03 A6 */ mtctr r0
/* 800FA8F0 000F6730 28 05 00 00 */ cmplwi r5, 0x0
/* 800FA8F4 000F6734 40 81 00 C0 */ ble lbl_800FA9B4
.global lbl_800FA8F8
lbl_800FA8F8:
/* 800FA8F8 000F6738 D0 27 00 00 */ stfs f1, 0x0(r7)
/* 800FA8FC 000F673C 38 84 00 08 */ addi r4, r4, 0x8
/* 800FA900 000F6740 D0 27 00 04 */ stfs f1, 0x4(r7)
/* 800FA904 000F6744 D0 27 00 08 */ stfs f1, 0x8(r7)
/* 800FA908 000F6748 D0 07 00 0C */ stfs f0, 0xc(r7)
/* 800FA90C 000F674C D0 07 00 10 */ stfs f0, 0x10(r7)
/* 800FA910 000F6750 D0 27 00 14 */ stfs f1, 0x14(r7)
/* 800FA914 000F6754 D0 27 00 18 */ stfs f1, 0x18(r7)
/* 800FA918 000F6758 D0 27 00 1C */ stfs f1, 0x1c(r7)
/* 800FA91C 000F675C D0 07 00 20 */ stfs f0, 0x20(r7)
/* 800FA920 000F6760 D0 07 00 24 */ stfs f0, 0x24(r7)
/* 800FA924 000F6764 D0 27 00 28 */ stfs f1, 0x28(r7)
/* 800FA928 000F6768 D0 27 00 2C */ stfs f1, 0x2c(r7)
/* 800FA92C 000F676C D0 27 00 30 */ stfs f1, 0x30(r7)
/* 800FA930 000F6770 D0 07 00 34 */ stfs f0, 0x34(r7)
/* 800FA934 000F6774 D0 07 00 38 */ stfs f0, 0x38(r7)
/* 800FA938 000F6778 D0 27 00 3C */ stfs f1, 0x3c(r7)
/* 800FA93C 000F677C D0 27 00 40 */ stfs f1, 0x40(r7)
/* 800FA940 000F6780 D0 27 00 44 */ stfs f1, 0x44(r7)
/* 800FA944 000F6784 D0 07 00 48 */ stfs f0, 0x48(r7)
/* 800FA948 000F6788 D0 07 00 4C */ stfs f0, 0x4c(r7)
/* 800FA94C 000F678C D0 27 00 50 */ stfs f1, 0x50(r7)
/* 800FA950 000F6790 D0 27 00 54 */ stfs f1, 0x54(r7)
/* 800FA954 000F6794 D0 27 00 58 */ stfs f1, 0x58(r7)
/* 800FA958 000F6798 D0 07 00 5C */ stfs f0, 0x5c(r7)
/* 800FA95C 000F679C D0 07 00 60 */ stfs f0, 0x60(r7)
/* 800FA960 000F67A0 D0 27 00 64 */ stfs f1, 0x64(r7)
/* 800FA964 000F67A4 D0 27 00 68 */ stfs f1, 0x68(r7)
/* 800FA968 000F67A8 D0 27 00 6C */ stfs f1, 0x6c(r7)
/* 800FA96C 000F67AC D0 07 00 70 */ stfs f0, 0x70(r7)
/* 800FA970 000F67B0 D0 07 00 74 */ stfs f0, 0x74(r7)
/* 800FA974 000F67B4 D0 27 00 78 */ stfs f1, 0x78(r7)
/* 800FA978 000F67B8 D0 27 00 7C */ stfs f1, 0x7c(r7)
/* 800FA97C 000F67BC D0 27 00 80 */ stfs f1, 0x80(r7)
/* 800FA980 000F67C0 D0 07 00 84 */ stfs f0, 0x84(r7)
/* 800FA984 000F67C4 D0 07 00 88 */ stfs f0, 0x88(r7)
/* 800FA988 000F67C8 D0 27 00 8C */ stfs f1, 0x8c(r7)
/* 800FA98C 000F67CC D0 27 00 90 */ stfs f1, 0x90(r7)
/* 800FA990 000F67D0 D0 27 00 94 */ stfs f1, 0x94(r7)
/* 800FA994 000F67D4 D0 07 00 98 */ stfs f0, 0x98(r7)
/* 800FA998 000F67D8 D0 07 00 9C */ stfs f0, 0x9c(r7)
/* 800FA99C 000F67DC 38 E7 00 A0 */ addi r7, r7, 0xa0
/* 800FA9A0 000F67E0 D0 21 00 08 */ stfs f1, 0x8(r1)
/* 800FA9A4 000F67E4 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 800FA9A8 000F67E8 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800FA9AC 000F67EC D0 01 00 14 */ stfs f0, 0x14(r1)
/* 800FA9B0 000F67F0 42 00 FF 48 */ bdnz lbl_800FA8F8
.global lbl_800FA9B4
lbl_800FA9B4:
/* 800FA9B4 000F67F4 1C A4 00 14 */ mulli r5, r4, 0x14
/* 800FA9B8 000F67F8 7C 04 18 50 */ subf r0, r4, r3
2022-10-16 16:31:36 +00:00
/* 800FA9BC 000F67FC C0 22 92 00 */ lfs f1, "@10057"@sda21(r2)
/* 800FA9C0 000F6800 C0 02 92 04 */ lfs f0, "@10058"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FA9C4 000F6804 7C A6 2A 14 */ add r5, r6, r5
/* 800FA9C8 000F6808 7C 09 03 A6 */ mtctr r0
/* 800FA9CC 000F680C 7C 04 18 40 */ cmplw r4, r3
/* 800FA9D0 000F6810 40 80 00 30 */ bge lbl_800FAA00
.global lbl_800FA9D4
lbl_800FA9D4:
/* 800FA9D4 000F6814 D0 25 00 00 */ stfs f1, 0x0(r5)
/* 800FA9D8 000F6818 D0 25 00 04 */ stfs f1, 0x4(r5)
/* 800FA9DC 000F681C D0 25 00 08 */ stfs f1, 0x8(r5)
/* 800FA9E0 000F6820 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 800FA9E4 000F6824 D0 05 00 10 */ stfs f0, 0x10(r5)
/* 800FA9E8 000F6828 38 A5 00 14 */ addi r5, r5, 0x14
/* 800FA9EC 000F682C D0 21 00 08 */ stfs f1, 0x8(r1)
/* 800FA9F0 000F6830 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 800FA9F4 000F6834 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800FA9F8 000F6838 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 800FA9FC 000F683C 42 00 FF D8 */ bdnz lbl_800FA9D4
.global lbl_800FAA00
lbl_800FAA00:
/* 800FAA00 000F6840 80 74 00 38 */ lwz r3, 0x38(r20)
/* 800FAA04 000F6844 80 14 00 3C */ lwz r0, 0x3c(r20)
/* 800FAA08 000F6848 50 60 05 EE */ rlwimi r0, r3, 0, 23, 23
/* 800FAA0C 000F684C 90 14 00 3C */ stw r0, 0x3c(r20)
/* 800FAA10 000F6850 54 00 C7 FF */ extrwi. r0, r0, 1, 23
/* 800FAA14 000F6854 41 82 00 40 */ beq lbl_800FAA54
/* 800FAA18 000F6858 80 D4 00 38 */ lwz r6, 0x38(r20)
/* 800FAA1C 000F685C 38 60 00 01 */ li r3, 0x1
/* 800FAA20 000F6860 80 F4 00 40 */ lwz r7, 0x40(r20)
/* 800FAA24 000F6864 38 00 00 00 */ li r0, 0x0
/* 800FAA28 000F6868 54 C5 47 3E */ extrwi r5, r6, 4, 4
/* 800FAA2C 000F686C 54 C4 27 3E */ srwi r4, r6, 28
/* 800FAA30 000F6870 1C A5 00 14 */ mulli r5, r5, 0x14
/* 800FAA34 000F6874 54 C6 76 BA */ rlwinm r6, r6, 14, 26, 29
/* 800FAA38 000F6878 1C 84 00 1C */ mulli r4, r4, 0x1c
/* 800FAA3C 000F687C 7C A6 2A 14 */ add r5, r6, r5
/* 800FAA40 000F6880 7C 87 22 14 */ add r4, r7, r4
/* 800FAA44 000F6884 7C 64 29 EE */ stbux r3, r4, r5
/* 800FAA48 000F6888 98 64 00 01 */ stb r3, 0x1(r4)
/* 800FAA4C 000F688C 98 04 00 02 */ stb r0, 0x2(r4)
/* 800FAA50 000F6890 98 04 00 03 */ stb r0, 0x3(r4)
.global lbl_800FAA54
lbl_800FAA54:
/* 800FAA54 000F6894 80 74 00 38 */ lwz r3, 0x38(r20)
/* 800FAA58 000F6898 80 14 00 3C */ lwz r0, 0x3c(r20)
/* 800FAA5C 000F689C 50 60 06 30 */ rlwimi r0, r3, 0, 24, 24
/* 800FAA60 000F68A0 90 14 00 3C */ stw r0, 0x3c(r20)
/* 800FAA64 000F68A4 54 00 CF FF */ extrwi. r0, r0, 1, 24
/* 800FAA68 000F68A8 41 82 00 38 */ beq lbl_800FAAA0
/* 800FAA6C 000F68AC 80 B4 00 38 */ lwz r5, 0x38(r20)
/* 800FAA70 000F68B0 39 00 FF FF */ li r8, -0x1
/* 800FAA74 000F68B4 80 F4 00 40 */ lwz r7, 0x40(r20)
/* 800FAA78 000F68B8 54 A3 47 3E */ extrwi r3, r5, 4, 4
/* 800FAA7C 000F68BC 54 A0 27 3E */ srwi r0, r5, 28
/* 800FAA80 000F68C0 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800FAA84 000F68C4 54 A6 D7 7A */ rlwinm r6, r5, 26, 29, 29
/* 800FAA88 000F68C8 54 A5 76 BA */ rlwinm r5, r5, 14, 26, 29
/* 800FAA8C 000F68CC 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FAA90 000F68D0 7C 06 2A 14 */ add r0, r6, r5
/* 800FAA94 000F68D4 7C 07 02 14 */ add r0, r7, r0
/* 800FAA98 000F68D8 7C 64 1A 14 */ add r3, r4, r3
/* 800FAA9C 000F68DC 7D 03 01 2E */ stwx r8, r3, r0
.global lbl_800FAAA0
lbl_800FAAA0:
/* 800FAAA0 000F68E0 80 74 00 38 */ lwz r3, 0x38(r20)
/* 800FAAA4 000F68E4 80 14 00 3C */ lwz r0, 0x3c(r20)
/* 800FAAA8 000F68E8 50 60 04 62 */ rlwimi r0, r3, 0, 17, 17
/* 800FAAAC 000F68EC 90 14 00 3C */ stw r0, 0x3c(r20)
/* 800FAAB0 000F68F0 54 00 97 FF */ extrwi. r0, r0, 1, 17
/* 800FAAB4 000F68F4 41 82 00 58 */ beq lbl_800FAB0C
/* 800FAAB8 000F68F8 81 34 00 38 */ lwz r9, 0x38(r20)
/* 800FAABC 000F68FC 38 A0 00 E4 */ li r5, 0xe4
/* 800FAAC0 000F6900 81 54 00 40 */ lwz r10, 0x40(r20)
/* 800FAAC4 000F6904 38 80 00 C0 */ li r4, 0xc0
/* 800FAAC8 000F6908 55 23 47 3E */ extrwi r3, r9, 4, 4
/* 800FAACC 000F690C 55 20 27 3E */ srwi r0, r9, 28
/* 800FAAD0 000F6910 1D 03 00 14 */ mulli r8, r3, 0x14
/* 800FAAD4 000F6914 55 27 DF 7A */ rlwinm r7, r9, 27, 29, 29
/* 800FAAD8 000F6918 55 26 D7 7A */ rlwinm r6, r9, 26, 29, 29
/* 800FAADC 000F691C 55 29 76 BA */ rlwinm r9, r9, 14, 26, 29
/* 800FAAE0 000F6920 7C C7 32 14 */ add r6, r7, r6
/* 800FAAE4 000F6924 38 60 00 D5 */ li r3, 0xd5
/* 800FAAE8 000F6928 1C E0 00 1C */ mulli r7, r0, 0x1c
/* 800FAAEC 000F692C 38 00 00 EA */ li r0, 0xea
/* 800FAAF0 000F6930 7C C9 32 14 */ add r6, r9, r6
/* 800FAAF4 000F6934 7C E8 3A 14 */ add r7, r8, r7
/* 800FAAF8 000F6938 7C CA 32 14 */ add r6, r10, r6
/* 800FAAFC 000F693C 7C A6 39 EE */ stbux r5, r6, r7
/* 800FAB00 000F6940 98 86 00 01 */ stb r4, 0x1(r6)
/* 800FAB04 000F6944 98 66 00 02 */ stb r3, 0x2(r6)
/* 800FAB08 000F6948 98 06 00 03 */ stb r0, 0x3(r6)
.global lbl_800FAB0C
lbl_800FAB0C:
/* 800FAB0C 000F694C 80 74 00 38 */ lwz r3, 0x38(r20)
/* 800FAB10 000F6950 80 14 00 3C */ lwz r0, 0x3c(r20)
/* 800FAB14 000F6954 50 60 06 72 */ rlwimi r0, r3, 0, 25, 25
/* 800FAB18 000F6958 90 14 00 3C */ stw r0, 0x3c(r20)
/* 800FAB1C 000F695C 54 00 D7 FF */ extrwi. r0, r0, 1, 25
/* 800FAB20 000F6960 41 82 00 58 */ beq lbl_800FAB78
/* 800FAB24 000F6964 80 D4 00 38 */ lwz r6, 0x38(r20)
/* 800FAB28 000F6968 38 60 00 77 */ li r3, 0x77
/* 800FAB2C 000F696C 81 74 00 40 */ lwz r11, 0x40(r20)
/* 800FAB30 000F6970 38 00 00 00 */ li r0, 0x0
/* 800FAB34 000F6974 54 C5 47 3E */ extrwi r5, r6, 4, 4
/* 800FAB38 000F6978 54 C4 27 3E */ srwi r4, r6, 28
/* 800FAB3C 000F697C 54 CA A7 7A */ rlwinm r10, r6, 20, 29, 29
/* 800FAB40 000F6980 54 C7 76 BA */ rlwinm r7, r6, 14, 26, 29
/* 800FAB44 000F6984 54 C9 DF 7A */ rlwinm r9, r6, 27, 29, 29
/* 800FAB48 000F6988 54 C8 D7 7A */ rlwinm r8, r6, 26, 29, 29
/* 800FAB4C 000F698C 1C C5 00 14 */ mulli r6, r5, 0x14
/* 800FAB50 000F6990 7C EA 3A 14 */ add r7, r10, r7
/* 800FAB54 000F6994 7D 09 42 14 */ add r8, r9, r8
/* 800FAB58 000F6998 1C A4 00 1C */ mulli r5, r4, 0x1c
/* 800FAB5C 000F699C 7C 88 3A 14 */ add r4, r8, r7
/* 800FAB60 000F69A0 7C 8B 22 14 */ add r4, r11, r4
/* 800FAB64 000F69A4 7C A6 2A 14 */ add r5, r6, r5
/* 800FAB68 000F69A8 7C 64 29 EE */ stbux r3, r4, r5
/* 800FAB6C 000F69AC 98 04 00 01 */ stb r0, 0x1(r4)
/* 800FAB70 000F69B0 98 04 00 02 */ stb r0, 0x2(r4)
/* 800FAB74 000F69B4 98 04 00 03 */ stb r0, 0x3(r4)
.global lbl_800FAB78
lbl_800FAB78:
/* 800FAB78 000F69B8 80 74 00 38 */ lwz r3, 0x38(r20)
/* 800FAB7C 000F69BC 80 14 00 3C */ lwz r0, 0x3c(r20)
/* 800FAB80 000F69C0 50 60 06 B4 */ rlwimi r0, r3, 0, 26, 26
/* 800FAB84 000F69C4 90 14 00 3C */ stw r0, 0x3c(r20)
/* 800FAB88 000F69C8 54 00 DF FF */ extrwi. r0, r0, 1, 26
/* 800FAB8C 000F69CC 41 82 00 68 */ beq lbl_800FABF4
/* 800FAB90 000F69D0 80 F4 00 38 */ lwz r7, 0x38(r20)
/* 800FAB94 000F69D4 38 A0 00 01 */ li r5, 0x1
/* 800FAB98 000F69D8 81 74 00 40 */ lwz r11, 0x40(r20)
/* 800FAB9C 000F69DC 38 80 00 04 */ li r4, 0x4
/* 800FABA0 000F69E0 54 E3 47 3E */ extrwi r3, r7, 4, 4
/* 800FABA4 000F69E4 54 E0 27 3E */ srwi r0, r7, 28
/* 800FABA8 000F69E8 54 E8 DF 7A */ rlwinm r8, r7, 27, 29, 29
/* 800FABAC 000F69EC 54 E6 D7 7A */ rlwinm r6, r7, 26, 29, 29
/* 800FABB0 000F69F0 7C C8 32 14 */ add r6, r8, r6
/* 800FABB4 000F69F4 54 EA E7 7A */ rlwinm r10, r7, 28, 29, 29
/* 800FABB8 000F69F8 54 E9 A7 7A */ rlwinm r9, r7, 20, 29, 29
/* 800FABBC 000F69FC 54 E7 76 BA */ rlwinm r7, r7, 14, 26, 29
/* 800FABC0 000F6A00 1D 03 00 14 */ mulli r8, r3, 0x14
/* 800FABC4 000F6A04 7C CA 32 14 */ add r6, r10, r6
/* 800FABC8 000F6A08 7D 29 3A 14 */ add r9, r9, r7
/* 800FABCC 000F6A0C 38 60 00 05 */ li r3, 0x5
/* 800FABD0 000F6A10 1C E0 00 1C */ mulli r7, r0, 0x1c
/* 800FABD4 000F6A14 7C C9 32 14 */ add r6, r9, r6
/* 800FABD8 000F6A18 38 00 00 0F */ li r0, 0xf
/* 800FABDC 000F6A1C 7C CB 32 14 */ add r6, r11, r6
/* 800FABE0 000F6A20 7C E8 3A 14 */ add r7, r8, r7
/* 800FABE4 000F6A24 7C A6 39 EE */ stbux r5, r6, r7
/* 800FABE8 000F6A28 98 86 00 01 */ stb r4, 0x1(r6)
/* 800FABEC 000F6A2C 98 66 00 02 */ stb r3, 0x2(r6)
/* 800FABF0 000F6A30 98 06 00 03 */ stb r0, 0x3(r6)
.global lbl_800FABF4
lbl_800FABF4:
/* 800FABF4 000F6A34 39 61 00 60 */ addi r11, r1, 0x60
/* 800FABF8 000F6A38 4B F0 C7 75 */ bl lbl_8000736C
/* 800FABFC 000F6A3C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800FAC00 000F6A40 7C 08 03 A6 */ mtlr r0
/* 800FAC04 000F6A44 38 21 00 60 */ addi r1, r1, 0x60
/* 800FAC08 000F6A48 4E 80 00 20 */ blr
/* 800FAC0C 000F6A4C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetTexMapAry__Q34nw4r3lyt8MaterialCFv
GetTexMapAry__Q34nw4r3lyt8MaterialCFv:
2022-10-16 16:05:58 +00:00
/* 800FAC10 000F6A50 80 63 00 40 */ lwz r3, 0x40(r3)
/* 800FAC14 000F6A54 4E 80 00 20 */ blr
/* 800FAC18 000F6A58 00 00 00 00 */ .4byte 0x00000000
/* 800FAC1C 000F6A5C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetTexSRTAry__Q34nw4r3lyt8MaterialCFv
GetTexSRTAry__Q34nw4r3lyt8MaterialCFv:
2022-10-16 16:05:58 +00:00
/* 800FAC20 000F6A60 80 03 00 38 */ lwz r0, 0x38(r3)
/* 800FAC24 000F6A64 80 63 00 40 */ lwz r3, 0x40(r3)
/* 800FAC28 000F6A68 54 00 27 3E */ srwi r0, r0, 28
/* 800FAC2C 000F6A6C 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800FAC30 000F6A70 7C 63 02 14 */ add r3, r3, r0
/* 800FAC34 000F6A74 4E 80 00 20 */ blr
/* 800FAC38 000F6A78 00 00 00 00 */ .4byte 0x00000000
/* 800FAC3C 000F6A7C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetTexCoordGenAry__Q34nw4r3lyt8MaterialFv
GetTexCoordGenAry__Q34nw4r3lyt8MaterialFv:
2022-10-16 16:05:58 +00:00
/* 800FAC40 000F6A80 80 03 00 38 */ lwz r0, 0x38(r3)
/* 800FAC44 000F6A84 80 A3 00 40 */ lwz r5, 0x40(r3)
/* 800FAC48 000F6A88 54 03 47 3E */ extrwi r3, r0, 4, 4
/* 800FAC4C 000F6A8C 54 00 27 3E */ srwi r0, r0, 28
/* 800FAC50 000F6A90 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800FAC54 000F6A94 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FAC58 000F6A98 7C 05 22 14 */ add r0, r5, r4
/* 800FAC5C 000F6A9C 7C 63 02 14 */ add r3, r3, r0
/* 800FAC60 000F6AA0 4E 80 00 20 */ blr
/* 800FAC64 000F6AA4 00 00 00 00 */ .4byte 0x00000000
/* 800FAC68 000F6AA8 00 00 00 00 */ .4byte 0x00000000
/* 800FAC6C 000F6AAC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetIndTexSRTAry__Q34nw4r3lyt8MaterialFv
GetIndTexSRTAry__Q34nw4r3lyt8MaterialFv:
2022-10-16 16:05:58 +00:00
/* 800FAC70 000F6AB0 81 43 00 38 */ lwz r10, 0x38(r3)
/* 800FAC74 000F6AB4 81 63 00 40 */ lwz r11, 0x40(r3)
/* 800FAC78 000F6AB8 55 43 47 3E */ extrwi r3, r10, 4, 4
/* 800FAC7C 000F6ABC 55 40 27 3E */ srwi r0, r10, 28
/* 800FAC80 000F6AC0 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800FAC84 000F6AC4 55 46 DF 7A */ rlwinm r6, r10, 27, 29, 29
/* 800FAC88 000F6AC8 55 45 D7 7A */ rlwinm r5, r10, 26, 29, 29
/* 800FAC8C 000F6ACC 55 48 E7 7A */ rlwinm r8, r10, 28, 29, 29
/* 800FAC90 000F6AD0 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FAC94 000F6AD4 7C A6 2A 14 */ add r5, r6, r5
/* 800FAC98 000F6AD8 55 47 A7 7A */ rlwinm r7, r10, 20, 29, 29
/* 800FAC9C 000F6ADC 55 46 76 BA */ rlwinm r6, r10, 14, 26, 29
/* 800FACA0 000F6AE0 55 49 9E FA */ rlwinm r9, r10, 19, 27, 29
/* 800FACA4 000F6AE4 55 40 EF 7A */ rlwinm r0, r10, 29, 29, 29
/* 800FACA8 000F6AE8 7C 09 02 14 */ add r0, r9, r0
/* 800FACAC 000F6AEC 7C C7 32 14 */ add r6, r7, r6
/* 800FACB0 000F6AF0 7C A8 2A 14 */ add r5, r8, r5
/* 800FACB4 000F6AF4 7C 64 1A 14 */ add r3, r4, r3
/* 800FACB8 000F6AF8 7C 86 2A 14 */ add r4, r6, r5
/* 800FACBC 000F6AFC 7C 0B 02 14 */ add r0, r11, r0
/* 800FACC0 000F6B00 7C 64 1A 14 */ add r3, r4, r3
/* 800FACC4 000F6B04 7C 63 02 14 */ add r3, r3, r0
/* 800FACC8 000F6B08 4E 80 00 20 */ blr
/* 800FACCC 000F6B0C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetTextureNum__Q34nw4r3lyt8MaterialFUc
SetTextureNum__Q34nw4r3lyt8MaterialFUc:
2022-10-16 16:05:58 +00:00
/* 800FACD0 000F6B10 2C 04 00 00 */ cmpwi r4, 0x0
/* 800FACD4 000F6B14 41 82 00 7C */ beq lbl_800FAD50
/* 800FACD8 000F6B18 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 800FACDC 000F6B1C 38 C0 00 00 */ li r6, 0x0
/* 800FACE0 000F6B20 81 03 00 40 */ lwz r8, 0x40(r3)
/* 800FACE4 000F6B24 38 A0 00 01 */ li r5, 0x1
/* 800FACE8 000F6B28 54 09 27 3E */ srwi r9, r0, 28
2022-10-16 16:31:36 +00:00
/* 800FACEC 000F6B2C C0 02 92 00 */ lfs f0, "@10057"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FACF0 000F6B30 1C E9 00 1C */ mulli r7, r9, 0x1c
/* 800FACF4 000F6B34 7C 09 20 50 */ subf r0, r9, r4
/* 800FACF8 000F6B38 7C E8 3A 14 */ add r7, r8, r7
/* 800FACFC 000F6B3C 7C 09 03 A6 */ mtctr r0
/* 800FAD00 000F6B40 7C 09 20 40 */ cmplw r9, r4
/* 800FAD04 000F6B44 40 80 00 4C */ bge lbl_800FAD50
.global lbl_800FAD08
lbl_800FAD08:
/* 800FAD08 000F6B48 2C 07 00 00 */ cmpwi r7, 0x0
/* 800FAD0C 000F6B4C 41 82 00 3C */ beq lbl_800FAD48
/* 800FAD10 000F6B50 90 C7 00 00 */ stw r6, 0x0(r7)
/* 800FAD14 000F6B54 B0 C7 00 08 */ sth r6, 0x8(r7)
/* 800FAD18 000F6B58 B0 C7 00 0A */ sth r6, 0xa(r7)
/* 800FAD1C 000F6B5C 80 07 00 18 */ lwz r0, 0x18(r7)
/* 800FAD20 000F6B60 D0 07 00 0C */ stfs f0, 0xc(r7)
/* 800FAD24 000F6B64 54 00 02 7E */ clrlwi r0, r0, 9
/* 800FAD28 000F6B68 50 A0 A2 56 */ rlwimi r0, r5, 20, 9, 11
/* 800FAD2C 000F6B6C D0 07 00 10 */ stfs f0, 0x10(r7)
/* 800FAD30 000F6B70 64 00 00 08 */ oris r0, r0, 0x8
/* 800FAD34 000F6B74 54 00 04 D8 */ rlwinm r0, r0, 0, 19, 12
/* 800FAD38 000F6B78 B0 C7 00 14 */ sth r6, 0x14(r7)
/* 800FAD3C 000F6B7C 90 C7 00 04 */ stw r6, 0x4(r7)
/* 800FAD40 000F6B80 90 07 00 18 */ stw r0, 0x18(r7)
/* 800FAD44 000F6B84 B0 C7 00 16 */ sth r6, 0x16(r7)
.global lbl_800FAD48
lbl_800FAD48:
/* 800FAD48 000F6B88 38 E7 00 1C */ addi r7, r7, 0x1c
/* 800FAD4C 000F6B8C 42 00 FF BC */ bdnz lbl_800FAD08
.global lbl_800FAD50
lbl_800FAD50:
/* 800FAD50 000F6B90 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 800FAD54 000F6B94 50 80 E0 06 */ rlwimi r0, r4, 28, 0, 3
/* 800FAD58 000F6B98 90 03 00 3C */ stw r0, 0x3c(r3)
/* 800FAD5C 000F6B9C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global SetTexCoordGenNum__Q34nw4r3lyt8MaterialFUc
SetTexCoordGenNum__Q34nw4r3lyt8MaterialFUc:
2022-10-16 16:05:58 +00:00
/* 800FAD60 000F6BA0 2C 04 00 00 */ cmpwi r4, 0x0
/* 800FAD64 000F6BA4 41 82 00 74 */ beq lbl_800FADD8
/* 800FAD68 000F6BA8 80 03 00 38 */ lwz r0, 0x38(r3)
/* 800FAD6C 000F6BAC 39 00 00 00 */ li r8, 0x0
/* 800FAD70 000F6BB0 81 23 00 3C */ lwz r9, 0x3c(r3)
/* 800FAD74 000F6BB4 38 E0 00 01 */ li r7, 0x1
/* 800FAD78 000F6BB8 54 05 47 3E */ extrwi r5, r0, 4, 4
/* 800FAD7C 000F6BBC 54 00 27 3E */ srwi r0, r0, 28
/* 800FAD80 000F6BC0 1C A5 00 14 */ mulli r5, r5, 0x14
/* 800FAD84 000F6BC4 80 C3 00 40 */ lwz r6, 0x40(r3)
/* 800FAD88 000F6BC8 55 2B 67 3E */ extrwi r11, r9, 4, 8
/* 800FAD8C 000F6BCC 55 2A 76 BA */ rlwinm r10, r9, 14, 26, 29
/* 800FAD90 000F6BD0 1D 20 00 1C */ mulli r9, r0, 0x1c
/* 800FAD94 000F6BD4 7C 0B 20 50 */ subf r0, r11, r4
/* 800FAD98 000F6BD8 7C A6 2A 14 */ add r5, r6, r5
/* 800FAD9C 000F6BDC 38 C0 00 04 */ li r6, 0x4
/* 800FADA0 000F6BE0 7D 29 2A 14 */ add r9, r9, r5
/* 800FADA4 000F6BE4 38 A0 00 3C */ li r5, 0x3c
/* 800FADA8 000F6BE8 7D 2A 4A 14 */ add r9, r10, r9
/* 800FADAC 000F6BEC 7C 09 03 A6 */ mtctr r0
/* 800FADB0 000F6BF0 7C 0B 20 40 */ cmplw r11, r4
/* 800FADB4 000F6BF4 40 80 00 24 */ bge lbl_800FADD8
.global lbl_800FADB8
lbl_800FADB8:
/* 800FADB8 000F6BF8 2C 09 00 00 */ cmpwi r9, 0x0
/* 800FADBC 000F6BFC 41 82 00 14 */ beq lbl_800FADD0
/* 800FADC0 000F6C00 99 09 00 03 */ stb r8, 0x3(r9)
/* 800FADC4 000F6C04 98 E9 00 00 */ stb r7, 0x0(r9)
/* 800FADC8 000F6C08 98 C9 00 01 */ stb r6, 0x1(r9)
/* 800FADCC 000F6C0C 98 A9 00 02 */ stb r5, 0x2(r9)
.global lbl_800FADD0
lbl_800FADD0:
/* 800FADD0 000F6C10 39 29 00 04 */ addi r9, r9, 0x4
/* 800FADD4 000F6C14 42 00 FF E4 */ bdnz lbl_800FADB8
.global lbl_800FADD8
lbl_800FADD8:
/* 800FADD8 000F6C18 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 800FADDC 000F6C1C 50 80 A2 16 */ rlwimi r0, r4, 20, 8, 11
/* 800FADE0 000F6C20 90 03 00 3C */ stw r0, 0x3c(r3)
/* 800FADE4 000F6C24 4E 80 00 20 */ blr
/* 800FADE8 000F6C28 00 00 00 00 */ .4byte 0x00000000
/* 800FADEC 000F6C2C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetColorElement__Q34nw4r3lyt8MaterialFUls
SetColorElement__Q34nw4r3lyt8MaterialFUls:
2022-10-16 16:05:58 +00:00
/* 800FADF0 000F6C30 38 C4 FF F0 */ addi r6, r4, -0x10
/* 800FADF4 000F6C34 28 06 00 0F */ cmplwi r6, 0xf
/* 800FADF8 000F6C38 40 81 01 24 */ ble lbl_800FAF1C
/* 800FADFC 000F6C3C 38 04 FF FC */ addi r0, r4, -0x4
/* 800FAE00 000F6C40 28 00 00 0B */ cmplwi r0, 0xb
/* 800FAE04 000F6C44 40 81 00 B0 */ ble lbl_800FAEB4
/* 800FAE08 000F6C48 28 04 00 03 */ cmplwi r4, 0x3
/* 800FAE0C 000F6C4C 4D 81 00 20 */ bgtlr
/* 800FAE10 000F6C50 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 800FAE14 000F6C54 54 00 CF FE */ extrwi r0, r0, 1, 24
/* 800FAE18 000F6C58 28 00 00 01 */ cmplwi r0, 0x1
/* 800FAE1C 000F6C5C 4D 80 00 20 */ bltlr
/* 800FAE20 000F6C60 80 E3 00 38 */ lwz r7, 0x38(r3)
/* 800FAE24 000F6C64 7C A0 FE 70 */ srawi r0, r5, 31
/* 800FAE28 000F6C68 7C AA 00 78 */ andc r10, r5, r0
/* 800FAE2C 000F6C6C 81 23 00 40 */ lwz r9, 0x40(r3)
/* 800FAE30 000F6C70 54 E0 47 3E */ extrwi r0, r7, 4, 4
/* 800FAE34 000F6C74 54 E3 27 3E */ srwi r3, r7, 28
/* 800FAE38 000F6C78 1C C0 00 14 */ mulli r6, r0, 0x14
/* 800FAE3C 000F6C7C 54 E8 D7 7A */ rlwinm r8, r7, 26, 29, 29
/* 800FAE40 000F6C80 7D 40 07 34 */ extsh r0, r10
/* 800FAE44 000F6C84 54 E7 76 BA */ rlwinm r7, r7, 14, 26, 29
/* 800FAE48 000F6C88 1C A3 00 1C */ mulli r5, r3, 0x1c
/* 800FAE4C 000F6C8C 2C 00 00 FF */ cmpwi r0, 0xff
/* 800FAE50 000F6C90 7C 68 3A 14 */ add r3, r8, r7
/* 800FAE54 000F6C94 38 00 00 FF */ li r0, 0xff
/* 800FAE58 000F6C98 7C A6 2A 14 */ add r5, r6, r5
/* 800FAE5C 000F6C9C 7C 69 1A 14 */ add r3, r9, r3
/* 800FAE60 000F6CA0 7C 65 1A 14 */ add r3, r5, r3
/* 800FAE64 000F6CA4 41 81 00 08 */ bgt lbl_800FAE6C
/* 800FAE68 000F6CA8 7D 40 53 78 */ mr r0, r10
.global lbl_800FAE6C
lbl_800FAE6C:
/* 800FAE6C 000F6CAC 54 84 07 BF */ clrlwi. r4, r4, 30
/* 800FAE70 000F6CB0 54 00 06 3E */ clrlwi r0, r0, 24
/* 800FAE74 000F6CB4 41 82 00 20 */ beq lbl_800FAE94
/* 800FAE78 000F6CB8 28 04 00 01 */ cmplwi r4, 0x1
/* 800FAE7C 000F6CBC 41 82 00 20 */ beq lbl_800FAE9C
/* 800FAE80 000F6CC0 28 04 00 02 */ cmplwi r4, 0x2
/* 800FAE84 000F6CC4 41 82 00 20 */ beq lbl_800FAEA4
/* 800FAE88 000F6CC8 28 04 00 03 */ cmplwi r4, 0x3
/* 800FAE8C 000F6CCC 41 82 00 20 */ beq lbl_800FAEAC
/* 800FAE90 000F6CD0 4E 80 00 20 */ blr
.global lbl_800FAE94
lbl_800FAE94:
/* 800FAE94 000F6CD4 98 03 00 00 */ stb r0, 0x0(r3)
/* 800FAE98 000F6CD8 4E 80 00 20 */ blr
.global lbl_800FAE9C
lbl_800FAE9C:
/* 800FAE9C 000F6CDC 98 03 00 01 */ stb r0, 0x1(r3)
/* 800FAEA0 000F6CE0 4E 80 00 20 */ blr
.global lbl_800FAEA4
lbl_800FAEA4:
/* 800FAEA4 000F6CE4 98 03 00 02 */ stb r0, 0x2(r3)
/* 800FAEA8 000F6CE8 4E 80 00 20 */ blr
.global lbl_800FAEAC
lbl_800FAEAC:
/* 800FAEAC 000F6CEC 98 03 00 03 */ stb r0, 0x3(r3)
/* 800FAEB0 000F6CF0 4E 80 00 20 */ blr
.global lbl_800FAEB4
lbl_800FAEB4:
/* 800FAEB4 000F6CF4 54 04 07 BF */ clrlwi. r4, r0, 30
/* 800FAEB8 000F6CF8 54 00 F0 BE */ srwi r0, r0, 2
/* 800FAEBC 000F6CFC 41 82 00 20 */ beq lbl_800FAEDC
/* 800FAEC0 000F6D00 28 04 00 01 */ cmplwi r4, 0x1
/* 800FAEC4 000F6D04 41 82 00 28 */ beq lbl_800FAEEC
/* 800FAEC8 000F6D08 28 04 00 02 */ cmplwi r4, 0x2
/* 800FAECC 000F6D0C 41 82 00 30 */ beq lbl_800FAEFC
/* 800FAED0 000F6D10 28 04 00 03 */ cmplwi r4, 0x3
/* 800FAED4 000F6D14 41 82 00 38 */ beq lbl_800FAF0C
/* 800FAED8 000F6D18 4E 80 00 20 */ blr
.global lbl_800FAEDC
lbl_800FAEDC:
/* 800FAEDC 000F6D1C 54 00 18 38 */ slwi r0, r0, 3
/* 800FAEE0 000F6D20 7C 63 02 14 */ add r3, r3, r0
/* 800FAEE4 000F6D24 B0 A3 00 10 */ sth r5, 0x10(r3)
/* 800FAEE8 000F6D28 4E 80 00 20 */ blr
.global lbl_800FAEEC
lbl_800FAEEC:
/* 800FAEEC 000F6D2C 54 00 18 38 */ slwi r0, r0, 3
/* 800FAEF0 000F6D30 7C 63 02 14 */ add r3, r3, r0
/* 800FAEF4 000F6D34 B0 A3 00 12 */ sth r5, 0x12(r3)
/* 800FAEF8 000F6D38 4E 80 00 20 */ blr
.global lbl_800FAEFC
lbl_800FAEFC:
/* 800FAEFC 000F6D3C 54 00 18 38 */ slwi r0, r0, 3
/* 800FAF00 000F6D40 7C 63 02 14 */ add r3, r3, r0
/* 800FAF04 000F6D44 B0 A3 00 14 */ sth r5, 0x14(r3)
/* 800FAF08 000F6D48 4E 80 00 20 */ blr
.global lbl_800FAF0C
lbl_800FAF0C:
/* 800FAF0C 000F6D4C 54 00 18 38 */ slwi r0, r0, 3
/* 800FAF10 000F6D50 7C 63 02 14 */ add r3, r3, r0
/* 800FAF14 000F6D54 B0 A3 00 16 */ sth r5, 0x16(r3)
/* 800FAF18 000F6D58 4E 80 00 20 */ blr
.global lbl_800FAF1C
lbl_800FAF1C:
/* 800FAF1C 000F6D5C 7C A0 FE 70 */ srawi r0, r5, 31
/* 800FAF20 000F6D60 54 C7 F0 BE */ srwi r7, r6, 2
/* 800FAF24 000F6D64 7C A6 00 78 */ andc r6, r5, r0
/* 800FAF28 000F6D68 38 A0 00 FF */ li r5, 0xff
/* 800FAF2C 000F6D6C 7C C0 07 34 */ extsh r0, r6
/* 800FAF30 000F6D70 2C 00 00 FF */ cmpwi r0, 0xff
/* 800FAF34 000F6D74 41 81 00 08 */ bgt lbl_800FAF3C
/* 800FAF38 000F6D78 7C C5 33 78 */ mr r5, r6
.global lbl_800FAF3C
lbl_800FAF3C:
/* 800FAF3C 000F6D7C 38 04 FF F0 */ addi r0, r4, -0x10
/* 800FAF40 000F6D80 54 A4 06 3E */ clrlwi r4, r5, 24
/* 800FAF44 000F6D84 54 00 07 BF */ clrlwi. r0, r0, 30
/* 800FAF48 000F6D88 41 82 00 20 */ beq lbl_800FAF68
/* 800FAF4C 000F6D8C 28 00 00 01 */ cmplwi r0, 0x1
/* 800FAF50 000F6D90 41 82 00 28 */ beq lbl_800FAF78
/* 800FAF54 000F6D94 28 00 00 02 */ cmplwi r0, 0x2
/* 800FAF58 000F6D98 41 82 00 30 */ beq lbl_800FAF88
/* 800FAF5C 000F6D9C 28 00 00 03 */ cmplwi r0, 0x3
/* 800FAF60 000F6DA0 41 82 00 38 */ beq lbl_800FAF98
/* 800FAF64 000F6DA4 4E 80 00 20 */ blr
.global lbl_800FAF68
lbl_800FAF68:
/* 800FAF68 000F6DA8 54 E0 10 3A */ slwi r0, r7, 2
/* 800FAF6C 000F6DAC 7C 63 02 14 */ add r3, r3, r0
/* 800FAF70 000F6DB0 98 83 00 28 */ stb r4, 0x28(r3)
/* 800FAF74 000F6DB4 4E 80 00 20 */ blr
.global lbl_800FAF78
lbl_800FAF78:
/* 800FAF78 000F6DB8 54 E0 10 3A */ slwi r0, r7, 2
/* 800FAF7C 000F6DBC 7C 63 02 14 */ add r3, r3, r0
/* 800FAF80 000F6DC0 98 83 00 29 */ stb r4, 0x29(r3)
/* 800FAF84 000F6DC4 4E 80 00 20 */ blr
.global lbl_800FAF88
lbl_800FAF88:
/* 800FAF88 000F6DC8 54 E0 10 3A */ slwi r0, r7, 2
/* 800FAF8C 000F6DCC 7C 63 02 14 */ add r3, r3, r0
/* 800FAF90 000F6DD0 98 83 00 2A */ stb r4, 0x2a(r3)
/* 800FAF94 000F6DD4 4E 80 00 20 */ blr
.global lbl_800FAF98
lbl_800FAF98:
/* 800FAF98 000F6DD8 54 E0 10 3A */ slwi r0, r7, 2
/* 800FAF9C 000F6DDC 7C 63 02 14 */ add r3, r3, r0
/* 800FAFA0 000F6DE0 98 83 00 2B */ stb r4, 0x2b(r3)
/* 800FAFA4 000F6DE4 4E 80 00 20 */ blr
/* 800FAFA8 000F6DE8 00 00 00 00 */ .4byte 0x00000000
/* 800FAFAC 000F6DEC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetupGX__Q34nw4r3lyt8MaterialFbUc
SetupGX__Q34nw4r3lyt8MaterialFbUc:
2022-10-16 16:05:58 +00:00
/* 800FAFB0 000F6DF0 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 800FAFB4 000F6DF4 7C 08 02 A6 */ mflr r0
/* 800FAFB8 000F6DF8 90 01 01 24 */ stw r0, 0x124(r1)
/* 800FAFBC 000F6DFC 39 61 01 00 */ addi r11, r1, 0x100
/* 800FAFC0 000F6E00 DB E1 01 10 */ stfd f31, 0x110(r1)
/* 800FAFC4 000F6E04 F3 E1 01 18 */ psq_st f31, 0x118(r1), 0, qr0
/* 800FAFC8 000F6E08 DB C1 01 00 */ stfd f30, 0x100(r1)
/* 800FAFCC 000F6E0C F3 C1 01 08 */ psq_st f30, 0x108(r1), 0, qr0
/* 800FAFD0 000F6E10 4B F0 C3 59 */ bl lbl_80007328
/* 800FAFD4 000F6E14 7C 7B 1B 78 */ mr r27, r3
/* 800FAFD8 000F6E18 7C 9F 23 78 */ mr r31, r4
/* 800FAFDC 000F6E1C 7C BC 2B 78 */ mr r28, r5
/* 800FAFE0 000F6E20 3B C0 00 01 */ li r30, 0x1
/* 800FAFE4 000F6E24 3A E0 00 00 */ li r23, 0x0
/* 800FAFE8 000F6E28 38 60 00 01 */ li r3, 0x1
2022-10-16 16:31:36 +00:00
/* 800FAFEC 000F6E2C 4B F3 B4 F5 */ bl GXSetNumChans
2022-10-16 16:05:58 +00:00
/* 800FAFF0 000F6E30 80 9B 00 38 */ lwz r4, 0x38(r27)
/* 800FAFF4 000F6E34 54 80 C7 FF */ extrwi. r0, r4, 1, 23
/* 800FAFF8 000F6E38 41 82 00 A8 */ beq lbl_800FB0A0
/* 800FAFFC 000F6E3C 54 83 47 3E */ extrwi r3, r4, 4, 4
/* 800FB000 000F6E40 54 80 27 3E */ srwi r0, r4, 28
/* 800FB004 000F6E44 1C A3 00 14 */ mulli r5, r3, 0x14
/* 800FB008 000F6E48 54 86 76 BA */ rlwinm r6, r4, 14, 26, 29
/* 800FB00C 000F6E4C 80 FB 00 40 */ lwz r7, 0x40(r27)
/* 800FB010 000F6E50 38 60 00 00 */ li r3, 0x0
/* 800FB014 000F6E54 38 80 00 00 */ li r4, 0x0
/* 800FB018 000F6E58 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800FB01C 000F6E5C 7C C6 2A 14 */ add r6, r6, r5
/* 800FB020 000F6E60 38 A0 00 00 */ li r5, 0x0
/* 800FB024 000F6E64 7C 07 02 14 */ add r0, r7, r0
/* 800FB028 000F6E68 38 E0 00 00 */ li r7, 0x0
/* 800FB02C 000F6E6C 7F 06 02 14 */ add r24, r6, r0
/* 800FB030 000F6E70 7C C6 00 AE */ lbzx r6, r6, r0
/* 800FB034 000F6E74 39 00 00 00 */ li r8, 0x0
/* 800FB038 000F6E78 39 20 00 02 */ li r9, 0x2
2022-10-16 16:31:36 +00:00
/* 800FB03C 000F6E7C 4B F3 B4 D5 */ bl GXSetChanCtrl
2022-10-16 16:05:58 +00:00
/* 800FB040 000F6E80 88 D8 00 01 */ lbz r6, 0x1(r24)
/* 800FB044 000F6E84 38 60 00 02 */ li r3, 0x2
/* 800FB048 000F6E88 38 80 00 00 */ li r4, 0x0
/* 800FB04C 000F6E8C 38 A0 00 00 */ li r5, 0x0
/* 800FB050 000F6E90 38 E0 00 00 */ li r7, 0x0
/* 800FB054 000F6E94 39 00 00 00 */ li r8, 0x0
/* 800FB058 000F6E98 39 20 00 02 */ li r9, 0x2
2022-10-16 16:31:36 +00:00
/* 800FB05C 000F6E9C 4B F3 B4 B5 */ bl GXSetChanCtrl
2022-10-16 16:05:58 +00:00
/* 800FB060 000F6EA0 88 78 00 00 */ lbz r3, 0x0(r24)
/* 800FB064 000F6EA4 3B C0 00 01 */ li r30, 0x1
/* 800FB068 000F6EA8 2C 03 00 01 */ cmpwi r3, 0x1
/* 800FB06C 000F6EAC 41 82 00 14 */ beq lbl_800FB080
/* 800FB070 000F6EB0 88 18 00 01 */ lbz r0, 0x1(r24)
/* 800FB074 000F6EB4 2C 00 00 01 */ cmpwi r0, 0x1
/* 800FB078 000F6EB8 41 82 00 08 */ beq lbl_800FB080
/* 800FB07C 000F6EBC 3B C0 00 00 */ li r30, 0x0
.global lbl_800FB080
lbl_800FB080:
/* 800FB080 000F6EC0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800FB084 000F6EC4 3A E0 00 00 */ li r23, 0x0
/* 800FB088 000F6EC8 41 82 00 10 */ beq lbl_800FB098
/* 800FB08C 000F6ECC 88 18 00 01 */ lbz r0, 0x1(r24)
/* 800FB090 000F6ED0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800FB094 000F6ED4 40 82 00 2C */ bne lbl_800FB0C0
.global lbl_800FB098
lbl_800FB098:
/* 800FB098 000F6ED8 3A E0 00 01 */ li r23, 0x1
/* 800FB09C 000F6EDC 48 00 00 24 */ b lbl_800FB0C0
.global lbl_800FB0A0
lbl_800FB0A0:
/* 800FB0A0 000F6EE0 38 60 00 04 */ li r3, 0x4
/* 800FB0A4 000F6EE4 38 80 00 00 */ li r4, 0x0
/* 800FB0A8 000F6EE8 38 A0 00 00 */ li r5, 0x0
/* 800FB0AC 000F6EEC 38 C0 00 01 */ li r6, 0x1
/* 800FB0B0 000F6EF0 38 E0 00 00 */ li r7, 0x0
/* 800FB0B4 000F6EF4 39 00 00 00 */ li r8, 0x0
/* 800FB0B8 000F6EF8 39 20 00 02 */ li r9, 0x2
2022-10-16 16:31:36 +00:00
/* 800FB0BC 000F6EFC 4B F3 B4 55 */ bl GXSetChanCtrl
2022-10-16 16:05:58 +00:00
.global lbl_800FB0C0
lbl_800FB0C0:
/* 800FB0C0 000F6F00 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800FB0C4 000F6F04 3B A0 00 00 */ li r29, 0x0
/* 800FB0C8 000F6F08 41 82 00 14 */ beq lbl_800FB0DC
/* 800FB0CC 000F6F0C 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800FB0D0 000F6F10 3B A0 00 01 */ li r29, 0x1
/* 800FB0D4 000F6F14 40 82 00 08 */ bne lbl_800FB0DC
/* 800FB0D8 000F6F18 3B A0 00 00 */ li r29, 0x0
.global lbl_800FB0DC
lbl_800FB0DC:
/* 800FB0DC 000F6F1C 2C 17 00 00 */ cmpwi r23, 0x0
/* 800FB0E0 000F6F20 41 82 00 D0 */ beq lbl_800FB1B0
/* 800FB0E4 000F6F24 80 BB 00 38 */ lwz r5, 0x38(r27)
/* 800FB0E8 000F6F28 38 00 FF FF */ li r0, -0x1
/* 800FB0EC 000F6F2C 90 01 00 30 */ stw r0, 0x30(r1)
/* 800FB0F0 000F6F30 54 A0 CF FF */ extrwi. r0, r5, 1, 24
/* 800FB0F4 000F6F34 41 82 00 50 */ beq lbl_800FB144
/* 800FB0F8 000F6F38 54 A3 47 3E */ extrwi r3, r5, 4, 4
/* 800FB0FC 000F6F3C 54 A0 27 3E */ srwi r0, r5, 28
/* 800FB100 000F6F40 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800FB104 000F6F44 54 A6 D7 7A */ rlwinm r6, r5, 26, 29, 29
/* 800FB108 000F6F48 54 A5 76 BA */ rlwinm r5, r5, 14, 26, 29
/* 800FB10C 000F6F4C 80 FB 00 40 */ lwz r7, 0x40(r27)
/* 800FB110 000F6F50 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FB114 000F6F54 7C 06 2A 14 */ add r0, r6, r5
/* 800FB118 000F6F58 7C 07 02 14 */ add r0, r7, r0
/* 800FB11C 000F6F5C 7C 64 1A 14 */ add r3, r4, r3
/* 800FB120 000F6F60 7C C3 02 14 */ add r6, r3, r0
/* 800FB124 000F6F64 7C A3 00 AE */ lbzx r5, r3, r0
/* 800FB128 000F6F68 88 86 00 01 */ lbz r4, 0x1(r6)
/* 800FB12C 000F6F6C 88 66 00 02 */ lbz r3, 0x2(r6)
/* 800FB130 000F6F70 88 06 00 03 */ lbz r0, 0x3(r6)
/* 800FB134 000F6F74 98 A1 00 30 */ stb r5, 0x30(r1)
/* 800FB138 000F6F78 98 81 00 31 */ stb r4, 0x31(r1)
/* 800FB13C 000F6F7C 98 61 00 32 */ stb r3, 0x32(r1)
/* 800FB140 000F6F80 98 01 00 33 */ stb r0, 0x33(r1)
.global lbl_800FB144
lbl_800FB144:
/* 800FB144 000F6F84 80 01 00 30 */ lwz r0, 0x30(r1)
/* 800FB148 000F6F88 7F 85 E3 78 */ mr r5, r28
/* 800FB14C 000F6F8C 90 01 00 28 */ stw r0, 0x28(r1)
/* 800FB150 000F6F90 38 61 00 24 */ addi r3, r1, 0x24
/* 800FB154 000F6F94 38 81 00 28 */ addi r4, r1, 0x28
2022-10-16 16:31:36 +00:00
/* 800FB158 000F6F98 48 00 2F 89 */ bl MultipleAlpha__Q34nw4r3lyt6detailFQ34nw4r2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 800FB15C 000F6F9C 88 E1 00 24 */ lbz r7, 0x24(r1)
/* 800FB160 000F6FA0 38 81 00 20 */ addi r4, r1, 0x20
/* 800FB164 000F6FA4 88 C1 00 25 */ lbz r6, 0x25(r1)
/* 800FB168 000F6FA8 38 60 00 04 */ li r3, 0x4
/* 800FB16C 000F6FAC 88 A1 00 26 */ lbz r5, 0x26(r1)
/* 800FB170 000F6FB0 88 01 00 27 */ lbz r0, 0x27(r1)
/* 800FB174 000F6FB4 98 E1 00 30 */ stb r7, 0x30(r1)
/* 800FB178 000F6FB8 98 C1 00 31 */ stb r6, 0x31(r1)
/* 800FB17C 000F6FBC 98 A1 00 32 */ stb r5, 0x32(r1)
/* 800FB180 000F6FC0 98 01 00 33 */ stb r0, 0x33(r1)
/* 800FB184 000F6FC4 80 01 00 30 */ lwz r0, 0x30(r1)
/* 800FB188 000F6FC8 90 01 00 20 */ stw r0, 0x20(r1)
2022-10-16 16:31:36 +00:00
/* 800FB18C 000F6FCC 4B F3 B2 75 */ bl GXSetChanMatColor
2022-10-16 16:05:58 +00:00
/* 800FB190 000F6FD0 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800FB194 000F6FD4 3B A0 00 00 */ li r29, 0x0
/* 800FB198 000F6FD8 40 82 00 14 */ bne lbl_800FB1AC
/* 800FB19C 000F6FDC 80 61 00 30 */ lwz r3, 0x30(r1)
/* 800FB1A0 000F6FE0 3C 03 00 01 */ addis r0, r3, 0x1
/* 800FB1A4 000F6FE4 28 00 FF FF */ cmplwi r0, 0xffff
/* 800FB1A8 000F6FE8 41 82 00 08 */ beq lbl_800FB1B0
.global lbl_800FB1AC
lbl_800FB1AC:
/* 800FB1AC 000F6FEC 3B A0 00 01 */ li r29, 0x1
.global lbl_800FB1B0
lbl_800FB1B0:
/* 800FB1B0 000F6FF0 3B E0 00 00 */ li r31, 0x0
/* 800FB1B4 000F6FF4 9B E1 00 5C */ stb r31, 0x5c(r1)
/* 800FB1B8 000F6FF8 9B E1 00 5D */ stb r31, 0x5d(r1)
/* 800FB1BC 000F6FFC 9B E1 00 5E */ stb r31, 0x5e(r1)
/* 800FB1C0 000F7000 9B E1 00 5F */ stb r31, 0x5f(r1)
/* 800FB1C4 000F7004 9B E1 00 60 */ stb r31, 0x60(r1)
/* 800FB1C8 000F7008 9B E1 00 61 */ stb r31, 0x61(r1)
/* 800FB1CC 000F700C 9B E1 00 62 */ stb r31, 0x62(r1)
/* 800FB1D0 000F7010 9B E1 00 63 */ stb r31, 0x63(r1)
/* 800FB1D4 000F7014 9B E1 00 64 */ stb r31, 0x64(r1)
/* 800FB1D8 000F7018 9B E1 00 65 */ stb r31, 0x65(r1)
/* 800FB1DC 000F701C 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB1E0 000F7020 54 03 67 3E */ extrwi r3, r0, 4, 8
2022-10-16 16:31:36 +00:00
/* 800FB1E4 000F7024 4B F3 94 FD */ bl GXSetNumTexGens
2022-10-16 16:05:58 +00:00
/* 800FB1E8 000F7028 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB1EC 000F702C 54 00 67 3F */ extrwi. r0, r0, 4, 8
/* 800FB1F0 000F7030 41 82 00 98 */ beq lbl_800FB288
/* 800FB1F4 000F7034 80 1B 00 38 */ lwz r0, 0x38(r27)
/* 800FB1F8 000F7038 3C 60 AA AB */ lis r3, 0xAAAAAAAB@ha
/* 800FB1FC 000F703C 80 BB 00 40 */ lwz r5, 0x40(r27)
/* 800FB200 000F7040 3B 23 AA AB */ addi r25, r3, 0xAAAAAAAB@l
/* 800FB204 000F7044 54 04 47 3E */ extrwi r4, r0, 4, 4
/* 800FB208 000F7048 54 00 27 3E */ srwi r0, r0, 28
/* 800FB20C 000F704C 1C 84 00 14 */ mulli r4, r4, 0x14
/* 800FB210 000F7050 3B 41 00 5C */ addi r26, r1, 0x5c
/* 800FB214 000F7054 3B 80 00 00 */ li r28, 0x0
/* 800FB218 000F7058 3B 00 00 01 */ li r24, 0x1
/* 800FB21C 000F705C 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FB220 000F7060 7C 05 22 14 */ add r0, r5, r4
/* 800FB224 000F7064 7E E3 02 14 */ add r23, r3, r0
/* 800FB228 000F7068 48 00 00 50 */ b lbl_800FB278
.global lbl_800FB22C
lbl_800FB22C:
/* 800FB22C 000F706C 88 17 00 00 */ lbz r0, 0x0(r23)
/* 800FB230 000F7070 88 D7 00 02 */ lbz r6, 0x2(r23)
/* 800FB234 000F7074 2C 00 00 01 */ cmpwi r0, 0x1
/* 800FB238 000F7078 40 82 00 20 */ bne lbl_800FB258
/* 800FB23C 000F707C 28 06 00 3C */ cmplwi r6, 0x3c
/* 800FB240 000F7080 41 82 00 18 */ beq lbl_800FB258
/* 800FB244 000F7084 38 06 FF E2 */ addi r0, r6, -0x1e
/* 800FB248 000F7088 3B E0 00 01 */ li r31, 0x1
/* 800FB24C 000F708C 7C 19 00 16 */ mulhwu r0, r25, r0
/* 800FB250 000F7090 54 00 F8 7E */ srwi r0, r0, 1
/* 800FB254 000F7094 7F 1A 01 AE */ stbx r24, r26, r0
.global lbl_800FB258
lbl_800FB258:
/* 800FB258 000F7098 88 97 00 00 */ lbz r4, 0x0(r23)
/* 800FB25C 000F709C 7F 83 E3 78 */ mr r3, r28
/* 800FB260 000F70A0 88 B7 00 01 */ lbz r5, 0x1(r23)
/* 800FB264 000F70A4 38 E0 00 00 */ li r7, 0x0
/* 800FB268 000F70A8 39 00 00 7D */ li r8, 0x7d
2022-10-16 16:31:36 +00:00
/* 800FB26C 000F70AC 4B F3 92 25 */ bl GXSetTexCoordGen2
2022-10-16 16:05:58 +00:00
/* 800FB270 000F70B0 3A F7 00 04 */ addi r23, r23, 0x4
/* 800FB274 000F70B4 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_800FB278
lbl_800FB278:
/* 800FB278 000F70B8 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB27C 000F70BC 54 00 67 3E */ extrwi r0, r0, 4, 8
/* 800FB280 000F70C0 7C 1C 00 40 */ cmplw r28, r0
/* 800FB284 000F70C4 41 80 FF A8 */ blt lbl_800FB22C
.global lbl_800FB288
lbl_800FB288:
/* 800FB288 000F70C8 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800FB28C 000F70CC 41 82 00 78 */ beq lbl_800FB304
/* 800FB290 000F70D0 80 1B 00 38 */ lwz r0, 0x38(r27)
/* 800FB294 000F70D4 3B 41 00 5C */ addi r26, r1, 0x5c
/* 800FB298 000F70D8 80 7B 00 40 */ lwz r3, 0x40(r27)
/* 800FB29C 000F70DC 3B 80 00 00 */ li r28, 0x0
/* 800FB2A0 000F70E0 54 00 27 3E */ srwi r0, r0, 28
/* 800FB2A4 000F70E4 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800FB2A8 000F70E8 7F 03 02 14 */ add r24, r3, r0
/* 800FB2AC 000F70EC 48 00 00 44 */ b lbl_800FB2F0
.global lbl_800FB2B0
lbl_800FB2B0:
/* 800FB2B0 000F70F0 57 83 06 3E */ clrlwi r3, r28, 24
/* 800FB2B4 000F70F4 7C 1A 18 AE */ lbzx r0, r26, r3
/* 800FB2B8 000F70F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800FB2BC 000F70FC 41 82 00 30 */ beq lbl_800FB2EC
/* 800FB2C0 000F7100 1C 03 00 14 */ mulli r0, r3, 0x14
/* 800FB2C4 000F7104 38 61 00 A0 */ addi r3, r1, 0xa0
/* 800FB2C8 000F7108 7C 98 02 14 */ add r4, r24, r0
2022-10-16 16:31:36 +00:00
/* 800FB2CC 000F710C 4B FF DE 55 */ bl "CalcTextureMtx__Q34nw4r3lyt26@unnamed@lyt_material_cpp@FPQ34nw4r4math5MTX34RCQ34nw4r3lyt6TexSRT"
2022-10-16 16:05:58 +00:00
/* 800FB2D0 000F7110 57 83 06 3E */ clrlwi r3, r28, 24
/* 800FB2D4 000F7114 57 80 15 BA */ rlwinm r0, r28, 2, 22, 29
/* 800FB2D8 000F7118 7C 83 00 50 */ subf r4, r3, r0
/* 800FB2DC 000F711C 38 A0 00 01 */ li r5, 0x1
/* 800FB2E0 000F7120 38 61 00 A0 */ addi r3, r1, 0xa0
/* 800FB2E4 000F7124 38 84 00 1E */ addi r4, r4, 0x1e
2022-10-16 16:31:36 +00:00
/* 800FB2E8 000F7128 4B F3 DA 79 */ bl GXLoadTexMtxImm
2022-10-16 16:05:58 +00:00
.global lbl_800FB2EC
lbl_800FB2EC:
/* 800FB2EC 000F712C 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_800FB2F0
lbl_800FB2F0:
/* 800FB2F0 000F7130 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB2F4 000F7134 57 83 06 3E */ clrlwi r3, r28, 24
/* 800FB2F8 000F7138 54 00 47 3E */ extrwi r0, r0, 4, 4
/* 800FB2FC 000F713C 7C 03 00 40 */ cmplw r3, r0
/* 800FB300 000F7140 41 80 FF B0 */ blt lbl_800FB2B0
.global lbl_800FB304
lbl_800FB304:
/* 800FB304 000F7144 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB308 000F7148 54 00 27 3F */ srwi. r0, r0, 28
/* 800FB30C 000F714C 41 82 00 9C */ beq lbl_800FB3A8
/* 800FB310 000F7150 83 1B 00 40 */ lwz r24, 0x40(r27)
/* 800FB314 000F7154 3A E0 00 00 */ li r23, 0x0
/* 800FB318 000F7158 3B 20 00 10 */ li r25, 0x10
/* 800FB31C 000F715C 3B 40 00 00 */ li r26, 0x0
/* 800FB320 000F7160 48 00 00 78 */ b lbl_800FB398
.global lbl_800FB324
lbl_800FB324:
/* 800FB324 000F7164 7F 03 C3 78 */ mr r3, r24
/* 800FB328 000F7168 38 81 00 80 */ addi r4, r1, 0x80
2022-10-16 16:31:36 +00:00
/* 800FB32C 000F716C 48 00 0C D5 */ bl Get__Q34nw4r3lyt6TexMapCFP9_GXTexObj
2022-10-16 16:05:58 +00:00
/* 800FB330 000F7170 80 18 00 18 */ lwz r0, 0x18(r24)
/* 800FB334 000F7174 54 03 27 3E */ srwi r3, r0, 28
/* 800FB338 000F7178 38 03 FF F8 */ addi r0, r3, -0x8
/* 800FB33C 000F717C 28 00 00 02 */ cmplwi r0, 0x2
/* 800FB340 000F7180 41 81 00 44 */ bgt lbl_800FB384
/* 800FB344 000F7184 2C 03 00 0A */ cmpwi r3, 0xa
/* 800FB348 000F7188 40 82 00 10 */ bne lbl_800FB358
/* 800FB34C 000F718C 7F 3C CB 78 */ mr r28, r25
/* 800FB350 000F7190 3B 39 00 01 */ addi r25, r25, 0x1
/* 800FB354 000F7194 48 00 00 0C */ b lbl_800FB360
.global lbl_800FB358
lbl_800FB358:
/* 800FB358 000F7198 7E FC BB 78 */ mr r28, r23
/* 800FB35C 000F719C 3A F7 00 01 */ addi r23, r23, 0x1
.global lbl_800FB360
lbl_800FB360:
/* 800FB360 000F71A0 7F 84 E3 78 */ mr r4, r28
/* 800FB364 000F71A4 38 61 00 80 */ addi r3, r1, 0x80
2022-10-16 16:31:36 +00:00
/* 800FB368 000F71A8 4B F3 B7 D9 */ bl GXInitTexObjTlut
2022-10-16 16:05:58 +00:00
/* 800FB36C 000F71AC 7F 03 C3 78 */ mr r3, r24
/* 800FB370 000F71B0 38 81 00 50 */ addi r4, r1, 0x50
2022-10-16 16:31:36 +00:00
/* 800FB374 000F71B4 48 00 0D 7D */ bl Get__Q34nw4r3lyt6TexMapCFP10_GXTlutObj
2022-10-16 16:05:58 +00:00
/* 800FB378 000F71B8 7F 84 E3 78 */ mr r4, r28
/* 800FB37C 000F71BC 38 61 00 50 */ addi r3, r1, 0x50
2022-10-16 16:31:36 +00:00
/* 800FB380 000F71C0 4B F3 BB 41 */ bl GXLoadTlut
2022-10-16 16:05:58 +00:00
.global lbl_800FB384
lbl_800FB384:
/* 800FB384 000F71C4 7F 44 D3 78 */ mr r4, r26
/* 800FB388 000F71C8 38 61 00 80 */ addi r3, r1, 0x80
2022-10-16 16:31:36 +00:00
/* 800FB38C 000F71CC 4B F3 BA A5 */ bl GXLoadTexObj
2022-10-16 16:05:58 +00:00
/* 800FB390 000F71D0 3B 18 00 1C */ addi r24, r24, 0x1c
/* 800FB394 000F71D4 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_800FB398
lbl_800FB398:
/* 800FB398 000F71D8 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB39C 000F71DC 54 00 27 3E */ srwi r0, r0, 28
/* 800FB3A0 000F71E0 7C 1A 00 40 */ cmplw r26, r0
/* 800FB3A4 000F71E4 41 80 FF 80 */ blt lbl_800FB324
.global lbl_800FB3A8
lbl_800FB3A8:
/* 800FB3A8 000F71E8 80 BB 00 10 */ lwz r5, 0x10(r27)
/* 800FB3AC 000F71EC 38 81 00 48 */ addi r4, r1, 0x48
/* 800FB3B0 000F71F0 80 1B 00 14 */ lwz r0, 0x14(r27)
/* 800FB3B4 000F71F4 38 60 00 01 */ li r3, 0x1
/* 800FB3B8 000F71F8 90 01 00 4C */ stw r0, 0x4c(r1)
/* 800FB3BC 000F71FC 90 A1 00 48 */ stw r5, 0x48(r1)
2022-10-16 16:31:36 +00:00
/* 800FB3C0 000F7200 4B F3 CA 41 */ bl GXSetTevColorS10
2022-10-16 16:05:58 +00:00
/* 800FB3C4 000F7204 80 BB 00 18 */ lwz r5, 0x18(r27)
/* 800FB3C8 000F7208 38 81 00 40 */ addi r4, r1, 0x40
/* 800FB3CC 000F720C 80 1B 00 1C */ lwz r0, 0x1c(r27)
/* 800FB3D0 000F7210 38 60 00 02 */ li r3, 0x2
/* 800FB3D4 000F7214 90 01 00 44 */ stw r0, 0x44(r1)
/* 800FB3D8 000F7218 90 A1 00 40 */ stw r5, 0x40(r1)
2022-10-16 16:31:36 +00:00
/* 800FB3DC 000F721C 4B F3 CA 25 */ bl GXSetTevColorS10
2022-10-16 16:05:58 +00:00
/* 800FB3E0 000F7220 80 BB 00 20 */ lwz r5, 0x20(r27)
/* 800FB3E4 000F7224 38 81 00 38 */ addi r4, r1, 0x38
/* 800FB3E8 000F7228 80 1B 00 24 */ lwz r0, 0x24(r27)
/* 800FB3EC 000F722C 38 60 00 03 */ li r3, 0x3
/* 800FB3F0 000F7230 90 01 00 3C */ stw r0, 0x3c(r1)
/* 800FB3F4 000F7234 90 A1 00 38 */ stw r5, 0x38(r1)
2022-10-16 16:31:36 +00:00
/* 800FB3F8 000F7238 4B F3 CA 09 */ bl GXSetTevColorS10
2022-10-16 16:05:58 +00:00
/* 800FB3FC 000F723C 80 1B 00 28 */ lwz r0, 0x28(r27)
/* 800FB400 000F7240 38 81 00 1C */ addi r4, r1, 0x1c
/* 800FB404 000F7244 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800FB408 000F7248 38 60 00 00 */ li r3, 0x0
2022-10-16 16:31:36 +00:00
/* 800FB40C 000F724C 4B F3 CA 65 */ bl GXSetTevKColor
2022-10-16 16:05:58 +00:00
/* 800FB410 000F7250 80 1B 00 2C */ lwz r0, 0x2c(r27)
/* 800FB414 000F7254 38 81 00 18 */ addi r4, r1, 0x18
/* 800FB418 000F7258 90 01 00 18 */ stw r0, 0x18(r1)
/* 800FB41C 000F725C 38 60 00 01 */ li r3, 0x1
2022-10-16 16:31:36 +00:00
/* 800FB420 000F7260 4B F3 CA 51 */ bl GXSetTevKColor
2022-10-16 16:05:58 +00:00
/* 800FB424 000F7264 80 1B 00 30 */ lwz r0, 0x30(r27)
/* 800FB428 000F7268 38 81 00 14 */ addi r4, r1, 0x14
/* 800FB42C 000F726C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FB430 000F7270 38 60 00 02 */ li r3, 0x2
2022-10-16 16:31:36 +00:00
/* 800FB434 000F7274 4B F3 CA 3D */ bl GXSetTevKColor
2022-10-16 16:05:58 +00:00
/* 800FB438 000F7278 80 1B 00 34 */ lwz r0, 0x34(r27)
/* 800FB43C 000F727C 38 81 00 10 */ addi r4, r1, 0x10
/* 800FB440 000F7280 90 01 00 10 */ stw r0, 0x10(r1)
/* 800FB444 000F7284 38 60 00 03 */ li r3, 0x3
2022-10-16 16:31:36 +00:00
/* 800FB448 000F7288 4B F3 CA 29 */ bl GXSetTevKColor
2022-10-16 16:05:58 +00:00
/* 800FB44C 000F728C 80 DB 00 38 */ lwz r6, 0x38(r27)
/* 800FB450 000F7290 54 C0 97 FF */ extrwi. r0, r6, 1, 17
/* 800FB454 000F7294 41 82 00 6C */ beq lbl_800FB4C0
/* 800FB458 000F7298 54 C3 47 3E */ extrwi r3, r6, 4, 4
/* 800FB45C 000F729C 54 C0 27 3E */ srwi r0, r6, 28
/* 800FB460 000F72A0 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800FB464 000F72A4 54 C7 DF 7A */ rlwinm r7, r6, 27, 29, 29
/* 800FB468 000F72A8 54 C5 D7 7A */ rlwinm r5, r6, 26, 29, 29
/* 800FB46C 000F72AC 54 C6 76 BA */ rlwinm r6, r6, 14, 26, 29
/* 800FB470 000F72B0 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FB474 000F72B4 7C A7 2A 14 */ add r5, r7, r5
/* 800FB478 000F72B8 80 FB 00 40 */ lwz r7, 0x40(r27)
/* 800FB47C 000F72BC 3A E0 00 00 */ li r23, 0x0
/* 800FB480 000F72C0 7C 06 2A 14 */ add r0, r6, r5
/* 800FB484 000F72C4 7C 64 1A 14 */ add r3, r4, r3
/* 800FB488 000F72C8 7C 07 02 14 */ add r0, r7, r0
/* 800FB48C 000F72CC 7F 83 02 14 */ add r28, r3, r0
.global lbl_800FB490
lbl_800FB490:
/* 800FB490 000F72D0 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 800FB494 000F72D4 7E E3 BB 78 */ mr r3, r23
/* 800FB498 000F72D8 54 04 07 BE */ clrlwi r4, r0, 30
/* 800FB49C 000F72DC 54 05 F7 BE */ extrwi r5, r0, 2, 28
/* 800FB4A0 000F72E0 54 06 E7 BE */ extrwi r6, r0, 2, 26
/* 800FB4A4 000F72E4 54 07 D7 BE */ extrwi r7, r0, 2, 24
2022-10-16 16:31:36 +00:00
/* 800FB4A8 000F72E8 4B F3 CB 09 */ bl GXSetTevSwapModeTable
2022-10-16 16:05:58 +00:00
/* 800FB4AC 000F72EC 3A F7 00 01 */ addi r23, r23, 0x1
/* 800FB4B0 000F72F0 3B 9C 00 01 */ addi r28, r28, 0x1
/* 800FB4B4 000F72F4 2C 17 00 04 */ cmpwi r23, 0x4
/* 800FB4B8 000F72F8 41 80 FF D8 */ blt lbl_800FB490
/* 800FB4BC 000F72FC 48 00 00 64 */ b lbl_800FB520
.global lbl_800FB4C0
lbl_800FB4C0:
/* 800FB4C0 000F7300 38 60 00 00 */ li r3, 0x0
/* 800FB4C4 000F7304 38 80 00 00 */ li r4, 0x0
/* 800FB4C8 000F7308 38 A0 00 01 */ li r5, 0x1
/* 800FB4CC 000F730C 38 C0 00 02 */ li r6, 0x2
/* 800FB4D0 000F7310 38 E0 00 03 */ li r7, 0x3
2022-10-16 16:31:36 +00:00
/* 800FB4D4 000F7314 4B F3 CA DD */ bl GXSetTevSwapModeTable
2022-10-16 16:05:58 +00:00
/* 800FB4D8 000F7318 38 60 00 01 */ li r3, 0x1
/* 800FB4DC 000F731C 38 80 00 00 */ li r4, 0x0
/* 800FB4E0 000F7320 38 A0 00 00 */ li r5, 0x0
/* 800FB4E4 000F7324 38 C0 00 00 */ li r6, 0x0
/* 800FB4E8 000F7328 38 E0 00 03 */ li r7, 0x3
2022-10-16 16:31:36 +00:00
/* 800FB4EC 000F732C 4B F3 CA C5 */ bl GXSetTevSwapModeTable
2022-10-16 16:05:58 +00:00
/* 800FB4F0 000F7330 38 60 00 02 */ li r3, 0x2
/* 800FB4F4 000F7334 38 80 00 01 */ li r4, 0x1
/* 800FB4F8 000F7338 38 A0 00 01 */ li r5, 0x1
/* 800FB4FC 000F733C 38 C0 00 01 */ li r6, 0x1
/* 800FB500 000F7340 38 E0 00 03 */ li r7, 0x3
2022-10-16 16:31:36 +00:00
/* 800FB504 000F7344 4B F3 CA AD */ bl GXSetTevSwapModeTable
2022-10-16 16:05:58 +00:00
/* 800FB508 000F7348 38 60 00 03 */ li r3, 0x3
/* 800FB50C 000F734C 38 80 00 02 */ li r4, 0x2
/* 800FB510 000F7350 38 A0 00 02 */ li r5, 0x2
/* 800FB514 000F7354 38 C0 00 02 */ li r6, 0x2
/* 800FB518 000F7358 38 E0 00 03 */ li r7, 0x3
2022-10-16 16:31:36 +00:00
/* 800FB51C 000F735C 4B F3 CA 95 */ bl GXSetTevSwapModeTable
2022-10-16 16:05:58 +00:00
.global lbl_800FB520
lbl_800FB520:
/* 800FB520 000F7360 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB524 000F7364 3B 80 00 00 */ li r28, 0x0
/* 800FB528 000F7368 9B 81 00 2C */ stb r28, 0x2c(r1)
/* 800FB52C 000F736C 54 03 BE FF */ extrwi. r3, r0, 5, 18
/* 800FB530 000F7370 9B 81 00 2D */ stb r28, 0x2d(r1)
/* 800FB534 000F7374 9B 81 00 2E */ stb r28, 0x2e(r1)
/* 800FB538 000F7378 41 82 01 D0 */ beq lbl_800FB708
2022-10-16 16:31:36 +00:00
/* 800FB53C 000F737C 4B F3 CD 25 */ bl GXSetNumTevStages
2022-10-16 16:05:58 +00:00
/* 800FB540 000F7380 80 FB 00 38 */ lwz r7, 0x38(r27)
/* 800FB544 000F7384 3B 41 00 2C */ addi r26, r1, 0x2c
/* 800FB548 000F7388 81 1B 00 40 */ lwz r8, 0x40(r27)
/* 800FB54C 000F738C 3B A0 00 00 */ li r29, 0x0
/* 800FB550 000F7390 54 E3 77 BE */ extrwi r3, r7, 2, 12
/* 800FB554 000F7394 54 E0 47 3E */ extrwi r0, r7, 4, 4
/* 800FB558 000F7398 7C 63 02 14 */ add r3, r3, r0
/* 800FB55C 000F739C 54 E5 27 3E */ srwi r5, r7, 28
/* 800FB560 000F73A0 1C C3 00 14 */ mulli r6, r3, 0x14
/* 800FB564 000F73A4 54 E4 76 BA */ rlwinm r4, r7, 14, 26, 29
/* 800FB568 000F73A8 54 E0 D7 7A */ rlwinm r0, r7, 26, 29, 29
/* 800FB56C 000F73AC 54 E3 DF 7A */ rlwinm r3, r7, 27, 29, 29
/* 800FB570 000F73B0 7C 04 02 14 */ add r0, r4, r0
/* 800FB574 000F73B4 54 E4 A7 7A */ rlwinm r4, r7, 20, 29, 29
/* 800FB578 000F73B8 7C 03 02 14 */ add r0, r3, r0
/* 800FB57C 000F73BC 54 E3 E7 7A */ rlwinm r3, r7, 28, 29, 29
/* 800FB580 000F73C0 7C 04 02 14 */ add r0, r4, r0
/* 800FB584 000F73C4 54 E4 EF 7A */ rlwinm r4, r7, 29, 29, 29
/* 800FB588 000F73C8 1C A5 00 1C */ mulli r5, r5, 0x1c
/* 800FB58C 000F73CC 3B E0 00 01 */ li r31, 0x1
/* 800FB590 000F73D0 7C 03 02 14 */ add r0, r3, r0
/* 800FB594 000F73D4 54 E3 9E FA */ rlwinm r3, r7, 19, 27, 29
/* 800FB598 000F73D8 7C A6 2A 14 */ add r5, r6, r5
/* 800FB59C 000F73DC 7C 05 02 14 */ add r0, r5, r0
/* 800FB5A0 000F73E0 7C 64 1A 14 */ add r3, r4, r3
/* 800FB5A4 000F73E4 7C 08 02 14 */ add r0, r8, r0
/* 800FB5A8 000F73E8 7F 23 02 14 */ add r25, r3, r0
/* 800FB5AC 000F73EC 48 00 01 44 */ b lbl_800FB6F0
.global lbl_800FB5B0
lbl_800FB5B0:
/* 800FB5B0 000F73F0 88 19 00 03 */ lbz r0, 0x3(r25)
/* 800FB5B4 000F73F4 7F A3 EB 78 */ mr r3, r29
/* 800FB5B8 000F73F8 88 B9 00 02 */ lbz r5, 0x2(r25)
/* 800FB5BC 000F73FC 88 99 00 00 */ lbz r4, 0x0(r25)
/* 800FB5C0 000F7400 50 05 45 EE */ rlwimi r5, r0, 8, 23, 23
/* 800FB5C4 000F7404 88 D9 00 01 */ lbz r6, 0x1(r25)
2022-10-16 16:31:36 +00:00
/* 800FB5C8 000F7408 4B F3 CB 39 */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FB5CC 000F740C 88 19 00 03 */ lbz r0, 0x3(r25)
/* 800FB5D0 000F7410 7F A3 EB 78 */ mr r3, r29
/* 800FB5D4 000F7414 54 04 FF BE */ extrwi r4, r0, 2, 29
/* 800FB5D8 000F7418 54 05 EF BE */ extrwi r5, r0, 2, 27
2022-10-16 16:31:36 +00:00
/* 800FB5DC 000F741C 4B F3 C9 95 */ bl GXSetTevSwapMode
2022-10-16 16:05:58 +00:00
/* 800FB5E0 000F7420 88 19 00 05 */ lbz r0, 0x5(r25)
/* 800FB5E4 000F7424 7F A3 EB 78 */ mr r3, r29
/* 800FB5E8 000F7428 88 B9 00 04 */ lbz r5, 0x4(r25)
/* 800FB5EC 000F742C 54 06 07 3E */ clrlwi r6, r0, 28
/* 800FB5F0 000F7430 54 07 E7 3E */ extrwi r7, r0, 4, 24
/* 800FB5F4 000F7434 54 A4 07 3E */ clrlwi r4, r5, 28
/* 800FB5F8 000F7438 54 A5 E7 3E */ extrwi r5, r5, 4, 24
2022-10-16 16:31:36 +00:00
/* 800FB5FC 000F743C 4B F3 C6 65 */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FB600 000F7440 88 D9 00 06 */ lbz r6, 0x6(r25)
/* 800FB604 000F7444 7F A3 EB 78 */ mr r3, r29
/* 800FB608 000F7448 88 19 00 07 */ lbz r0, 0x7(r25)
/* 800FB60C 000F744C 54 C4 07 3E */ clrlwi r4, r6, 28
/* 800FB610 000F7450 54 C5 E7 BE */ extrwi r5, r6, 2, 26
/* 800FB614 000F7454 54 C6 D7 BE */ extrwi r6, r6, 2, 24
/* 800FB618 000F7458 54 07 07 FE */ clrlwi r7, r0, 31
/* 800FB61C 000F745C 54 08 FF BE */ extrwi r8, r0, 2, 29
2022-10-16 16:31:36 +00:00
/* 800FB620 000F7460 4B F3 C6 C1 */ bl GXSetTevColorOp
2022-10-16 16:05:58 +00:00
/* 800FB624 000F7464 88 19 00 07 */ lbz r0, 0x7(r25)
/* 800FB628 000F7468 7F A3 EB 78 */ mr r3, r29
/* 800FB62C 000F746C 54 04 EE FE */ extrwi r4, r0, 5, 24
2022-10-16 16:31:36 +00:00
/* 800FB630 000F7470 4B F3 C8 A1 */ bl GXSetTevKColorSel
2022-10-16 16:05:58 +00:00
/* 800FB634 000F7474 88 19 00 09 */ lbz r0, 0x9(r25)
/* 800FB638 000F7478 7F A3 EB 78 */ mr r3, r29
/* 800FB63C 000F747C 88 B9 00 08 */ lbz r5, 0x8(r25)
/* 800FB640 000F7480 54 06 07 3E */ clrlwi r6, r0, 28
/* 800FB644 000F7484 54 07 E7 3E */ extrwi r7, r0, 4, 24
/* 800FB648 000F7488 54 A4 07 3E */ clrlwi r4, r5, 28
/* 800FB64C 000F748C 54 A5 E7 3E */ extrwi r5, r5, 4, 24
2022-10-16 16:31:36 +00:00
/* 800FB650 000F7490 4B F3 C6 51 */ bl GXSetTevAlphaIn
2022-10-16 16:05:58 +00:00
/* 800FB654 000F7494 88 D9 00 0A */ lbz r6, 0xa(r25)
/* 800FB658 000F7498 7F A3 EB 78 */ mr r3, r29
/* 800FB65C 000F749C 88 19 00 0B */ lbz r0, 0xb(r25)
/* 800FB660 000F74A0 54 C4 07 3E */ clrlwi r4, r6, 28
/* 800FB664 000F74A4 54 C5 E7 BE */ extrwi r5, r6, 2, 26
/* 800FB668 000F74A8 54 C6 D7 BE */ extrwi r6, r6, 2, 24
/* 800FB66C 000F74AC 54 07 07 FE */ clrlwi r7, r0, 31
/* 800FB670 000F74B0 54 08 FF BE */ extrwi r8, r0, 2, 29
2022-10-16 16:31:36 +00:00
/* 800FB674 000F74B4 4B F3 C6 CD */ bl GXSetTevAlphaOp
2022-10-16 16:05:58 +00:00
/* 800FB678 000F74B8 88 19 00 0B */ lbz r0, 0xb(r25)
/* 800FB67C 000F74BC 7F A3 EB 78 */ mr r3, r29
/* 800FB680 000F74C0 54 04 EE FE */ extrwi r4, r0, 5, 24
2022-10-16 16:31:36 +00:00
/* 800FB684 000F74C4 4B F3 C8 9D */ bl GXSetTevKAlphaSel
2022-10-16 16:05:58 +00:00
/* 800FB688 000F74C8 89 59 00 0F */ lbz r10, 0xf(r25)
/* 800FB68C 000F74CC 7F A3 EB 78 */ mr r3, r29
/* 800FB690 000F74D0 88 D9 00 0D */ lbz r6, 0xd(r25)
/* 800FB694 000F74D4 89 39 00 0E */ lbz r9, 0xe(r25)
/* 800FB698 000F74D8 55 44 EF FE */ extrwi r4, r10, 1, 28
/* 800FB69C 000F74DC 54 D8 EF 3E */ extrwi r24, r6, 4, 25
/* 800FB6A0 000F74E0 55 40 E7 BE */ extrwi r0, r10, 2, 26
/* 800FB6A4 000F74E4 90 81 00 08 */ stw r4, 0x8(r1)
/* 800FB6A8 000F74E8 55 45 07 BE */ clrlwi r5, r10, 30
/* 800FB6AC 000F74EC 55 28 07 7E */ clrlwi r8, r9, 29
/* 800FB6B0 000F74F0 7F 07 C3 78 */ mr r7, r24
/* 800FB6B4 000F74F4 90 01 00 0C */ stw r0, 0xc(r1)
/* 800FB6B8 000F74F8 54 C6 07 7E */ clrlwi r6, r6, 29
/* 800FB6BC 000F74FC 55 29 EF 7E */ extrwi r9, r9, 3, 26
/* 800FB6C0 000F7500 55 4A F7 FE */ extrwi r10, r10, 1, 29
/* 800FB6C4 000F7504 88 99 00 0C */ lbz r4, 0xc(r25)
2022-10-16 16:31:36 +00:00
/* 800FB6C8 000F7508 4B F3 C0 A9 */ bl GXSetTevIndirect
2022-10-16 16:05:58 +00:00
/* 800FB6CC 000F750C 2C 18 00 01 */ cmpwi r24, 0x1
/* 800FB6D0 000F7510 41 80 00 18 */ blt lbl_800FB6E8
/* 800FB6D4 000F7514 2C 18 00 03 */ cmpwi r24, 0x3
/* 800FB6D8 000F7518 41 81 00 10 */ bgt lbl_800FB6E8
/* 800FB6DC 000F751C 7C 7A C2 14 */ add r3, r26, r24
/* 800FB6E0 000F7520 3B 80 00 01 */ li r28, 0x1
/* 800FB6E4 000F7524 9B E3 FF FF */ stb r31, -0x1(r3)
.global lbl_800FB6E8
lbl_800FB6E8:
/* 800FB6E8 000F7528 3B 39 00 10 */ addi r25, r25, 0x10
/* 800FB6EC 000F752C 3B BD 00 01 */ addi r29, r29, 0x1
.global lbl_800FB6F0
lbl_800FB6F0:
/* 800FB6F0 000F7530 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB6F4 000F7534 54 00 BE FE */ extrwi r0, r0, 5, 18
/* 800FB6F8 000F7538 7C 1D 00 40 */ cmplw r29, r0
/* 800FB6FC 000F753C 41 80 FE B4 */ blt lbl_800FB5B0
/* 800FB700 000F7540 3B A0 00 01 */ li r29, 0x1
/* 800FB704 000F7544 48 00 03 CC */ b lbl_800FBAD0
.global lbl_800FB708
lbl_800FB708:
/* 800FB708 000F7548 54 00 27 3F */ srwi. r0, r0, 28
/* 800FB70C 000F754C 3B E0 00 00 */ li r31, 0x0
/* 800FB710 000F7550 40 82 00 54 */ bne lbl_800FB764
/* 800FB714 000F7554 38 60 00 00 */ li r3, 0x0
/* 800FB718 000F7558 38 80 00 FF */ li r4, 0xff
/* 800FB71C 000F755C 38 A0 00 FF */ li r5, 0xff
/* 800FB720 000F7560 38 C0 00 04 */ li r6, 0x4
2022-10-16 16:31:36 +00:00
/* 800FB724 000F7564 4B F3 C9 DD */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FB728 000F7568 38 60 00 00 */ li r3, 0x0
/* 800FB72C 000F756C 38 80 00 0F */ li r4, 0xf
/* 800FB730 000F7570 38 A0 00 04 */ li r5, 0x4
/* 800FB734 000F7574 38 C0 00 0A */ li r6, 0xa
/* 800FB738 000F7578 38 E0 00 0F */ li r7, 0xf
2022-10-16 16:31:36 +00:00
/* 800FB73C 000F757C 4B F3 C5 25 */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FB740 000F7580 38 60 00 00 */ li r3, 0x0
/* 800FB744 000F7584 38 80 00 07 */ li r4, 0x7
/* 800FB748 000F7588 38 A0 00 02 */ li r5, 0x2
/* 800FB74C 000F758C 38 C0 00 05 */ li r6, 0x5
/* 800FB750 000F7590 38 E0 00 07 */ li r7, 0x7
2022-10-16 16:31:36 +00:00
/* 800FB754 000F7594 4B F3 C5 4D */ bl GXSetTevAlphaIn
2022-10-16 16:05:58 +00:00
/* 800FB758 000F7598 3B A0 00 01 */ li r29, 0x1
/* 800FB75C 000F759C 3B E0 00 01 */ li r31, 0x1
/* 800FB760 000F75A0 48 00 02 F8 */ b lbl_800FBA58
.global lbl_800FB764
lbl_800FB764:
/* 800FB764 000F75A4 28 00 00 01 */ cmplwi r0, 0x1
/* 800FB768 000F75A8 40 82 00 50 */ bne lbl_800FB7B8
/* 800FB76C 000F75AC 38 60 00 00 */ li r3, 0x0
/* 800FB770 000F75B0 38 80 00 00 */ li r4, 0x0
/* 800FB774 000F75B4 38 A0 00 00 */ li r5, 0x0
/* 800FB778 000F75B8 38 C0 00 FF */ li r6, 0xff
2022-10-16 16:31:36 +00:00
/* 800FB77C 000F75BC 4B F3 C9 85 */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FB780 000F75C0 38 60 00 00 */ li r3, 0x0
/* 800FB784 000F75C4 38 80 00 02 */ li r4, 0x2
/* 800FB788 000F75C8 38 A0 00 04 */ li r5, 0x4
/* 800FB78C 000F75CC 38 C0 00 08 */ li r6, 0x8
/* 800FB790 000F75D0 38 E0 00 0F */ li r7, 0xf
2022-10-16 16:31:36 +00:00
/* 800FB794 000F75D4 4B F3 C4 CD */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FB798 000F75D8 38 60 00 00 */ li r3, 0x0
/* 800FB79C 000F75DC 38 80 00 01 */ li r4, 0x1
/* 800FB7A0 000F75E0 38 A0 00 02 */ li r5, 0x2
/* 800FB7A4 000F75E4 38 C0 00 04 */ li r6, 0x4
/* 800FB7A8 000F75E8 38 E0 00 07 */ li r7, 0x7
2022-10-16 16:31:36 +00:00
/* 800FB7AC 000F75EC 4B F3 C4 F5 */ bl GXSetTevAlphaIn
2022-10-16 16:05:58 +00:00
/* 800FB7B0 000F75F0 3B E0 00 01 */ li r31, 0x1
/* 800FB7B4 000F75F4 48 00 02 50 */ b lbl_800FBA04
.global lbl_800FB7B8
lbl_800FB7B8:
/* 800FB7B8 000F75F8 28 00 00 02 */ cmplwi r0, 0x2
/* 800FB7BC 000F75FC 40 82 00 B4 */ bne lbl_800FB870
/* 800FB7C0 000F7600 38 60 00 00 */ li r3, 0x0
/* 800FB7C4 000F7604 38 80 00 00 */ li r4, 0x0
/* 800FB7C8 000F7608 38 A0 00 00 */ li r5, 0x0
/* 800FB7CC 000F760C 38 C0 00 FF */ li r6, 0xff
2022-10-16 16:31:36 +00:00
/* 800FB7D0 000F7610 4B F3 C9 31 */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FB7D4 000F7614 38 60 00 00 */ li r3, 0x0
/* 800FB7D8 000F7618 38 80 00 0F */ li r4, 0xf
/* 800FB7DC 000F761C 38 A0 00 0F */ li r5, 0xf
/* 800FB7E0 000F7620 38 C0 00 0F */ li r6, 0xf
/* 800FB7E4 000F7624 38 E0 00 08 */ li r7, 0x8
2022-10-16 16:31:36 +00:00
/* 800FB7E8 000F7628 4B F3 C4 79 */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FB7EC 000F762C 38 60 00 00 */ li r3, 0x0
/* 800FB7F0 000F7630 38 80 00 07 */ li r4, 0x7
/* 800FB7F4 000F7634 38 A0 00 07 */ li r5, 0x7
/* 800FB7F8 000F7638 38 C0 00 07 */ li r6, 0x7
/* 800FB7FC 000F763C 38 E0 00 04 */ li r7, 0x4
2022-10-16 16:31:36 +00:00
/* 800FB800 000F7640 4B F3 C4 A1 */ bl GXSetTevAlphaIn
2022-10-16 16:05:58 +00:00
/* 800FB804 000F7644 38 60 00 01 */ li r3, 0x1
/* 800FB808 000F7648 38 80 00 01 */ li r4, 0x1
/* 800FB80C 000F764C 38 A0 00 01 */ li r5, 0x1
/* 800FB810 000F7650 38 C0 00 FF */ li r6, 0xff
2022-10-16 16:31:36 +00:00
/* 800FB814 000F7654 4B F3 C8 ED */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FB818 000F7658 38 60 00 01 */ li r3, 0x1
/* 800FB81C 000F765C 38 80 00 08 */ li r4, 0x8
/* 800FB820 000F7660 38 A0 00 00 */ li r5, 0x0
/* 800FB824 000F7664 38 C0 00 0E */ li r6, 0xe
/* 800FB828 000F7668 38 E0 00 0F */ li r7, 0xf
2022-10-16 16:31:36 +00:00
/* 800FB82C 000F766C 4B F3 C4 35 */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FB830 000F7670 38 60 00 01 */ li r3, 0x1
/* 800FB834 000F7674 38 80 00 04 */ li r4, 0x4
/* 800FB838 000F7678 38 A0 00 00 */ li r5, 0x0
/* 800FB83C 000F767C 38 C0 00 06 */ li r6, 0x6
/* 800FB840 000F7680 38 E0 00 07 */ li r7, 0x7
2022-10-16 16:31:36 +00:00
/* 800FB844 000F7684 4B F3 C4 5D */ bl GXSetTevAlphaIn
/* 800FB848 000F7688 3C 80 80 44 */ lis r4, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kColSels"@ha
2022-10-16 16:05:58 +00:00
/* 800FB84C 000F768C 38 60 00 01 */ li r3, 0x1
2022-10-16 16:31:36 +00:00
/* 800FB850 000F7690 80 84 14 E8 */ lwz r4, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kColSels"@l(r4)
/* 800FB854 000F7694 4B F3 C6 7D */ bl GXSetTevKColorSel
/* 800FB858 000F7698 3C 80 80 44 */ lis r4, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kAlpSels@0"@ha
2022-10-16 16:05:58 +00:00
/* 800FB85C 000F769C 38 60 00 01 */ li r3, 0x1
2022-10-16 16:31:36 +00:00
/* 800FB860 000F76A0 80 84 15 08 */ lwz r4, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kAlpSels@0"@l(r4)
/* 800FB864 000F76A4 4B F3 C6 BD */ bl GXSetTevKAlphaSel
2022-10-16 16:05:58 +00:00
/* 800FB868 000F76A8 3B E0 00 02 */ li r31, 0x2
/* 800FB86C 000F76AC 48 00 00 B8 */ b lbl_800FB924
.global lbl_800FB870
lbl_800FB870:
2022-10-16 16:31:36 +00:00
/* 800FB870 000F76B0 3F 00 80 44 */ lis r24, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kColSels"@ha
/* 800FB874 000F76B4 3F 20 80 44 */ lis r25, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kAlpSels@0"@ha
/* 800FB878 000F76B8 3B 18 14 E8 */ addi r24, r24, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kColSels"@l
2022-10-16 16:05:58 +00:00
/* 800FB87C 000F76BC 3A E0 00 00 */ li r23, 0x0
2022-10-16 16:31:36 +00:00
/* 800FB880 000F76C0 3B 39 15 08 */ addi r25, r25, "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kAlpSels@0"@l
2022-10-16 16:05:58 +00:00
/* 800FB884 000F76C4 48 00 00 90 */ b lbl_800FB914
.global lbl_800FB888
lbl_800FB888:
/* 800FB888 000F76C8 57 F6 06 3E */ clrlwi r22, r31, 24
/* 800FB88C 000F76CC 7E E4 BB 78 */ mr r4, r23
/* 800FB890 000F76D0 7E C3 B3 78 */ mr r3, r22
/* 800FB894 000F76D4 7E E5 BB 78 */ mr r5, r23
/* 800FB898 000F76D8 38 C0 00 FF */ li r6, 0xff
2022-10-16 16:31:36 +00:00
/* 800FB89C 000F76DC 4B F3 C8 65 */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FB8A0 000F76E0 2C 17 00 00 */ cmpwi r23, 0x0
/* 800FB8A4 000F76E4 38 E0 00 00 */ li r7, 0x0
/* 800FB8A8 000F76E8 40 82 00 08 */ bne lbl_800FB8B0
/* 800FB8AC 000F76EC 38 E0 00 0F */ li r7, 0xf
.global lbl_800FB8B0
lbl_800FB8B0:
/* 800FB8B0 000F76F0 2C 17 00 00 */ cmpwi r23, 0x0
/* 800FB8B4 000F76F4 3B 40 00 00 */ li r26, 0x0
/* 800FB8B8 000F76F8 40 82 00 08 */ bne lbl_800FB8C0
/* 800FB8BC 000F76FC 3B 40 00 07 */ li r26, 0x7
.global lbl_800FB8C0
lbl_800FB8C0:
/* 800FB8C0 000F7700 7E C3 B3 78 */ mr r3, r22
/* 800FB8C4 000F7704 38 80 00 0F */ li r4, 0xf
/* 800FB8C8 000F7708 38 A0 00 08 */ li r5, 0x8
/* 800FB8CC 000F770C 38 C0 00 0E */ li r6, 0xe
2022-10-16 16:31:36 +00:00
/* 800FB8D0 000F7710 4B F3 C3 91 */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FB8D4 000F7714 7E C3 B3 78 */ mr r3, r22
/* 800FB8D8 000F7718 7F 47 D3 78 */ mr r7, r26
/* 800FB8DC 000F771C 38 80 00 07 */ li r4, 0x7
/* 800FB8E0 000F7720 38 A0 00 04 */ li r5, 0x4
/* 800FB8E4 000F7724 38 C0 00 06 */ li r6, 0x6
2022-10-16 16:31:36 +00:00
/* 800FB8E8 000F7728 4B F3 C3 B9 */ bl GXSetTevAlphaIn
2022-10-16 16:05:58 +00:00
/* 800FB8EC 000F772C 80 98 00 00 */ lwz r4, 0x0(r24)
/* 800FB8F0 000F7730 7E C3 B3 78 */ mr r3, r22
2022-10-16 16:31:36 +00:00
/* 800FB8F4 000F7734 4B F3 C5 DD */ bl GXSetTevKColorSel
2022-10-16 16:05:58 +00:00
/* 800FB8F8 000F7738 80 99 00 00 */ lwz r4, 0x0(r25)
/* 800FB8FC 000F773C 7E C3 B3 78 */ mr r3, r22
2022-10-16 16:31:36 +00:00
/* 800FB900 000F7740 4B F3 C6 21 */ bl GXSetTevKAlphaSel
2022-10-16 16:05:58 +00:00
/* 800FB904 000F7744 3B FF 00 01 */ addi r31, r31, 0x1
/* 800FB908 000F7748 3B 18 00 04 */ addi r24, r24, 0x4
/* 800FB90C 000F774C 3B 39 00 04 */ addi r25, r25, 0x4
/* 800FB910 000F7750 3A F7 00 01 */ addi r23, r23, 0x1
.global lbl_800FB914
lbl_800FB914:
/* 800FB914 000F7754 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FB918 000F7758 54 00 27 3E */ srwi r0, r0, 28
/* 800FB91C 000F775C 7C 17 00 40 */ cmplw r23, r0
/* 800FB920 000F7760 41 80 FF 68 */ blt lbl_800FB888
.global lbl_800FB924
lbl_800FB924:
/* 800FB924 000F7764 A8 7B 00 10 */ lha r3, 0x10(r27)
/* 800FB928 000F7768 38 A0 00 00 */ li r5, 0x0
2022-10-16 16:31:36 +00:00
/* 800FB92C 000F776C A8 02 E4 50 */ lha r0, DefaultBlackColor_805643D0@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FB930 000F7770 7C 03 00 00 */ cmpw r3, r0
/* 800FB934 000F7774 40 82 00 3C */ bne lbl_800FB970
2022-10-16 16:31:36 +00:00
/* 800FB938 000F7778 38 82 E4 50 */ addi r4, r2, DefaultBlackColor_805643D0@sda21
2022-10-16 16:05:58 +00:00
/* 800FB93C 000F777C A8 7B 00 12 */ lha r3, 0x12(r27)
/* 800FB940 000F7780 A8 04 00 02 */ lha r0, 0x2(r4)
/* 800FB944 000F7784 7C 03 00 00 */ cmpw r3, r0
/* 800FB948 000F7788 40 82 00 28 */ bne lbl_800FB970
/* 800FB94C 000F778C A8 7B 00 14 */ lha r3, 0x14(r27)
/* 800FB950 000F7790 A8 04 00 04 */ lha r0, 0x4(r4)
/* 800FB954 000F7794 7C 03 00 00 */ cmpw r3, r0
/* 800FB958 000F7798 40 82 00 18 */ bne lbl_800FB970
/* 800FB95C 000F779C A8 7B 00 16 */ lha r3, 0x16(r27)
/* 800FB960 000F77A0 A8 04 00 06 */ lha r0, 0x6(r4)
/* 800FB964 000F77A4 7C 03 00 00 */ cmpw r3, r0
/* 800FB968 000F77A8 40 82 00 08 */ bne lbl_800FB970
/* 800FB96C 000F77AC 38 A0 00 01 */ li r5, 0x1
.global lbl_800FB970
lbl_800FB970:
/* 800FB970 000F77B0 2C 05 00 00 */ cmpwi r5, 0x0
/* 800FB974 000F77B4 41 82 00 44 */ beq lbl_800FB9B8
/* 800FB978 000F77B8 A8 1B 00 18 */ lha r0, 0x18(r27)
/* 800FB97C 000F77BC 38 60 00 00 */ li r3, 0x0
/* 800FB980 000F77C0 2C 00 00 FF */ cmpwi r0, 0xff
/* 800FB984 000F77C4 40 82 00 2C */ bne lbl_800FB9B0
/* 800FB988 000F77C8 A8 1B 00 1A */ lha r0, 0x1a(r27)
/* 800FB98C 000F77CC 2C 00 00 FF */ cmpwi r0, 0xff
/* 800FB990 000F77D0 40 82 00 20 */ bne lbl_800FB9B0
/* 800FB994 000F77D4 A8 1B 00 1C */ lha r0, 0x1c(r27)
/* 800FB998 000F77D8 2C 00 00 FF */ cmpwi r0, 0xff
/* 800FB99C 000F77DC 40 82 00 14 */ bne lbl_800FB9B0
/* 800FB9A0 000F77E0 A8 1B 00 1E */ lha r0, 0x1e(r27)
/* 800FB9A4 000F77E4 2C 00 00 FF */ cmpwi r0, 0xff
/* 800FB9A8 000F77E8 40 82 00 08 */ bne lbl_800FB9B0
/* 800FB9AC 000F77EC 38 60 00 01 */ li r3, 0x1
.global lbl_800FB9B0
lbl_800FB9B0:
/* 800FB9B0 000F77F0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800FB9B4 000F77F4 40 82 00 50 */ bne lbl_800FBA04
.global lbl_800FB9B8
lbl_800FB9B8:
/* 800FB9B8 000F77F8 57 F6 06 3E */ clrlwi r22, r31, 24
/* 800FB9BC 000F77FC 38 80 00 FF */ li r4, 0xff
/* 800FB9C0 000F7800 7E C3 B3 78 */ mr r3, r22
/* 800FB9C4 000F7804 38 A0 00 FF */ li r5, 0xff
/* 800FB9C8 000F7808 38 C0 00 FF */ li r6, 0xff
2022-10-16 16:31:36 +00:00
/* 800FB9CC 000F780C 4B F3 C7 35 */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FB9D0 000F7810 7E C3 B3 78 */ mr r3, r22
/* 800FB9D4 000F7814 38 80 00 02 */ li r4, 0x2
/* 800FB9D8 000F7818 38 A0 00 04 */ li r5, 0x4
/* 800FB9DC 000F781C 38 C0 00 00 */ li r6, 0x0
/* 800FB9E0 000F7820 38 E0 00 0F */ li r7, 0xf
2022-10-16 16:31:36 +00:00
/* 800FB9E4 000F7824 4B F3 C2 7D */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FB9E8 000F7828 7E C3 B3 78 */ mr r3, r22
/* 800FB9EC 000F782C 38 80 00 01 */ li r4, 0x1
/* 800FB9F0 000F7830 38 A0 00 02 */ li r5, 0x2
/* 800FB9F4 000F7834 38 C0 00 00 */ li r6, 0x0
/* 800FB9F8 000F7838 38 E0 00 07 */ li r7, 0x7
2022-10-16 16:31:36 +00:00
/* 800FB9FC 000F783C 4B F3 C2 A5 */ bl GXSetTevAlphaIn
2022-10-16 16:05:58 +00:00
/* 800FBA00 000F7840 3B FF 00 01 */ addi r31, r31, 0x1
.global lbl_800FBA04
lbl_800FBA04:
/* 800FBA04 000F7844 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800FBA08 000F7848 41 82 00 50 */ beq lbl_800FBA58
/* 800FBA0C 000F784C 57 F6 06 3E */ clrlwi r22, r31, 24
/* 800FBA10 000F7850 38 80 00 FF */ li r4, 0xff
/* 800FBA14 000F7854 7E C3 B3 78 */ mr r3, r22
/* 800FBA18 000F7858 38 A0 00 FF */ li r5, 0xff
/* 800FBA1C 000F785C 38 C0 00 04 */ li r6, 0x4
2022-10-16 16:31:36 +00:00
/* 800FBA20 000F7860 4B F3 C6 E1 */ bl GXSetTevOrder
2022-10-16 16:05:58 +00:00
/* 800FBA24 000F7864 7E C3 B3 78 */ mr r3, r22
/* 800FBA28 000F7868 38 80 00 0F */ li r4, 0xf
/* 800FBA2C 000F786C 38 A0 00 00 */ li r5, 0x0
/* 800FBA30 000F7870 38 C0 00 0A */ li r6, 0xa
/* 800FBA34 000F7874 38 E0 00 0F */ li r7, 0xf
2022-10-16 16:31:36 +00:00
/* 800FBA38 000F7878 4B F3 C2 29 */ bl GXSetTevColorIn
2022-10-16 16:05:58 +00:00
/* 800FBA3C 000F787C 7E C3 B3 78 */ mr r3, r22
/* 800FBA40 000F7880 38 80 00 07 */ li r4, 0x7
/* 800FBA44 000F7884 38 A0 00 00 */ li r5, 0x0
/* 800FBA48 000F7888 38 C0 00 05 */ li r6, 0x5
/* 800FBA4C 000F788C 38 E0 00 07 */ li r7, 0x7
2022-10-16 16:31:36 +00:00
/* 800FBA50 000F7890 4B F3 C2 51 */ bl GXSetTevAlphaIn
2022-10-16 16:05:58 +00:00
/* 800FBA54 000F7894 3B FF 00 01 */ addi r31, r31, 0x1
.global lbl_800FBA58
lbl_800FBA58:
/* 800FBA58 000F7898 57 F6 06 3E */ clrlwi r22, r31, 24
/* 800FBA5C 000F789C 3A E0 00 00 */ li r23, 0x0
/* 800FBA60 000F78A0 48 00 00 5C */ b lbl_800FBABC
.global lbl_800FBA64
lbl_800FBA64:
/* 800FBA64 000F78A4 56 F8 06 3E */ clrlwi r24, r23, 24
/* 800FBA68 000F78A8 38 80 00 00 */ li r4, 0x0
/* 800FBA6C 000F78AC 7F 03 C3 78 */ mr r3, r24
/* 800FBA70 000F78B0 38 A0 00 00 */ li r5, 0x0
/* 800FBA74 000F78B4 38 C0 00 00 */ li r6, 0x0
/* 800FBA78 000F78B8 38 E0 00 01 */ li r7, 0x1
/* 800FBA7C 000F78BC 39 00 00 00 */ li r8, 0x0
2022-10-16 16:31:36 +00:00
/* 800FBA80 000F78C0 4B F3 C2 61 */ bl GXSetTevColorOp
2022-10-16 16:05:58 +00:00
/* 800FBA84 000F78C4 7F 03 C3 78 */ mr r3, r24
/* 800FBA88 000F78C8 38 80 00 00 */ li r4, 0x0
/* 800FBA8C 000F78CC 38 A0 00 00 */ li r5, 0x0
/* 800FBA90 000F78D0 38 C0 00 00 */ li r6, 0x0
/* 800FBA94 000F78D4 38 E0 00 01 */ li r7, 0x1
/* 800FBA98 000F78D8 39 00 00 00 */ li r8, 0x0
2022-10-16 16:31:36 +00:00
/* 800FBA9C 000F78DC 4B F3 C2 A5 */ bl GXSetTevAlphaOp
2022-10-16 16:05:58 +00:00
/* 800FBAA0 000F78E0 7F 03 C3 78 */ mr r3, r24
2022-10-16 16:31:36 +00:00
/* 800FBAA4 000F78E4 4B F3 C0 6D */ bl GXSetTevDirect
2022-10-16 16:05:58 +00:00
/* 800FBAA8 000F78E8 7F 03 C3 78 */ mr r3, r24
/* 800FBAAC 000F78EC 38 80 00 00 */ li r4, 0x0
/* 800FBAB0 000F78F0 38 A0 00 00 */ li r5, 0x0
2022-10-16 16:31:36 +00:00
/* 800FBAB4 000F78F4 4B F3 C4 BD */ bl GXSetTevSwapMode
2022-10-16 16:05:58 +00:00
/* 800FBAB8 000F78F8 3A F7 00 01 */ addi r23, r23, 0x1
.global lbl_800FBABC
lbl_800FBABC:
/* 800FBABC 000F78FC 56 E0 06 3E */ clrlwi r0, r23, 24
/* 800FBAC0 000F7900 7C 00 B0 40 */ cmplw r0, r22
/* 800FBAC4 000F7904 41 80 FF A0 */ blt lbl_800FBA64
/* 800FBAC8 000F7908 7E C3 B3 78 */ mr r3, r22
2022-10-16 16:31:36 +00:00
/* 800FBACC 000F790C 4B F3 C7 95 */ bl GXSetNumTevStages
2022-10-16 16:05:58 +00:00
.global lbl_800FBAD0
lbl_800FBAD0:
/* 800FBAD0 000F7910 2C 1C 00 00 */ cmpwi r28, 0x0
/* 800FBAD4 000F7914 41 82 01 00 */ beq lbl_800FBBD4
/* 800FBAD8 000F7918 81 1B 00 38 */ lwz r8, 0x38(r27)
/* 800FBADC 000F791C 3B E1 00 2C */ addi r31, r1, 0x2c
/* 800FBAE0 000F7920 81 5B 00 40 */ lwz r10, 0x40(r27)
/* 800FBAE4 000F7924 3B 80 00 00 */ li r28, 0x0
/* 800FBAE8 000F7928 55 03 47 3E */ extrwi r3, r8, 4, 4
/* 800FBAEC 000F792C 55 00 27 3E */ srwi r0, r8, 28
/* 800FBAF0 000F7930 55 05 DF 7A */ rlwinm r5, r8, 27, 29, 29
/* 800FBAF4 000F7934 55 04 D7 7A */ rlwinm r4, r8, 26, 29, 29
/* 800FBAF8 000F7938 7C 85 22 14 */ add r4, r5, r4
/* 800FBAFC 000F793C 55 07 E7 7A */ rlwinm r7, r8, 28, 29, 29
/* 800FBB00 000F7940 1C 63 00 14 */ mulli r3, r3, 0x14
/* 800FBB04 000F7944 55 06 A7 7A */ rlwinm r6, r8, 20, 29, 29
/* 800FBB08 000F7948 55 05 76 BA */ rlwinm r5, r8, 14, 26, 29
2022-10-16 16:31:36 +00:00
/* 800FBB0C 000F794C C3 C2 91 FC */ lfs f30, "@10056"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FBB10 000F7950 55 09 9E FA */ rlwinm r9, r8, 19, 27, 29
/* 800FBB14 000F7954 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800FBB18 000F7958 55 08 EF 7A */ rlwinm r8, r8, 29, 29, 29
/* 800FBB1C 000F795C 7C A6 2A 14 */ add r5, r6, r5
/* 800FBB20 000F7960 7C 87 22 14 */ add r4, r7, r4
/* 800FBB24 000F7964 7C 63 02 14 */ add r3, r3, r0
/* 800FBB28 000F7968 7C 09 42 14 */ add r0, r9, r8
/* 800FBB2C 000F796C 7C 85 22 14 */ add r4, r5, r4
/* 800FBB30 000F7970 7C 64 1A 14 */ add r3, r4, r3
/* 800FBB34 000F7974 7C 0A 02 14 */ add r0, r10, r0
/* 800FBB38 000F7978 7F 03 02 14 */ add r24, r3, r0
/* 800FBB3C 000F797C 48 00 00 88 */ b lbl_800FBBC4
.global lbl_800FBB40
lbl_800FBB40:
/* 800FBB40 000F7980 88 1F 00 00 */ lbz r0, 0x0(r31)
/* 800FBB44 000F7984 2C 00 00 00 */ cmpwi r0, 0x0
/* 800FBB48 000F7988 41 82 00 70 */ beq lbl_800FBBB8
/* 800FBB4C 000F798C C0 18 00 08 */ lfs f0, 0x8(r24)
/* 800FBB50 000F7990 EC 3E 00 32 */ fmuls f1, f30, f0
2022-10-16 16:31:36 +00:00
/* 800FBB54 000F7994 48 00 2F CD */ bl CosFIdx__Q24nw4r4mathFf
2022-10-16 16:05:58 +00:00
/* 800FBB58 000F7998 C0 18 00 08 */ lfs f0, 0x8(r24)
/* 800FBB5C 000F799C FF E0 08 90 */ fmr f31, f1
/* 800FBB60 000F79A0 EC 3E 00 32 */ fmuls f1, f30, f0
2022-10-16 16:31:36 +00:00
/* 800FBB64 000F79A4 48 00 2F 3D */ bl SinFIdx__Q24nw4r4mathFf
2022-10-16 16:05:58 +00:00
/* 800FBB68 000F79A8 C0 18 00 0C */ lfs f0, 0xc(r24)
/* 800FBB6C 000F79AC FC 40 08 50 */ fneg f2, f1
/* 800FBB70 000F79B0 38 7C 00 01 */ addi r3, r28, 0x1
/* 800FBB74 000F79B4 38 81 00 68 */ addi r4, r1, 0x68
/* 800FBB78 000F79B8 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800FBB7C 000F79BC D0 01 00 68 */ stfs f0, 0x68(r1)
/* 800FBB80 000F79C0 C0 18 00 10 */ lfs f0, 0x10(r24)
/* 800FBB84 000F79C4 EC 02 00 32 */ fmuls f0, f2, f0
/* 800FBB88 000F79C8 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 800FBB8C 000F79CC C0 18 00 00 */ lfs f0, 0x0(r24)
/* 800FBB90 000F79D0 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 800FBB94 000F79D4 C0 18 00 0C */ lfs f0, 0xc(r24)
/* 800FBB98 000F79D8 EC 01 00 32 */ fmuls f0, f1, f0
/* 800FBB9C 000F79DC D0 01 00 74 */ stfs f0, 0x74(r1)
/* 800FBBA0 000F79E0 C0 18 00 10 */ lfs f0, 0x10(r24)
/* 800FBBA4 000F79E4 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800FBBA8 000F79E8 D0 01 00 78 */ stfs f0, 0x78(r1)
/* 800FBBAC 000F79EC C0 18 00 04 */ lfs f0, 0x4(r24)
/* 800FBBB0 000F79F0 D0 01 00 7C */ stfs f0, 0x7c(r1)
2022-10-16 16:31:36 +00:00
/* 800FBBB4 000F79F4 4B FF D6 7D */ bl "SetIndTexMtx__Q34nw4r3lyt26@unnamed@lyt_material_cpp@F14_GXIndTexMtxIDPA3_Cf"
2022-10-16 16:05:58 +00:00
.global lbl_800FBBB8
lbl_800FBBB8:
/* 800FBBB8 000F79F8 3B FF 00 01 */ addi r31, r31, 0x1
/* 800FBBBC 000F79FC 3B 18 00 14 */ addi r24, r24, 0x14
/* 800FBBC0 000F7A00 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_800FBBC4
lbl_800FBBC4:
/* 800FBBC4 000F7A04 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FBBC8 000F7A08 54 00 77 BE */ extrwi r0, r0, 2, 12
/* 800FBBCC 000F7A0C 7C 1C 00 40 */ cmplw r28, r0
/* 800FBBD0 000F7A10 41 80 FF 70 */ blt lbl_800FBB40
.global lbl_800FBBD4
lbl_800FBBD4:
/* 800FBBD4 000F7A14 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FBBD8 000F7A18 54 03 8F 7E */ extrwi r3, r0, 3, 14
2022-10-16 16:31:36 +00:00
/* 800FBBDC 000F7A1C 4B F3 BF 15 */ bl GXSetNumIndStages
2022-10-16 16:05:58 +00:00
/* 800FBBE0 000F7A20 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FBBE4 000F7A24 54 00 8F 7F */ extrwi. r0, r0, 3, 14
/* 800FBBE8 000F7A28 41 82 00 94 */ beq lbl_800FBC7C
/* 800FBBEC 000F7A2C 81 1B 00 38 */ lwz r8, 0x38(r27)
/* 800FBBF0 000F7A30 3B 80 00 00 */ li r28, 0x0
/* 800FBBF4 000F7A34 81 3B 00 40 */ lwz r9, 0x40(r27)
/* 800FBBF8 000F7A38 55 03 47 3E */ extrwi r3, r8, 4, 4
/* 800FBBFC 000F7A3C 55 00 27 3E */ srwi r0, r8, 28
/* 800FBC00 000F7A40 55 05 DF 7A */ rlwinm r5, r8, 27, 29, 29
/* 800FBC04 000F7A44 55 04 D7 7A */ rlwinm r4, r8, 26, 29, 29
/* 800FBC08 000F7A48 7C 85 22 14 */ add r4, r5, r4
/* 800FBC0C 000F7A4C 55 07 E7 7A */ rlwinm r7, r8, 28, 29, 29
/* 800FBC10 000F7A50 1C 63 00 14 */ mulli r3, r3, 0x14
/* 800FBC14 000F7A54 55 06 A7 7A */ rlwinm r6, r8, 20, 29, 29
/* 800FBC18 000F7A58 55 05 76 BA */ rlwinm r5, r8, 14, 26, 29
/* 800FBC1C 000F7A5C 7C 87 22 14 */ add r4, r7, r4
/* 800FBC20 000F7A60 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800FBC24 000F7A64 7C A6 2A 14 */ add r5, r6, r5
/* 800FBC28 000F7A68 55 06 EF 7A */ rlwinm r6, r8, 29, 29, 29
/* 800FBC2C 000F7A6C 7C 03 02 14 */ add r0, r3, r0
/* 800FBC30 000F7A70 7C 65 22 14 */ add r3, r5, r4
/* 800FBC34 000F7A74 7C 66 1A 14 */ add r3, r6, r3
/* 800FBC38 000F7A78 7C 09 02 14 */ add r0, r9, r0
/* 800FBC3C 000F7A7C 7F 03 02 14 */ add r24, r3, r0
/* 800FBC40 000F7A80 48 00 00 2C */ b lbl_800FBC6C
.global lbl_800FBC44
lbl_800FBC44:
/* 800FBC44 000F7A84 88 98 00 00 */ lbz r4, 0x0(r24)
/* 800FBC48 000F7A88 7F 83 E3 78 */ mr r3, r28
/* 800FBC4C 000F7A8C 88 B8 00 01 */ lbz r5, 0x1(r24)
2022-10-16 16:31:36 +00:00
/* 800FBC50 000F7A90 4B F3 BD D1 */ bl GXSetIndTexOrder
2022-10-16 16:05:58 +00:00
/* 800FBC54 000F7A94 88 98 00 02 */ lbz r4, 0x2(r24)
/* 800FBC58 000F7A98 7F 83 E3 78 */ mr r3, r28
/* 800FBC5C 000F7A9C 88 B8 00 03 */ lbz r5, 0x3(r24)
2022-10-16 16:31:36 +00:00
/* 800FBC60 000F7AA0 4B F3 BC C1 */ bl GXSetIndTexCoordScale
2022-10-16 16:05:58 +00:00
/* 800FBC64 000F7AA4 3B 18 00 04 */ addi r24, r24, 0x4
/* 800FBC68 000F7AA8 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_800FBC6C
lbl_800FBC6C:
/* 800FBC6C 000F7AAC 80 1B 00 3C */ lwz r0, 0x3c(r27)
/* 800FBC70 000F7AB0 54 00 8F 7E */ extrwi r0, r0, 3, 14
/* 800FBC74 000F7AB4 7C 1C 00 40 */ cmplw r28, r0
/* 800FBC78 000F7AB8 41 80 FF CC */ blt lbl_800FBC44
.global lbl_800FBC7C
lbl_800FBC7C:
/* 800FBC7C 000F7ABC 80 9B 00 38 */ lwz r4, 0x38(r27)
/* 800FBC80 000F7AC0 54 80 D7 FF */ extrwi. r0, r4, 1, 25
/* 800FBC84 000F7AC4 41 82 00 60 */ beq lbl_800FBCE4
/* 800FBC88 000F7AC8 54 83 47 3E */ extrwi r3, r4, 4, 4
/* 800FBC8C 000F7ACC 54 80 27 3E */ srwi r0, r4, 28
/* 800FBC90 000F7AD0 54 88 A7 7A */ rlwinm r8, r4, 20, 29, 29
/* 800FBC94 000F7AD4 54 85 76 BA */ rlwinm r5, r4, 14, 26, 29
/* 800FBC98 000F7AD8 54 87 DF 7A */ rlwinm r7, r4, 27, 29, 29
/* 800FBC9C 000F7ADC 54 86 D7 7A */ rlwinm r6, r4, 26, 29, 29
/* 800FBCA0 000F7AE0 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800FBCA4 000F7AE4 7C A8 2A 14 */ add r5, r8, r5
/* 800FBCA8 000F7AE8 7C C7 32 14 */ add r6, r7, r6
/* 800FBCAC 000F7AEC 80 FB 00 40 */ lwz r7, 0x40(r27)
/* 800FBCB0 000F7AF0 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FBCB4 000F7AF4 7C 06 2A 14 */ add r0, r6, r5
/* 800FBCB8 000F7AF8 7C 07 02 14 */ add r0, r7, r0
/* 800FBCBC 000F7AFC 7C 64 1A 14 */ add r3, r4, r3
/* 800FBCC0 000F7B00 7C C3 02 14 */ add r6, r3, r0
/* 800FBCC4 000F7B04 7C 03 00 AE */ lbzx r0, r3, r0
/* 800FBCC8 000F7B08 88 86 00 02 */ lbz r4, 0x2(r6)
/* 800FBCCC 000F7B0C 88 A6 00 01 */ lbz r5, 0x1(r6)
/* 800FBCD0 000F7B10 54 03 07 3E */ clrlwi r3, r0, 28
/* 800FBCD4 000F7B14 88 E6 00 03 */ lbz r7, 0x3(r6)
/* 800FBCD8 000F7B18 54 06 E7 3E */ extrwi r6, r0, 4, 24
2022-10-16 16:31:36 +00:00
/* 800FBCDC 000F7B1C 4B F3 C3 55 */ bl GXSetAlphaCompare
2022-10-16 16:05:58 +00:00
/* 800FBCE0 000F7B20 48 00 00 1C */ b lbl_800FBCFC
.global lbl_800FBCE4
lbl_800FBCE4:
/* 800FBCE4 000F7B24 38 60 00 07 */ li r3, 0x7
/* 800FBCE8 000F7B28 38 80 00 00 */ li r4, 0x0
/* 800FBCEC 000F7B2C 38 A0 00 00 */ li r5, 0x0
/* 800FBCF0 000F7B30 38 C0 00 07 */ li r6, 0x7
/* 800FBCF4 000F7B34 38 E0 00 00 */ li r7, 0x0
2022-10-16 16:31:36 +00:00
/* 800FBCF8 000F7B38 4B F3 C3 39 */ bl GXSetAlphaCompare
2022-10-16 16:05:58 +00:00
.global lbl_800FBCFC
lbl_800FBCFC:
/* 800FBCFC 000F7B3C 80 DB 00 38 */ lwz r6, 0x38(r27)
/* 800FBD00 000F7B40 54 C0 DF FF */ extrwi. r0, r6, 1, 26
/* 800FBD04 000F7B44 41 82 00 60 */ beq lbl_800FBD64
/* 800FBD08 000F7B48 54 C3 47 3E */ extrwi r3, r6, 4, 4
/* 800FBD0C 000F7B4C 54 C0 27 3E */ srwi r0, r6, 28
/* 800FBD10 000F7B50 54 C5 DF 7A */ rlwinm r5, r6, 27, 29, 29
/* 800FBD14 000F7B54 54 C4 D7 7A */ rlwinm r4, r6, 26, 29, 29
/* 800FBD18 000F7B58 7C A5 22 14 */ add r5, r5, r4
/* 800FBD1C 000F7B5C 54 C8 E7 7A */ rlwinm r8, r6, 28, 29, 29
/* 800FBD20 000F7B60 54 C7 A7 7A */ rlwinm r7, r6, 20, 29, 29
/* 800FBD24 000F7B64 54 C6 76 BA */ rlwinm r6, r6, 14, 26, 29
/* 800FBD28 000F7B68 1C 83 00 14 */ mulli r4, r3, 0x14
/* 800FBD2C 000F7B6C 81 3B 00 40 */ lwz r9, 0x40(r27)
/* 800FBD30 000F7B70 7C C7 32 14 */ add r6, r7, r6
/* 800FBD34 000F7B74 7C A8 2A 14 */ add r5, r8, r5
/* 800FBD38 000F7B78 1C 60 00 1C */ mulli r3, r0, 0x1c
/* 800FBD3C 000F7B7C 7C 06 2A 14 */ add r0, r6, r5
/* 800FBD40 000F7B80 7C 64 1A 14 */ add r3, r4, r3
/* 800FBD44 000F7B84 7C 09 02 14 */ add r0, r9, r0
/* 800FBD48 000F7B88 7C C3 02 14 */ add r6, r3, r0
/* 800FBD4C 000F7B8C 7C 63 00 AE */ lbzx r3, r3, r0
/* 800FBD50 000F7B90 88 86 00 01 */ lbz r4, 0x1(r6)
/* 800FBD54 000F7B94 88 A6 00 02 */ lbz r5, 0x2(r6)
/* 800FBD58 000F7B98 88 C6 00 03 */ lbz r6, 0x3(r6)
2022-10-16 16:31:36 +00:00
/* 800FBD5C 000F7B9C 4B F3 C9 D5 */ bl GXSetBlendMode
2022-10-16 16:05:58 +00:00
/* 800FBD60 000F7BA0 48 00 00 18 */ b lbl_800FBD78
.global lbl_800FBD64
lbl_800FBD64:
/* 800FBD64 000F7BA4 38 60 00 01 */ li r3, 0x1
/* 800FBD68 000F7BA8 38 80 00 04 */ li r4, 0x4
/* 800FBD6C 000F7BAC 38 A0 00 05 */ li r5, 0x5
/* 800FBD70 000F7BB0 38 C0 00 0F */ li r6, 0xf
2022-10-16 16:31:36 +00:00
/* 800FBD74 000F7BB4 4B F3 C9 BD */ bl GXSetBlendMode
2022-10-16 16:05:58 +00:00
.global lbl_800FBD78
lbl_800FBD78:
/* 800FBD78 000F7BB8 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800FBD7C 000F7BBC 38 60 00 00 */ li r3, 0x0
/* 800FBD80 000F7BC0 41 82 00 10 */ beq lbl_800FBD90
/* 800FBD84 000F7BC4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800FBD88 000F7BC8 41 82 00 08 */ beq lbl_800FBD90
/* 800FBD8C 000F7BCC 38 60 00 01 */ li r3, 0x1
.global lbl_800FBD90
lbl_800FBD90:
/* 800FBD90 000F7BD0 39 61 01 00 */ addi r11, r1, 0x100
/* 800FBD94 000F7BD4 E3 E1 01 18 */ psq_l f31, 0x118(r1), 0, qr0
/* 800FBD98 000F7BD8 CB E1 01 10 */ lfd f31, 0x110(r1)
/* 800FBD9C 000F7BDC E3 C1 01 08 */ psq_l f30, 0x108(r1), 0, qr0
/* 800FBDA0 000F7BE0 CB C1 01 00 */ lfd f30, 0x100(r1)
/* 800FBDA4 000F7BE4 4B F0 B5 D1 */ bl lbl_80007374
/* 800FBDA8 000F7BE8 80 01 01 24 */ lwz r0, 0x124(r1)
/* 800FBDAC 000F7BEC 7C 08 03 A6 */ mtlr r0
/* 800FBDB0 000F7BF0 38 21 01 20 */ addi r1, r1, 0x120
/* 800FBDB4 000F7BF4 4E 80 00 20 */ blr
/* 800FBDB8 000F7BF8 00 00 00 00 */ .4byte 0x00000000
/* 800FBDBC 000F7BFC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global BindAnimation__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform
BindAnimation__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform:
2022-10-16 16:05:58 +00:00
/* 800FBDC0 000F7C00 81 84 00 00 */ lwz r12, 0x0(r4)
/* 800FBDC4 000F7C04 7C 60 1B 78 */ mr r0, r3
/* 800FBDC8 000F7C08 7C 83 23 78 */ mr r3, r4
/* 800FBDCC 000F7C0C 38 A0 00 00 */ li r5, 0x0
/* 800FBDD0 000F7C10 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 800FBDD4 000F7C14 7C 04 03 78 */ mr r4, r0
/* 800FBDD8 000F7C18 7D 89 03 A6 */ mtctr r12
/* 800FBDDC 000F7C1C 4E 80 04 20 */ bctr
2022-10-16 16:31:36 +00:00
.global UnbindAnimation__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform
UnbindAnimation__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform:
2022-10-16 16:05:58 +00:00
/* 800FBDE0 000F7C20 38 63 00 04 */ addi r3, r3, 0x4
2022-10-16 16:31:36 +00:00
/* 800FBDE4 000F7C24 48 00 1A 0C */ b "UnbindAnimationLink__Q34nw4r3lyt6detailFPQ34nw4r2ut38LinkList<Q34nw4r3lyt13AnimationLink,0>PQ34nw4r3lyt13AnimTransform"
2022-10-16 16:05:58 +00:00
/* 800FBDE8 000F7C28 00 00 00 00 */ .4byte 0x00000000
/* 800FBDEC 000F7C2C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UnbindAllAnimation__Q34nw4r3lyt8MaterialFv
UnbindAllAnimation__Q34nw4r3lyt8MaterialFv:
2022-10-16 16:05:58 +00:00
/* 800FBDF0 000F7C30 81 83 00 00 */ lwz r12, 0x0(r3)
/* 800FBDF4 000F7C34 38 80 00 00 */ li r4, 0x0
/* 800FBDF8 000F7C38 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 800FBDFC 000F7C3C 7D 89 03 A6 */ mtctr r12
/* 800FBE00 000F7C40 4E 80 04 20 */ bctr
/* 800FBE04 000F7C44 00 00 00 00 */ .4byte 0x00000000
/* 800FBE08 000F7C48 00 00 00 00 */ .4byte 0x00000000
/* 800FBE0C 000F7C4C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Animate__Q34nw4r3lyt8MaterialFv
Animate__Q34nw4r3lyt8MaterialFv:
2022-10-16 16:05:58 +00:00
/* 800FBE10 000F7C50 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800FBE14 000F7C54 7C 08 02 A6 */ mflr r0
/* 800FBE18 000F7C58 90 01 00 24 */ stw r0, 0x24(r1)
/* 800FBE1C 000F7C5C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800FBE20 000F7C60 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800FBE24 000F7C64 3B C3 00 08 */ addi r30, r3, 0x8
/* 800FBE28 000F7C68 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800FBE2C 000F7C6C 7C 7D 1B 78 */ mr r29, r3
/* 800FBE30 000F7C70 83 E3 00 08 */ lwz r31, 0x8(r3)
/* 800FBE34 000F7C74 48 00 00 30 */ b lbl_800FBE64
.global lbl_800FBE38
lbl_800FBE38:
/* 800FBE38 000F7C78 88 1F 00 0E */ lbz r0, 0xe(r31)
/* 800FBE3C 000F7C7C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800FBE40 000F7C80 40 82 00 20 */ bne lbl_800FBE60
/* 800FBE44 000F7C84 80 7F 00 08 */ lwz r3, 0x8(r31)
/* 800FBE48 000F7C88 7F A5 EB 78 */ mr r5, r29
/* 800FBE4C 000F7C8C A0 9F 00 0C */ lhz r4, 0xc(r31)
/* 800FBE50 000F7C90 81 83 00 00 */ lwz r12, 0x0(r3)
/* 800FBE54 000F7C94 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 800FBE58 000F7C98 7D 89 03 A6 */ mtctr r12
/* 800FBE5C 000F7C9C 4E 80 04 21 */ bctrl
.global lbl_800FBE60
lbl_800FBE60:
/* 800FBE60 000F7CA0 83 FF 00 00 */ lwz r31, 0x0(r31)
.global lbl_800FBE64
lbl_800FBE64:
/* 800FBE64 000F7CA4 7C 1F F0 40 */ cmplw r31, r30
/* 800FBE68 000F7CA8 40 82 FF D0 */ bne lbl_800FBE38
/* 800FBE6C 000F7CAC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800FBE70 000F7CB0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800FBE74 000F7CB4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800FBE78 000F7CB8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800FBE7C 000F7CBC 7C 08 03 A6 */ mtlr r0
/* 800FBE80 000F7CC0 38 21 00 20 */ addi r1, r1, 0x20
/* 800FBE84 000F7CC4 4E 80 00 20 */ blr
/* 800FBE88 000F7CC8 00 00 00 00 */ .4byte 0x00000000
/* 800FBE8C 000F7CCC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global AddAnimationLink__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimationLink
AddAnimationLink__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimationLink:
2022-10-16 16:05:58 +00:00
/* 800FBE90 000F7CD0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FBE94 000F7CD4 7C 08 02 A6 */ mflr r0
/* 800FBE98 000F7CD8 7C 85 23 78 */ mr r5, r4
/* 800FBE9C 000F7CDC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FBEA0 000F7CE0 38 03 00 08 */ addi r0, r3, 0x8
/* 800FBEA4 000F7CE4 38 63 00 04 */ addi r3, r3, 0x4
/* 800FBEA8 000F7CE8 38 81 00 08 */ addi r4, r1, 0x8
/* 800FBEAC 000F7CEC 90 01 00 08 */ stw r0, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 800FBEB0 000F7CF0 48 02 3F 01 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
2022-10-16 16:05:58 +00:00
/* 800FBEB4 000F7CF4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FBEB8 000F7CF8 7C 08 03 A6 */ mtlr r0
/* 800FBEBC 000F7CFC 38 21 00 10 */ addi r1, r1, 0x10
/* 800FBEC0 000F7D00 4E 80 00 20 */ blr
/* 800FBEC4 000F7D04 00 00 00 00 */ .4byte 0x00000000
/* 800FBEC8 000F7D08 00 00 00 00 */ .4byte 0x00000000
/* 800FBECC 000F7D0C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global FindAnimationLink__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform
FindAnimationLink__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform:
2022-10-16 16:05:58 +00:00
/* 800FBED0 000F7D10 38 63 00 04 */ addi r3, r3, 0x4
2022-10-16 16:31:36 +00:00
/* 800FBED4 000F7D14 48 00 18 9C */ b "FindAnimationLink__Q34nw4r3lyt6detailFPQ34nw4r2ut38LinkList<Q34nw4r3lyt13AnimationLink,0>PQ34nw4r3lyt13AnimTransform"
2022-10-16 16:05:58 +00:00
/* 800FBED8 000F7D18 00 00 00 00 */ .4byte 0x00000000
/* 800FBEDC 000F7D1C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global FindAnimationLink__Q34nw4r3lyt8MaterialFRCQ34nw4r3lyt12AnimResource
FindAnimationLink__Q34nw4r3lyt8MaterialFRCQ34nw4r3lyt12AnimResource:
2022-10-16 16:05:58 +00:00
/* 800FBEE0 000F7D20 38 63 00 04 */ addi r3, r3, 0x4
2022-10-16 16:31:36 +00:00
/* 800FBEE4 000F7D24 48 00 18 CC */ b "FindAnimationLink__Q34nw4r3lyt6detailFPQ34nw4r2ut38LinkList<Q34nw4r3lyt13AnimationLink,0>RCQ34nw4r3lyt12AnimResource"
2022-10-16 16:05:58 +00:00
/* 800FBEE8 000F7D28 00 00 00 00 */ .4byte 0x00000000
/* 800FBEEC 000F7D2C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetAnimationEnable__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransformb
SetAnimationEnable__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransformb:
2022-10-16 16:05:58 +00:00
/* 800FBEF0 000F7D30 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FBEF4 000F7D34 7C 08 02 A6 */ mflr r0
/* 800FBEF8 000F7D38 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FBEFC 000F7D3C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800FBF00 000F7D40 7C BF 2B 78 */ mr r31, r5
/* 800FBF04 000F7D44 81 83 00 00 */ lwz r12, 0x0(r3)
/* 800FBF08 000F7D48 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 800FBF0C 000F7D4C 7D 89 03 A6 */ mtctr r12
/* 800FBF10 000F7D50 4E 80 04 21 */ bctrl
/* 800FBF14 000F7D54 2C 03 00 00 */ cmpwi r3, 0x0
/* 800FBF18 000F7D58 41 82 00 10 */ beq lbl_800FBF28
/* 800FBF1C 000F7D5C 7F E0 00 34 */ cntlzw r0, r31
/* 800FBF20 000F7D60 54 00 D9 7E */ srwi r0, r0, 5
/* 800FBF24 000F7D64 98 03 00 0E */ stb r0, 0xe(r3)
.global lbl_800FBF28
lbl_800FBF28:
/* 800FBF28 000F7D68 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FBF2C 000F7D6C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800FBF30 000F7D70 7C 08 03 A6 */ mtlr r0
/* 800FBF34 000F7D74 38 21 00 10 */ addi r1, r1, 0x10
/* 800FBF38 000F7D78 4E 80 00 20 */ blr
/* 800FBF3C 000F7D7C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetAnimationEnable__Q34nw4r3lyt8MaterialFRCQ34nw4r3lyt12AnimResourceb
SetAnimationEnable__Q34nw4r3lyt8MaterialFRCQ34nw4r3lyt12AnimResourceb:
2022-10-16 16:05:58 +00:00
/* 800FBF40 000F7D80 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FBF44 000F7D84 7C 08 02 A6 */ mflr r0
/* 800FBF48 000F7D88 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FBF4C 000F7D8C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800FBF50 000F7D90 7C BF 2B 78 */ mr r31, r5
/* 800FBF54 000F7D94 81 83 00 00 */ lwz r12, 0x0(r3)
/* 800FBF58 000F7D98 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800FBF5C 000F7D9C 7D 89 03 A6 */ mtctr r12
/* 800FBF60 000F7DA0 4E 80 04 21 */ bctrl
/* 800FBF64 000F7DA4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800FBF68 000F7DA8 41 82 00 10 */ beq lbl_800FBF78
/* 800FBF6C 000F7DAC 7F E0 00 34 */ cntlzw r0, r31
/* 800FBF70 000F7DB0 54 00 D9 7E */ srwi r0, r0, 5
/* 800FBF74 000F7DB4 98 03 00 0E */ stb r0, 0xe(r3)
.global lbl_800FBF78
lbl_800FBF78:
/* 800FBF78 000F7DB8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FBF7C 000F7DBC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800FBF80 000F7DC0 7C 08 03 A6 */ mtlr r0
/* 800FBF84 000F7DC4 38 21 00 10 */ addi r1, r1, 0x10
/* 800FBF88 000F7DC8 4E 80 00 20 */ blr
/* 800FBF8C 000F7DCC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetTextureSize__Q34nw4r3lyt6detailFPQ34nw4r3lyt8MaterialUc
GetTextureSize__Q34nw4r3lyt6detailFPQ34nw4r3lyt8MaterialUc:
2022-10-16 16:05:58 +00:00
/* 800FBF90 000F7DD0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800FBF94 000F7DD4 80 04 00 3C */ lwz r0, 0x3c(r4)
/* 800FBF98 000F7DD8 54 00 27 3E */ srwi r0, r0, 28
/* 800FBF9C 000F7DDC 7C 05 00 40 */ cmplw r5, r0
/* 800FBFA0 000F7DE0 41 80 00 14 */ blt lbl_800FBFB4
2022-10-16 16:31:36 +00:00
/* 800FBFA4 000F7DE4 C0 02 92 00 */ lfs f0, "@10057"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FBFA8 000F7DE8 D0 03 00 00 */ stfs f0, 0x0(r3)
/* 800FBFAC 000F7DEC D0 03 00 04 */ stfs f0, 0x4(r3)
/* 800FBFB0 000F7DF0 48 00 00 48 */ b lbl_800FBFF8
.global lbl_800FBFB4
lbl_800FBFB4:
/* 800FBFB4 000F7DF4 1C 05 00 1C */ mulli r0, r5, 0x1c
/* 800FBFB8 000F7DF8 3C A0 43 30 */ lis r5, 0x4330
/* 800FBFBC 000F7DFC 80 84 00 40 */ lwz r4, 0x40(r4)
/* 800FBFC0 000F7E00 90 A1 00 08 */ stw r5, 0x8(r1)
/* 800FBFC4 000F7E04 7C C4 02 14 */ add r6, r4, r0
2022-10-16 16:31:36 +00:00
/* 800FBFC8 000F7E08 C8 22 92 10 */ lfd f1, "@12398"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 800FBFCC 000F7E0C A0 86 00 0A */ lhz r4, 0xa(r6)
/* 800FBFD0 000F7E10 90 81 00 0C */ stw r4, 0xc(r1)
/* 800FBFD4 000F7E14 A0 06 00 08 */ lhz r0, 0x8(r6)
/* 800FBFD8 000F7E18 C8 01 00 08 */ lfd f0, 0x8(r1)
/* 800FBFDC 000F7E1C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FBFE0 000F7E20 EC 40 08 28 */ fsubs f2, f0, f1
/* 800FBFE4 000F7E24 90 A1 00 10 */ stw r5, 0x10(r1)
/* 800FBFE8 000F7E28 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 800FBFEC 000F7E2C D0 43 00 04 */ stfs f2, 0x4(r3)
/* 800FBFF0 000F7E30 EC 00 08 28 */ fsubs f0, f0, f1
/* 800FBFF4 000F7E34 D0 03 00 00 */ stfs f0, 0x0(r3)
.global lbl_800FBFF8
lbl_800FBFF8:
/* 800FBFF8 000F7E38 38 21 00 20 */ addi r1, r1, 0x20
/* 800FBFFC 000F7E3C 4E 80 00 20 */ blr
2022-10-17 08:50:33 +00:00
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kColSels"
"@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kColSels":
.4byte 0x0000001F
.4byte 0x0000001B
.4byte 0x00000017
.4byte 0x00000013
.4byte 0x0000001E
.4byte 0x0000001A
.4byte 0x00000016
.4byte 0x00000012
.global "@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kAlpSels@0"
"@LOCAL@SetupGX__Q34nw4r3lyt8MaterialFbUc@kAlpSels@0":
.4byte 0x0000001F
.4byte 0x0000001B
.4byte 0x00000017
.4byte 0x00000013
.4byte 0x0000001E
.4byte 0x0000001A
.4byte 0x00000016
.4byte 0x00000012
.global __vt__Q34nw4r3lyt8Material
__vt__Q34nw4r3lyt8Material:
.4byte 0
.4byte 0
.4byte __dt__Q34nw4r3lyt8MaterialFv
.4byte SetupGX__Q34nw4r3lyt8MaterialFbUc
.4byte BindAnimation__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform
.4byte UnbindAnimation__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform
.4byte UnbindAllAnimation__Q34nw4r3lyt8MaterialFv
.4byte Animate__Q34nw4r3lyt8MaterialFv
.4byte FindAnimationLink__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransform
.4byte FindAnimationLink__Q34nw4r3lyt8MaterialFRCQ34nw4r3lyt12AnimResource
.4byte SetAnimationEnable__Q34nw4r3lyt8MaterialFPQ34nw4r3lyt13AnimTransformb
.4byte SetAnimationEnable__Q34nw4r3lyt8MaterialFRCQ34nw4r3lyt12AnimResourceb
.include "macros.inc"
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
.global "@10055"
"@10055":
.4byte 0x3F000000
.global "@10056"
"@10056":
.4byte 0x3F360B61
.global "@10057"
"@10057":
.4byte 0
.global "@10058"
"@10058":
.4byte 0x3F800000
.global "@10071"
"@10071":
.4byte 0x40000000
.4byte 0
.global "@12398"
"@12398":
.4byte 0x43300000
.4byte 0
.include "macros.inc"
.section .sbss2, "", @nobits # 0x805643C0 - 0x805643FC ; 0x0000003C
.global DefaultBlackColor_805643D0
DefaultBlackColor_805643D0:
.skip 0x8