.include "macros.inc" .section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860 .global __ct__Q34nw4r2ef16DrawStrategyImplFv __ct__Q34nw4r2ef16DrawStrategyImplFv: /* 800B8B50 000B4990 38 E3 00 34 */ addi r7, r3, 0x34 /* 800B8B54 000B4994 38 83 00 94 */ addi r4, r3, 0x94 /* 800B8B58 000B4998 C0 22 8D 68 */ lfs f1, "@9915"@sda21(r2) /* 800B8B5C 000B499C 3C C0 80 44 */ lis r6, __vt__Q34nw4r2ef16DrawStrategyImpl@ha /* 800B8B60 000B49A0 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B8B64 000B49A4 38 A0 00 00 */ li r5, 0x0 /* 800B8B68 000B49A8 38 C6 03 F8 */ addi r6, r6, __vt__Q34nw4r2ef16DrawStrategyImpl@l /* 800B8B6C 000B49AC 7C 07 20 40 */ cmplw r7, r4 /* 800B8B70 000B49B0 90 C3 00 00 */ stw r6, 0x0(r3) /* 800B8B74 000B49B4 90 A3 00 04 */ stw r5, 0x4(r3) /* 800B8B78 000B49B8 D0 23 00 08 */ stfs f1, 0x8(r3) /* 800B8B7C 000B49BC D0 23 00 0C */ stfs f1, 0xc(r3) /* 800B8B80 000B49C0 D0 23 00 10 */ stfs f1, 0x10(r3) /* 800B8B84 000B49C4 D0 23 00 14 */ stfs f1, 0x14(r3) /* 800B8B88 000B49C8 90 A3 00 18 */ stw r5, 0x18(r3) /* 800B8B8C 000B49CC 90 A3 00 1C */ stw r5, 0x1c(r3) /* 800B8B90 000B49D0 D0 23 00 20 */ stfs f1, 0x20(r3) /* 800B8B94 000B49D4 D0 23 00 24 */ stfs f1, 0x24(r3) /* 800B8B98 000B49D8 D0 03 00 28 */ stfs f0, 0x28(r3) /* 800B8B9C 000B49DC D0 03 00 2C */ stfs f0, 0x2c(r3) /* 800B8BA0 000B49E0 D0 03 00 30 */ stfs f0, 0x30(r3) /* 800B8BA4 000B49E4 4C 80 00 20 */ bgelr /* 800B8BA8 000B49E8 38 84 00 2F */ addi r4, r4, 0x2f /* 800B8BAC 000B49EC 38 00 00 30 */ li r0, 0x30 /* 800B8BB0 000B49F0 7C 87 20 50 */ subf r4, r7, r4 /* 800B8BB4 000B49F4 7C 84 03 96 */ divwu r4, r4, r0 /* 800B8BB8 000B49F8 7C 89 03 A6 */ mtctr r4 /* 800B8BBC 000B49FC 4C 80 00 20 */ bgelr .global lbl_800B8BC0 lbl_800B8BC0: /* 800B8BC0 000B4A00 90 A7 00 00 */ stw r5, 0x0(r7) /* 800B8BC4 000B4A04 D0 27 00 04 */ stfs f1, 0x4(r7) /* 800B8BC8 000B4A08 D0 27 00 08 */ stfs f1, 0x8(r7) /* 800B8BCC 000B4A0C D0 27 00 0C */ stfs f1, 0xc(r7) /* 800B8BD0 000B4A10 D0 27 00 10 */ stfs f1, 0x10(r7) /* 800B8BD4 000B4A14 90 A7 00 14 */ stw r5, 0x14(r7) /* 800B8BD8 000B4A18 90 A7 00 18 */ stw r5, 0x18(r7) /* 800B8BDC 000B4A1C D0 27 00 1C */ stfs f1, 0x1c(r7) /* 800B8BE0 000B4A20 D0 27 00 20 */ stfs f1, 0x20(r7) /* 800B8BE4 000B4A24 D0 07 00 24 */ stfs f0, 0x24(r7) /* 800B8BE8 000B4A28 D0 07 00 28 */ stfs f0, 0x28(r7) /* 800B8BEC 000B4A2C D0 07 00 2C */ stfs f0, 0x2c(r7) /* 800B8BF0 000B4A30 38 E7 00 30 */ addi r7, r7, 0x30 /* 800B8BF4 000B4A34 42 00 FF CC */ bdnz lbl_800B8BC0 /* 800B8BF8 000B4A38 4E 80 00 20 */ blr /* 800B8BFC 000B4A3C 00 00 00 00 */ .4byte 0x00000000 .global Initialize__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo Initialize__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo: /* 800B8C00 000B4A40 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800B8C04 000B4A44 7C 08 02 A6 */ mflr r0 /* 800B8C08 000B4A48 38 E0 00 00 */ li r7, 0x0 /* 800B8C0C 000B4A4C 90 01 00 24 */ stw r0, 0x24(r1) /* 800B8C10 000B4A50 38 00 FF FF */ li r0, -0x1 /* 800B8C14 000B4A54 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800B8C18 000B4A58 7C DF 33 78 */ mr r31, r6 /* 800B8C1C 000B4A5C 93 C1 00 18 */ stw r30, 0x18(r1) /* 800B8C20 000B4A60 7C BE 2B 78 */ mr r30, r5 /* 800B8C24 000B4A64 93 A1 00 14 */ stw r29, 0x14(r1) /* 800B8C28 000B4A68 7C 9D 23 78 */ mr r29, r4 /* 800B8C2C 000B4A6C 93 81 00 10 */ stw r28, 0x10(r1) /* 800B8C30 000B4A70 7C 7C 1B 78 */ mr r28, r3 /* 800B8C34 000B4A74 98 E3 00 D0 */ stb r7, 0xd0(r3) /* 800B8C38 000B4A78 90 03 00 D4 */ stw r0, 0xd4(r3) /* 800B8C3C 000B4A7C 90 03 00 D8 */ stw r0, 0xd8(r3) /* 800B8C40 000B4A80 90 03 00 DC */ stw r0, 0xdc(r3) /* 800B8C44 000B4A84 A0 05 00 00 */ lhz r0, 0x0(r5) /* 800B8C48 000B4A88 54 00 06 F7 */ rlwinm. r0, r0, 0, 27, 27 /* 800B8C4C 000B4A8C 41 82 00 10 */ beq lbl_800B8C5C /* 800B8C50 000B4A90 38 00 00 01 */ li r0, 0x1 /* 800B8C54 000B4A94 90 E3 00 D4 */ stw r7, 0xd4(r3) /* 800B8C58 000B4A98 98 03 00 D0 */ stb r0, 0xd0(r3) .global lbl_800B8C5C lbl_800B8C5C: /* 800B8C5C 000B4A9C A0 05 00 00 */ lhz r0, 0x0(r5) /* 800B8C60 000B4AA0 54 00 06 B5 */ rlwinm. r0, r0, 0, 26, 26 /* 800B8C64 000B4AA4 41 82 00 14 */ beq lbl_800B8C78 /* 800B8C68 000B4AA8 88 83 00 D0 */ lbz r4, 0xd0(r3) /* 800B8C6C 000B4AAC 90 83 00 D8 */ stw r4, 0xd8(r3) /* 800B8C70 000B4AB0 38 04 00 01 */ addi r0, r4, 0x1 /* 800B8C74 000B4AB4 98 03 00 D0 */ stb r0, 0xd0(r3) .global lbl_800B8C78 lbl_800B8C78: /* 800B8C78 000B4AB8 A0 05 00 00 */ lhz r0, 0x0(r5) /* 800B8C7C 000B4ABC 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25 /* 800B8C80 000B4AC0 41 82 00 14 */ beq lbl_800B8C94 /* 800B8C84 000B4AC4 88 83 00 D0 */ lbz r4, 0xd0(r3) /* 800B8C88 000B4AC8 90 83 00 DC */ stw r4, 0xdc(r3) /* 800B8C8C 000B4ACC 38 04 00 01 */ addi r0, r4, 0x1 /* 800B8C90 000B4AD0 98 03 00 D0 */ stb r0, 0xd0(r3) .global lbl_800B8C94 lbl_800B8C94: /* 800B8C94 000B4AD4 88 63 00 D0 */ lbz r3, 0xd0(r3) /* 800B8C98 000B4AD8 4B F7 BA 49 */ bl GXSetNumTexGens /* 800B8C9C 000B4ADC 7F 83 E3 78 */ mr r3, r28 /* 800B8CA0 000B4AE0 7F C4 F3 78 */ mr r4, r30 /* 800B8CA4 000B4AE4 7F E5 FB 78 */ mr r5, r31 /* 800B8CA8 000B4AE8 48 00 00 39 */ bl _InitTev__Q34nw4r2ef16DrawStrategyImplFRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo /* 800B8CAC 000B4AEC 7F 83 E3 78 */ mr r3, r28 /* 800B8CB0 000B4AF0 7F A4 EB 78 */ mr r4, r29 /* 800B8CB4 000B4AF4 7F C5 F3 78 */ mr r5, r30 /* 800B8CB8 000B4AF8 7F E6 FB 78 */ mr r6, r31 /* 800B8CBC 000B4AFC 48 00 03 15 */ bl _InitColor__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo /* 800B8CC0 000B4B00 80 01 00 24 */ lwz r0, 0x24(r1) /* 800B8CC4 000B4B04 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800B8CC8 000B4B08 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800B8CCC 000B4B0C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 800B8CD0 000B4B10 83 81 00 10 */ lwz r28, 0x10(r1) /* 800B8CD4 000B4B14 7C 08 03 A6 */ mtlr r0 /* 800B8CD8 000B4B18 38 21 00 20 */ addi r1, r1, 0x20 /* 800B8CDC 000B4B1C 4E 80 00 20 */ blr .global _InitTev__Q34nw4r2ef16DrawStrategyImplFRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo _InitTev__Q34nw4r2ef16DrawStrategyImplFRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo: /* 800B8CE0 000B4B20 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800B8CE4 000B4B24 7C 08 02 A6 */ mflr r0 /* 800B8CE8 000B4B28 90 01 00 44 */ stw r0, 0x44(r1) /* 800B8CEC 000B4B2C 39 61 00 40 */ addi r11, r1, 0x40 /* 800B8CF0 000B4B30 4B F4 E6 45 */ bl lbl_80007334 /* 800B8CF4 000B4B34 A0 04 00 00 */ lhz r0, 0x0(r4) /* 800B8CF8 000B4B38 7C 79 1B 78 */ mr r25, r3 /* 800B8CFC 000B4B3C 7C 9E 23 78 */ mr r30, r4 /* 800B8D00 000B4B40 7C BF 2B 78 */ mr r31, r5 /* 800B8D04 000B4B44 54 03 EF FE */ extrwi r3, r0, 1, 28 /* 800B8D08 000B4B48 4B F8 02 F9 */ bl GXSetClipMode /* 800B8D0C 000B4B4C 88 7E 00 05 */ lbz r3, 0x5(r30) /* 800B8D10 000B4B50 4B F7 F5 51 */ bl GXSetNumTevStages /* 800B8D14 000B4B54 38 60 00 00 */ li r3, 0x0 /* 800B8D18 000B4B58 38 80 00 00 */ li r4, 0x0 /* 800B8D1C 000B4B5C 38 A0 00 01 */ li r5, 0x1 /* 800B8D20 000B4B60 38 C0 00 02 */ li r6, 0x2 /* 800B8D24 000B4B64 38 E0 00 03 */ li r7, 0x3 /* 800B8D28 000B4B68 4B F7 F2 89 */ bl GXSetTevSwapModeTable /* 800B8D2C 000B4B6C 7F DD F3 78 */ mr r29, r30 /* 800B8D30 000B4B70 7F DC F3 78 */ mr r28, r30 /* 800B8D34 000B4B74 3B 40 00 00 */ li r26, 0x0 /* 800B8D38 000B4B78 48 00 01 04 */ b lbl_800B8E3C .global lbl_800B8D3C lbl_800B8D3C: /* 800B8D3C 000B4B7C 7F 43 D3 78 */ mr r3, r26 /* 800B8D40 000B4B80 4B F7 ED D1 */ bl GXSetTevDirect /* 800B8D44 000B4B84 88 9D 00 0C */ lbz r4, 0xc(r29) /* 800B8D48 000B4B88 7F 43 D3 78 */ mr r3, r26 /* 800B8D4C 000B4B8C 88 BD 00 0D */ lbz r5, 0xd(r29) /* 800B8D50 000B4B90 88 DD 00 0E */ lbz r6, 0xe(r29) /* 800B8D54 000B4B94 88 FD 00 0F */ lbz r7, 0xf(r29) /* 800B8D58 000B4B98 4B F7 EF 09 */ bl GXSetTevColorIn /* 800B8D5C 000B4B9C 88 9D 00 30 */ lbz r4, 0x30(r29) /* 800B8D60 000B4BA0 7F 43 D3 78 */ mr r3, r26 /* 800B8D64 000B4BA4 88 BD 00 31 */ lbz r5, 0x31(r29) /* 800B8D68 000B4BA8 88 DD 00 32 */ lbz r6, 0x32(r29) /* 800B8D6C 000B4BAC 88 FD 00 33 */ lbz r7, 0x33(r29) /* 800B8D70 000B4BB0 4B F7 EF 31 */ bl GXSetTevAlphaIn /* 800B8D74 000B4BB4 88 9C 00 1C */ lbz r4, 0x1c(r28) /* 800B8D78 000B4BB8 7F 43 D3 78 */ mr r3, r26 /* 800B8D7C 000B4BBC 88 BC 00 1D */ lbz r5, 0x1d(r28) /* 800B8D80 000B4BC0 88 DC 00 1E */ lbz r6, 0x1e(r28) /* 800B8D84 000B4BC4 88 FC 00 1F */ lbz r7, 0x1f(r28) /* 800B8D88 000B4BC8 89 1C 00 20 */ lbz r8, 0x20(r28) /* 800B8D8C 000B4BCC 4B F7 EF 55 */ bl GXSetTevColorOp /* 800B8D90 000B4BD0 88 9C 00 40 */ lbz r4, 0x40(r28) /* 800B8D94 000B4BD4 7F 43 D3 78 */ mr r3, r26 /* 800B8D98 000B4BD8 88 BC 00 41 */ lbz r5, 0x41(r28) /* 800B8D9C 000B4BDC 88 DC 00 42 */ lbz r6, 0x42(r28) /* 800B8DA0 000B4BE0 88 FC 00 43 */ lbz r7, 0x43(r28) /* 800B8DA4 000B4BE4 89 1C 00 44 */ lbz r8, 0x44(r28) /* 800B8DA8 000B4BE8 4B F7 EF 99 */ bl GXSetTevAlphaOp /* 800B8DAC 000B4BEC 7F 7E D2 14 */ add r27, r30, r26 /* 800B8DB0 000B4BF0 7F 43 D3 78 */ mr r3, r26 /* 800B8DB4 000B4BF4 88 9B 00 54 */ lbz r4, 0x54(r27) /* 800B8DB8 000B4BF8 4B F7 F1 19 */ bl GXSetTevKColorSel /* 800B8DBC 000B4BFC 88 9B 00 58 */ lbz r4, 0x58(r27) /* 800B8DC0 000B4C00 7F 43 D3 78 */ mr r3, r26 /* 800B8DC4 000B4C04 4B F7 F1 5D */ bl GXSetTevKAlphaSel /* 800B8DC8 000B4C08 7F 43 D3 78 */ mr r3, r26 /* 800B8DCC 000B4C0C 38 80 00 00 */ li r4, 0x0 /* 800B8DD0 000B4C10 38 A0 00 00 */ li r5, 0x0 /* 800B8DD4 000B4C14 4B F7 F1 9D */ bl GXSetTevSwapMode /* 800B8DD8 000B4C18 88 1B 00 08 */ lbz r0, 0x8(r27) /* 800B8DDC 000B4C1C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B8DE0 000B4C20 40 82 00 1C */ bne lbl_800B8DFC /* 800B8DE4 000B4C24 7F 43 D3 78 */ mr r3, r26 /* 800B8DE8 000B4C28 38 80 00 00 */ li r4, 0x0 /* 800B8DEC 000B4C2C 38 A0 00 00 */ li r5, 0x0 /* 800B8DF0 000B4C30 38 C0 00 04 */ li r6, 0x4 /* 800B8DF4 000B4C34 4B F7 F3 0D */ bl GXSetTevOrder /* 800B8DF8 000B4C38 48 00 00 38 */ b lbl_800B8E30 .global lbl_800B8DFC lbl_800B8DFC: /* 800B8DFC 000B4C3C 28 00 00 01 */ cmplwi r0, 0x1 /* 800B8E00 000B4C40 40 82 00 1C */ bne lbl_800B8E1C /* 800B8E04 000B4C44 80 99 00 D8 */ lwz r4, 0xd8(r25) /* 800B8E08 000B4C48 7F 43 D3 78 */ mr r3, r26 /* 800B8E0C 000B4C4C 38 C0 00 04 */ li r6, 0x4 /* 800B8E10 000B4C50 7C 85 23 78 */ mr r5, r4 /* 800B8E14 000B4C54 4B F7 F2 ED */ bl GXSetTevOrder /* 800B8E18 000B4C58 48 00 00 18 */ b lbl_800B8E30 .global lbl_800B8E1C lbl_800B8E1C: /* 800B8E1C 000B4C5C 7F 43 D3 78 */ mr r3, r26 /* 800B8E20 000B4C60 38 80 00 FF */ li r4, 0xff /* 800B8E24 000B4C64 38 A0 00 FF */ li r5, 0xff /* 800B8E28 000B4C68 38 C0 00 04 */ li r6, 0x4 /* 800B8E2C 000B4C6C 4B F7 F2 D5 */ bl GXSetTevOrder .global lbl_800B8E30 lbl_800B8E30: /* 800B8E30 000B4C70 3B BD 00 04 */ addi r29, r29, 0x4 /* 800B8E34 000B4C74 3B 9C 00 05 */ addi r28, r28, 0x5 /* 800B8E38 000B4C78 3B 5A 00 01 */ addi r26, r26, 0x1 .global lbl_800B8E3C lbl_800B8E3C: /* 800B8E3C 000B4C7C 88 1E 00 05 */ lbz r0, 0x5(r30) /* 800B8E40 000B4C80 7C 1A 00 00 */ cmpw r26, r0 /* 800B8E44 000B4C84 41 80 FE F8 */ blt lbl_800B8D3C /* 800B8E48 000B4C88 A0 1E 00 00 */ lhz r0, 0x0(r30) /* 800B8E4C 000B4C8C 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25 /* 800B8E50 000B4C90 41 82 00 A0 */ beq lbl_800B8EF0 /* 800B8E54 000B4C94 38 60 00 01 */ li r3, 0x1 /* 800B8E58 000B4C98 4B F7 EC 99 */ bl GXSetNumIndStages /* 800B8E5C 000B4C9C 80 99 00 DC */ lwz r4, 0xdc(r25) /* 800B8E60 000B4CA0 38 60 00 00 */ li r3, 0x0 /* 800B8E64 000B4CA4 7C 85 23 78 */ mr r5, r4 /* 800B8E68 000B4CA8 4B F7 EB B9 */ bl GXSetIndTexOrder /* 800B8E6C 000B4CAC 38 60 00 00 */ li r3, 0x0 /* 800B8E70 000B4CB0 38 80 00 00 */ li r4, 0x0 /* 800B8E74 000B4CB4 38 A0 00 00 */ li r5, 0x0 /* 800B8E78 000B4CB8 4B F7 EA A9 */ bl GXSetIndTexCoordScale /* 800B8E7C 000B4CBC 88 1E 00 A8 */ lbz r0, 0xa8(r30) /* 800B8E80 000B4CC0 38 9E 00 90 */ addi r4, r30, 0x90 /* 800B8E84 000B4CC4 38 60 00 01 */ li r3, 0x1 /* 800B8E88 000B4CC8 7C 05 07 74 */ extsb r5, r0 /* 800B8E8C 000B4CCC 4B F7 E9 55 */ bl GXSetIndTexMtx /* 800B8E90 000B4CD0 3B 40 00 01 */ li r26, 0x1 /* 800B8E94 000B4CD4 3B 60 00 00 */ li r27, 0x0 /* 800B8E98 000B4CD8 3B A0 00 00 */ li r29, 0x0 /* 800B8E9C 000B4CDC 48 00 00 44 */ b lbl_800B8EE0 .global lbl_800B8EA0 lbl_800B8EA0: /* 800B8EA0 000B4CE0 88 1E 00 07 */ lbz r0, 0x7(r30) /* 800B8EA4 000B4CE4 7C 00 D0 39 */ and. r0, r0, r26 /* 800B8EA8 000B4CE8 41 82 00 30 */ beq lbl_800B8ED8 /* 800B8EAC 000B4CEC 93 A1 00 08 */ stw r29, 0x8(r1) /* 800B8EB0 000B4CF0 7F 63 DB 78 */ mr r3, r27 /* 800B8EB4 000B4CF4 38 80 00 00 */ li r4, 0x0 /* 800B8EB8 000B4CF8 38 A0 00 00 */ li r5, 0x0 /* 800B8EBC 000B4CFC 93 A1 00 0C */ stw r29, 0xc(r1) /* 800B8EC0 000B4D00 38 C0 00 07 */ li r6, 0x7 /* 800B8EC4 000B4D04 38 E0 00 01 */ li r7, 0x1 /* 800B8EC8 000B4D08 39 00 00 00 */ li r8, 0x0 /* 800B8ECC 000B4D0C 39 20 00 00 */ li r9, 0x0 /* 800B8ED0 000B4D10 39 40 00 00 */ li r10, 0x0 /* 800B8ED4 000B4D14 4B F7 E8 9D */ bl GXSetTevIndirect .global lbl_800B8ED8 lbl_800B8ED8: /* 800B8ED8 000B4D18 57 5A 0E 3C */ rlwinm r26, r26, 1, 24, 30 /* 800B8EDC 000B4D1C 3B 7B 00 01 */ addi r27, r27, 0x1 .global lbl_800B8EE0 lbl_800B8EE0: /* 800B8EE0 000B4D20 88 1E 00 05 */ lbz r0, 0x5(r30) /* 800B8EE4 000B4D24 7C 1B 00 00 */ cmpw r27, r0 /* 800B8EE8 000B4D28 41 80 FF B8 */ blt lbl_800B8EA0 /* 800B8EEC 000B4D2C 48 00 00 0C */ b lbl_800B8EF8 .global lbl_800B8EF0 lbl_800B8EF0: /* 800B8EF0 000B4D30 38 60 00 00 */ li r3, 0x0 /* 800B8EF4 000B4D34 4B F7 EB FD */ bl GXSetNumIndStages .global lbl_800B8EF8 lbl_800B8EF8: /* 800B8EF8 000B4D38 A0 1E 00 00 */ lhz r0, 0x0(r30) /* 800B8EFC 000B4D3C 54 03 F7 FE */ extrwi r3, r0, 1, 29 /* 800B8F00 000B4D40 4B F7 F9 61 */ bl GXSetZCompLoc /* 800B8F04 000B4D44 38 60 00 00 */ li r3, 0x0 /* 800B8F08 000B4D48 4B F7 C6 59 */ bl GXSetCullMode /* 800B8F0C 000B4D4C 38 60 00 00 */ li r3, 0x0 /* 800B8F10 000B4D50 4B F7 C6 81 */ bl GXSetCoPlanar /* 800B8F14 000B4D54 88 7E 00 5C */ lbz r3, 0x5c(r30) /* 800B8F18 000B4D58 88 9E 00 5D */ lbz r4, 0x5d(r30) /* 800B8F1C 000B4D5C 88 BE 00 5E */ lbz r5, 0x5e(r30) /* 800B8F20 000B4D60 88 DE 00 5F */ lbz r6, 0x5f(r30) /* 800B8F24 000B4D64 4B F7 F8 0D */ bl GXSetBlendMode /* 800B8F28 000B4D68 A0 1E 00 00 */ lhz r0, 0x0(r30) /* 800B8F2C 000B4D6C 88 9E 00 70 */ lbz r4, 0x70(r30) /* 800B8F30 000B4D70 54 03 07 FE */ clrlwi r3, r0, 31 /* 800B8F34 000B4D74 54 05 FF FE */ extrwi r5, r0, 1, 30 /* 800B8F38 000B4D78 4B F7 F8 E9 */ bl GXSetZMode /* 800B8F3C 000B4D7C A0 1E 00 00 */ lhz r0, 0x0(r30) /* 800B8F40 000B4D80 54 00 04 E7 */ rlwinm. r0, r0, 0, 19, 19 /* 800B8F44 000B4D84 41 82 00 4C */ beq lbl_800B8F90 /* 800B8F48 000B4D88 88 DF 00 84 */ lbz r6, 0x84(r31) /* 800B8F4C 000B4D8C 38 81 00 14 */ addi r4, r1, 0x14 /* 800B8F50 000B4D90 88 7F 00 85 */ lbz r3, 0x85(r31) /* 800B8F54 000B4D94 88 BF 00 86 */ lbz r5, 0x86(r31) /* 800B8F58 000B4D98 88 1F 00 87 */ lbz r0, 0x87(r31) /* 800B8F5C 000B4D9C 98 61 00 19 */ stb r3, 0x19(r1) /* 800B8F60 000B4DA0 C0 3F 00 74 */ lfs f1, 0x74(r31) /* 800B8F64 000B4DA4 98 C1 00 18 */ stb r6, 0x18(r1) /* 800B8F68 000B4DA8 C0 5F 00 78 */ lfs f2, 0x78(r31) /* 800B8F6C 000B4DAC 98 A1 00 1A */ stb r5, 0x1a(r1) /* 800B8F70 000B4DB0 C0 7F 00 7C */ lfs f3, 0x7c(r31) /* 800B8F74 000B4DB4 98 01 00 1B */ stb r0, 0x1b(r1) /* 800B8F78 000B4DB8 C0 9F 00 80 */ lfs f4, 0x80(r31) /* 800B8F7C 000B4DBC 80 01 00 18 */ lwz r0, 0x18(r1) /* 800B8F80 000B4DC0 80 7F 00 70 */ lwz r3, 0x70(r31) /* 800B8F84 000B4DC4 90 01 00 14 */ stw r0, 0x14(r1) /* 800B8F88 000B4DC8 4B F7 F3 09 */ bl GXSetFog /* 800B8F8C 000B4DCC 48 00 00 28 */ b lbl_800B8FB4 .global lbl_800B8F90 lbl_800B8F90: /* 800B8F90 000B4DD0 C0 22 8D 6C */ lfs f1, "@9916"@sda21(r2) /* 800B8F94 000B4DD4 38 00 00 00 */ li r0, 0x0 /* 800B8F98 000B4DD8 C0 42 8D 70 */ lfs f2, "@9989"@sda21(r2) /* 800B8F9C 000B4DDC 38 81 00 10 */ addi r4, r1, 0x10 /* 800B8FA0 000B4DE0 FC 60 08 90 */ fmr f3, f1 /* 800B8FA4 000B4DE4 90 01 00 10 */ stw r0, 0x10(r1) /* 800B8FA8 000B4DE8 FC 80 10 90 */ fmr f4, f2 /* 800B8FAC 000B4DEC 38 60 00 00 */ li r3, 0x0 /* 800B8FB0 000B4DF0 4B F7 F2 E1 */ bl GXSetFog .global lbl_800B8FB4 lbl_800B8FB4: /* 800B8FB4 000B4DF4 39 61 00 40 */ addi r11, r1, 0x40 /* 800B8FB8 000B4DF8 4B F4 E3 C9 */ bl lbl_80007380 /* 800B8FBC 000B4DFC 80 01 00 44 */ lwz r0, 0x44(r1) /* 800B8FC0 000B4E00 7C 08 03 A6 */ mtlr r0 /* 800B8FC4 000B4E04 38 21 00 40 */ addi r1, r1, 0x40 /* 800B8FC8 000B4E08 4E 80 00 20 */ blr /* 800B8FCC 000B4E0C 00 00 00 00 */ .4byte 0x00000000 .global _InitColor__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo _InitColor__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfo: /* 800B8FD0 000B4E10 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800B8FD4 000B4E14 7C 08 02 A6 */ mflr r0 /* 800B8FD8 000B4E18 90 01 00 24 */ stw r0, 0x24(r1) /* 800B8FDC 000B4E1C 38 00 FF FF */ li r0, -0x1 /* 800B8FE0 000B4E20 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800B8FE4 000B4E24 7C BF 2B 78 */ mr r31, r5 /* 800B8FE8 000B4E28 93 C1 00 18 */ stw r30, 0x18(r1) /* 800B8FEC 000B4E2C 7C 7E 1B 78 */ mr r30, r3 /* 800B8FF0 000B4E30 93 A1 00 14 */ stw r29, 0x14(r1) /* 800B8FF4 000B4E34 7C DD 33 78 */ mr r29, r6 /* 800B8FF8 000B4E38 90 03 00 B0 */ stw r0, 0xb0(r3) /* 800B8FFC 000B4E3C 90 03 00 B4 */ stw r0, 0xb4(r3) /* 800B9000 000B4E40 38 60 00 01 */ li r3, 0x1 /* 800B9004 000B4E44 4B F7 D4 DD */ bl GXSetNumChans /* 800B9008 000B4E48 88 1D 00 60 */ lbz r0, 0x60(r29) /* 800B900C 000B4E4C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9010 000B4E50 40 82 00 28 */ bne lbl_800B9038 /* 800B9014 000B4E54 38 60 00 04 */ li r3, 0x4 /* 800B9018 000B4E58 38 80 00 00 */ li r4, 0x0 /* 800B901C 000B4E5C 38 A0 00 00 */ li r5, 0x0 /* 800B9020 000B4E60 38 C0 00 00 */ li r6, 0x0 /* 800B9024 000B4E64 38 E0 00 00 */ li r7, 0x0 /* 800B9028 000B4E68 39 00 00 00 */ li r8, 0x0 /* 800B902C 000B4E6C 39 20 00 02 */ li r9, 0x2 /* 800B9030 000B4E70 4B F7 D4 E1 */ bl GXSetChanCtrl /* 800B9034 000B4E74 48 00 00 C4 */ b lbl_800B90F8 .global lbl_800B9038 lbl_800B9038: /* 800B9038 000B4E78 88 1F 00 60 */ lbz r0, 0x60(r31) /* 800B903C 000B4E7C 28 00 00 01 */ cmplwi r0, 0x1 /* 800B9040 000B4E80 40 82 00 38 */ bne lbl_800B9078 /* 800B9044 000B4E84 88 1D 00 6C */ lbz r0, 0x6c(r29) /* 800B9048 000B4E88 38 60 00 00 */ li r3, 0x0 /* 800B904C 000B4E8C 80 FD 00 64 */ lwz r7, 0x64(r29) /* 800B9050 000B4E90 38 80 00 01 */ li r4, 0x1 /* 800B9054 000B4E94 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9058 000B4E98 38 A0 00 00 */ li r5, 0x0 /* 800B905C 000B4E9C 38 C0 00 00 */ li r6, 0x0 /* 800B9060 000B4EA0 39 00 00 00 */ li r8, 0x0 /* 800B9064 000B4EA4 39 20 00 02 */ li r9, 0x2 /* 800B9068 000B4EA8 41 82 00 08 */ beq lbl_800B9070 /* 800B906C 000B4EAC 39 20 00 01 */ li r9, 0x1 .global lbl_800B9070 lbl_800B9070: /* 800B9070 000B4EB0 4B F7 D4 A1 */ bl GXSetChanCtrl /* 800B9074 000B4EB4 48 00 00 24 */ b lbl_800B9098 .global lbl_800B9078 lbl_800B9078: /* 800B9078 000B4EB8 38 60 00 00 */ li r3, 0x0 /* 800B907C 000B4EBC 38 80 00 00 */ li r4, 0x0 /* 800B9080 000B4EC0 38 A0 00 00 */ li r5, 0x0 /* 800B9084 000B4EC4 38 C0 00 00 */ li r6, 0x0 /* 800B9088 000B4EC8 38 E0 00 00 */ li r7, 0x0 /* 800B908C 000B4ECC 39 00 00 00 */ li r8, 0x0 /* 800B9090 000B4ED0 39 20 00 02 */ li r9, 0x2 /* 800B9094 000B4ED4 4B F7 D4 7D */ bl GXSetChanCtrl .global lbl_800B9098 lbl_800B9098: /* 800B9098 000B4ED8 88 1F 00 68 */ lbz r0, 0x68(r31) /* 800B909C 000B4EDC 28 00 00 01 */ cmplwi r0, 0x1 /* 800B90A0 000B4EE0 40 82 00 38 */ bne lbl_800B90D8 /* 800B90A4 000B4EE4 88 1D 00 6C */ lbz r0, 0x6c(r29) /* 800B90A8 000B4EE8 38 60 00 02 */ li r3, 0x2 /* 800B90AC 000B4EEC 80 FD 00 68 */ lwz r7, 0x68(r29) /* 800B90B0 000B4EF0 38 80 00 01 */ li r4, 0x1 /* 800B90B4 000B4EF4 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B90B8 000B4EF8 38 A0 00 00 */ li r5, 0x0 /* 800B90BC 000B4EFC 38 C0 00 00 */ li r6, 0x0 /* 800B90C0 000B4F00 39 00 00 00 */ li r8, 0x0 /* 800B90C4 000B4F04 39 20 00 02 */ li r9, 0x2 /* 800B90C8 000B4F08 41 82 00 08 */ beq lbl_800B90D0 /* 800B90CC 000B4F0C 39 20 00 01 */ li r9, 0x1 .global lbl_800B90D0 lbl_800B90D0: /* 800B90D0 000B4F10 4B F7 D4 41 */ bl GXSetChanCtrl /* 800B90D4 000B4F14 48 00 00 24 */ b lbl_800B90F8 .global lbl_800B90D8 lbl_800B90D8: /* 800B90D8 000B4F18 38 60 00 02 */ li r3, 0x2 /* 800B90DC 000B4F1C 38 80 00 00 */ li r4, 0x0 /* 800B90E0 000B4F20 38 A0 00 00 */ li r5, 0x0 /* 800B90E4 000B4F24 38 C0 00 00 */ li r6, 0x0 /* 800B90E8 000B4F28 38 E0 00 00 */ li r7, 0x0 /* 800B90EC 000B4F2C 39 00 00 00 */ li r8, 0x0 /* 800B90F0 000B4F30 39 20 00 02 */ li r9, 0x2 /* 800B90F4 000B4F34 4B F7 D4 1D */ bl GXSetChanCtrl .global lbl_800B90F8 lbl_800B90F8: /* 800B90F8 000B4F38 38 60 00 05 */ li r3, 0x5 /* 800B90FC 000B4F3C 38 80 00 00 */ li r4, 0x0 /* 800B9100 000B4F40 38 A0 00 00 */ li r5, 0x0 /* 800B9104 000B4F44 38 C0 00 00 */ li r6, 0x0 /* 800B9108 000B4F48 38 E0 00 00 */ li r7, 0x0 /* 800B910C 000B4F4C 39 00 00 00 */ li r8, 0x0 /* 800B9110 000B4F50 39 20 00 02 */ li r9, 0x2 /* 800B9114 000B4F54 4B F7 D3 FD */ bl GXSetChanCtrl /* 800B9118 000B4F58 80 1D 00 98 */ lwz r0, 0x98(r29) /* 800B911C 000B4F5C 38 81 00 0C */ addi r4, r1, 0xc /* 800B9120 000B4F60 90 01 00 0C */ stw r0, 0xc(r1) /* 800B9124 000B4F64 38 60 00 04 */ li r3, 0x4 /* 800B9128 000B4F68 4B F7 D2 D9 */ bl GXSetChanMatColor /* 800B912C 000B4F6C 80 1D 00 9C */ lwz r0, 0x9c(r29) /* 800B9130 000B4F70 38 81 00 08 */ addi r4, r1, 0x8 /* 800B9134 000B4F74 90 01 00 08 */ stw r0, 0x8(r1) /* 800B9138 000B4F78 38 60 00 04 */ li r3, 0x4 /* 800B913C 000B4F7C 4B F7 D1 E5 */ bl GXSetChanAmbColor /* 800B9140 000B4F80 38 00 00 03 */ li r0, 0x3 /* 800B9144 000B4F84 38 80 00 00 */ li r4, 0x0 /* 800B9148 000B4F88 98 9E 00 B8 */ stb r4, 0xb8(r30) /* 800B914C 000B4F8C 38 A0 00 00 */ li r5, 0x0 /* 800B9150 000B4F90 38 60 00 01 */ li r3, 0x1 /* 800B9154 000B4F94 98 9E 00 B9 */ stb r4, 0xb9(r30) /* 800B9158 000B4F98 98 9E 00 BA */ stb r4, 0xba(r30) /* 800B915C 000B4F9C 98 9E 00 BB */ stb r4, 0xbb(r30) /* 800B9160 000B4FA0 98 9E 00 BC */ stb r4, 0xbc(r30) /* 800B9164 000B4FA4 98 9E 00 BD */ stb r4, 0xbd(r30) /* 800B9168 000B4FA8 98 9E 00 BE */ stb r4, 0xbe(r30) /* 800B916C 000B4FAC 98 9E 00 BF */ stb r4, 0xbf(r30) /* 800B9170 000B4FB0 7C 09 03 A6 */ mtctr r0 /* 800B9174 000B4FB4 60 00 00 00 */ nop .global lbl_800B9178 lbl_800B9178: /* 800B9178 000B4FB8 7C 9F 2A 14 */ add r4, r31, r5 /* 800B917C 000B4FBC 88 04 00 61 */ lbz r0, 0x61(r4) /* 800B9180 000B4FC0 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B9184 000B4FC4 41 82 00 30 */ beq lbl_800B91B4 /* 800B9188 000B4FC8 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B918C 000B4FCC 41 82 00 30 */ beq lbl_800B91BC /* 800B9190 000B4FD0 2C 00 00 05 */ cmpwi r0, 0x5 /* 800B9194 000B4FD4 41 82 00 30 */ beq lbl_800B91C4 /* 800B9198 000B4FD8 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B919C 000B4FDC 41 82 00 34 */ beq lbl_800B91D0 /* 800B91A0 000B4FE0 2C 00 00 04 */ cmpwi r0, 0x4 /* 800B91A4 000B4FE4 41 82 00 34 */ beq lbl_800B91D8 /* 800B91A8 000B4FE8 2C 00 00 06 */ cmpwi r0, 0x6 /* 800B91AC 000B4FEC 41 82 00 34 */ beq lbl_800B91E0 /* 800B91B0 000B4FF0 48 00 00 38 */ b lbl_800B91E8 .global lbl_800B91B4 lbl_800B91B4: /* 800B91B4 000B4FF4 98 7E 00 B8 */ stb r3, 0xb8(r30) /* 800B91B8 000B4FF8 48 00 00 30 */ b lbl_800B91E8 .global lbl_800B91BC lbl_800B91BC: /* 800B91BC 000B4FFC 98 7E 00 B9 */ stb r3, 0xb9(r30) /* 800B91C0 000B5000 48 00 00 28 */ b lbl_800B91E8 .global lbl_800B91C4 lbl_800B91C4: /* 800B91C4 000B5004 98 7E 00 B8 */ stb r3, 0xb8(r30) /* 800B91C8 000B5008 98 7E 00 B9 */ stb r3, 0xb9(r30) /* 800B91CC 000B500C 48 00 00 1C */ b lbl_800B91E8 .global lbl_800B91D0 lbl_800B91D0: /* 800B91D0 000B5010 98 7E 00 BA */ stb r3, 0xba(r30) /* 800B91D4 000B5014 48 00 00 14 */ b lbl_800B91E8 .global lbl_800B91D8 lbl_800B91D8: /* 800B91D8 000B5018 98 7E 00 BB */ stb r3, 0xbb(r30) /* 800B91DC 000B501C 48 00 00 0C */ b lbl_800B91E8 .global lbl_800B91E0 lbl_800B91E0: /* 800B91E0 000B5020 98 7E 00 BA */ stb r3, 0xba(r30) /* 800B91E4 000B5024 98 7E 00 BB */ stb r3, 0xbb(r30) .global lbl_800B91E8 lbl_800B91E8: /* 800B91E8 000B5028 88 04 00 69 */ lbz r0, 0x69(r4) /* 800B91EC 000B502C 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B91F0 000B5030 41 82 00 30 */ beq lbl_800B9220 /* 800B91F4 000B5034 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B91F8 000B5038 41 82 00 30 */ beq lbl_800B9228 /* 800B91FC 000B503C 2C 00 00 05 */ cmpwi r0, 0x5 /* 800B9200 000B5040 41 82 00 30 */ beq lbl_800B9230 /* 800B9204 000B5044 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B9208 000B5048 41 82 00 34 */ beq lbl_800B923C /* 800B920C 000B504C 2C 00 00 04 */ cmpwi r0, 0x4 /* 800B9210 000B5050 41 82 00 34 */ beq lbl_800B9244 /* 800B9214 000B5054 2C 00 00 06 */ cmpwi r0, 0x6 /* 800B9218 000B5058 41 82 00 34 */ beq lbl_800B924C /* 800B921C 000B505C 48 00 00 38 */ b lbl_800B9254 .global lbl_800B9220 lbl_800B9220: /* 800B9220 000B5060 98 7E 00 BC */ stb r3, 0xbc(r30) /* 800B9224 000B5064 48 00 00 30 */ b lbl_800B9254 .global lbl_800B9228 lbl_800B9228: /* 800B9228 000B5068 98 7E 00 BD */ stb r3, 0xbd(r30) /* 800B922C 000B506C 48 00 00 28 */ b lbl_800B9254 .global lbl_800B9230 lbl_800B9230: /* 800B9230 000B5070 98 7E 00 BC */ stb r3, 0xbc(r30) /* 800B9234 000B5074 98 7E 00 BD */ stb r3, 0xbd(r30) /* 800B9238 000B5078 48 00 00 1C */ b lbl_800B9254 .global lbl_800B923C lbl_800B923C: /* 800B923C 000B507C 98 7E 00 BE */ stb r3, 0xbe(r30) /* 800B9240 000B5080 48 00 00 14 */ b lbl_800B9254 .global lbl_800B9244 lbl_800B9244: /* 800B9244 000B5084 98 7E 00 BF */ stb r3, 0xbf(r30) /* 800B9248 000B5088 48 00 00 0C */ b lbl_800B9254 .global lbl_800B924C lbl_800B924C: /* 800B924C 000B508C 98 7E 00 BE */ stb r3, 0xbe(r30) /* 800B9250 000B5090 98 7E 00 BF */ stb r3, 0xbf(r30) .global lbl_800B9254 lbl_800B9254: /* 800B9254 000B5094 38 A5 00 01 */ addi r5, r5, 0x1 /* 800B9258 000B5098 42 00 FF 20 */ bdnz lbl_800B9178 /* 800B925C 000B509C 38 00 00 04 */ li r0, 0x4 /* 800B9260 000B50A0 38 A0 00 00 */ li r5, 0x0 /* 800B9264 000B50A4 38 60 00 01 */ li r3, 0x1 /* 800B9268 000B50A8 7C 09 03 A6 */ mtctr r0 /* 800B926C 000B50AC 60 00 00 00 */ nop .global lbl_800B9270 lbl_800B9270: /* 800B9270 000B50B0 7C 9F 2A 14 */ add r4, r31, r5 /* 800B9274 000B50B4 88 04 00 64 */ lbz r0, 0x64(r4) /* 800B9278 000B50B8 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B927C 000B50BC 41 82 00 30 */ beq lbl_800B92AC /* 800B9280 000B50C0 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B9284 000B50C4 41 82 00 30 */ beq lbl_800B92B4 /* 800B9288 000B50C8 2C 00 00 05 */ cmpwi r0, 0x5 /* 800B928C 000B50CC 41 82 00 30 */ beq lbl_800B92BC /* 800B9290 000B50D0 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B9294 000B50D4 41 82 00 34 */ beq lbl_800B92C8 /* 800B9298 000B50D8 2C 00 00 04 */ cmpwi r0, 0x4 /* 800B929C 000B50DC 41 82 00 34 */ beq lbl_800B92D0 /* 800B92A0 000B50E0 2C 00 00 06 */ cmpwi r0, 0x6 /* 800B92A4 000B50E4 41 82 00 34 */ beq lbl_800B92D8 /* 800B92A8 000B50E8 48 00 00 38 */ b lbl_800B92E0 .global lbl_800B92AC lbl_800B92AC: /* 800B92AC 000B50EC 98 7E 00 B8 */ stb r3, 0xb8(r30) /* 800B92B0 000B50F0 48 00 00 30 */ b lbl_800B92E0 .global lbl_800B92B4 lbl_800B92B4: /* 800B92B4 000B50F4 98 7E 00 B9 */ stb r3, 0xb9(r30) /* 800B92B8 000B50F8 48 00 00 28 */ b lbl_800B92E0 .global lbl_800B92BC lbl_800B92BC: /* 800B92BC 000B50FC 98 7E 00 B8 */ stb r3, 0xb8(r30) /* 800B92C0 000B5100 98 7E 00 B9 */ stb r3, 0xb9(r30) /* 800B92C4 000B5104 48 00 00 1C */ b lbl_800B92E0 .global lbl_800B92C8 lbl_800B92C8: /* 800B92C8 000B5108 98 7E 00 BA */ stb r3, 0xba(r30) /* 800B92CC 000B510C 48 00 00 14 */ b lbl_800B92E0 .global lbl_800B92D0 lbl_800B92D0: /* 800B92D0 000B5110 98 7E 00 BB */ stb r3, 0xbb(r30) /* 800B92D4 000B5114 48 00 00 0C */ b lbl_800B92E0 .global lbl_800B92D8 lbl_800B92D8: /* 800B92D8 000B5118 98 7E 00 BA */ stb r3, 0xba(r30) /* 800B92DC 000B511C 98 7E 00 BB */ stb r3, 0xbb(r30) .global lbl_800B92E0 lbl_800B92E0: /* 800B92E0 000B5120 88 04 00 6C */ lbz r0, 0x6c(r4) /* 800B92E4 000B5124 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B92E8 000B5128 41 82 00 30 */ beq lbl_800B9318 /* 800B92EC 000B512C 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B92F0 000B5130 41 82 00 30 */ beq lbl_800B9320 /* 800B92F4 000B5134 2C 00 00 05 */ cmpwi r0, 0x5 /* 800B92F8 000B5138 41 82 00 30 */ beq lbl_800B9328 /* 800B92FC 000B513C 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B9300 000B5140 41 82 00 34 */ beq lbl_800B9334 /* 800B9304 000B5144 2C 00 00 04 */ cmpwi r0, 0x4 /* 800B9308 000B5148 41 82 00 34 */ beq lbl_800B933C /* 800B930C 000B514C 2C 00 00 06 */ cmpwi r0, 0x6 /* 800B9310 000B5150 41 82 00 34 */ beq lbl_800B9344 /* 800B9314 000B5154 48 00 00 38 */ b lbl_800B934C .global lbl_800B9318 lbl_800B9318: /* 800B9318 000B5158 98 7E 00 BC */ stb r3, 0xbc(r30) /* 800B931C 000B515C 48 00 00 30 */ b lbl_800B934C .global lbl_800B9320 lbl_800B9320: /* 800B9320 000B5160 98 7E 00 BD */ stb r3, 0xbd(r30) /* 800B9324 000B5164 48 00 00 28 */ b lbl_800B934C .global lbl_800B9328 lbl_800B9328: /* 800B9328 000B5168 98 7E 00 BC */ stb r3, 0xbc(r30) /* 800B932C 000B516C 98 7E 00 BD */ stb r3, 0xbd(r30) /* 800B9330 000B5170 48 00 00 1C */ b lbl_800B934C .global lbl_800B9334 lbl_800B9334: /* 800B9334 000B5174 98 7E 00 BE */ stb r3, 0xbe(r30) /* 800B9338 000B5178 48 00 00 14 */ b lbl_800B934C .global lbl_800B933C lbl_800B933C: /* 800B933C 000B517C 98 7E 00 BF */ stb r3, 0xbf(r30) /* 800B9340 000B5180 48 00 00 0C */ b lbl_800B934C .global lbl_800B9344 lbl_800B9344: /* 800B9344 000B5184 98 7E 00 BE */ stb r3, 0xbe(r30) /* 800B9348 000B5188 98 7E 00 BF */ stb r3, 0xbf(r30) .global lbl_800B934C lbl_800B934C: /* 800B934C 000B518C 38 A5 00 01 */ addi r5, r5, 0x1 /* 800B9350 000B5190 42 00 FF 20 */ bdnz lbl_800B9270 /* 800B9354 000B5194 80 01 00 24 */ lwz r0, 0x24(r1) /* 800B9358 000B5198 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800B935C 000B519C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800B9360 000B51A0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 800B9364 000B51A4 7C 08 03 A6 */ mtlr r0 /* 800B9368 000B51A8 38 21 00 20 */ addi r1, r1, 0x20 /* 800B936C 000B51AC 4E 80 00 20 */ blr .global SetupGP__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfobb SetupGP__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfobb: /* 800B9370 000B51B0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 800B9374 000B51B4 7C 08 02 A6 */ mflr r0 /* 800B9378 000B51B8 90 01 00 64 */ stw r0, 0x64(r1) /* 800B937C 000B51BC 39 61 00 60 */ addi r11, r1, 0x60 /* 800B9380 000B51C0 4B F4 DF B9 */ bl lbl_80007338 /* 800B9384 000B51C4 2C 07 00 00 */ cmpwi r7, 0x0 /* 800B9388 000B51C8 7C 7A 1B 78 */ mr r26, r3 /* 800B938C 000B51CC 7C 9B 23 78 */ mr r27, r4 /* 800B9390 000B51D0 7C BC 2B 78 */ mr r28, r5 /* 800B9394 000B51D4 7C DD 33 78 */ mr r29, r6 /* 800B9398 000B51D8 7C FE 3B 78 */ mr r30, r7 /* 800B939C 000B51DC 7D 1F 43 78 */ mr r31, r8 /* 800B93A0 000B51E0 40 82 00 18 */ bne lbl_800B93B8 /* 800B93A4 000B51E4 88 04 00 97 */ lbz r0, 0x97(r4) /* 800B93A8 000B51E8 80 C3 00 B0 */ lwz r6, 0xb0(r3) /* 800B93AC 000B51EC 7C 06 00 00 */ cmpw r6, r0 /* 800B93B0 000B51F0 40 82 00 08 */ bne lbl_800B93B8 /* 800B93B4 000B51F4 41 82 00 34 */ beq lbl_800B93E8 .global lbl_800B93B8 lbl_800B93B8: /* 800B93B8 000B51F8 88 04 00 97 */ lbz r0, 0x97(r4) /* 800B93BC 000B51FC 90 03 00 B0 */ stw r0, 0xb0(r3) /* 800B93C0 000B5200 88 04 00 97 */ lbz r0, 0x97(r4) /* 800B93C4 000B5204 90 03 00 B4 */ stw r0, 0xb4(r3) /* 800B93C8 000B5208 88 65 00 02 */ lbz r3, 0x2(r5) /* 800B93CC 000B520C 88 84 00 97 */ lbz r4, 0x97(r4) /* 800B93D0 000B5210 88 A5 00 04 */ lbz r5, 0x4(r5) /* 800B93D4 000B5214 88 DC 00 03 */ lbz r6, 0x3(r28) /* 800B93D8 000B5218 88 FB 00 98 */ lbz r7, 0x98(r27) /* 800B93DC 000B521C 4B F7 EC 55 */ bl GXSetAlphaCompare /* 800B93E0 000B5220 38 00 00 01 */ li r0, 0x1 /* 800B93E4 000B5224 48 00 00 08 */ b lbl_800B93EC .global lbl_800B93E8 lbl_800B93E8: /* 800B93E8 000B5228 38 00 00 00 */ li r0, 0x0 .global lbl_800B93EC lbl_800B93EC: /* 800B93EC 000B522C 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B93F0 000B5230 3B E0 00 00 */ li r31, 0x0 /* 800B93F4 000B5234 40 82 00 0C */ bne lbl_800B9400 /* 800B93F8 000B5238 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B93FC 000B523C 41 82 00 08 */ beq lbl_800B9404 .global lbl_800B9400 lbl_800B9400: /* 800B9400 000B5240 3B E0 00 01 */ li r31, 0x1 .global lbl_800B9404 lbl_800B9404: /* 800B9404 000B5244 7F 43 D3 78 */ mr r3, r26 /* 800B9408 000B5248 7F 64 DB 78 */ mr r4, r27 /* 800B940C 000B524C 7F 85 E3 78 */ mr r5, r28 /* 800B9410 000B5250 7F C6 F3 78 */ mr r6, r30 /* 800B9414 000B5254 48 00 05 2D */ bl _SetupTevReg__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingb /* 800B9418 000B5258 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B941C 000B525C 3B E0 00 00 */ li r31, 0x0 /* 800B9420 000B5260 40 82 00 0C */ bne lbl_800B942C /* 800B9424 000B5264 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9428 000B5268 41 82 00 08 */ beq lbl_800B9430 .global lbl_800B942C lbl_800B942C: /* 800B942C 000B526C 3B E0 00 01 */ li r31, 0x1 .global lbl_800B9430 lbl_800B9430: /* 800B9430 000B5270 7F 43 D3 78 */ mr r3, r26 /* 800B9434 000B5274 7F 64 DB 78 */ mr r4, r27 /* 800B9438 000B5278 7F 85 E3 78 */ mr r5, r28 /* 800B943C 000B527C 7F A6 EB 78 */ mr r6, r29 /* 800B9440 000B5280 7F C7 F3 78 */ mr r7, r30 /* 800B9444 000B5284 48 00 0C 9D */ bl _SetupTexture__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfob /* 800B9448 000B5288 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B944C 000B528C 38 80 00 00 */ li r4, 0x0 /* 800B9450 000B5290 41 82 00 10 */ beq lbl_800B9460 /* 800B9454 000B5294 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9458 000B5298 40 82 00 08 */ bne lbl_800B9460 /* 800B945C 000B529C 38 80 00 01 */ li r4, 0x1 .global lbl_800B9460 lbl_800B9460: /* 800B9460 000B52A0 A0 1C 00 00 */ lhz r0, 0x0(r28) /* 800B9464 000B52A4 54 00 07 39 */ rlwinm. r0, r0, 0, 28, 28 /* 800B9468 000B52A8 40 82 04 BC */ bne lbl_800B9924 /* 800B946C 000B52AC 80 7B 00 C8 */ lwz r3, 0xc8(r27) /* 800B9470 000B52B0 80 63 00 20 */ lwz r3, 0x20(r3) /* 800B9474 000B52B4 80 63 00 BC */ lwz r3, 0xbc(r3) /* 800B9478 000B52B8 80 63 00 20 */ lwz r3, 0x20(r3) /* 800B947C 000B52BC 3C 63 00 01 */ addis r3, r3, 0x1 /* 800B9480 000B52C0 88 03 C0 64 */ lbz r0, -0x3f9c(r3) /* 800B9484 000B52C4 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9488 000B52C8 40 82 00 08 */ bne lbl_800B9490 /* 800B948C 000B52CC 48 00 04 98 */ b lbl_800B9924 .global lbl_800B9490 lbl_800B9490: /* 800B9490 000B52D0 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B9494 000B52D4 41 82 04 90 */ beq lbl_800B9924 /* 800B9498 000B52D8 38 81 00 24 */ addi r4, r1, 0x24 /* 800B949C 000B52DC 38 60 00 09 */ li r3, 0x9 /* 800B94A0 000B52E0 4B F7 A7 51 */ bl GXGetVtxDesc /* 800B94A4 000B52E4 38 81 00 18 */ addi r4, r1, 0x18 /* 800B94A8 000B52E8 38 60 00 0A */ li r3, 0xa /* 800B94AC 000B52EC 4B F7 A7 45 */ bl GXGetVtxDesc /* 800B94B0 000B52F0 38 81 00 30 */ addi r4, r1, 0x30 /* 800B94B4 000B52F4 38 60 00 0B */ li r3, 0xb /* 800B94B8 000B52F8 4B F7 A7 39 */ bl GXGetVtxDesc /* 800B94BC 000B52FC 38 81 00 3C */ addi r4, r1, 0x3c /* 800B94C0 000B5300 38 60 00 0C */ li r3, 0xc /* 800B94C4 000B5304 4B F7 A7 2D */ bl GXGetVtxDesc /* 800B94C8 000B5308 38 81 00 0C */ addi r4, r1, 0xc /* 800B94CC 000B530C 38 60 00 0D */ li r3, 0xd /* 800B94D0 000B5310 4B F7 A7 21 */ bl GXGetVtxDesc /* 800B94D4 000B5314 38 A1 00 28 */ addi r5, r1, 0x28 /* 800B94D8 000B5318 38 C1 00 2C */ addi r6, r1, 0x2c /* 800B94DC 000B531C 38 E1 00 08 */ addi r7, r1, 0x8 /* 800B94E0 000B5320 38 60 00 00 */ li r3, 0x0 /* 800B94E4 000B5324 38 80 00 09 */ li r4, 0x9 /* 800B94E8 000B5328 4B F7 AC F9 */ bl GXGetVtxAttrFmt /* 800B94EC 000B532C 38 A1 00 1C */ addi r5, r1, 0x1c /* 800B94F0 000B5330 38 C1 00 20 */ addi r6, r1, 0x20 /* 800B94F4 000B5334 38 E1 00 08 */ addi r7, r1, 0x8 /* 800B94F8 000B5338 38 60 00 00 */ li r3, 0x0 /* 800B94FC 000B533C 38 80 00 0A */ li r4, 0xa /* 800B9500 000B5340 4B F7 AC E1 */ bl GXGetVtxAttrFmt /* 800B9504 000B5344 38 A1 00 34 */ addi r5, r1, 0x34 /* 800B9508 000B5348 38 C1 00 38 */ addi r6, r1, 0x38 /* 800B950C 000B534C 38 E1 00 08 */ addi r7, r1, 0x8 /* 800B9510 000B5350 38 60 00 00 */ li r3, 0x0 /* 800B9514 000B5354 38 80 00 0B */ li r4, 0xb /* 800B9518 000B5358 4B F7 AC C9 */ bl GXGetVtxAttrFmt /* 800B951C 000B535C 38 A1 00 40 */ addi r5, r1, 0x40 /* 800B9520 000B5360 38 C1 00 44 */ addi r6, r1, 0x44 /* 800B9524 000B5364 38 E1 00 08 */ addi r7, r1, 0x8 /* 800B9528 000B5368 38 60 00 00 */ li r3, 0x0 /* 800B952C 000B536C 38 80 00 0C */ li r4, 0xc /* 800B9530 000B5370 4B F7 AC B1 */ bl GXGetVtxAttrFmt /* 800B9534 000B5374 38 A1 00 10 */ addi r5, r1, 0x10 /* 800B9538 000B5378 38 C1 00 14 */ addi r6, r1, 0x14 /* 800B953C 000B537C 38 E1 00 08 */ addi r7, r1, 0x8 /* 800B9540 000B5380 38 60 00 00 */ li r3, 0x0 /* 800B9544 000B5384 38 80 00 0D */ li r4, 0xd /* 800B9548 000B5388 4B F7 AC 99 */ bl GXGetVtxAttrFmt /* 800B954C 000B538C 38 60 00 98 */ li r3, 0x98 /* 800B9550 000B5390 38 80 00 00 */ li r4, 0x0 /* 800B9554 000B5394 38 A0 00 08 */ li r5, 0x8 /* 800B9558 000B5398 4B F7 BD 19 */ bl GXBegin /* 800B955C 000B539C 38 00 00 08 */ li r0, 0x8 /* 800B9560 000B53A0 80 A1 00 24 */ lwz r5, 0x24(r1) /* 800B9564 000B53A4 80 C1 00 28 */ lwz r6, 0x28(r1) /* 800B9568 000B53A8 38 80 00 00 */ li r4, 0x0 /* 800B956C 000B53AC 80 E1 00 2C */ lwz r7, 0x2c(r1) /* 800B9570 000B53B0 3C 60 CC 01 */ lis r3, 0xCC008000@ha /* 800B9574 000B53B4 81 01 00 18 */ lwz r8, 0x18(r1) /* 800B9578 000B53B8 81 21 00 1C */ lwz r9, 0x1c(r1) /* 800B957C 000B53BC 81 41 00 20 */ lwz r10, 0x20(r1) /* 800B9580 000B53C0 81 61 00 0C */ lwz r11, 0xc(r1) /* 800B9584 000B53C4 81 81 00 10 */ lwz r12, 0x10(r1) /* 800B9588 000B53C8 83 E1 00 14 */ lwz r31, 0x14(r1) /* 800B958C 000B53CC 7C 09 03 A6 */ mtctr r0 .global lbl_800B9590 lbl_800B9590: /* 800B9590 000B53D0 2C 05 00 01 */ cmpwi r5, 0x1 /* 800B9594 000B53D4 41 82 00 18 */ beq lbl_800B95AC /* 800B9598 000B53D8 2C 05 00 02 */ cmpwi r5, 0x2 /* 800B959C 000B53DC 41 82 01 1C */ beq lbl_800B96B8 /* 800B95A0 000B53E0 2C 05 00 03 */ cmpwi r5, 0x3 /* 800B95A4 000B53E4 41 82 01 1C */ beq lbl_800B96C0 /* 800B95A8 000B53E8 48 00 01 1C */ b lbl_800B96C4 .global lbl_800B95AC lbl_800B95AC: /* 800B95AC 000B53EC 2C 06 00 01 */ cmpwi r6, 0x1 /* 800B95B0 000B53F0 41 82 00 10 */ beq lbl_800B95C0 /* 800B95B4 000B53F4 2C 06 00 00 */ cmpwi r6, 0x0 /* 800B95B8 000B53F8 41 82 00 90 */ beq lbl_800B9648 /* 800B95BC 000B53FC 48 00 01 08 */ b lbl_800B96C4 .global lbl_800B95C0 lbl_800B95C0: /* 800B95C0 000B5400 2C 07 00 00 */ cmpwi r7, 0x0 /* 800B95C4 000B5404 41 82 00 28 */ beq lbl_800B95EC /* 800B95C8 000B5408 2C 07 00 01 */ cmpwi r7, 0x1 /* 800B95CC 000B540C 41 82 00 30 */ beq lbl_800B95FC /* 800B95D0 000B5410 2C 07 00 02 */ cmpwi r7, 0x2 /* 800B95D4 000B5414 41 82 00 38 */ beq lbl_800B960C /* 800B95D8 000B5418 2C 07 00 03 */ cmpwi r7, 0x3 /* 800B95DC 000B541C 41 82 00 40 */ beq lbl_800B961C /* 800B95E0 000B5420 2C 07 00 04 */ cmpwi r7, 0x4 /* 800B95E4 000B5424 41 82 00 48 */ beq lbl_800B962C /* 800B95E8 000B5428 48 00 00 DC */ b lbl_800B96C4 .global lbl_800B95EC lbl_800B95EC: /* 800B95EC 000B542C 98 83 80 00 */ stb r4, 0xCC008000@l(r3) /* 800B95F0 000B5430 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B95F4 000B5434 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B95F8 000B5438 48 00 00 CC */ b lbl_800B96C4 .global lbl_800B95FC lbl_800B95FC: /* 800B95FC 000B543C 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9600 000B5440 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9604 000B5444 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9608 000B5448 48 00 00 BC */ b lbl_800B96C4 .global lbl_800B960C lbl_800B960C: /* 800B960C 000B544C B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9610 000B5450 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9614 000B5454 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9618 000B5458 48 00 00 AC */ b lbl_800B96C4 .global lbl_800B961C lbl_800B961C: /* 800B961C 000B545C B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9620 000B5460 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9624 000B5464 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9628 000B5468 48 00 00 9C */ b lbl_800B96C4 .global lbl_800B962C lbl_800B962C: /* 800B962C 000B546C C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B9630 000B5470 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B9634 000B5474 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B9638 000B5478 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B963C 000B547C C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B9640 000B5480 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B9644 000B5484 48 00 00 80 */ b lbl_800B96C4 .global lbl_800B9648 lbl_800B9648: /* 800B9648 000B5488 2C 07 00 00 */ cmpwi r7, 0x0 /* 800B964C 000B548C 41 82 00 28 */ beq lbl_800B9674 /* 800B9650 000B5490 2C 07 00 01 */ cmpwi r7, 0x1 /* 800B9654 000B5494 41 82 00 2C */ beq lbl_800B9680 /* 800B9658 000B5498 2C 07 00 02 */ cmpwi r7, 0x2 /* 800B965C 000B549C 41 82 00 30 */ beq lbl_800B968C /* 800B9660 000B54A0 2C 07 00 03 */ cmpwi r7, 0x3 /* 800B9664 000B54A4 41 82 00 34 */ beq lbl_800B9698 /* 800B9668 000B54A8 2C 07 00 04 */ cmpwi r7, 0x4 /* 800B966C 000B54AC 41 82 00 38 */ beq lbl_800B96A4 /* 800B9670 000B54B0 48 00 00 54 */ b lbl_800B96C4 .global lbl_800B9674 lbl_800B9674: /* 800B9674 000B54B4 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9678 000B54B8 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B967C 000B54BC 48 00 00 48 */ b lbl_800B96C4 .global lbl_800B9680 lbl_800B9680: /* 800B9680 000B54C0 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9684 000B54C4 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9688 000B54C8 48 00 00 3C */ b lbl_800B96C4 .global lbl_800B968C lbl_800B968C: /* 800B968C 000B54CC B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9690 000B54D0 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9694 000B54D4 48 00 00 30 */ b lbl_800B96C4 .global lbl_800B9698 lbl_800B9698: /* 800B9698 000B54D8 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B969C 000B54DC B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B96A0 000B54E0 48 00 00 24 */ b lbl_800B96C4 .global lbl_800B96A4 lbl_800B96A4: /* 800B96A4 000B54E4 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B96A8 000B54E8 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B96AC 000B54EC C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B96B0 000B54F0 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B96B4 000B54F4 48 00 00 10 */ b lbl_800B96C4 .global lbl_800B96B8 lbl_800B96B8: /* 800B96B8 000B54F8 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B96BC 000B54FC 48 00 00 08 */ b lbl_800B96C4 .global lbl_800B96C0 lbl_800B96C0: /* 800B96C0 000B5500 B0 83 80 00 */ sth r4, -0x8000(r3) .global lbl_800B96C4 lbl_800B96C4: /* 800B96C4 000B5504 2C 08 00 01 */ cmpwi r8, 0x1 /* 800B96C8 000B5508 41 82 00 18 */ beq lbl_800B96E0 /* 800B96CC 000B550C 2C 08 00 02 */ cmpwi r8, 0x2 /* 800B96D0 000B5510 41 82 00 70 */ beq lbl_800B9740 /* 800B96D4 000B5514 2C 08 00 03 */ cmpwi r8, 0x3 /* 800B96D8 000B5518 41 82 00 70 */ beq lbl_800B9748 /* 800B96DC 000B551C 48 00 00 70 */ b lbl_800B974C .global lbl_800B96E0 lbl_800B96E0: /* 800B96E0 000B5520 2C 09 00 00 */ cmpwi r9, 0x0 /* 800B96E4 000B5524 40 82 00 68 */ bne lbl_800B974C /* 800B96E8 000B5528 2C 0A 00 01 */ cmpwi r10, 0x1 /* 800B96EC 000B552C 41 82 00 18 */ beq lbl_800B9704 /* 800B96F0 000B5530 2C 0A 00 03 */ cmpwi r10, 0x3 /* 800B96F4 000B5534 41 82 00 20 */ beq lbl_800B9714 /* 800B96F8 000B5538 2C 0A 00 04 */ cmpwi r10, 0x4 /* 800B96FC 000B553C 41 82 00 28 */ beq lbl_800B9724 /* 800B9700 000B5540 48 00 00 4C */ b lbl_800B974C .global lbl_800B9704 lbl_800B9704: /* 800B9704 000B5544 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9708 000B5548 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B970C 000B554C 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9710 000B5550 48 00 00 3C */ b lbl_800B974C .global lbl_800B9714 lbl_800B9714: /* 800B9714 000B5554 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9718 000B5558 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B971C 000B555C B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9720 000B5560 48 00 00 2C */ b lbl_800B974C .global lbl_800B9724 lbl_800B9724: /* 800B9724 000B5564 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B9728 000B5568 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B972C 000B556C C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B9730 000B5570 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B9734 000B5574 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B9738 000B5578 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B973C 000B557C 48 00 00 10 */ b lbl_800B974C .global lbl_800B9740 lbl_800B9740: /* 800B9740 000B5580 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9744 000B5584 48 00 00 08 */ b lbl_800B974C .global lbl_800B9748 lbl_800B9748: /* 800B9748 000B5588 B0 83 80 00 */ sth r4, -0x8000(r3) .global lbl_800B974C lbl_800B974C: /* 800B974C 000B558C 80 01 00 30 */ lwz r0, 0x30(r1) /* 800B9750 000B5590 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B9754 000B5594 41 82 00 18 */ beq lbl_800B976C /* 800B9758 000B5598 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B975C 000B559C 41 82 00 4C */ beq lbl_800B97A8 /* 800B9760 000B55A0 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B9764 000B55A4 41 82 00 4C */ beq lbl_800B97B0 /* 800B9768 000B55A8 48 00 00 4C */ b lbl_800B97B4 .global lbl_800B976C lbl_800B976C: /* 800B976C 000B55AC 80 01 00 34 */ lwz r0, 0x34(r1) /* 800B9770 000B55B0 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9774 000B55B4 41 82 00 10 */ beq lbl_800B9784 /* 800B9778 000B55B8 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B977C 000B55BC 41 82 00 18 */ beq lbl_800B9794 /* 800B9780 000B55C0 48 00 00 34 */ b lbl_800B97B4 .global lbl_800B9784 lbl_800B9784: /* 800B9784 000B55C4 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9788 000B55C8 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B978C 000B55CC 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9790 000B55D0 48 00 00 24 */ b lbl_800B97B4 .global lbl_800B9794 lbl_800B9794: /* 800B9794 000B55D4 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9798 000B55D8 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B979C 000B55DC 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B97A0 000B55E0 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B97A4 000B55E4 48 00 00 10 */ b lbl_800B97B4 .global lbl_800B97A8 lbl_800B97A8: /* 800B97A8 000B55E8 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B97AC 000B55EC 48 00 00 08 */ b lbl_800B97B4 .global lbl_800B97B0 lbl_800B97B0: /* 800B97B0 000B55F0 B0 83 80 00 */ sth r4, -0x8000(r3) .global lbl_800B97B4 lbl_800B97B4: /* 800B97B4 000B55F4 80 01 00 3C */ lwz r0, 0x3c(r1) /* 800B97B8 000B55F8 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B97BC 000B55FC 41 82 00 18 */ beq lbl_800B97D4 /* 800B97C0 000B5600 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B97C4 000B5604 41 82 00 4C */ beq lbl_800B9810 /* 800B97C8 000B5608 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B97CC 000B560C 41 82 00 4C */ beq lbl_800B9818 /* 800B97D0 000B5610 48 00 00 4C */ b lbl_800B981C .global lbl_800B97D4 lbl_800B97D4: /* 800B97D4 000B5614 80 01 00 40 */ lwz r0, 0x40(r1) /* 800B97D8 000B5618 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B97DC 000B561C 41 82 00 10 */ beq lbl_800B97EC /* 800B97E0 000B5620 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B97E4 000B5624 41 82 00 18 */ beq lbl_800B97FC /* 800B97E8 000B5628 48 00 00 34 */ b lbl_800B981C .global lbl_800B97EC lbl_800B97EC: /* 800B97EC 000B562C 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B97F0 000B5630 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B97F4 000B5634 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B97F8 000B5638 48 00 00 24 */ b lbl_800B981C .global lbl_800B97FC lbl_800B97FC: /* 800B97FC 000B563C 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9800 000B5640 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9804 000B5644 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9808 000B5648 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B980C 000B564C 48 00 00 10 */ b lbl_800B981C .global lbl_800B9810 lbl_800B9810: /* 800B9810 000B5650 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9814 000B5654 48 00 00 08 */ b lbl_800B981C .global lbl_800B9818 lbl_800B9818: /* 800B9818 000B5658 B0 83 80 00 */ sth r4, -0x8000(r3) .global lbl_800B981C lbl_800B981C: /* 800B981C 000B565C 2C 0B 00 01 */ cmpwi r11, 0x1 /* 800B9820 000B5660 41 82 00 18 */ beq lbl_800B9838 /* 800B9824 000B5664 2C 0B 00 02 */ cmpwi r11, 0x2 /* 800B9828 000B5668 41 82 00 EC */ beq lbl_800B9914 /* 800B982C 000B566C 2C 0B 00 03 */ cmpwi r11, 0x3 /* 800B9830 000B5670 41 82 00 EC */ beq lbl_800B991C /* 800B9834 000B5674 48 00 00 EC */ b lbl_800B9920 .global lbl_800B9838 lbl_800B9838: /* 800B9838 000B5678 2C 0C 00 01 */ cmpwi r12, 0x1 /* 800B983C 000B567C 41 82 00 10 */ beq lbl_800B984C /* 800B9840 000B5680 2C 0C 00 00 */ cmpwi r12, 0x0 /* 800B9844 000B5684 41 82 00 78 */ beq lbl_800B98BC /* 800B9848 000B5688 48 00 00 D8 */ b lbl_800B9920 .global lbl_800B984C lbl_800B984C: /* 800B984C 000B568C 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B9850 000B5690 41 82 00 28 */ beq lbl_800B9878 /* 800B9854 000B5694 2C 1F 00 01 */ cmpwi r31, 0x1 /* 800B9858 000B5698 41 82 00 2C */ beq lbl_800B9884 /* 800B985C 000B569C 2C 1F 00 02 */ cmpwi r31, 0x2 /* 800B9860 000B56A0 41 82 00 30 */ beq lbl_800B9890 /* 800B9864 000B56A4 2C 1F 00 03 */ cmpwi r31, 0x3 /* 800B9868 000B56A8 41 82 00 34 */ beq lbl_800B989C /* 800B986C 000B56AC 2C 1F 00 04 */ cmpwi r31, 0x4 /* 800B9870 000B56B0 41 82 00 38 */ beq lbl_800B98A8 /* 800B9874 000B56B4 48 00 00 AC */ b lbl_800B9920 .global lbl_800B9878 lbl_800B9878: /* 800B9878 000B56B8 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B987C 000B56BC 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9880 000B56C0 48 00 00 A0 */ b lbl_800B9920 .global lbl_800B9884 lbl_800B9884: /* 800B9884 000B56C4 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9888 000B56C8 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B988C 000B56CC 48 00 00 94 */ b lbl_800B9920 .global lbl_800B9890 lbl_800B9890: /* 800B9890 000B56D0 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9894 000B56D4 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9898 000B56D8 48 00 00 88 */ b lbl_800B9920 .global lbl_800B989C lbl_800B989C: /* 800B989C 000B56DC B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B98A0 000B56E0 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B98A4 000B56E4 48 00 00 7C */ b lbl_800B9920 .global lbl_800B98A8 lbl_800B98A8: /* 800B98A8 000B56E8 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B98AC 000B56EC D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B98B0 000B56F0 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B98B4 000B56F4 D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B98B8 000B56F8 48 00 00 68 */ b lbl_800B9920 .global lbl_800B98BC lbl_800B98BC: /* 800B98BC 000B56FC 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B98C0 000B5700 41 82 00 28 */ beq lbl_800B98E8 /* 800B98C4 000B5704 2C 1F 00 01 */ cmpwi r31, 0x1 /* 800B98C8 000B5708 41 82 00 28 */ beq lbl_800B98F0 /* 800B98CC 000B570C 2C 1F 00 02 */ cmpwi r31, 0x2 /* 800B98D0 000B5710 41 82 00 28 */ beq lbl_800B98F8 /* 800B98D4 000B5714 2C 1F 00 03 */ cmpwi r31, 0x3 /* 800B98D8 000B5718 41 82 00 28 */ beq lbl_800B9900 /* 800B98DC 000B571C 2C 1F 00 04 */ cmpwi r31, 0x4 /* 800B98E0 000B5720 41 82 00 28 */ beq lbl_800B9908 /* 800B98E4 000B5724 48 00 00 3C */ b lbl_800B9920 .global lbl_800B98E8 lbl_800B98E8: /* 800B98E8 000B5728 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B98EC 000B572C 48 00 00 34 */ b lbl_800B9920 .global lbl_800B98F0 lbl_800B98F0: /* 800B98F0 000B5730 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B98F4 000B5734 48 00 00 2C */ b lbl_800B9920 .global lbl_800B98F8 lbl_800B98F8: /* 800B98F8 000B5738 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B98FC 000B573C 48 00 00 24 */ b lbl_800B9920 .global lbl_800B9900 lbl_800B9900: /* 800B9900 000B5740 B0 83 80 00 */ sth r4, -0x8000(r3) /* 800B9904 000B5744 48 00 00 1C */ b lbl_800B9920 .global lbl_800B9908 lbl_800B9908: /* 800B9908 000B5748 C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800B990C 000B574C D0 03 80 00 */ stfs f0, -0x8000(r3) /* 800B9910 000B5750 48 00 00 10 */ b lbl_800B9920 .global lbl_800B9914 lbl_800B9914: /* 800B9914 000B5754 98 83 80 00 */ stb r4, -0x8000(r3) /* 800B9918 000B5758 48 00 00 08 */ b lbl_800B9920 .global lbl_800B991C lbl_800B991C: /* 800B991C 000B575C B0 83 80 00 */ sth r4, -0x8000(r3) .global lbl_800B9920 lbl_800B9920: /* 800B9920 000B5760 42 00 FC 70 */ bdnz lbl_800B9590 .global lbl_800B9924 lbl_800B9924: /* 800B9924 000B5764 39 61 00 60 */ addi r11, r1, 0x60 /* 800B9928 000B5768 4B F4 DA 5D */ bl lbl_80007384 /* 800B992C 000B576C 80 01 00 64 */ lwz r0, 0x64(r1) /* 800B9930 000B5770 7C 08 03 A6 */ mtlr r0 /* 800B9934 000B5774 38 21 00 60 */ addi r1, r1, 0x60 /* 800B9938 000B5778 4E 80 00 20 */ blr /* 800B993C 000B577C 00 00 00 00 */ .4byte 0x00000000 .global _SetupTevReg__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingb _SetupTevReg__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingb: /* 800B9940 000B5780 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800B9944 000B5784 7C 08 02 A6 */ mflr r0 /* 800B9948 000B5788 90 01 00 44 */ stw r0, 0x44(r1) /* 800B994C 000B578C 39 61 00 40 */ addi r11, r1, 0x40 /* 800B9950 000B5790 4B F4 D9 E5 */ bl lbl_80007334 /* 800B9954 000B5794 88 03 00 B8 */ lbz r0, 0xb8(r3) /* 800B9958 000B5798 7C 79 1B 78 */ mr r25, r3 /* 800B995C 000B579C 7C 9D 23 78 */ mr r29, r4 /* 800B9960 000B57A0 7C BA 2B 78 */ mr r26, r5 /* 800B9964 000B57A4 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9968 000B57A8 7C DB 33 78 */ mr r27, r6 /* 800B996C 000B57AC 3B 80 00 00 */ li r28, 0x0 /* 800B9970 000B57B0 41 82 00 1C */ beq lbl_800B998C /* 800B9974 000B57B4 88 04 00 20 */ lbz r0, 0x20(r4) /* 800B9978 000B57B8 98 03 00 C0 */ stb r0, 0xc0(r3) /* 800B997C 000B57BC 88 04 00 21 */ lbz r0, 0x21(r4) /* 800B9980 000B57C0 98 03 00 C1 */ stb r0, 0xc1(r3) /* 800B9984 000B57C4 88 04 00 22 */ lbz r0, 0x22(r4) /* 800B9988 000B57C8 98 03 00 C2 */ stb r0, 0xc2(r3) .global lbl_800B998C lbl_800B998C: /* 800B998C 000B57CC 88 03 00 B9 */ lbz r0, 0xb9(r3) /* 800B9990 000B57D0 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9994 000B57D4 41 82 00 1C */ beq lbl_800B99B0 /* 800B9998 000B57D8 88 04 00 24 */ lbz r0, 0x24(r4) /* 800B999C 000B57DC 98 03 00 C4 */ stb r0, 0xc4(r3) /* 800B99A0 000B57E0 88 04 00 25 */ lbz r0, 0x25(r4) /* 800B99A4 000B57E4 98 03 00 C5 */ stb r0, 0xc5(r3) /* 800B99A8 000B57E8 88 04 00 26 */ lbz r0, 0x26(r4) /* 800B99AC 000B57EC 98 03 00 C6 */ stb r0, 0xc6(r3) .global lbl_800B99B0 lbl_800B99B0: /* 800B99B0 000B57F0 88 03 00 BA */ lbz r0, 0xba(r3) /* 800B99B4 000B57F4 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B99B8 000B57F8 41 82 00 1C */ beq lbl_800B99D4 /* 800B99BC 000B57FC 88 04 00 28 */ lbz r0, 0x28(r4) /* 800B99C0 000B5800 98 03 00 C8 */ stb r0, 0xc8(r3) /* 800B99C4 000B5804 88 04 00 29 */ lbz r0, 0x29(r4) /* 800B99C8 000B5808 98 03 00 C9 */ stb r0, 0xc9(r3) /* 800B99CC 000B580C 88 04 00 2A */ lbz r0, 0x2a(r4) /* 800B99D0 000B5810 98 03 00 CA */ stb r0, 0xca(r3) .global lbl_800B99D4 lbl_800B99D4: /* 800B99D4 000B5814 88 03 00 BB */ lbz r0, 0xbb(r3) /* 800B99D8 000B5818 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B99DC 000B581C 41 82 00 1C */ beq lbl_800B99F8 /* 800B99E0 000B5820 88 04 00 2C */ lbz r0, 0x2c(r4) /* 800B99E4 000B5824 98 03 00 CC */ stb r0, 0xcc(r3) /* 800B99E8 000B5828 88 04 00 2D */ lbz r0, 0x2d(r4) /* 800B99EC 000B582C 98 03 00 CD */ stb r0, 0xcd(r3) /* 800B99F0 000B5830 88 04 00 2E */ lbz r0, 0x2e(r4) /* 800B99F4 000B5834 98 03 00 CE */ stb r0, 0xce(r3) .global lbl_800B99F8 lbl_800B99F8: /* 800B99F8 000B5838 88 83 00 BC */ lbz r4, 0xbc(r3) /* 800B99FC 000B583C 38 00 00 FF */ li r0, 0xff /* 800B9A00 000B5840 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B9A04 000B5844 40 82 00 28 */ bne lbl_800B9A2C /* 800B9A08 000B5848 88 83 00 BD */ lbz r4, 0xbd(r3) /* 800B9A0C 000B584C 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B9A10 000B5850 40 82 00 1C */ bne lbl_800B9A2C /* 800B9A14 000B5854 88 83 00 BE */ lbz r4, 0xbe(r3) /* 800B9A18 000B5858 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B9A1C 000B585C 40 82 00 10 */ bne lbl_800B9A2C /* 800B9A20 000B5860 88 63 00 BF */ lbz r3, 0xbf(r3) /* 800B9A24 000B5864 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9A28 000B5868 41 82 00 1C */ beq lbl_800B9A44 .global lbl_800B9A2C lbl_800B9A2C: /* 800B9A2C 000B586C 88 65 00 71 */ lbz r3, 0x71(r5) /* 800B9A30 000B5870 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9A34 000B5874 41 82 00 10 */ beq lbl_800B9A44 /* 800B9A38 000B5878 7F A3 EB 78 */ mr r3, r29 /* 800B9A3C 000B587C 4B FF 65 E5 */ bl GetAlphaFlick__Q34nw4r2ef8ParticleCFv /* 800B9A40 000B5880 7C 60 1B 78 */ mr r0, r3 .global lbl_800B9A44 lbl_800B9A44: /* 800B9A44 000B5884 88 79 00 BC */ lbz r3, 0xbc(r25) /* 800B9A48 000B5888 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9A4C 000B588C 41 82 00 28 */ beq lbl_800B9A74 /* 800B9A50 000B5890 54 03 06 3E */ clrlwi r3, r0, 24 /* 800B9A54 000B5894 88 9D 00 23 */ lbz r4, 0x23(r29) /* 800B9A58 000B5898 28 03 00 FF */ cmplwi r3, 0xff /* 800B9A5C 000B589C 98 99 00 C3 */ stb r4, 0xc3(r25) /* 800B9A60 000B58A0 41 82 00 14 */ beq lbl_800B9A74 /* 800B9A64 000B58A4 7C 64 19 D6 */ mullw r3, r4, r3 /* 800B9A68 000B58A8 38 63 00 80 */ addi r3, r3, 0x80 /* 800B9A6C 000B58AC 7C 63 46 70 */ srawi r3, r3, 8 /* 800B9A70 000B58B0 98 79 00 C3 */ stb r3, 0xc3(r25) .global lbl_800B9A74 lbl_800B9A74: /* 800B9A74 000B58B4 88 79 00 BD */ lbz r3, 0xbd(r25) /* 800B9A78 000B58B8 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9A7C 000B58BC 41 82 00 28 */ beq lbl_800B9AA4 /* 800B9A80 000B58C0 54 03 06 3E */ clrlwi r3, r0, 24 /* 800B9A84 000B58C4 88 9D 00 27 */ lbz r4, 0x27(r29) /* 800B9A88 000B58C8 28 03 00 FF */ cmplwi r3, 0xff /* 800B9A8C 000B58CC 98 99 00 C7 */ stb r4, 0xc7(r25) /* 800B9A90 000B58D0 41 82 00 14 */ beq lbl_800B9AA4 /* 800B9A94 000B58D4 7C 64 19 D6 */ mullw r3, r4, r3 /* 800B9A98 000B58D8 38 63 00 80 */ addi r3, r3, 0x80 /* 800B9A9C 000B58DC 7C 63 46 70 */ srawi r3, r3, 8 /* 800B9AA0 000B58E0 98 79 00 C7 */ stb r3, 0xc7(r25) .global lbl_800B9AA4 lbl_800B9AA4: /* 800B9AA4 000B58E4 88 79 00 BE */ lbz r3, 0xbe(r25) /* 800B9AA8 000B58E8 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9AAC 000B58EC 41 82 00 28 */ beq lbl_800B9AD4 /* 800B9AB0 000B58F0 54 03 06 3E */ clrlwi r3, r0, 24 /* 800B9AB4 000B58F4 88 9D 00 2B */ lbz r4, 0x2b(r29) /* 800B9AB8 000B58F8 28 03 00 FF */ cmplwi r3, 0xff /* 800B9ABC 000B58FC 98 99 00 CB */ stb r4, 0xcb(r25) /* 800B9AC0 000B5900 41 82 00 14 */ beq lbl_800B9AD4 /* 800B9AC4 000B5904 7C 64 19 D6 */ mullw r3, r4, r3 /* 800B9AC8 000B5908 38 63 00 80 */ addi r3, r3, 0x80 /* 800B9ACC 000B590C 7C 63 46 70 */ srawi r3, r3, 8 /* 800B9AD0 000B5910 98 79 00 CB */ stb r3, 0xcb(r25) .global lbl_800B9AD4 lbl_800B9AD4: /* 800B9AD4 000B5914 88 79 00 BF */ lbz r3, 0xbf(r25) /* 800B9AD8 000B5918 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B9ADC 000B591C 41 82 00 28 */ beq lbl_800B9B04 /* 800B9AE0 000B5920 54 00 06 3E */ clrlwi r0, r0, 24 /* 800B9AE4 000B5924 88 7D 00 2F */ lbz r3, 0x2f(r29) /* 800B9AE8 000B5928 28 00 00 FF */ cmplwi r0, 0xff /* 800B9AEC 000B592C 98 79 00 CF */ stb r3, 0xcf(r25) /* 800B9AF0 000B5930 41 82 00 14 */ beq lbl_800B9B04 /* 800B9AF4 000B5934 7C 63 01 D6 */ mullw r3, r3, r0 /* 800B9AF8 000B5938 38 03 00 80 */ addi r0, r3, 0x80 /* 800B9AFC 000B593C 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9B00 000B5940 98 19 00 CF */ stb r0, 0xcf(r25) .global lbl_800B9B04 lbl_800B9B04: /* 800B9B04 000B5944 80 7D 00 C8 */ lwz r3, 0xc8(r29) /* 800B9B08 000B5948 88 03 00 6C */ lbz r0, 0x6c(r3) /* 800B9B0C 000B594C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B10 000B5950 41 82 00 88 */ beq lbl_800B9B98 /* 800B9B14 000B5954 88 19 00 B8 */ lbz r0, 0xb8(r25) /* 800B9B18 000B5958 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B1C 000B595C 40 82 00 28 */ bne lbl_800B9B44 /* 800B9B20 000B5960 88 19 00 B9 */ lbz r0, 0xb9(r25) /* 800B9B24 000B5964 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B28 000B5968 40 82 00 1C */ bne lbl_800B9B44 /* 800B9B2C 000B596C 88 19 00 BC */ lbz r0, 0xbc(r25) /* 800B9B30 000B5970 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B34 000B5974 40 82 00 10 */ bne lbl_800B9B44 /* 800B9B38 000B5978 88 19 00 BD */ lbz r0, 0xbd(r25) /* 800B9B3C 000B597C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B40 000B5980 41 82 00 14 */ beq lbl_800B9B54 .global lbl_800B9B44 lbl_800B9B44: /* 800B9B44 000B5984 7F A4 EB 78 */ mr r4, r29 /* 800B9B48 000B5988 38 B9 00 C0 */ addi r5, r25, 0xc0 /* 800B9B4C 000B598C 38 D9 00 C4 */ addi r6, r25, 0xc4 /* 800B9B50 000B5990 4B FF 85 C1 */ bl Draw_ModifyColor__Q34nw4r2ef15ParticleManagerFPQ34nw4r2ef8ParticleP8_GXColorP8_GXColor .global lbl_800B9B54 lbl_800B9B54: /* 800B9B54 000B5994 88 19 00 BA */ lbz r0, 0xba(r25) /* 800B9B58 000B5998 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B5C 000B599C 40 82 00 28 */ bne lbl_800B9B84 /* 800B9B60 000B59A0 88 19 00 BB */ lbz r0, 0xbb(r25) /* 800B9B64 000B59A4 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B68 000B59A8 40 82 00 1C */ bne lbl_800B9B84 /* 800B9B6C 000B59AC 88 19 00 BE */ lbz r0, 0xbe(r25) /* 800B9B70 000B59B0 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B74 000B59B4 40 82 00 10 */ bne lbl_800B9B84 /* 800B9B78 000B59B8 88 19 00 BF */ lbz r0, 0xbf(r25) /* 800B9B7C 000B59BC 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9B80 000B59C0 41 82 00 18 */ beq lbl_800B9B98 .global lbl_800B9B84 lbl_800B9B84: /* 800B9B84 000B59C4 80 7D 00 C8 */ lwz r3, 0xc8(r29) /* 800B9B88 000B59C8 7F A4 EB 78 */ mr r4, r29 /* 800B9B8C 000B59CC 38 B9 00 C8 */ addi r5, r25, 0xc8 /* 800B9B90 000B59D0 38 D9 00 CC */ addi r6, r25, 0xcc /* 800B9B94 000B59D4 4B FF 85 7D */ bl Draw_ModifyColor__Q34nw4r2ef15ParticleManagerFPQ34nw4r2ef8ParticleP8_GXColorP8_GXColor .global lbl_800B9B98 lbl_800B9B98: /* 800B9B98 000B59D8 7F 3E CB 78 */ mr r30, r25 /* 800B9B9C 000B59DC 3B A0 00 00 */ li r29, 0x0 /* 800B9BA0 000B59E0 3B E0 00 00 */ li r31, 0x0 .global lbl_800B9BA4 lbl_800B9BA4: /* 800B9BA4 000B59E4 7C 7A EA 14 */ add r3, r26, r29 /* 800B9BA8 000B59E8 93 E1 00 14 */ stw r31, 0x14(r1) /* 800B9BAC 000B59EC 88 83 00 61 */ lbz r4, 0x61(r3) /* 800B9BB0 000B59F0 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B9BB4 000B59F4 40 82 00 10 */ bne lbl_800B9BC4 /* 800B9BB8 000B59F8 88 03 00 69 */ lbz r0, 0x69(r3) /* 800B9BBC 000B59FC 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9BC0 000B5A00 41 82 02 58 */ beq lbl_800B9E18 .global lbl_800B9BC4 lbl_800B9BC4: /* 800B9BC4 000B5A04 2C 04 00 01 */ cmpwi r4, 0x1 /* 800B9BC8 000B5A08 41 82 00 30 */ beq lbl_800B9BF8 /* 800B9BCC 000B5A0C 2C 04 00 02 */ cmpwi r4, 0x2 /* 800B9BD0 000B5A10 41 82 00 44 */ beq lbl_800B9C14 /* 800B9BD4 000B5A14 2C 04 00 05 */ cmpwi r4, 0x5 /* 800B9BD8 000B5A18 41 82 00 58 */ beq lbl_800B9C30 /* 800B9BDC 000B5A1C 2C 04 00 03 */ cmpwi r4, 0x3 /* 800B9BE0 000B5A20 41 82 00 9C */ beq lbl_800B9C7C /* 800B9BE4 000B5A24 2C 04 00 04 */ cmpwi r4, 0x4 /* 800B9BE8 000B5A28 41 82 00 B0 */ beq lbl_800B9C98 /* 800B9BEC 000B5A2C 2C 04 00 06 */ cmpwi r4, 0x6 /* 800B9BF0 000B5A30 41 82 00 C4 */ beq lbl_800B9CB4 /* 800B9BF4 000B5A34 48 00 01 08 */ b lbl_800B9CFC .global lbl_800B9BF8 lbl_800B9BF8: /* 800B9BF8 000B5A38 88 B9 00 C0 */ lbz r5, 0xc0(r25) /* 800B9BFC 000B5A3C 88 99 00 C1 */ lbz r4, 0xc1(r25) /* 800B9C00 000B5A40 88 19 00 C2 */ lbz r0, 0xc2(r25) /* 800B9C04 000B5A44 98 A1 00 14 */ stb r5, 0x14(r1) /* 800B9C08 000B5A48 98 81 00 15 */ stb r4, 0x15(r1) /* 800B9C0C 000B5A4C 98 01 00 16 */ stb r0, 0x16(r1) /* 800B9C10 000B5A50 48 00 00 EC */ b lbl_800B9CFC .global lbl_800B9C14 lbl_800B9C14: /* 800B9C14 000B5A54 88 B9 00 C4 */ lbz r5, 0xc4(r25) /* 800B9C18 000B5A58 88 99 00 C5 */ lbz r4, 0xc5(r25) /* 800B9C1C 000B5A5C 88 19 00 C6 */ lbz r0, 0xc6(r25) /* 800B9C20 000B5A60 98 A1 00 14 */ stb r5, 0x14(r1) /* 800B9C24 000B5A64 98 81 00 15 */ stb r4, 0x15(r1) /* 800B9C28 000B5A68 98 01 00 16 */ stb r0, 0x16(r1) /* 800B9C2C 000B5A6C 48 00 00 D0 */ b lbl_800B9CFC .global lbl_800B9C30 lbl_800B9C30: /* 800B9C30 000B5A70 88 99 00 C1 */ lbz r4, 0xc1(r25) /* 800B9C34 000B5A74 88 19 00 C5 */ lbz r0, 0xc5(r25) /* 800B9C38 000B5A78 88 D9 00 C2 */ lbz r6, 0xc2(r25) /* 800B9C3C 000B5A7C 7C E4 01 D6 */ mullw r7, r4, r0 /* 800B9C40 000B5A80 88 B9 00 C6 */ lbz r5, 0xc6(r25) /* 800B9C44 000B5A84 88 99 00 C0 */ lbz r4, 0xc0(r25) /* 800B9C48 000B5A88 88 19 00 C4 */ lbz r0, 0xc4(r25) /* 800B9C4C 000B5A8C 7C A6 29 D6 */ mullw r5, r6, r5 /* 800B9C50 000B5A90 38 C7 00 80 */ addi r6, r7, 0x80 /* 800B9C54 000B5A94 7C C6 46 70 */ srawi r6, r6, 8 /* 800B9C58 000B5A98 98 C1 00 15 */ stb r6, 0x15(r1) /* 800B9C5C 000B5A9C 7C 84 01 D6 */ mullw r4, r4, r0 /* 800B9C60 000B5AA0 38 05 00 80 */ addi r0, r5, 0x80 /* 800B9C64 000B5AA4 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9C68 000B5AA8 98 01 00 16 */ stb r0, 0x16(r1) /* 800B9C6C 000B5AAC 38 04 00 80 */ addi r0, r4, 0x80 /* 800B9C70 000B5AB0 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9C74 000B5AB4 98 01 00 14 */ stb r0, 0x14(r1) /* 800B9C78 000B5AB8 48 00 00 84 */ b lbl_800B9CFC .global lbl_800B9C7C lbl_800B9C7C: /* 800B9C7C 000B5ABC 88 B9 00 C8 */ lbz r5, 0xc8(r25) /* 800B9C80 000B5AC0 88 99 00 C9 */ lbz r4, 0xc9(r25) /* 800B9C84 000B5AC4 88 19 00 CA */ lbz r0, 0xca(r25) /* 800B9C88 000B5AC8 98 A1 00 14 */ stb r5, 0x14(r1) /* 800B9C8C 000B5ACC 98 81 00 15 */ stb r4, 0x15(r1) /* 800B9C90 000B5AD0 98 01 00 16 */ stb r0, 0x16(r1) /* 800B9C94 000B5AD4 48 00 00 68 */ b lbl_800B9CFC .global lbl_800B9C98 lbl_800B9C98: /* 800B9C98 000B5AD8 88 B9 00 CC */ lbz r5, 0xcc(r25) /* 800B9C9C 000B5ADC 88 99 00 CD */ lbz r4, 0xcd(r25) /* 800B9CA0 000B5AE0 88 19 00 CE */ lbz r0, 0xce(r25) /* 800B9CA4 000B5AE4 98 A1 00 14 */ stb r5, 0x14(r1) /* 800B9CA8 000B5AE8 98 81 00 15 */ stb r4, 0x15(r1) /* 800B9CAC 000B5AEC 98 01 00 16 */ stb r0, 0x16(r1) /* 800B9CB0 000B5AF0 48 00 00 4C */ b lbl_800B9CFC .global lbl_800B9CB4 lbl_800B9CB4: /* 800B9CB4 000B5AF4 88 99 00 C9 */ lbz r4, 0xc9(r25) /* 800B9CB8 000B5AF8 88 19 00 CD */ lbz r0, 0xcd(r25) /* 800B9CBC 000B5AFC 88 D9 00 CA */ lbz r6, 0xca(r25) /* 800B9CC0 000B5B00 7C E4 01 D6 */ mullw r7, r4, r0 /* 800B9CC4 000B5B04 88 B9 00 CE */ lbz r5, 0xce(r25) /* 800B9CC8 000B5B08 88 99 00 C8 */ lbz r4, 0xc8(r25) /* 800B9CCC 000B5B0C 88 19 00 CC */ lbz r0, 0xcc(r25) /* 800B9CD0 000B5B10 7C A6 29 D6 */ mullw r5, r6, r5 /* 800B9CD4 000B5B14 38 C7 00 80 */ addi r6, r7, 0x80 /* 800B9CD8 000B5B18 7C C6 46 70 */ srawi r6, r6, 8 /* 800B9CDC 000B5B1C 98 C1 00 15 */ stb r6, 0x15(r1) /* 800B9CE0 000B5B20 7C 84 01 D6 */ mullw r4, r4, r0 /* 800B9CE4 000B5B24 38 05 00 80 */ addi r0, r5, 0x80 /* 800B9CE8 000B5B28 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9CEC 000B5B2C 98 01 00 16 */ stb r0, 0x16(r1) /* 800B9CF0 000B5B30 38 04 00 80 */ addi r0, r4, 0x80 /* 800B9CF4 000B5B34 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9CF8 000B5B38 98 01 00 14 */ stb r0, 0x14(r1) .global lbl_800B9CFC lbl_800B9CFC: /* 800B9CFC 000B5B3C 88 03 00 69 */ lbz r0, 0x69(r3) /* 800B9D00 000B5B40 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B9D04 000B5B44 41 82 00 30 */ beq lbl_800B9D34 /* 800B9D08 000B5B48 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B9D0C 000B5B4C 41 82 00 34 */ beq lbl_800B9D40 /* 800B9D10 000B5B50 2C 00 00 05 */ cmpwi r0, 0x5 /* 800B9D14 000B5B54 41 82 00 38 */ beq lbl_800B9D4C /* 800B9D18 000B5B58 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B9D1C 000B5B5C 41 82 00 4C */ beq lbl_800B9D68 /* 800B9D20 000B5B60 2C 00 00 04 */ cmpwi r0, 0x4 /* 800B9D24 000B5B64 41 82 00 50 */ beq lbl_800B9D74 /* 800B9D28 000B5B68 2C 00 00 06 */ cmpwi r0, 0x6 /* 800B9D2C 000B5B6C 41 82 00 54 */ beq lbl_800B9D80 /* 800B9D30 000B5B70 48 00 00 68 */ b lbl_800B9D98 .global lbl_800B9D34 lbl_800B9D34: /* 800B9D34 000B5B74 88 19 00 C3 */ lbz r0, 0xc3(r25) /* 800B9D38 000B5B78 98 01 00 17 */ stb r0, 0x17(r1) /* 800B9D3C 000B5B7C 48 00 00 5C */ b lbl_800B9D98 .global lbl_800B9D40 lbl_800B9D40: /* 800B9D40 000B5B80 88 19 00 C7 */ lbz r0, 0xc7(r25) /* 800B9D44 000B5B84 98 01 00 17 */ stb r0, 0x17(r1) /* 800B9D48 000B5B88 48 00 00 50 */ b lbl_800B9D98 .global lbl_800B9D4C lbl_800B9D4C: /* 800B9D4C 000B5B8C 88 79 00 C3 */ lbz r3, 0xc3(r25) /* 800B9D50 000B5B90 88 19 00 C7 */ lbz r0, 0xc7(r25) /* 800B9D54 000B5B94 7C 63 01 D6 */ mullw r3, r3, r0 /* 800B9D58 000B5B98 38 03 00 80 */ addi r0, r3, 0x80 /* 800B9D5C 000B5B9C 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9D60 000B5BA0 98 01 00 17 */ stb r0, 0x17(r1) /* 800B9D64 000B5BA4 48 00 00 34 */ b lbl_800B9D98 .global lbl_800B9D68 lbl_800B9D68: /* 800B9D68 000B5BA8 88 19 00 CB */ lbz r0, 0xcb(r25) /* 800B9D6C 000B5BAC 98 01 00 17 */ stb r0, 0x17(r1) /* 800B9D70 000B5BB0 48 00 00 28 */ b lbl_800B9D98 .global lbl_800B9D74 lbl_800B9D74: /* 800B9D74 000B5BB4 88 19 00 CF */ lbz r0, 0xcf(r25) /* 800B9D78 000B5BB8 98 01 00 17 */ stb r0, 0x17(r1) /* 800B9D7C 000B5BBC 48 00 00 1C */ b lbl_800B9D98 .global lbl_800B9D80 lbl_800B9D80: /* 800B9D80 000B5BC0 88 79 00 CB */ lbz r3, 0xcb(r25) /* 800B9D84 000B5BC4 88 19 00 CF */ lbz r0, 0xcf(r25) /* 800B9D88 000B5BC8 7C 63 01 D6 */ mullw r3, r3, r0 /* 800B9D8C 000B5BCC 38 03 00 80 */ addi r0, r3, 0x80 /* 800B9D90 000B5BD0 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9D94 000B5BD4 98 01 00 17 */ stb r0, 0x17(r1) .global lbl_800B9D98 lbl_800B9D98: /* 800B9D98 000B5BD8 2C 1B 00 00 */ cmpwi r27, 0x0 /* 800B9D9C 000B5BDC 40 82 00 44 */ bne lbl_800B9DE0 /* 800B9DA0 000B5BE0 88 61 00 14 */ lbz r3, 0x14(r1) /* 800B9DA4 000B5BE4 88 1E 00 94 */ lbz r0, 0x94(r30) /* 800B9DA8 000B5BE8 7C 03 00 40 */ cmplw r3, r0 /* 800B9DAC 000B5BEC 40 82 00 34 */ bne lbl_800B9DE0 /* 800B9DB0 000B5BF0 88 61 00 15 */ lbz r3, 0x15(r1) /* 800B9DB4 000B5BF4 88 1E 00 95 */ lbz r0, 0x95(r30) /* 800B9DB8 000B5BF8 7C 03 00 40 */ cmplw r3, r0 /* 800B9DBC 000B5BFC 40 82 00 24 */ bne lbl_800B9DE0 /* 800B9DC0 000B5C00 88 61 00 16 */ lbz r3, 0x16(r1) /* 800B9DC4 000B5C04 88 1E 00 96 */ lbz r0, 0x96(r30) /* 800B9DC8 000B5C08 7C 03 00 40 */ cmplw r3, r0 /* 800B9DCC 000B5C0C 40 82 00 14 */ bne lbl_800B9DE0 /* 800B9DD0 000B5C10 88 61 00 17 */ lbz r3, 0x17(r1) /* 800B9DD4 000B5C14 88 1E 00 97 */ lbz r0, 0x97(r30) /* 800B9DD8 000B5C18 7C 03 00 40 */ cmplw r3, r0 /* 800B9DDC 000B5C1C 41 82 00 3C */ beq lbl_800B9E18 .global lbl_800B9DE0 lbl_800B9DE0: /* 800B9DE0 000B5C20 80 01 00 14 */ lwz r0, 0x14(r1) /* 800B9DE4 000B5C24 38 7D 00 01 */ addi r3, r29, 0x1 /* 800B9DE8 000B5C28 90 01 00 0C */ stw r0, 0xc(r1) /* 800B9DEC 000B5C2C 38 81 00 0C */ addi r4, r1, 0xc /* 800B9DF0 000B5C30 4B F7 DF B1 */ bl GXSetTevColor /* 800B9DF4 000B5C34 88 01 00 14 */ lbz r0, 0x14(r1) /* 800B9DF8 000B5C38 3B 80 00 01 */ li r28, 0x1 /* 800B9DFC 000B5C3C 98 1E 00 94 */ stb r0, 0x94(r30) /* 800B9E00 000B5C40 88 01 00 15 */ lbz r0, 0x15(r1) /* 800B9E04 000B5C44 98 1E 00 95 */ stb r0, 0x95(r30) /* 800B9E08 000B5C48 88 01 00 16 */ lbz r0, 0x16(r1) /* 800B9E0C 000B5C4C 98 1E 00 96 */ stb r0, 0x96(r30) /* 800B9E10 000B5C50 88 01 00 17 */ lbz r0, 0x17(r1) /* 800B9E14 000B5C54 98 1E 00 97 */ stb r0, 0x97(r30) .global lbl_800B9E18 lbl_800B9E18: /* 800B9E18 000B5C58 3B BD 00 01 */ addi r29, r29, 0x1 /* 800B9E1C 000B5C5C 3B DE 00 04 */ addi r30, r30, 0x4 /* 800B9E20 000B5C60 2C 1D 00 03 */ cmpwi r29, 0x3 /* 800B9E24 000B5C64 41 80 FD 80 */ blt lbl_800B9BA4 /* 800B9E28 000B5C68 7F 3E CB 78 */ mr r30, r25 /* 800B9E2C 000B5C6C 3B A0 00 00 */ li r29, 0x0 /* 800B9E30 000B5C70 3B E0 00 00 */ li r31, 0x0 .global lbl_800B9E34 lbl_800B9E34: /* 800B9E34 000B5C74 7C 7A EA 14 */ add r3, r26, r29 /* 800B9E38 000B5C78 93 E1 00 10 */ stw r31, 0x10(r1) /* 800B9E3C 000B5C7C 88 83 00 64 */ lbz r4, 0x64(r3) /* 800B9E40 000B5C80 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B9E44 000B5C84 40 82 00 10 */ bne lbl_800B9E54 /* 800B9E48 000B5C88 88 03 00 6C */ lbz r0, 0x6c(r3) /* 800B9E4C 000B5C8C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B9E50 000B5C90 41 82 02 58 */ beq lbl_800BA0A8 .global lbl_800B9E54 lbl_800B9E54: /* 800B9E54 000B5C94 2C 04 00 01 */ cmpwi r4, 0x1 /* 800B9E58 000B5C98 41 82 00 30 */ beq lbl_800B9E88 /* 800B9E5C 000B5C9C 2C 04 00 02 */ cmpwi r4, 0x2 /* 800B9E60 000B5CA0 41 82 00 44 */ beq lbl_800B9EA4 /* 800B9E64 000B5CA4 2C 04 00 05 */ cmpwi r4, 0x5 /* 800B9E68 000B5CA8 41 82 00 58 */ beq lbl_800B9EC0 /* 800B9E6C 000B5CAC 2C 04 00 03 */ cmpwi r4, 0x3 /* 800B9E70 000B5CB0 41 82 00 9C */ beq lbl_800B9F0C /* 800B9E74 000B5CB4 2C 04 00 04 */ cmpwi r4, 0x4 /* 800B9E78 000B5CB8 41 82 00 B0 */ beq lbl_800B9F28 /* 800B9E7C 000B5CBC 2C 04 00 06 */ cmpwi r4, 0x6 /* 800B9E80 000B5CC0 41 82 00 C4 */ beq lbl_800B9F44 /* 800B9E84 000B5CC4 48 00 01 08 */ b lbl_800B9F8C .global lbl_800B9E88 lbl_800B9E88: /* 800B9E88 000B5CC8 88 B9 00 C0 */ lbz r5, 0xc0(r25) /* 800B9E8C 000B5CCC 88 99 00 C1 */ lbz r4, 0xc1(r25) /* 800B9E90 000B5CD0 88 19 00 C2 */ lbz r0, 0xc2(r25) /* 800B9E94 000B5CD4 98 A1 00 10 */ stb r5, 0x10(r1) /* 800B9E98 000B5CD8 98 81 00 11 */ stb r4, 0x11(r1) /* 800B9E9C 000B5CDC 98 01 00 12 */ stb r0, 0x12(r1) /* 800B9EA0 000B5CE0 48 00 00 EC */ b lbl_800B9F8C .global lbl_800B9EA4 lbl_800B9EA4: /* 800B9EA4 000B5CE4 88 B9 00 C4 */ lbz r5, 0xc4(r25) /* 800B9EA8 000B5CE8 88 99 00 C5 */ lbz r4, 0xc5(r25) /* 800B9EAC 000B5CEC 88 19 00 C6 */ lbz r0, 0xc6(r25) /* 800B9EB0 000B5CF0 98 A1 00 10 */ stb r5, 0x10(r1) /* 800B9EB4 000B5CF4 98 81 00 11 */ stb r4, 0x11(r1) /* 800B9EB8 000B5CF8 98 01 00 12 */ stb r0, 0x12(r1) /* 800B9EBC 000B5CFC 48 00 00 D0 */ b lbl_800B9F8C .global lbl_800B9EC0 lbl_800B9EC0: /* 800B9EC0 000B5D00 88 99 00 C1 */ lbz r4, 0xc1(r25) /* 800B9EC4 000B5D04 88 19 00 C5 */ lbz r0, 0xc5(r25) /* 800B9EC8 000B5D08 88 D9 00 C2 */ lbz r6, 0xc2(r25) /* 800B9ECC 000B5D0C 7C E4 01 D6 */ mullw r7, r4, r0 /* 800B9ED0 000B5D10 88 B9 00 C6 */ lbz r5, 0xc6(r25) /* 800B9ED4 000B5D14 88 99 00 C0 */ lbz r4, 0xc0(r25) /* 800B9ED8 000B5D18 88 19 00 C4 */ lbz r0, 0xc4(r25) /* 800B9EDC 000B5D1C 7C A6 29 D6 */ mullw r5, r6, r5 /* 800B9EE0 000B5D20 38 C7 00 80 */ addi r6, r7, 0x80 /* 800B9EE4 000B5D24 7C C6 46 70 */ srawi r6, r6, 8 /* 800B9EE8 000B5D28 98 C1 00 11 */ stb r6, 0x11(r1) /* 800B9EEC 000B5D2C 7C 84 01 D6 */ mullw r4, r4, r0 /* 800B9EF0 000B5D30 38 05 00 80 */ addi r0, r5, 0x80 /* 800B9EF4 000B5D34 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9EF8 000B5D38 98 01 00 12 */ stb r0, 0x12(r1) /* 800B9EFC 000B5D3C 38 04 00 80 */ addi r0, r4, 0x80 /* 800B9F00 000B5D40 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9F04 000B5D44 98 01 00 10 */ stb r0, 0x10(r1) /* 800B9F08 000B5D48 48 00 00 84 */ b lbl_800B9F8C .global lbl_800B9F0C lbl_800B9F0C: /* 800B9F0C 000B5D4C 88 B9 00 C8 */ lbz r5, 0xc8(r25) /* 800B9F10 000B5D50 88 99 00 C9 */ lbz r4, 0xc9(r25) /* 800B9F14 000B5D54 88 19 00 CA */ lbz r0, 0xca(r25) /* 800B9F18 000B5D58 98 A1 00 10 */ stb r5, 0x10(r1) /* 800B9F1C 000B5D5C 98 81 00 11 */ stb r4, 0x11(r1) /* 800B9F20 000B5D60 98 01 00 12 */ stb r0, 0x12(r1) /* 800B9F24 000B5D64 48 00 00 68 */ b lbl_800B9F8C .global lbl_800B9F28 lbl_800B9F28: /* 800B9F28 000B5D68 88 B9 00 CC */ lbz r5, 0xcc(r25) /* 800B9F2C 000B5D6C 88 99 00 CD */ lbz r4, 0xcd(r25) /* 800B9F30 000B5D70 88 19 00 CE */ lbz r0, 0xce(r25) /* 800B9F34 000B5D74 98 A1 00 10 */ stb r5, 0x10(r1) /* 800B9F38 000B5D78 98 81 00 11 */ stb r4, 0x11(r1) /* 800B9F3C 000B5D7C 98 01 00 12 */ stb r0, 0x12(r1) /* 800B9F40 000B5D80 48 00 00 4C */ b lbl_800B9F8C .global lbl_800B9F44 lbl_800B9F44: /* 800B9F44 000B5D84 88 99 00 C9 */ lbz r4, 0xc9(r25) /* 800B9F48 000B5D88 88 19 00 CD */ lbz r0, 0xcd(r25) /* 800B9F4C 000B5D8C 88 D9 00 CA */ lbz r6, 0xca(r25) /* 800B9F50 000B5D90 7C E4 01 D6 */ mullw r7, r4, r0 /* 800B9F54 000B5D94 88 B9 00 CE */ lbz r5, 0xce(r25) /* 800B9F58 000B5D98 88 99 00 C8 */ lbz r4, 0xc8(r25) /* 800B9F5C 000B5D9C 88 19 00 CC */ lbz r0, 0xcc(r25) /* 800B9F60 000B5DA0 7C A6 29 D6 */ mullw r5, r6, r5 /* 800B9F64 000B5DA4 38 C7 00 80 */ addi r6, r7, 0x80 /* 800B9F68 000B5DA8 7C C6 46 70 */ srawi r6, r6, 8 /* 800B9F6C 000B5DAC 98 C1 00 11 */ stb r6, 0x11(r1) /* 800B9F70 000B5DB0 7C 84 01 D6 */ mullw r4, r4, r0 /* 800B9F74 000B5DB4 38 05 00 80 */ addi r0, r5, 0x80 /* 800B9F78 000B5DB8 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9F7C 000B5DBC 98 01 00 12 */ stb r0, 0x12(r1) /* 800B9F80 000B5DC0 38 04 00 80 */ addi r0, r4, 0x80 /* 800B9F84 000B5DC4 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9F88 000B5DC8 98 01 00 10 */ stb r0, 0x10(r1) .global lbl_800B9F8C lbl_800B9F8C: /* 800B9F8C 000B5DCC 88 03 00 6C */ lbz r0, 0x6c(r3) /* 800B9F90 000B5DD0 2C 00 00 01 */ cmpwi r0, 0x1 /* 800B9F94 000B5DD4 41 82 00 30 */ beq lbl_800B9FC4 /* 800B9F98 000B5DD8 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B9F9C 000B5DDC 41 82 00 34 */ beq lbl_800B9FD0 /* 800B9FA0 000B5DE0 2C 00 00 05 */ cmpwi r0, 0x5 /* 800B9FA4 000B5DE4 41 82 00 38 */ beq lbl_800B9FDC /* 800B9FA8 000B5DE8 2C 00 00 03 */ cmpwi r0, 0x3 /* 800B9FAC 000B5DEC 41 82 00 4C */ beq lbl_800B9FF8 /* 800B9FB0 000B5DF0 2C 00 00 04 */ cmpwi r0, 0x4 /* 800B9FB4 000B5DF4 41 82 00 50 */ beq lbl_800BA004 /* 800B9FB8 000B5DF8 2C 00 00 06 */ cmpwi r0, 0x6 /* 800B9FBC 000B5DFC 41 82 00 54 */ beq lbl_800BA010 /* 800B9FC0 000B5E00 48 00 00 68 */ b lbl_800BA028 .global lbl_800B9FC4 lbl_800B9FC4: /* 800B9FC4 000B5E04 88 19 00 C3 */ lbz r0, 0xc3(r25) /* 800B9FC8 000B5E08 98 01 00 13 */ stb r0, 0x13(r1) /* 800B9FCC 000B5E0C 48 00 00 5C */ b lbl_800BA028 .global lbl_800B9FD0 lbl_800B9FD0: /* 800B9FD0 000B5E10 88 19 00 C7 */ lbz r0, 0xc7(r25) /* 800B9FD4 000B5E14 98 01 00 13 */ stb r0, 0x13(r1) /* 800B9FD8 000B5E18 48 00 00 50 */ b lbl_800BA028 .global lbl_800B9FDC lbl_800B9FDC: /* 800B9FDC 000B5E1C 88 79 00 C3 */ lbz r3, 0xc3(r25) /* 800B9FE0 000B5E20 88 19 00 C7 */ lbz r0, 0xc7(r25) /* 800B9FE4 000B5E24 7C 63 01 D6 */ mullw r3, r3, r0 /* 800B9FE8 000B5E28 38 03 00 80 */ addi r0, r3, 0x80 /* 800B9FEC 000B5E2C 7C 00 46 70 */ srawi r0, r0, 8 /* 800B9FF0 000B5E30 98 01 00 13 */ stb r0, 0x13(r1) /* 800B9FF4 000B5E34 48 00 00 34 */ b lbl_800BA028 .global lbl_800B9FF8 lbl_800B9FF8: /* 800B9FF8 000B5E38 88 19 00 CB */ lbz r0, 0xcb(r25) /* 800B9FFC 000B5E3C 98 01 00 13 */ stb r0, 0x13(r1) /* 800BA000 000B5E40 48 00 00 28 */ b lbl_800BA028 .global lbl_800BA004 lbl_800BA004: /* 800BA004 000B5E44 88 19 00 CF */ lbz r0, 0xcf(r25) /* 800BA008 000B5E48 98 01 00 13 */ stb r0, 0x13(r1) /* 800BA00C 000B5E4C 48 00 00 1C */ b lbl_800BA028 .global lbl_800BA010 lbl_800BA010: /* 800BA010 000B5E50 88 79 00 CB */ lbz r3, 0xcb(r25) /* 800BA014 000B5E54 88 19 00 CF */ lbz r0, 0xcf(r25) /* 800BA018 000B5E58 7C 63 01 D6 */ mullw r3, r3, r0 /* 800BA01C 000B5E5C 38 03 00 80 */ addi r0, r3, 0x80 /* 800BA020 000B5E60 7C 00 46 70 */ srawi r0, r0, 8 /* 800BA024 000B5E64 98 01 00 13 */ stb r0, 0x13(r1) .global lbl_800BA028 lbl_800BA028: /* 800BA028 000B5E68 2C 1B 00 00 */ cmpwi r27, 0x0 /* 800BA02C 000B5E6C 40 82 00 44 */ bne lbl_800BA070 /* 800BA030 000B5E70 88 61 00 10 */ lbz r3, 0x10(r1) /* 800BA034 000B5E74 88 1E 00 A0 */ lbz r0, 0xa0(r30) /* 800BA038 000B5E78 7C 03 00 40 */ cmplw r3, r0 /* 800BA03C 000B5E7C 40 82 00 34 */ bne lbl_800BA070 /* 800BA040 000B5E80 88 61 00 11 */ lbz r3, 0x11(r1) /* 800BA044 000B5E84 88 1E 00 A1 */ lbz r0, 0xa1(r30) /* 800BA048 000B5E88 7C 03 00 40 */ cmplw r3, r0 /* 800BA04C 000B5E8C 40 82 00 24 */ bne lbl_800BA070 /* 800BA050 000B5E90 88 61 00 12 */ lbz r3, 0x12(r1) /* 800BA054 000B5E94 88 1E 00 A2 */ lbz r0, 0xa2(r30) /* 800BA058 000B5E98 7C 03 00 40 */ cmplw r3, r0 /* 800BA05C 000B5E9C 40 82 00 14 */ bne lbl_800BA070 /* 800BA060 000B5EA0 88 61 00 13 */ lbz r3, 0x13(r1) /* 800BA064 000B5EA4 88 1E 00 A3 */ lbz r0, 0xa3(r30) /* 800BA068 000B5EA8 7C 03 00 40 */ cmplw r3, r0 /* 800BA06C 000B5EAC 41 82 00 3C */ beq lbl_800BA0A8 .global lbl_800BA070 lbl_800BA070: /* 800BA070 000B5EB0 80 01 00 10 */ lwz r0, 0x10(r1) /* 800BA074 000B5EB4 7F A3 EB 78 */ mr r3, r29 /* 800BA078 000B5EB8 90 01 00 08 */ stw r0, 0x8(r1) /* 800BA07C 000B5EBC 38 81 00 08 */ addi r4, r1, 0x8 /* 800BA080 000B5EC0 4B F7 DD F1 */ bl GXSetTevKColor /* 800BA084 000B5EC4 88 01 00 10 */ lbz r0, 0x10(r1) /* 800BA088 000B5EC8 3B 80 00 01 */ li r28, 0x1 /* 800BA08C 000B5ECC 98 1E 00 A0 */ stb r0, 0xa0(r30) /* 800BA090 000B5ED0 88 01 00 11 */ lbz r0, 0x11(r1) /* 800BA094 000B5ED4 98 1E 00 A1 */ stb r0, 0xa1(r30) /* 800BA098 000B5ED8 88 01 00 12 */ lbz r0, 0x12(r1) /* 800BA09C 000B5EDC 98 1E 00 A2 */ stb r0, 0xa2(r30) /* 800BA0A0 000B5EE0 88 01 00 13 */ lbz r0, 0x13(r1) /* 800BA0A4 000B5EE4 98 1E 00 A3 */ stb r0, 0xa3(r30) .global lbl_800BA0A8 lbl_800BA0A8: /* 800BA0A8 000B5EE8 3B BD 00 01 */ addi r29, r29, 0x1 /* 800BA0AC 000B5EEC 3B DE 00 04 */ addi r30, r30, 0x4 /* 800BA0B0 000B5EF0 2C 1D 00 04 */ cmpwi r29, 0x4 /* 800BA0B4 000B5EF4 41 80 FD 80 */ blt lbl_800B9E34 /* 800BA0B8 000B5EF8 39 61 00 40 */ addi r11, r1, 0x40 /* 800BA0BC 000B5EFC 7F 83 E3 78 */ mr r3, r28 /* 800BA0C0 000B5F00 4B F4 D2 C1 */ bl lbl_80007380 /* 800BA0C4 000B5F04 80 01 00 44 */ lwz r0, 0x44(r1) /* 800BA0C8 000B5F08 7C 08 03 A6 */ mtlr r0 /* 800BA0CC 000B5F0C 38 21 00 40 */ addi r1, r1, 0x40 /* 800BA0D0 000B5F10 4E 80 00 20 */ blr /* 800BA0D4 000B5F14 00 00 00 00 */ .4byte 0x00000000 /* 800BA0D8 000B5F18 00 00 00 00 */ .4byte 0x00000000 /* 800BA0DC 000B5F1C 00 00 00 00 */ .4byte 0x00000000 .global _SetupTexture__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfob _SetupTexture__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef8ParticleRCQ34nw4r2ef18EmitterDrawSettingRCQ34nw4r2ef8DrawInfob: /* 800BA0E0 000B5F20 94 21 FE 70 */ stwu r1, -0x190(r1) /* 800BA0E4 000B5F24 7C 08 02 A6 */ mflr r0 /* 800BA0E8 000B5F28 90 01 01 94 */ stw r0, 0x194(r1) /* 800BA0EC 000B5F2C 39 61 00 D0 */ addi r11, r1, 0xd0 /* 800BA0F0 000B5F30 DB E1 01 80 */ stfd f31, 0x180(r1) /* 800BA0F4 000B5F34 F3 E1 01 88 */ psq_st f31, 0x188(r1), 0, qr0 /* 800BA0F8 000B5F38 DB C1 01 70 */ stfd f30, 0x170(r1) /* 800BA0FC 000B5F3C F3 C1 01 78 */ psq_st f30, 0x178(r1), 0, qr0 /* 800BA100 000B5F40 DB A1 01 60 */ stfd f29, 0x160(r1) /* 800BA104 000B5F44 F3 A1 01 68 */ psq_st f29, 0x168(r1), 0, qr0 /* 800BA108 000B5F48 DB 81 01 50 */ stfd f28, 0x150(r1) /* 800BA10C 000B5F4C F3 81 01 58 */ psq_st f28, 0x158(r1), 0, qr0 /* 800BA110 000B5F50 DB 61 01 40 */ stfd f27, 0x140(r1) /* 800BA114 000B5F54 F3 61 01 48 */ psq_st f27, 0x148(r1), 0, qr0 /* 800BA118 000B5F58 DB 41 01 30 */ stfd f26, 0x130(r1) /* 800BA11C 000B5F5C F3 41 01 38 */ psq_st f26, 0x138(r1), 0, qr0 /* 800BA120 000B5F60 DB 21 01 20 */ stfd f25, 0x120(r1) /* 800BA124 000B5F64 F3 21 01 28 */ psq_st f25, 0x128(r1), 0, qr0 /* 800BA128 000B5F68 DB 01 01 10 */ stfd f24, 0x110(r1) /* 800BA12C 000B5F6C F3 01 01 18 */ psq_st f24, 0x118(r1), 0, qr0 /* 800BA130 000B5F70 DA E1 01 00 */ stfd f23, 0x100(r1) /* 800BA134 000B5F74 F2 E1 01 08 */ psq_st f23, 0x108(r1), 0, qr0 /* 800BA138 000B5F78 DA C1 00 F0 */ stfd f22, 0xf0(r1) /* 800BA13C 000B5F7C F2 C1 00 F8 */ psq_st f22, 0xf8(r1), 0, qr0 /* 800BA140 000B5F80 DA A1 00 E0 */ stfd f21, 0xe0(r1) /* 800BA144 000B5F84 F2 A1 00 E8 */ psq_st f21, 0xe8(r1), 0, qr0 /* 800BA148 000B5F88 DA 81 00 D0 */ stfd f20, 0xd0(r1) /* 800BA14C 000B5F8C F2 81 00 D8 */ psq_st f20, 0xd8(r1), 0, qr0 /* 800BA150 000B5F90 4B F4 D1 BD */ bl lbl_8000730C /* 800BA154 000B5F94 7C 8F 23 78 */ mr r15, r4 /* 800BA158 000B5F98 3C 00 43 30 */ lis r0, 0x4330 /* 800BA15C 000B5F9C 90 01 00 78 */ stw r0, 0x78(r1) /* 800BA160 000B5FA0 7C B0 2B 78 */ mr r16, r5 /* 800BA164 000B5FA4 CB 42 8D 80 */ lfd f26, "@10510"@sda21(r2) /* 800BA168 000B5FA8 7C D1 33 78 */ mr r17, r6 /* 800BA16C 000B5FAC 90 01 00 80 */ stw r0, 0x80(r1) /* 800BA170 000B5FB0 7C F2 3B 78 */ mr r18, r7 /* 800BA174 000B5FB4 C3 62 8D 74 */ lfs f27, "@10502"@sda21(r2) /* 800BA178 000B5FB8 7C 7D 1B 78 */ mr r29, r3 /* 800BA17C 000B5FBC CB 82 8D 88 */ lfd f28, "@10511"@sda21(r2) /* 800BA180 000B5FC0 7D FC 7B 78 */ mr r28, r15 /* 800BA184 000B5FC4 C3 C2 8D 78 */ lfs f30, "@10503"@sda21(r2) /* 800BA188 000B5FC8 7C 79 1B 78 */ mr r25, r3 /* 800BA18C 000B5FCC C3 A2 8D 6C */ lfs f29, "@9916"@sda21(r2) /* 800BA190 000B5FD0 7D F7 7B 78 */ mr r23, r15 /* 800BA194 000B5FD4 C3 E2 8D 68 */ lfs f31, "@9915"@sda21(r2) /* 800BA198 000B5FD8 3A A0 00 00 */ li r21, 0x0 /* 800BA19C 000B5FDC 3A 80 00 00 */ li r20, 0x0 /* 800BA1A0 000B5FE0 3B 60 00 00 */ li r27, 0x0 /* 800BA1A4 000B5FE4 3B 00 00 00 */ li r24, 0x0 .global lbl_800BA1A8 lbl_800BA1A8: /* 800BA1A8 000B5FE8 80 1D 00 D4 */ lwz r0, 0xd4(r29) /* 800BA1AC 000B5FEC 3B 5B 00 02 */ addi r26, r27, 0x2 /* 800BA1B0 000B5FF0 2C 00 00 00 */ cmpwi r0, 0x0 /* 800BA1B4 000B5FF4 41 80 04 E4 */ blt lbl_800BA698 /* 800BA1B8 000B5FF8 82 DC 00 88 */ lwz r22, 0x88(r28) /* 800BA1BC 000B5FFC 2C 16 00 00 */ cmpwi r22, 0x0 /* 800BA1C0 000B6000 41 82 04 D8 */ beq lbl_800BA698 /* 800BA1C4 000B6004 A0 0F 00 94 */ lhz r0, 0x94(r15) /* 800BA1C8 000B6008 2C 12 00 00 */ cmpwi r18, 0x0 /* 800BA1CC 000B600C 7C 03 DE 30 */ sraw r3, r0, r27 /* 800BA1D0 000B6010 7C 00 D6 30 */ sraw r0, r0, r26 /* 800BA1D4 000B6014 54 7F 07 BE */ clrlwi r31, r3, 30 /* 800BA1D8 000B6018 54 1E 07 BE */ clrlwi r30, r0, 30 /* 800BA1DC 000B601C 40 82 00 28 */ bne lbl_800BA204 /* 800BA1E0 000B6020 80 19 00 04 */ lwz r0, 0x4(r25) /* 800BA1E4 000B6024 7C 16 00 40 */ cmplw r22, r0 /* 800BA1E8 000B6028 40 82 00 1C */ bne lbl_800BA204 /* 800BA1EC 000B602C 80 19 00 18 */ lwz r0, 0x18(r25) /* 800BA1F0 000B6030 7C 1F 00 00 */ cmpw r31, r0 /* 800BA1F4 000B6034 40 82 00 10 */ bne lbl_800BA204 /* 800BA1F8 000B6038 80 19 00 1C */ lwz r0, 0x1c(r25) /* 800BA1FC 000B603C 7C 1E 00 00 */ cmpw r30, r0 /* 800BA200 000B6040 41 82 01 00 */ beq lbl_800BA300 .global lbl_800BA204 lbl_800BA204: /* 800BA204 000B6044 92 D9 00 04 */ stw r22, 0x4(r25) /* 800BA208 000B6048 3A A0 00 01 */ li r21, 0x1 /* 800BA20C 000B604C 93 F9 00 18 */ stw r31, 0x18(r25) /* 800BA210 000B6050 93 D9 00 1C */ stw r30, 0x1c(r25) /* 800BA214 000B6054 8A 76 00 0C */ lbz r19, 0xc(r22) /* 800BA218 000B6058 28 13 00 06 */ cmplwi r19, 0x6 /* 800BA21C 000B605C 40 81 00 74 */ ble lbl_800BA290 /* 800BA220 000B6060 38 13 FF F8 */ addi r0, r19, -0x8 /* 800BA224 000B6064 28 00 00 02 */ cmplwi r0, 0x2 /* 800BA228 000B6068 40 81 00 10 */ ble lbl_800BA238 /* 800BA22C 000B606C 2C 13 00 0E */ cmpwi r19, 0xe /* 800BA230 000B6070 41 82 00 60 */ beq lbl_800BA290 /* 800BA234 000B6074 48 00 00 88 */ b lbl_800BA2BC .global lbl_800BA238 lbl_800BA238: /* 800BA238 000B6078 80 96 00 20 */ lwz r4, 0x20(r22) /* 800BA23C 000B607C 38 61 00 18 */ addi r3, r1, 0x18 /* 800BA240 000B6080 88 B6 00 0D */ lbz r5, 0xd(r22) /* 800BA244 000B6084 A0 D6 00 0E */ lhz r6, 0xe(r22) /* 800BA248 000B6088 4B F7 CC 49 */ bl GXInitTlutObj /* 800BA24C 000B608C 80 9D 00 D4 */ lwz r4, 0xd4(r29) /* 800BA250 000B6090 38 61 00 18 */ addi r3, r1, 0x18 /* 800BA254 000B6094 4B F7 CC 6D */ bl GXLoadTlut /* 800BA258 000B6098 80 1D 00 D4 */ lwz r0, 0xd4(r29) /* 800BA25C 000B609C 7E 67 9B 78 */ mr r7, r19 /* 800BA260 000B60A0 90 01 00 08 */ stw r0, 0x8(r1) /* 800BA264 000B60A4 7F E8 FB 78 */ mr r8, r31 /* 800BA268 000B60A8 7F C9 F3 78 */ mr r9, r30 /* 800BA26C 000B60AC 38 61 00 28 */ addi r3, r1, 0x28 /* 800BA270 000B60B0 88 16 00 14 */ lbz r0, 0x14(r22) /* 800BA274 000B60B4 80 96 00 1C */ lwz r4, 0x1c(r22) /* 800BA278 000B60B8 20 00 00 01 */ subfic r0, r0, 0x1 /* 800BA27C 000B60BC A0 B6 00 04 */ lhz r5, 0x4(r22) /* 800BA280 000B60C0 A0 D6 00 06 */ lhz r6, 0x6(r22) /* 800BA284 000B60C4 54 0A 0F FE */ srwi r10, r0, 31 /* 800BA288 000B60C8 4B F7 C7 39 */ bl GXInitTexObjCI /* 800BA28C 000B60CC 48 00 00 30 */ b lbl_800BA2BC .global lbl_800BA290 lbl_800BA290: /* 800BA290 000B60D0 88 16 00 14 */ lbz r0, 0x14(r22) /* 800BA294 000B60D4 7E 67 9B 78 */ mr r7, r19 /* 800BA298 000B60D8 80 96 00 1C */ lwz r4, 0x1c(r22) /* 800BA29C 000B60DC 7F E8 FB 78 */ mr r8, r31 /* 800BA2A0 000B60E0 20 00 00 01 */ subfic r0, r0, 0x1 /* 800BA2A4 000B60E4 A0 B6 00 04 */ lhz r5, 0x4(r22) /* 800BA2A8 000B60E8 A0 D6 00 06 */ lhz r6, 0x6(r22) /* 800BA2AC 000B60EC 7F C9 F3 78 */ mr r9, r30 /* 800BA2B0 000B60F0 38 61 00 28 */ addi r3, r1, 0x28 /* 800BA2B4 000B60F4 54 0A 0F FE */ srwi r10, r0, 31 /* 800BA2B8 000B60F8 4B F7 C4 F9 */ bl GXInitTexObj .global lbl_800BA2BC lbl_800BA2BC: /* 800BA2BC 000B60FC 88 16 00 14 */ lbz r0, 0x14(r22) /* 800BA2C0 000B6100 38 61 00 28 */ addi r3, r1, 0x28 /* 800BA2C4 000B6104 90 01 00 7C */ stw r0, 0x7c(r1) /* 800BA2C8 000B6108 38 C0 00 00 */ li r6, 0x0 /* 800BA2CC 000B610C 88 96 00 15 */ lbz r4, 0x15(r22) /* 800BA2D0 000B6110 38 E0 00 00 */ li r7, 0x0 /* 800BA2D4 000B6114 C8 01 00 78 */ lfd f0, 0x78(r1) /* 800BA2D8 000B6118 39 00 00 00 */ li r8, 0x0 /* 800BA2DC 000B611C 88 B6 00 16 */ lbz r5, 0x16(r22) /* 800BA2E0 000B6120 EC 00 D0 28 */ fsubs f0, f0, f26 /* 800BA2E4 000B6124 C0 22 8D 6C */ lfs f1, "@9916"@sda21(r2) /* 800BA2E8 000B6128 C0 76 00 18 */ lfs f3, 0x18(r22) /* 800BA2EC 000B612C EC 5B 00 2A */ fadds f2, f27, f0 /* 800BA2F0 000B6130 4B F7 C7 21 */ bl GXInitTexObjLOD /* 800BA2F4 000B6134 80 9D 00 D4 */ lwz r4, 0xd4(r29) /* 800BA2F8 000B6138 38 61 00 28 */ addi r3, r1, 0x28 /* 800BA2FC 000B613C 4B F7 CB 35 */ bl GXLoadTexObj .global lbl_800BA300 lbl_800BA300: /* 800BA300 000B6140 A0 8F 00 94 */ lhz r4, 0x94(r15) /* 800BA304 000B6144 38 60 00 01 */ li r3, 0x1 /* 800BA308 000B6148 7C 80 DE 30 */ sraw r0, r4, r27 /* 800BA30C 000B614C 54 06 07 BE */ clrlwi r6, r0, 30 /* 800BA310 000B6150 2C 06 00 02 */ cmpwi r6, 0x2 /* 800BA314 000B6154 40 82 00 08 */ bne lbl_800BA31C /* 800BA318 000B6158 38 60 00 02 */ li r3, 0x2 .global lbl_800BA31C lbl_800BA31C: /* 800BA31C 000B615C 88 0F 00 96 */ lbz r0, 0x96(r15) /* 800BA320 000B6160 7C 00 C6 30 */ sraw r0, r0, r24 /* 800BA324 000B6164 54 05 07 BE */ clrlwi r5, r0, 30 /* 800BA328 000B6168 28 05 00 01 */ cmplwi r5, 0x1 /* 800BA32C 000B616C 41 82 00 0C */ beq lbl_800BA338 /* 800BA330 000B6170 28 05 00 03 */ cmplwi r5, 0x3 /* 800BA334 000B6174 40 82 00 0C */ bne lbl_800BA340 .global lbl_800BA338 lbl_800BA338: /* 800BA338 000B6178 54 60 08 3C */ slwi r0, r3, 1 /* 800BA33C 000B617C 7C 60 18 50 */ subf r3, r0, r3 .global lbl_800BA340 lbl_800BA340: /* 800BA340 000B6180 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 800BA344 000B6184 90 01 00 84 */ stw r0, 0x84(r1) /* 800BA348 000B6188 7C 80 D6 30 */ sraw r0, r4, r26 /* 800BA34C 000B618C 38 60 00 01 */ li r3, 0x1 /* 800BA350 000B6190 C8 01 00 80 */ lfd f0, 0x80(r1) /* 800BA354 000B6194 54 07 07 BE */ clrlwi r7, r0, 30 /* 800BA358 000B6198 2C 07 00 02 */ cmpwi r7, 0x2 /* 800BA35C 000B619C EF 20 E0 28 */ fsubs f25, f0, f28 /* 800BA360 000B61A0 40 82 00 08 */ bne lbl_800BA368 /* 800BA364 000B61A4 38 60 00 02 */ li r3, 0x2 .global lbl_800BA368 lbl_800BA368: /* 800BA368 000B61A8 38 85 00 FE */ addi r4, r5, 0xfe /* 800BA36C 000B61AC 54 80 06 3E */ clrlwi r0, r4, 24 /* 800BA370 000B61B0 28 00 00 01 */ cmplwi r0, 0x1 /* 800BA374 000B61B4 41 81 00 08 */ bgt lbl_800BA37C /* 800BA378 000B61B8 7C 63 00 D0 */ neg r3, r3 .global lbl_800BA37C lbl_800BA37C: /* 800BA37C 000B61BC 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 800BA380 000B61C0 90 01 00 7C */ stw r0, 0x7c(r1) /* 800BA384 000B61C4 28 05 00 01 */ cmplwi r5, 0x1 /* 800BA388 000B61C8 C8 01 00 78 */ lfd f0, 0x78(r1) /* 800BA38C 000B61CC 38 00 00 00 */ li r0, 0x0 /* 800BA390 000B61D0 EF 00 E0 28 */ fsubs f24, f0, f28 /* 800BA394 000B61D4 41 82 00 0C */ beq lbl_800BA3A0 /* 800BA398 000B61D8 28 05 00 03 */ cmplwi r5, 0x3 /* 800BA39C 000B61DC 40 82 00 08 */ bne lbl_800BA3A4 .global lbl_800BA3A0 lbl_800BA3A0: /* 800BA3A0 000B61E0 38 00 00 01 */ li r0, 0x1 .global lbl_800BA3A4 lbl_800BA3A4: /* 800BA3A4 000B61E4 2C 06 00 02 */ cmpwi r6, 0x2 /* 800BA3A8 000B61E8 40 82 00 08 */ bne lbl_800BA3B0 /* 800BA3AC 000B61EC 54 00 08 3C */ slwi r0, r0, 1 .global lbl_800BA3B0 lbl_800BA3B0: /* 800BA3B0 000B61F0 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 800BA3B4 000B61F4 90 01 00 84 */ stw r0, 0x84(r1) /* 800BA3B8 000B61F8 54 80 06 3E */ clrlwi r0, r4, 24 /* 800BA3BC 000B61FC 38 60 00 00 */ li r3, 0x0 /* 800BA3C0 000B6200 C8 01 00 80 */ lfd f0, 0x80(r1) /* 800BA3C4 000B6204 28 00 00 01 */ cmplwi r0, 0x1 /* 800BA3C8 000B6208 EE E0 E0 28 */ fsubs f23, f0, f28 /* 800BA3CC 000B620C 41 81 00 08 */ bgt lbl_800BA3D4 /* 800BA3D0 000B6210 38 60 00 01 */ li r3, 0x1 .global lbl_800BA3D4 lbl_800BA3D4: /* 800BA3D4 000B6214 2C 07 00 02 */ cmpwi r7, 0x2 /* 800BA3D8 000B6218 40 82 00 08 */ bne lbl_800BA3E0 /* 800BA3DC 000B621C 54 63 08 3C */ slwi r3, r3, 1 .global lbl_800BA3E0 lbl_800BA3E0: /* 800BA3E0 000B6220 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 800BA3E4 000B6224 90 01 00 7C */ stw r0, 0x7c(r1) /* 800BA3E8 000B6228 2C 12 00 00 */ cmpwi r18, 0x0 /* 800BA3EC 000B622C C8 01 00 78 */ lfd f0, 0x78(r1) /* 800BA3F0 000B6230 EE C0 E0 28 */ fsubs f22, f0, f28 /* 800BA3F4 000B6234 40 82 00 84 */ bne lbl_800BA478 /* 800BA3F8 000B6238 C0 19 00 08 */ lfs f0, 0x8(r25) /* 800BA3FC 000B623C FC 19 00 00 */ fcmpu cr0, f25, f0 /* 800BA400 000B6240 40 82 00 78 */ bne lbl_800BA478 /* 800BA404 000B6244 C0 19 00 0C */ lfs f0, 0xc(r25) /* 800BA408 000B6248 FC 18 00 00 */ fcmpu cr0, f24, f0 /* 800BA40C 000B624C 40 82 00 6C */ bne lbl_800BA478 /* 800BA410 000B6250 C0 19 00 10 */ lfs f0, 0x10(r25) /* 800BA414 000B6254 FC 17 00 00 */ fcmpu cr0, f23, f0 /* 800BA418 000B6258 40 82 00 60 */ bne lbl_800BA478 /* 800BA41C 000B625C C0 19 00 14 */ lfs f0, 0x14(r25) /* 800BA420 000B6260 FC 16 00 00 */ fcmpu cr0, f22, f0 /* 800BA424 000B6264 40 82 00 54 */ bne lbl_800BA478 /* 800BA428 000B6268 C0 37 00 4C */ lfs f1, 0x4c(r23) /* 800BA42C 000B626C C0 19 00 20 */ lfs f0, 0x20(r25) /* 800BA430 000B6270 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800BA434 000B6274 40 82 00 44 */ bne lbl_800BA478 /* 800BA438 000B6278 C0 37 00 50 */ lfs f1, 0x50(r23) /* 800BA43C 000B627C C0 19 00 24 */ lfs f0, 0x24(r25) /* 800BA440 000B6280 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800BA444 000B6284 40 82 00 34 */ bne lbl_800BA478 /* 800BA448 000B6288 C0 3C 00 64 */ lfs f1, 0x64(r28) /* 800BA44C 000B628C C0 19 00 28 */ lfs f0, 0x28(r25) /* 800BA450 000B6290 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800BA454 000B6294 40 82 00 24 */ bne lbl_800BA478 /* 800BA458 000B6298 C0 37 00 70 */ lfs f1, 0x70(r23) /* 800BA45C 000B629C C0 19 00 2C */ lfs f0, 0x2c(r25) /* 800BA460 000B62A0 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800BA464 000B62A4 40 82 00 14 */ bne lbl_800BA478 /* 800BA468 000B62A8 C0 37 00 74 */ lfs f1, 0x74(r23) /* 800BA46C 000B62AC C0 19 00 30 */ lfs f0, 0x30(r25) /* 800BA470 000B62B0 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800BA474 000B62B4 41 82 02 24 */ beq lbl_800BA698 .global lbl_800BA478 lbl_800BA478: /* 800BA478 000B62B8 D3 39 00 08 */ stfs f25, 0x8(r25) /* 800BA47C 000B62BC 38 61 00 48 */ addi r3, r1, 0x48 /* 800BA480 000B62C0 3A A0 00 01 */ li r21, 0x1 /* 800BA484 000B62C4 D3 19 00 0C */ stfs f24, 0xc(r25) /* 800BA488 000B62C8 D2 F9 00 10 */ stfs f23, 0x10(r25) /* 800BA48C 000B62CC D2 D9 00 14 */ stfs f22, 0x14(r25) /* 800BA490 000B62D0 C0 17 00 4C */ lfs f0, 0x4c(r23) /* 800BA494 000B62D4 D0 19 00 20 */ stfs f0, 0x20(r25) /* 800BA498 000B62D8 C0 17 00 50 */ lfs f0, 0x50(r23) /* 800BA49C 000B62DC D0 19 00 24 */ stfs f0, 0x24(r25) /* 800BA4A0 000B62E0 C0 1C 00 64 */ lfs f0, 0x64(r28) /* 800BA4A4 000B62E4 D0 19 00 28 */ stfs f0, 0x28(r25) /* 800BA4A8 000B62E8 C0 17 00 70 */ lfs f0, 0x70(r23) /* 800BA4AC 000B62EC D0 19 00 2C */ stfs f0, 0x2c(r25) /* 800BA4B0 000B62F0 C0 17 00 74 */ lfs f0, 0x74(r23) /* 800BA4B4 000B62F4 D0 19 00 30 */ stfs f0, 0x30(r25) /* 800BA4B8 000B62F8 4B F7 60 29 */ bl PSMTXIdentity /* 800BA4BC 000B62FC C0 57 00 70 */ lfs f2, 0x70(r23) /* 800BA4C0 000B6300 D0 41 00 54 */ stfs f2, 0x54(r1) /* 800BA4C4 000B6304 C0 17 00 74 */ lfs f0, 0x74(r23) /* 800BA4C8 000B6308 D0 01 00 64 */ stfs f0, 0x64(r1) /* 800BA4CC 000B630C C0 3C 00 64 */ lfs f1, 0x64(r28) /* 800BA4D0 000B6310 FC 1D 08 00 */ fcmpu cr0, f29, f1 /* 800BA4D4 000B6314 41 82 00 5C */ beq lbl_800BA530 /* 800BA4D8 000B6318 EE 82 F0 28 */ fsubs f20, f2, f30 /* 800BA4DC 000B631C 38 61 00 14 */ addi r3, r1, 0x14 /* 800BA4E0 000B6320 EE A0 F0 28 */ fsubs f21, f0, f30 /* 800BA4E4 000B6324 38 81 00 10 */ addi r4, r1, 0x10 /* 800BA4E8 000B6328 4B FF 95 D9 */ bl PSSinCosRad__Q24nw4r2efFPfPff /* 800BA4EC 000B632C C0 A1 00 14 */ lfs f5, 0x14(r1) /* 800BA4F0 000B6330 C0 C1 00 10 */ lfs f6, 0x10(r1) /* 800BA4F4 000B6334 EC 05 05 32 */ fmuls f0, f5, f20 /* 800BA4F8 000B6338 D0 C1 00 5C */ stfs f6, 0x5c(r1) /* 800BA4FC 000B633C EC 26 05 32 */ fmuls f1, f6, f20 /* 800BA500 000B6340 FC 80 28 50 */ fneg f4, f5 /* 800BA504 000B6344 D0 C1 00 48 */ stfs f6, 0x48(r1) /* 800BA508 000B6348 EC 45 05 72 */ fmuls f2, f5, f21 /* 800BA50C 000B634C EC 7E 08 2A */ fadds f3, f30, f1 /* 800BA510 000B6350 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 800BA514 000B6354 EC 3E 00 2A */ fadds f1, f30, f0 /* 800BA518 000B6358 EC 06 05 72 */ fmuls f0, f6, f21 /* 800BA51C 000B635C D0 A1 00 58 */ stfs f5, 0x58(r1) /* 800BA520 000B6360 EC 43 10 28 */ fsubs f2, f3, f2 /* 800BA524 000B6364 EC 01 00 2A */ fadds f0, f1, f0 /* 800BA528 000B6368 D0 41 00 54 */ stfs f2, 0x54(r1) /* 800BA52C 000B636C D0 01 00 64 */ stfs f0, 0x64(r1) .global lbl_800BA530 lbl_800BA530: /* 800BA530 000B6370 FC 1F C8 00 */ fcmpu cr0, f31, f25 /* 800BA534 000B6374 40 82 00 34 */ bne lbl_800BA568 /* 800BA538 000B6378 FC 1F C0 00 */ fcmpu cr0, f31, f24 /* 800BA53C 000B637C 40 82 00 2C */ bne lbl_800BA568 /* 800BA540 000B6380 C0 17 00 4C */ lfs f0, 0x4c(r23) /* 800BA544 000B6384 FC 1F 00 00 */ fcmpu cr0, f31, f0 /* 800BA548 000B6388 40 82 00 20 */ bne lbl_800BA568 /* 800BA54C 000B638C C0 17 00 50 */ lfs f0, 0x50(r23) /* 800BA550 000B6390 FC 1F 00 00 */ fcmpu cr0, f31, f0 /* 800BA554 000B6394 40 82 00 14 */ bne lbl_800BA568 /* 800BA558 000B6398 FC 1D B8 00 */ fcmpu cr0, f29, f23 /* 800BA55C 000B639C 40 82 00 0C */ bne lbl_800BA568 /* 800BA560 000B63A0 FC 1D B0 00 */ fcmpu cr0, f29, f22 /* 800BA564 000B63A4 41 82 00 7C */ beq lbl_800BA5E0 .global lbl_800BA568 lbl_800BA568: /* 800BA568 000B63A8 C0 21 00 54 */ lfs f1, 0x54(r1) /* 800BA56C 000B63AC C0 01 00 64 */ lfs f0, 0x64(r1) /* 800BA570 000B63B0 EC 21 F0 28 */ fsubs f1, f1, f30 /* 800BA574 000B63B4 C0 57 00 4C */ lfs f2, 0x4c(r23) /* 800BA578 000B63B8 EC 00 F0 28 */ fsubs f0, f0, f30 /* 800BA57C 000B63BC C0 D7 00 50 */ lfs f6, 0x50(r23) /* 800BA580 000B63C0 EC F9 00 B2 */ fmuls f7, f25, f2 /* 800BA584 000B63C4 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 800BA588 000B63C8 EC 61 00 B2 */ fmuls f3, f1, f2 /* 800BA58C 000B63CC C0 81 00 4C */ lfs f4, 0x4c(r1) /* 800BA590 000B63D0 EC 00 01 B2 */ fmuls f0, f0, f6 /* 800BA594 000B63D4 C0 41 00 58 */ lfs f2, 0x58(r1) /* 800BA598 000B63D8 EC D8 01 B2 */ fmuls f6, f24, f6 /* 800BA59C 000B63DC C0 21 00 5C */ lfs f1, 0x5c(r1) /* 800BA5A0 000B63E0 EC 7E 18 2A */ fadds f3, f30, f3 /* 800BA5A4 000B63E4 EC 1E 00 2A */ fadds f0, f30, f0 /* 800BA5A8 000B63E8 EC A5 01 F2 */ fmuls f5, f5, f7 /* 800BA5AC 000B63EC EC 79 00 F2 */ fmuls f3, f25, f3 /* 800BA5B0 000B63F0 EC 18 00 32 */ fmuls f0, f24, f0 /* 800BA5B4 000B63F4 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 800BA5B8 000B63F8 EC 84 01 F2 */ fmuls f4, f4, f7 /* 800BA5BC 000B63FC EC 77 18 2A */ fadds f3, f23, f3 /* 800BA5C0 000B6400 EC 42 01 B2 */ fmuls f2, f2, f6 /* 800BA5C4 000B6404 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 800BA5C8 000B6408 EC 21 01 B2 */ fmuls f1, f1, f6 /* 800BA5CC 000B640C EC 16 00 2A */ fadds f0, f22, f0 /* 800BA5D0 000B6410 D0 61 00 54 */ stfs f3, 0x54(r1) /* 800BA5D4 000B6414 D0 41 00 58 */ stfs f2, 0x58(r1) /* 800BA5D8 000B6418 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 800BA5DC 000B641C D0 01 00 64 */ stfs f0, 0x64(r1) .global lbl_800BA5E0 lbl_800BA5E0: /* 800BA5E0 000B6420 A0 70 00 00 */ lhz r3, 0x0(r16) /* 800BA5E4 000B6424 38 14 00 07 */ addi r0, r20, 0x7 /* 800BA5E8 000B6428 7C 60 06 30 */ sraw r0, r3, r0 /* 800BA5EC 000B642C 54 00 07 FF */ clrlwi. r0, r0, 31 /* 800BA5F0 000B6430 40 82 00 50 */ bne lbl_800BA640 /* 800BA5F4 000B6434 80 9D 00 D4 */ lwz r4, 0xd4(r29) /* 800BA5F8 000B6438 38 61 00 48 */ addi r3, r1, 0x48 /* 800BA5FC 000B643C 38 A0 00 01 */ li r5, 0x1 /* 800BA600 000B6440 54 80 10 3A */ slwi r0, r4, 2 /* 800BA604 000B6444 7C 84 00 50 */ subf r4, r4, r0 /* 800BA608 000B6448 38 84 00 1E */ addi r4, r4, 0x1e /* 800BA60C 000B644C 4B F7 E7 55 */ bl GXLoadTexMtxImm /* 800BA610 000B6450 2C 12 00 00 */ cmpwi r18, 0x0 /* 800BA614 000B6454 41 82 00 84 */ beq lbl_800BA698 /* 800BA618 000B6458 80 7D 00 D4 */ lwz r3, 0xd4(r29) /* 800BA61C 000B645C 38 80 00 01 */ li r4, 0x1 /* 800BA620 000B6460 38 A0 00 04 */ li r5, 0x4 /* 800BA624 000B6464 38 E0 00 00 */ li r7, 0x0 /* 800BA628 000B6468 54 60 10 3A */ slwi r0, r3, 2 /* 800BA62C 000B646C 39 00 00 7D */ li r8, 0x7d /* 800BA630 000B6470 7C C3 00 50 */ subf r6, r3, r0 /* 800BA634 000B6474 38 C6 00 1E */ addi r6, r6, 0x1e /* 800BA638 000B6478 4B F7 9E 59 */ bl GXSetTexCoordGen2 /* 800BA63C 000B647C 48 00 00 5C */ b lbl_800BA698 .global lbl_800BA640 lbl_800BA640: /* 800BA640 000B6480 38 81 00 48 */ addi r4, r1, 0x48 /* 800BA644 000B6484 38 71 00 30 */ addi r3, r17, 0x30 /* 800BA648 000B6488 7C 85 23 78 */ mr r5, r4 /* 800BA64C 000B648C 4B F7 5F 05 */ bl PSMTXConcat /* 800BA650 000B6490 80 9D 00 D4 */ lwz r4, 0xd4(r29) /* 800BA654 000B6494 38 61 00 48 */ addi r3, r1, 0x48 /* 800BA658 000B6498 38 A0 00 00 */ li r5, 0x0 /* 800BA65C 000B649C 54 80 10 3A */ slwi r0, r4, 2 /* 800BA660 000B64A0 7C 84 00 50 */ subf r4, r4, r0 /* 800BA664 000B64A4 38 84 00 40 */ addi r4, r4, 0x40 /* 800BA668 000B64A8 4B F7 E6 F9 */ bl GXLoadTexMtxImm /* 800BA66C 000B64AC 2C 12 00 00 */ cmpwi r18, 0x0 /* 800BA670 000B64B0 41 82 00 28 */ beq lbl_800BA698 /* 800BA674 000B64B4 80 7D 00 D4 */ lwz r3, 0xd4(r29) /* 800BA678 000B64B8 38 80 00 00 */ li r4, 0x0 /* 800BA67C 000B64BC 38 A0 00 00 */ li r5, 0x0 /* 800BA680 000B64C0 38 C0 00 00 */ li r6, 0x0 /* 800BA684 000B64C4 54 60 10 3A */ slwi r0, r3, 2 /* 800BA688 000B64C8 38 E0 00 00 */ li r7, 0x0 /* 800BA68C 000B64CC 7D 03 00 50 */ subf r8, r3, r0 /* 800BA690 000B64D0 39 08 00 40 */ addi r8, r8, 0x40 /* 800BA694 000B64D4 4B F7 9D FD */ bl GXSetTexCoordGen2 .global lbl_800BA698 lbl_800BA698: /* 800BA698 000B64D8 3A 94 00 01 */ addi r20, r20, 0x1 /* 800BA69C 000B64DC 3B 9C 00 04 */ addi r28, r28, 0x4 /* 800BA6A0 000B64E0 2C 14 00 03 */ cmpwi r20, 0x3 /* 800BA6A4 000B64E4 3B 7B 00 04 */ addi r27, r27, 0x4 /* 800BA6A8 000B64E8 3B 39 00 30 */ addi r25, r25, 0x30 /* 800BA6AC 000B64EC 3B 18 00 02 */ addi r24, r24, 0x2 /* 800BA6B0 000B64F0 3A F7 00 08 */ addi r23, r23, 0x8 /* 800BA6B4 000B64F4 3B BD 00 04 */ addi r29, r29, 0x4 /* 800BA6B8 000B64F8 41 80 FA F0 */ blt lbl_800BA1A8 /* 800BA6BC 000B64FC E3 E1 01 88 */ psq_l f31, 0x188(r1), 0, qr0 /* 800BA6C0 000B6500 7E A3 AB 78 */ mr r3, r21 /* 800BA6C4 000B6504 CB E1 01 80 */ lfd f31, 0x180(r1) /* 800BA6C8 000B6508 E3 C1 01 78 */ psq_l f30, 0x178(r1), 0, qr0 /* 800BA6CC 000B650C CB C1 01 70 */ lfd f30, 0x170(r1) /* 800BA6D0 000B6510 E3 A1 01 68 */ psq_l f29, 0x168(r1), 0, qr0 /* 800BA6D4 000B6514 CB A1 01 60 */ lfd f29, 0x160(r1) /* 800BA6D8 000B6518 E3 81 01 58 */ psq_l f28, 0x158(r1), 0, qr0 /* 800BA6DC 000B651C CB 81 01 50 */ lfd f28, 0x150(r1) /* 800BA6E0 000B6520 E3 61 01 48 */ psq_l f27, 0x148(r1), 0, qr0 /* 800BA6E4 000B6524 CB 61 01 40 */ lfd f27, 0x140(r1) /* 800BA6E8 000B6528 E3 41 01 38 */ psq_l f26, 0x138(r1), 0, qr0 /* 800BA6EC 000B652C CB 41 01 30 */ lfd f26, 0x130(r1) /* 800BA6F0 000B6530 E3 21 01 28 */ psq_l f25, 0x128(r1), 0, qr0 /* 800BA6F4 000B6534 CB 21 01 20 */ lfd f25, 0x120(r1) /* 800BA6F8 000B6538 E3 01 01 18 */ psq_l f24, 0x118(r1), 0, qr0 /* 800BA6FC 000B653C CB 01 01 10 */ lfd f24, 0x110(r1) /* 800BA700 000B6540 E2 E1 01 08 */ psq_l f23, 0x108(r1), 0, qr0 /* 800BA704 000B6544 CA E1 01 00 */ lfd f23, 0x100(r1) /* 800BA708 000B6548 E2 C1 00 F8 */ psq_l f22, 0xf8(r1), 0, qr0 /* 800BA70C 000B654C CA C1 00 F0 */ lfd f22, 0xf0(r1) /* 800BA710 000B6550 E2 A1 00 E8 */ psq_l f21, 0xe8(r1), 0, qr0 /* 800BA714 000B6554 CA A1 00 E0 */ lfd f21, 0xe0(r1) /* 800BA718 000B6558 E2 81 00 D8 */ psq_l f20, 0xd8(r1), 0, qr0 /* 800BA71C 000B655C CA 81 00 D0 */ lfd f20, 0xd0(r1) /* 800BA720 000B6560 39 61 00 D0 */ addi r11, r1, 0xd0 /* 800BA724 000B6564 4B F4 CC 35 */ bl lbl_80007358 /* 800BA728 000B6568 80 01 01 94 */ lwz r0, 0x194(r1) /* 800BA72C 000B656C 7C 08 03 A6 */ mtlr r0 /* 800BA730 000B6570 38 21 01 90 */ addi r1, r1, 0x190 /* 800BA734 000B6574 4E 80 00 20 */ blr /* 800BA738 000B6578 00 00 00 00 */ .4byte 0x00000000 /* 800BA73C 000B657C 00 00 00 00 */ .4byte 0x00000000 .global GetGetFirstDrawParticleFunc__Q34nw4r2ef16DrawStrategyImplFi GetGetFirstDrawParticleFunc__Q34nw4r2ef16DrawStrategyImplFi: /* 800BA740 000B6580 2C 04 00 00 */ cmpwi r4, 0x0 /* 800BA744 000B6584 3C 60 80 0C */ lis r3, GetFirstDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager@ha /* 800BA748 000B6588 38 63 A7 80 */ addi r3, r3, GetFirstDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager@l /* 800BA74C 000B658C 4C 82 00 20 */ bnelr /* 800BA750 000B6590 3C 60 80 0C */ lis r3, GetFirstDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager@ha /* 800BA754 000B6594 38 63 A7 B0 */ addi r3, r3, GetFirstDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager@l /* 800BA758 000B6598 4E 80 00 20 */ blr /* 800BA75C 000B659C 00 00 00 00 */ .4byte 0x00000000 .global GetGetNextDrawParticleFunc__Q34nw4r2ef16DrawStrategyImplFi GetGetNextDrawParticleFunc__Q34nw4r2ef16DrawStrategyImplFi: /* 800BA760 000B65A0 2C 04 00 00 */ cmpwi r4, 0x0 /* 800BA764 000B65A4 3C 60 80 0C */ lis r3, GetNextDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle@ha /* 800BA768 000B65A8 38 63 A8 00 */ addi r3, r3, GetNextDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle@l /* 800BA76C 000B65AC 4C 82 00 20 */ bnelr /* 800BA770 000B65B0 3C 60 80 0C */ lis r3, GetNextDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle@ha /* 800BA774 000B65B4 38 63 A8 40 */ addi r3, r3, GetNextDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle@l /* 800BA778 000B65B8 4E 80 00 20 */ blr /* 800BA77C 000B65BC 00 00 00 00 */ .4byte 0x00000000 .global GetFirstDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager GetFirstDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager: /* 800BA780 000B65C0 80 83 00 38 */ lwz r4, 0x38(r3) /* 800BA784 000B65C4 48 00 00 10 */ b lbl_800BA794 .global lbl_800BA788 lbl_800BA788: /* 800BA788 000B65C8 A0 03 00 42 */ lhz r0, 0x42(r3) /* 800BA78C 000B65CC 7C 84 02 14 */ add r4, r4, r0 /* 800BA790 000B65D0 80 84 00 04 */ lwz r4, 0x4(r4) .global lbl_800BA794 lbl_800BA794: /* 800BA794 000B65D4 2C 04 00 00 */ cmpwi r4, 0x0 /* 800BA798 000B65D8 41 82 00 10 */ beq lbl_800BA7A8 /* 800BA79C 000B65DC 80 04 00 0C */ lwz r0, 0xc(r4) /* 800BA7A0 000B65E0 2C 00 00 01 */ cmpwi r0, 0x1 /* 800BA7A4 000B65E4 40 82 FF E4 */ bne lbl_800BA788 .global lbl_800BA7A8 lbl_800BA7A8: /* 800BA7A8 000B65E8 7C 83 23 78 */ mr r3, r4 /* 800BA7AC 000B65EC 4E 80 00 20 */ blr .global GetFirstDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager GetFirstDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManager: /* 800BA7B0 000B65F0 80 83 00 3C */ lwz r4, 0x3c(r3) /* 800BA7B4 000B65F4 48 00 00 2C */ b lbl_800BA7E0 .global lbl_800BA7B8 lbl_800BA7B8: /* 800BA7B8 000B65F8 A0 A3 00 42 */ lhz r5, 0x42(r3) /* 800BA7BC 000B65FC 7C 84 28 2E */ lwzx r4, r4, r5 /* 800BA7C0 000B6600 48 00 00 0C */ b lbl_800BA7CC /* 800BA7C4 000B6604 60 00 00 00 */ nop .global lbl_800BA7C8 lbl_800BA7C8: /* 800BA7C8 000B6608 7C 84 28 2E */ lwzx r4, r4, r5 .global lbl_800BA7CC lbl_800BA7CC: /* 800BA7CC 000B660C 2C 04 00 00 */ cmpwi r4, 0x0 /* 800BA7D0 000B6610 41 82 00 10 */ beq lbl_800BA7E0 /* 800BA7D4 000B6614 80 04 00 0C */ lwz r0, 0xc(r4) /* 800BA7D8 000B6618 2C 00 00 01 */ cmpwi r0, 0x1 /* 800BA7DC 000B661C 40 82 FF EC */ bne lbl_800BA7C8 .global lbl_800BA7E0 lbl_800BA7E0: /* 800BA7E0 000B6620 2C 04 00 00 */ cmpwi r4, 0x0 /* 800BA7E4 000B6624 41 82 00 10 */ beq lbl_800BA7F4 /* 800BA7E8 000B6628 80 04 00 0C */ lwz r0, 0xc(r4) /* 800BA7EC 000B662C 2C 00 00 01 */ cmpwi r0, 0x1 /* 800BA7F0 000B6630 40 82 FF C8 */ bne lbl_800BA7B8 .global lbl_800BA7F4 lbl_800BA7F4: /* 800BA7F4 000B6634 7C 83 23 78 */ mr r3, r4 /* 800BA7F8 000B6638 4E 80 00 20 */ blr /* 800BA7FC 000B663C 00 00 00 00 */ .4byte 0x00000000 .global GetNextDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle GetNextDrawParticle_EldersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle: /* 800BA800 000B6640 A0 03 00 42 */ lhz r0, 0x42(r3) /* 800BA804 000B6644 7C 84 02 14 */ add r4, r4, r0 /* 800BA808 000B6648 80 84 00 04 */ lwz r4, 0x4(r4) /* 800BA80C 000B664C 48 00 00 10 */ b lbl_800BA81C .global lbl_800BA810 lbl_800BA810: /* 800BA810 000B6650 A0 03 00 42 */ lhz r0, 0x42(r3) /* 800BA814 000B6654 7C 84 02 14 */ add r4, r4, r0 /* 800BA818 000B6658 80 84 00 04 */ lwz r4, 0x4(r4) .global lbl_800BA81C lbl_800BA81C: /* 800BA81C 000B665C 2C 04 00 00 */ cmpwi r4, 0x0 /* 800BA820 000B6660 41 82 00 10 */ beq lbl_800BA830 /* 800BA824 000B6664 80 04 00 0C */ lwz r0, 0xc(r4) /* 800BA828 000B6668 2C 00 00 01 */ cmpwi r0, 0x1 /* 800BA82C 000B666C 40 82 FF E4 */ bne lbl_800BA810 .global lbl_800BA830 lbl_800BA830: /* 800BA830 000B6670 7C 83 23 78 */ mr r3, r4 /* 800BA834 000B6674 4E 80 00 20 */ blr /* 800BA838 000B6678 00 00 00 00 */ .4byte 0x00000000 /* 800BA83C 000B667C 00 00 00 00 */ .4byte 0x00000000 .global GetNextDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle GetNextDrawParticle_YoungersFirst__Q34nw4r2ef16DrawStrategyImplFPQ34nw4r2ef15ParticleManagerPQ34nw4r2ef8Particle: /* 800BA840 000B6680 A0 03 00 42 */ lhz r0, 0x42(r3) /* 800BA844 000B6684 7C 84 00 2E */ lwzx r4, r4, r0 /* 800BA848 000B6688 48 00 00 10 */ b lbl_800BA858 /* 800BA84C 000B668C 60 00 00 00 */ nop .global lbl_800BA850 lbl_800BA850: /* 800BA850 000B6690 A0 03 00 42 */ lhz r0, 0x42(r3) /* 800BA854 000B6694 7C 84 00 2E */ lwzx r4, r4, r0 .global lbl_800BA858 lbl_800BA858: /* 800BA858 000B6698 2C 04 00 00 */ cmpwi r4, 0x0 /* 800BA85C 000B669C 41 82 00 10 */ beq lbl_800BA86C /* 800BA860 000B66A0 80 04 00 0C */ lwz r0, 0xc(r4) /* 800BA864 000B66A4 2C 00 00 01 */ cmpwi r0, 0x1 /* 800BA868 000B66A8 40 82 FF E8 */ bne lbl_800BA850 .global lbl_800BA86C lbl_800BA86C: /* 800BA86C 000B66AC 7C 83 23 78 */ mr r3, r4 /* 800BA870 000B66B0 4E 80 00 20 */ blr /* 800BA874 000B66B4 00 00 00 00 */ .4byte 0x00000000 /* 800BA878 000B66B8 00 00 00 00 */ .4byte 0x00000000 /* 800BA87C 000B66BC 00 00 00 00 */ .4byte 0x00000000 .global __ct__Q44nw4r2ef16DrawStrategyImpl12AheadContextFRCQ34nw4r4math5MTX34PQ34nw4r2ef15ParticleManager __ct__Q44nw4r2ef16DrawStrategyImpl12AheadContextFRCQ34nw4r4math5MTX34PQ34nw4r2ef15ParticleManager: /* 800BA880 000B66C0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 800BA884 000B66C4 7C 08 02 A6 */ mflr r0 /* 800BA888 000B66C8 90 01 00 64 */ stw r0, 0x64(r1) /* 800BA88C 000B66CC 93 E1 00 5C */ stw r31, 0x5c(r1) /* 800BA890 000B66D0 93 C1 00 58 */ stw r30, 0x58(r1) /* 800BA894 000B66D4 7C BE 2B 78 */ mr r30, r5 /* 800BA898 000B66D8 93 A1 00 54 */ stw r29, 0x54(r1) /* 800BA89C 000B66DC 7C 7D 1B 78 */ mr r29, r3 /* 800BA8A0 000B66E0 90 83 00 04 */ stw r4, 0x4(r3) /* 800BA8A4 000B66E4 38 9D 00 08 */ addi r4, r29, 0x8 /* 800BA8A8 000B66E8 90 A3 00 00 */ stw r5, 0x0(r3) /* 800BA8AC 000B66EC 80 65 00 20 */ lwz r3, 0x20(r5) /* 800BA8B0 000B66F0 4B FE C3 E1 */ bl CalcGlobalMtx__Q34nw4r2ef7EmitterFPQ34nw4r4math5MTX34 /* 800BA8B4 000B66F4 7F C3 F3 78 */ mr r3, r30 /* 800BA8B8 000B66F8 38 9D 00 38 */ addi r4, r29, 0x38 /* 800BA8BC 000B66FC 4B FF 75 B5 */ bl CalcGlobalMtx__Q34nw4r2ef15ParticleManagerFPQ34nw4r4math5MTX34 /* 800BA8C0 000B6700 38 7D 00 38 */ addi r3, r29, 0x38 /* 800BA8C4 000B6704 38 9D 00 68 */ addi r4, r29, 0x68 /* 800BA8C8 000B6708 4B F7 5F 39 */ bl PSMTXInverse /* 800BA8CC 000B670C 2C 03 00 00 */ cmpwi r3, 0x0 /* 800BA8D0 000B6710 40 82 00 0C */ bne lbl_800BA8DC /* 800BA8D4 000B6714 38 7D 00 68 */ addi r3, r29, 0x68 /* 800BA8D8 000B6718 4B F7 5C 09 */ bl PSMTXIdentity .global lbl_800BA8DC lbl_800BA8DC: /* 800BA8DC 000B671C C0 5D 00 2C */ lfs f2, 0x2c(r29) /* 800BA8E0 000B6720 38 61 00 38 */ addi r3, r1, 0x38 /* 800BA8E4 000B6724 C0 3D 00 1C */ lfs f1, 0x1c(r29) /* 800BA8E8 000B6728 7C 65 1B 78 */ mr r5, r3 /* 800BA8EC 000B672C C0 1D 00 0C */ lfs f0, 0xc(r29) /* 800BA8F0 000B6730 38 9D 00 68 */ addi r4, r29, 0x68 /* 800BA8F4 000B6734 D0 01 00 38 */ stfs f0, 0x38(r1) /* 800BA8F8 000B6738 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 800BA8FC 000B673C D0 41 00 40 */ stfs f2, 0x40(r1) /* 800BA900 000B6740 48 04 47 D1 */ bl VEC3TransformNormal__Q24nw4r4mathFPQ34nw4r4math4VEC3PCQ34nw4r4math5MTX34PCQ34nw4r4math4VEC3 /* 800BA904 000B6744 3B E1 00 38 */ addi r31, r1, 0x38 /* 800BA908 000B6748 C0 02 8D 90 */ lfs f0, "@10650"@sda21(r2) /* 800BA90C 000B674C E0 3F 00 04 */ psq_l f1, 0x4(r31), 0, qr0 /* 800BA910 000B6750 E0 5F 80 00 */ psq_l f2, 0x0(r31), 1, qr0 /* 800BA914 000B6754 10 21 00 72 */ ps_mul f1, f1, f1 /* 800BA918 000B6758 10 42 08 BA */ ps_madd f2, f2, f2, f1 /* 800BA91C 000B675C 10 22 08 54 */ ps_sum0 f1, f2, f1, f1 /* 800BA920 000B6760 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800BA924 000B6764 40 80 00 0C */ bge lbl_800BA930 /* 800BA928 000B6768 38 00 00 00 */ li r0, 0x0 /* 800BA92C 000B676C 48 00 00 24 */ b lbl_800BA950 .global lbl_800BA930 lbl_800BA930: /* 800BA930 000B6770 48 04 41 41 */ bl FrSqrt__Q24nw4r4mathFf /* 800BA934 000B6774 E0 5F 00 00 */ psq_l f2, 0x0(r31), 0, qr0 /* 800BA938 000B6778 38 00 00 01 */ li r0, 0x1 /* 800BA93C 000B677C 10 02 00 58 */ ps_muls0 f0, f2, f1 /* 800BA940 000B6780 E0 5F 80 08 */ psq_l f2, 0x8(r31), 1, qr0 /* 800BA944 000B6784 F0 1F 00 00 */ psq_st f0, 0x0(r31), 0, qr0 /* 800BA948 000B6788 10 02 00 58 */ ps_muls0 f0, f2, f1 /* 800BA94C 000B678C F0 1F 80 08 */ psq_st f0, 0x8(r31), 1, qr0 .global lbl_800BA950 lbl_800BA950: /* 800BA950 000B6790 2C 00 00 00 */ cmpwi r0, 0x0 /* 800BA954 000B6794 40 82 00 24 */ bne lbl_800BA978 /* 800BA958 000B6798 C0 22 8D 6C */ lfs f1, "@9916"@sda21(r2) /* 800BA95C 000B679C C0 02 8D 68 */ lfs f0, "@9915"@sda21(r2) /* 800BA960 000B67A0 D0 21 00 14 */ stfs f1, 0x14(r1) /* 800BA964 000B67A4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 800BA968 000B67A8 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 800BA96C 000B67AC D0 21 00 38 */ stfs f1, 0x38(r1) /* 800BA970 000B67B0 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 800BA974 000B67B4 D0 21 00 40 */ stfs f1, 0x40(r1) .global lbl_800BA978 lbl_800BA978: /* 800BA978 000B67B8 C0 01 00 38 */ lfs f0, 0x38(r1) /* 800BA97C 000B67BC 38 81 00 2C */ addi r4, r1, 0x2c /* 800BA980 000B67C0 D0 1D 00 98 */ stfs f0, 0x98(r29) /* 800BA984 000B67C4 7C 85 23 78 */ mr r5, r4 /* 800BA988 000B67C8 C0 5D 00 34 */ lfs f2, 0x34(r29) /* 800BA98C 000B67CC 38 7D 00 68 */ addi r3, r29, 0x68 /* 800BA990 000B67D0 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 800BA994 000B67D4 D0 1D 00 9C */ stfs f0, 0x9c(r29) /* 800BA998 000B67D8 C0 3D 00 24 */ lfs f1, 0x24(r29) /* 800BA99C 000B67DC C0 01 00 40 */ lfs f0, 0x40(r1) /* 800BA9A0 000B67E0 D0 1D 00 A0 */ stfs f0, 0xa0(r29) /* 800BA9A4 000B67E4 C0 1D 00 14 */ lfs f0, 0x14(r29) /* 800BA9A8 000B67E8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 800BA9AC 000B67EC D0 21 00 30 */ stfs f1, 0x30(r1) /* 800BA9B0 000B67F0 D0 41 00 34 */ stfs f2, 0x34(r1) /* 800BA9B4 000B67F4 4B F7 67 3D */ bl PSMTXMultVec /* 800BA9B8 000B67F8 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 800BA9BC 000B67FC D0 1D 00 A4 */ stfs f0, 0xa4(r29) /* 800BA9C0 000B6800 C0 01 00 30 */ lfs f0, 0x30(r1) /* 800BA9C4 000B6804 D0 1D 00 A8 */ stfs f0, 0xa8(r29) /* 800BA9C8 000B6808 C0 01 00 34 */ lfs f0, 0x34(r1) /* 800BA9CC 000B680C D0 1D 00 AC */ stfs f0, 0xac(r29) /* 800BA9D0 000B6810 80 7E 00 24 */ lwz r3, 0x24(r30) /* 800BA9D4 000B6814 88 03 01 4A */ lbz r0, 0x14a(r3) /* 800BA9D8 000B6818 2C 00 00 05 */ cmpwi r0, 0x5 /* 800BA9DC 000B681C 41 82 00 0C */ beq lbl_800BA9E8 /* 800BA9E0 000B6820 2C 00 00 07 */ cmpwi r0, 0x7 /* 800BA9E4 000B6824 40 82 00 A8 */ bne lbl_800BAA8C .global lbl_800BA9E8 lbl_800BA9E8: /* 800BA9E8 000B6828 C0 5D 00 8C */ lfs f2, 0x8c(r29) /* 800BA9EC 000B682C 3B E1 00 20 */ addi r31, r1, 0x20 /* 800BA9F0 000B6830 C0 1D 00 7C */ lfs f0, 0x7c(r29) /* 800BA9F4 000B6834 D0 01 00 24 */ stfs f0, 0x24(r1) /* 800BA9F8 000B6838 C0 3D 00 6C */ lfs f1, 0x6c(r29) /* 800BA9FC 000B683C D0 41 00 28 */ stfs f2, 0x28(r1) /* 800BAA00 000B6840 C0 02 8D 90 */ lfs f0, "@10650"@sda21(r2) /* 800BAA04 000B6844 E0 5F 00 04 */ psq_l f2, 0x4(r31), 0, qr0 /* 800BAA08 000B6848 D0 21 00 20 */ stfs f1, 0x20(r1) /* 800BAA0C 000B684C 10 42 00 B2 */ ps_mul f2, f2, f2 /* 800BAA10 000B6850 E0 3F 80 00 */ psq_l f1, 0x0(r31), 1, qr0 /* 800BAA14 000B6854 10 21 10 7A */ ps_madd f1, f1, f1, f2 /* 800BAA18 000B6858 10 21 10 94 */ ps_sum0 f1, f1, f2, f2 /* 800BAA1C 000B685C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800BAA20 000B6860 40 80 00 0C */ bge lbl_800BAA2C /* 800BAA24 000B6864 38 00 00 00 */ li r0, 0x0 /* 800BAA28 000B6868 48 00 00 24 */ b lbl_800BAA4C .global lbl_800BAA2C lbl_800BAA2C: /* 800BAA2C 000B686C 48 04 40 45 */ bl FrSqrt__Q24nw4r4mathFf /* 800BAA30 000B6870 E0 5F 00 00 */ psq_l f2, 0x0(r31), 0, qr0 /* 800BAA34 000B6874 38 00 00 01 */ li r0, 0x1 /* 800BAA38 000B6878 10 02 00 58 */ ps_muls0 f0, f2, f1 /* 800BAA3C 000B687C E0 5F 80 08 */ psq_l f2, 0x8(r31), 1, qr0 /* 800BAA40 000B6880 F0 1F 00 00 */ psq_st f0, 0x0(r31), 0, qr0 /* 800BAA44 000B6884 10 02 00 58 */ ps_muls0 f0, f2, f1 /* 800BAA48 000B6888 F0 1F 80 08 */ psq_st f0, 0x8(r31), 1, qr0 .global lbl_800BAA4C lbl_800BAA4C: /* 800BAA4C 000B688C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800BAA50 000B6890 40 82 00 24 */ bne lbl_800BAA74 /* 800BAA54 000B6894 C0 22 8D 6C */ lfs f1, "@9916"@sda21(r2) /* 800BAA58 000B6898 C0 02 8D 68 */ lfs f0, "@9915"@sda21(r2) /* 800BAA5C 000B689C D0 21 00 08 */ stfs f1, 0x8(r1) /* 800BAA60 000B68A0 D0 01 00 0C */ stfs f0, 0xc(r1) /* 800BAA64 000B68A4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 800BAA68 000B68A8 D0 21 00 20 */ stfs f1, 0x20(r1) /* 800BAA6C 000B68AC D0 01 00 24 */ stfs f0, 0x24(r1) /* 800BAA70 000B68B0 D0 21 00 28 */ stfs f1, 0x28(r1) .global lbl_800BAA74 lbl_800BAA74: /* 800BAA74 000B68B4 C0 41 00 20 */ lfs f2, 0x20(r1) /* 800BAA78 000B68B8 C0 21 00 24 */ lfs f1, 0x24(r1) /* 800BAA7C 000B68BC C0 01 00 28 */ lfs f0, 0x28(r1) /* 800BAA80 000B68C0 D0 5D 00 B0 */ stfs f2, 0xb0(r29) /* 800BAA84 000B68C4 D0 3D 00 B4 */ stfs f1, 0xb4(r29) /* 800BAA88 000B68C8 D0 1D 00 B8 */ stfs f0, 0xb8(r29) .global lbl_800BAA8C lbl_800BAA8C: /* 800BAA8C 000B68CC 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 800BAA90 000B68D0 7F A3 EB 78 */ mr r3, r29 /* 800BAA94 000B68D4 83 C1 00 58 */ lwz r30, 0x58(r1) /* 800BAA98 000B68D8 83 A1 00 54 */ lwz r29, 0x54(r1) /* 800BAA9C 000B68DC 80 01 00 64 */ lwz r0, 0x64(r1) /* 800BAAA0 000B68E0 7C 08 03 A6 */ mtlr r0 /* 800BAAA4 000B68E4 38 21 00 60 */ addi r1, r1, 0x60 /* 800BAAA8 000B68E8 4E 80 00 20 */ blr /* 800BAAAC 000B68EC 00 00 00 00 */ .4byte 0x00000000 .global __dt__Q34nw4r2ef16DrawStrategyImplFv __dt__Q34nw4r2ef16DrawStrategyImplFv: /* 800BAAB0 000B68F0 4B FE A3 00 */ b __dt__Q34nw4r2ef7EmitterFv /* 800BAAB4 000B68F4 00 00 00 00 */ .4byte 0x00000000 /* 800BAAB8 000B68F8 00 00 00 00 */ .4byte 0x00000000 /* 800BAABC 000B68FC 00 00 00 00 */ .4byte 0x00000000 .global "__sinit_@@1ef_drawstrategyimpl_cpp" "__sinit_@@1ef_drawstrategyimpl_cpp": /* 800BAAC0 000B6900 3D 00 80 51 */ lis r8, mXUnitVec__Q34nw4r2ef16DrawStrategyImpl@ha /* 800BAAC4 000B6904 C0 22 8D 68 */ lfs f1, "@9915"@sda21(r2) /* 800BAAC8 000B6908 39 08 AA 08 */ addi r8, r8, mXUnitVec__Q34nw4r2ef16DrawStrategyImpl@l /* 800BAACC 000B690C C0 02 8D 6C */ lfs f0, "@9916"@sda21(r2) /* 800BAAD0 000B6910 38 68 00 30 */ addi r3, r8, 0x30 /* 800BAAD4 000B6914 D0 28 00 00 */ stfs f1, 0x0(r8) /* 800BAAD8 000B6918 38 E8 00 00 */ addi r7, r8, 0x0 /* 800BAADC 000B691C 38 C8 00 0C */ addi r6, r8, 0xc /* 800BAAE0 000B6920 38 A8 00 18 */ addi r5, r8, 0x18 /* 800BAAE4 000B6924 38 88 00 24 */ addi r4, r8, 0x24 /* 800BAAE8 000B6928 D0 07 00 04 */ stfs f0, 0x4(r7) /* 800BAAEC 000B692C D0 07 00 08 */ stfs f0, 0x8(r7) /* 800BAAF0 000B6930 D0 08 00 0C */ stfs f0, 0xc(r8) /* 800BAAF4 000B6934 D0 26 00 04 */ stfs f1, 0x4(r6) /* 800BAAF8 000B6938 D0 06 00 08 */ stfs f0, 0x8(r6) /* 800BAAFC 000B693C D0 08 00 18 */ stfs f0, 0x18(r8) /* 800BAB00 000B6940 D0 05 00 04 */ stfs f0, 0x4(r5) /* 800BAB04 000B6944 D0 25 00 08 */ stfs f1, 0x8(r5) /* 800BAB08 000B6948 D0 08 00 24 */ stfs f0, 0x24(r8) /* 800BAB0C 000B694C D0 04 00 04 */ stfs f0, 0x4(r4) /* 800BAB10 000B6950 D0 04 00 08 */ stfs f0, 0x8(r4) /* 800BAB14 000B6954 D0 28 00 30 */ stfs f1, 0x30(r8) /* 800BAB18 000B6958 D0 03 00 04 */ stfs f0, 0x4(r3) /* 800BAB1C 000B695C D0 03 00 08 */ stfs f0, 0x8(r3) /* 800BAB20 000B6960 D0 03 00 0C */ stfs f0, 0xc(r3) /* 800BAB24 000B6964 D0 03 00 10 */ stfs f0, 0x10(r3) /* 800BAB28 000B6968 D0 23 00 14 */ stfs f1, 0x14(r3) /* 800BAB2C 000B696C D0 03 00 18 */ stfs f0, 0x18(r3) /* 800BAB30 000B6970 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 800BAB34 000B6974 D0 03 00 20 */ stfs f0, 0x20(r3) /* 800BAB38 000B6978 D0 03 00 24 */ stfs f0, 0x24(r3) /* 800BAB3C 000B697C D0 23 00 28 */ stfs f1, 0x28(r3) /* 800BAB40 000B6980 D0 03 00 2C */ stfs f0, 0x2c(r3) /* 800BAB44 000B6984 4E 80 00 20 */ blr /* 800BAB48 000B6988 00 00 00 00 */ .4byte 0x00000000 /* 800BAB4C 000B698C 00 00 00 00 */ .4byte 0x00000000 .include "macros.inc" .section .ctors, "wa" # 0x80406260 - 0x80406540 ; 0x000002E0 .4byte "__sinit_@@1ef_drawstrategyimpl_cpp" .include "macros.inc" .section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 .global __vt__Q34nw4r2ef16DrawStrategyImpl __vt__Q34nw4r2ef16DrawStrategyImpl: .4byte 0 .4byte 0 .4byte __dt__Q34nw4r2ef16DrawStrategyImplFv .4byte 0 .4byte GetGetFirstDrawParticleFunc__Q34nw4r2ef16DrawStrategyImplFi .4byte GetGetNextDrawParticleFunc__Q34nw4r2ef16DrawStrategyImplFi .include "macros.inc" .section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 .global mXUnitVec__Q34nw4r2ef16DrawStrategyImpl mXUnitVec__Q34nw4r2ef16DrawStrategyImpl: .skip 0x18 .global mZUnitVec__Q34nw4r2ef16DrawStrategyImpl mZUnitVec__Q34nw4r2ef16DrawStrategyImpl: .skip 0xC .global mZeroVec__Q34nw4r2ef16DrawStrategyImpl mZeroVec__Q34nw4r2ef16DrawStrategyImpl: .skip 0xC .global mIdentityMtx__Q34nw4r2ef16DrawStrategyImpl mIdentityMtx__Q34nw4r2ef16DrawStrategyImpl: .skip 0x30 .include "macros.inc" .section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 .global "@9915" "@9915": .4byte 0x3F800000 .global "@9916" "@9916": .4byte 0 .global "@9989" "@9989": .4byte 0x42C80000 .global "@10502" "@10502": .4byte 0xBF800000 .global "@10503" "@10503": .4byte 0x3F000000 .4byte 0 .global "@10510" "@10510": .4byte 0x43300000 .4byte 0 .global "@10511" "@10511": .4byte 0x43300000 .4byte 0x80000000 .global "@10650" "@10650": .4byte 0x34000000 .4byte 0