.include "macros.inc" .section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860 .global GetInstance__Q34nw4r2ef8ResourceFv GetInstance__Q34nw4r2ef8ResourceFv: /* 800B2540 000AE380 3C 60 80 51 */ lis r3, mResource__Q34nw4r2ef8Resource@ha /* 800B2544 000AE384 38 63 A3 C8 */ addi r3, r3, mResource__Q34nw4r2ef8Resource@l /* 800B2548 000AE388 4E 80 00 20 */ blr /* 800B254C 000AE38C 00 00 00 00 */ .4byte 0x00000000 .global Initialize__Q34nw4r2ef8ResourceFv Initialize__Q34nw4r2ef8ResourceFv: /* 800B2550 000AE390 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800B2554 000AE394 7C 08 02 A6 */ mflr r0 /* 800B2558 000AE398 38 80 00 04 */ li r4, 0x4 /* 800B255C 000AE39C 90 01 00 14 */ stw r0, 0x14(r1) /* 800B2560 000AE3A0 93 E1 00 0C */ stw r31, 0xc(r1) /* 800B2564 000AE3A4 7C 7F 1B 78 */ mr r31, r3 /* 800B2568 000AE3A8 4B FF 12 C9 */ bl MEMInitList /* 800B256C 000AE3AC 38 7F 00 10 */ addi r3, r31, 0x10 /* 800B2570 000AE3B0 38 80 00 04 */ li r4, 0x4 /* 800B2574 000AE3B4 4B FF 12 BD */ bl MEMInitList /* 800B2578 000AE3B8 38 00 00 00 */ li r0, 0x0 /* 800B257C 000AE3BC 90 1F 00 0C */ stw r0, 0xc(r31) /* 800B2580 000AE3C0 90 1F 00 1C */ stw r0, 0x1c(r31) /* 800B2584 000AE3C4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800B2588 000AE3C8 80 01 00 14 */ lwz r0, 0x14(r1) /* 800B258C 000AE3CC 7C 08 03 A6 */ mtlr r0 /* 800B2590 000AE3D0 38 21 00 10 */ addi r1, r1, 0x10 /* 800B2594 000AE3D4 4E 80 00 20 */ blr /* 800B2598 000AE3D8 00 00 00 00 */ .4byte 0x00000000 /* 800B259C 000AE3DC 00 00 00 00 */ .4byte 0x00000000 .global breffRelocate__Q24nw4r2efFPQ34nw4r2ef13EffectProject breffRelocate__Q24nw4r2efFPQ34nw4r2ef13EffectProject: /* 800B25A0 000AE3E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800B25A4 000AE3E4 39 00 00 00 */ li r8, 0x0 /* 800B25A8 000AE3E8 93 E1 00 0C */ stw r31, 0xc(r1) /* 800B25AC 000AE3EC 80 03 00 00 */ lwz r0, 0x0(r3) /* 800B25B0 000AE3F0 7C C3 02 14 */ add r6, r3, r0 /* 800B25B4 000AE3F4 38 E6 00 08 */ addi r7, r6, 0x8 /* 800B25B8 000AE3F8 48 00 01 34 */ b lbl_800B26EC .global lbl_800B25BC lbl_800B25BC: /* 800B25BC 000AE3FC 88 87 00 00 */ lbz r4, 0x0(r7) /* 800B25C0 000AE400 38 60 00 00 */ li r3, 0x0 /* 800B25C4 000AE404 88 07 00 01 */ lbz r0, 0x1(r7) /* 800B25C8 000AE408 38 E7 00 02 */ addi r7, r7, 0x2 /* 800B25CC 000AE40C 54 84 40 2E */ slwi r4, r4, 8 /* 800B25D0 000AE410 7C 04 02 14 */ add r0, r4, r0 /* 800B25D4 000AE414 7C EB 3B 78 */ mr r11, r7 /* 800B25D8 000AE418 7C E7 02 14 */ add r7, r7, r0 /* 800B25DC 000AE41C 88 A7 00 02 */ lbz r5, 0x2(r7) /* 800B25E0 000AE420 88 07 00 01 */ lbz r0, 0x1(r7) /* 800B25E4 000AE424 88 87 00 00 */ lbz r4, 0x0(r7) /* 800B25E8 000AE428 54 A9 40 2E */ slwi r9, r5, 8 /* 800B25EC 000AE42C 89 47 00 03 */ lbz r10, 0x3(r7) /* 800B25F0 000AE430 54 00 80 1E */ slwi r0, r0, 16 /* 800B25F4 000AE434 54 85 C0 0E */ slwi r5, r4, 24 /* 800B25F8 000AE438 38 E7 00 08 */ addi r7, r7, 0x8 /* 800B25FC 000AE43C 7C 8A 4A 14 */ add r4, r10, r9 /* 800B2600 000AE440 7C 05 02 14 */ add r0, r5, r0 /* 800B2604 000AE444 7C 04 02 14 */ add r0, r4, r0 /* 800B2608 000AE448 7D 66 01 2E */ stwx r11, r6, r0 /* 800B260C 000AE44C 7D 26 02 14 */ add r9, r6, r0 /* 800B2610 000AE450 80 89 00 04 */ lwz r4, 0x4(r9) /* 800B2614 000AE454 38 04 00 08 */ addi r0, r4, 0x8 /* 800B2618 000AE458 7C 89 02 14 */ add r4, r9, r0 /* 800B261C 000AE45C 7C 09 00 2E */ lwzx r0, r9, r0 /* 800B2620 000AE460 7D 40 22 14 */ add r10, r0, r4 /* 800B2624 000AE464 A4 0A 00 04 */ lhzu r0, 0x4(r10) /* 800B2628 000AE468 54 04 18 38 */ slwi r4, r0, 3 /* 800B262C 000AE46C 54 00 10 3A */ slwi r0, r0, 2 /* 800B2630 000AE470 7C A4 52 14 */ add r5, r4, r10 /* 800B2634 000AE474 39 8A 00 04 */ addi r12, r10, 0x4 /* 800B2638 000AE478 7D 4A 02 14 */ add r10, r10, r0 /* 800B263C 000AE47C A0 05 00 04 */ lhz r0, 0x4(r5) /* 800B2640 000AE480 38 85 00 04 */ addi r4, r5, 0x4 /* 800B2644 000AE484 38 A5 00 08 */ addi r5, r5, 0x8 /* 800B2648 000AE488 3B EA 00 04 */ addi r31, r10, 0x4 /* 800B264C 000AE48C 54 0A 18 38 */ slwi r10, r0, 3 /* 800B2650 000AE490 54 00 10 3A */ slwi r0, r0, 2 /* 800B2654 000AE494 7D 6A 22 14 */ add r11, r10, r4 /* 800B2658 000AE498 7D 44 02 14 */ add r10, r4, r0 /* 800B265C 000AE49C 38 8B 00 04 */ addi r4, r11, 0x4 /* 800B2660 000AE4A0 39 6A 00 04 */ addi r11, r10, 0x4 /* 800B2664 000AE4A4 48 00 00 1C */ b lbl_800B2680 .global lbl_800B2668 lbl_800B2668: /* 800B2668 000AE4A8 90 8C 00 00 */ stw r4, 0x0(r12) /* 800B266C 000AE4AC 39 8C 00 04 */ addi r12, r12, 0x4 /* 800B2670 000AE4B0 38 63 00 01 */ addi r3, r3, 0x1 /* 800B2674 000AE4B4 80 1F 00 00 */ lwz r0, 0x0(r31) /* 800B2678 000AE4B8 3B FF 00 04 */ addi r31, r31, 0x4 /* 800B267C 000AE4BC 7C 84 02 14 */ add r4, r4, r0 .global lbl_800B2680 lbl_800B2680: /* 800B2680 000AE4C0 80 09 00 04 */ lwz r0, 0x4(r9) /* 800B2684 000AE4C4 7D 40 4A 14 */ add r10, r0, r9 /* 800B2688 000AE4C8 84 0A 00 08 */ lwzu r0, 0x8(r10) /* 800B268C 000AE4CC 7D 40 52 14 */ add r10, r0, r10 /* 800B2690 000AE4D0 A0 0A 00 04 */ lhz r0, 0x4(r10) /* 800B2694 000AE4D4 7C 03 00 00 */ cmpw r3, r0 /* 800B2698 000AE4D8 41 80 FF D0 */ blt lbl_800B2668 /* 800B269C 000AE4DC 39 40 00 00 */ li r10, 0x0 /* 800B26A0 000AE4E0 48 00 00 20 */ b lbl_800B26C0 /* 800B26A4 000AE4E4 60 00 00 00 */ nop .global lbl_800B26A8 lbl_800B26A8: /* 800B26A8 000AE4E8 90 85 00 00 */ stw r4, 0x0(r5) /* 800B26AC 000AE4EC 38 A5 00 04 */ addi r5, r5, 0x4 /* 800B26B0 000AE4F0 39 4A 00 01 */ addi r10, r10, 0x1 /* 800B26B4 000AE4F4 80 0B 00 00 */ lwz r0, 0x0(r11) /* 800B26B8 000AE4F8 39 6B 00 04 */ addi r11, r11, 0x4 /* 800B26BC 000AE4FC 7C 84 02 14 */ add r4, r4, r0 .global lbl_800B26C0 lbl_800B26C0: /* 800B26C0 000AE500 80 09 00 04 */ lwz r0, 0x4(r9) /* 800B26C4 000AE504 7C 60 4A 14 */ add r3, r0, r9 /* 800B26C8 000AE508 84 03 00 08 */ lwzu r0, 0x8(r3) /* 800B26CC 000AE50C 7C 60 1A 14 */ add r3, r0, r3 /* 800B26D0 000AE510 A4 03 00 04 */ lhzu r0, 0x4(r3) /* 800B26D4 000AE514 54 00 18 38 */ slwi r0, r0, 3 /* 800B26D8 000AE518 7C 60 1A 14 */ add r3, r0, r3 /* 800B26DC 000AE51C A0 03 00 04 */ lhz r0, 0x4(r3) /* 800B26E0 000AE520 7C 0A 00 00 */ cmpw r10, r0 /* 800B26E4 000AE524 41 80 FF C4 */ blt lbl_800B26A8 /* 800B26E8 000AE528 39 08 00 01 */ addi r8, r8, 0x1 .global lbl_800B26EC lbl_800B26EC: /* 800B26EC 000AE52C A0 06 00 04 */ lhz r0, 0x4(r6) /* 800B26F0 000AE530 7C 08 00 00 */ cmpw r8, r0 /* 800B26F4 000AE534 41 80 FE C8 */ blt lbl_800B25BC /* 800B26F8 000AE538 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800B26FC 000AE53C 38 21 00 10 */ addi r1, r1, 0x10 /* 800B2700 000AE540 4E 80 00 20 */ blr /* 800B2704 000AE544 00 00 00 00 */ .4byte 0x00000000 /* 800B2708 000AE548 00 00 00 00 */ .4byte 0x00000000 /* 800B270C 000AE54C 00 00 00 00 */ .4byte 0x00000000 .global breffSearchName__Q24nw4r2efFPQ34nw4r2ef13EffectProjectPCc breffSearchName__Q24nw4r2efFPQ34nw4r2ef13EffectProjectPCc: /* 800B2710 000AE550 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800B2714 000AE554 7C 08 02 A6 */ mflr r0 /* 800B2718 000AE558 90 01 00 24 */ stw r0, 0x24(r1) /* 800B271C 000AE55C 39 61 00 20 */ addi r11, r1, 0x20 /* 800B2720 000AE560 4B F5 4C 19 */ bl lbl_80007338 /* 800B2724 000AE564 80 03 00 00 */ lwz r0, 0x0(r3) /* 800B2728 000AE568 7C 9E 23 78 */ mr r30, r4 /* 800B272C 000AE56C 3B E0 00 00 */ li r31, 0x0 /* 800B2730 000AE570 7F 83 02 14 */ add r28, r3, r0 /* 800B2734 000AE574 A3 BC 00 04 */ lhz r29, 0x4(r28) /* 800B2738 000AE578 3B 7C 00 08 */ addi r27, r28, 0x8 /* 800B273C 000AE57C 48 00 00 68 */ b lbl_800B27A4 .global lbl_800B2740 lbl_800B2740: /* 800B2740 000AE580 88 9B 00 00 */ lbz r4, 0x0(r27) /* 800B2744 000AE584 7F C3 F3 78 */ mr r3, r30 /* 800B2748 000AE588 88 1B 00 01 */ lbz r0, 0x1(r27) /* 800B274C 000AE58C 3B 7B 00 02 */ addi r27, r27, 0x2 /* 800B2750 000AE590 54 84 40 2E */ slwi r4, r4, 8 /* 800B2754 000AE594 7C 04 02 14 */ add r0, r4, r0 /* 800B2758 000AE598 7F 64 DB 78 */ mr r4, r27 /* 800B275C 000AE59C 7F 7B 02 14 */ add r27, r27, r0 /* 800B2760 000AE5A0 88 DB 00 02 */ lbz r6, 0x2(r27) /* 800B2764 000AE5A4 88 1B 00 01 */ lbz r0, 0x1(r27) /* 800B2768 000AE5A8 88 BB 00 00 */ lbz r5, 0x0(r27) /* 800B276C 000AE5AC 54 C7 40 2E */ slwi r7, r6, 8 /* 800B2770 000AE5B0 89 1B 00 03 */ lbz r8, 0x3(r27) /* 800B2774 000AE5B4 54 00 80 1E */ slwi r0, r0, 16 /* 800B2778 000AE5B8 54 A6 C0 0E */ slwi r6, r5, 24 /* 800B277C 000AE5BC 3B 7B 00 08 */ addi r27, r27, 0x8 /* 800B2780 000AE5C0 7C A8 3A 14 */ add r5, r8, r7 /* 800B2784 000AE5C4 7C 06 02 14 */ add r0, r6, r0 /* 800B2788 000AE5C8 7F 45 02 14 */ add r26, r5, r0 /* 800B278C 000AE5CC 4B F5 B3 B1 */ bl strcmp /* 800B2790 000AE5D0 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B2794 000AE5D4 40 82 00 0C */ bne lbl_800B27A0 /* 800B2798 000AE5D8 7C 7C D2 14 */ add r3, r28, r26 /* 800B279C 000AE5DC 48 00 00 14 */ b lbl_800B27B0 .global lbl_800B27A0 lbl_800B27A0: /* 800B27A0 000AE5E0 3B FF 00 01 */ addi r31, r31, 0x1 .global lbl_800B27A4 lbl_800B27A4: /* 800B27A4 000AE5E4 7C 1F E8 00 */ cmpw r31, r29 /* 800B27A8 000AE5E8 41 80 FF 98 */ blt lbl_800B2740 /* 800B27AC 000AE5EC 38 60 00 00 */ li r3, 0x0 .global lbl_800B27B0 lbl_800B27B0: /* 800B27B0 000AE5F0 39 61 00 20 */ addi r11, r1, 0x20 /* 800B27B4 000AE5F4 4B F5 4B D1 */ bl lbl_80007384 /* 800B27B8 000AE5F8 80 01 00 24 */ lwz r0, 0x24(r1) /* 800B27BC 000AE5FC 7C 08 03 A6 */ mtlr r0 /* 800B27C0 000AE600 38 21 00 20 */ addi r1, r1, 0x20 /* 800B27C4 000AE604 4E 80 00 20 */ blr /* 800B27C8 000AE608 00 00 00 00 */ .4byte 0x00000000 /* 800B27CC 000AE60C 00 00 00 00 */ .4byte 0x00000000 .global breffIndexOf__Q24nw4r2efFPQ34nw4r2ef13EffectProjectUs breffIndexOf__Q24nw4r2efFPQ34nw4r2ef13EffectProjectUs: /* 800B27D0 000AE610 80 03 00 00 */ lwz r0, 0x0(r3) /* 800B27D4 000AE614 7D 03 02 14 */ add r8, r3, r0 /* 800B27D8 000AE618 A0 08 00 04 */ lhz r0, 0x4(r8) /* 800B27DC 000AE61C 7C 04 00 40 */ cmplw r4, r0 /* 800B27E0 000AE620 41 80 00 0C */ blt lbl_800B27EC /* 800B27E4 000AE624 38 60 00 00 */ li r3, 0x0 /* 800B27E8 000AE628 4E 80 00 20 */ blr .global lbl_800B27EC lbl_800B27EC: /* 800B27EC 000AE62C 39 28 00 08 */ addi r9, r8, 0x8 /* 800B27F0 000AE630 39 40 00 00 */ li r10, 0x0 /* 800B27F4 000AE634 7C 09 03 A6 */ mtctr r0 /* 800B27F8 000AE638 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B27FC 000AE63C 40 81 00 60 */ ble lbl_800B285C .global lbl_800B2800 lbl_800B2800: /* 800B2800 000AE640 88 69 00 00 */ lbz r3, 0x0(r9) /* 800B2804 000AE644 7C 0A 20 00 */ cmpw r10, r4 /* 800B2808 000AE648 88 09 00 01 */ lbz r0, 0x1(r9) /* 800B280C 000AE64C 39 29 00 02 */ addi r9, r9, 0x2 /* 800B2810 000AE650 54 63 40 2E */ slwi r3, r3, 8 /* 800B2814 000AE654 7C 03 02 14 */ add r0, r3, r0 /* 800B2818 000AE658 7D 29 02 14 */ add r9, r9, r0 /* 800B281C 000AE65C 88 A9 00 02 */ lbz r5, 0x2(r9) /* 800B2820 000AE660 88 09 00 01 */ lbz r0, 0x1(r9) /* 800B2824 000AE664 88 69 00 00 */ lbz r3, 0x0(r9) /* 800B2828 000AE668 54 A6 40 2E */ slwi r6, r5, 8 /* 800B282C 000AE66C 88 E9 00 03 */ lbz r7, 0x3(r9) /* 800B2830 000AE670 54 00 80 1E */ slwi r0, r0, 16 /* 800B2834 000AE674 54 65 C0 0E */ slwi r5, r3, 24 /* 800B2838 000AE678 39 29 00 08 */ addi r9, r9, 0x8 /* 800B283C 000AE67C 7C 67 32 14 */ add r3, r7, r6 /* 800B2840 000AE680 7C 05 02 14 */ add r0, r5, r0 /* 800B2844 000AE684 7C 03 02 14 */ add r0, r3, r0 /* 800B2848 000AE688 40 82 00 0C */ bne lbl_800B2854 /* 800B284C 000AE68C 7C 68 02 14 */ add r3, r8, r0 /* 800B2850 000AE690 4E 80 00 20 */ blr .global lbl_800B2854 lbl_800B2854: /* 800B2854 000AE694 39 4A 00 01 */ addi r10, r10, 0x1 /* 800B2858 000AE698 42 00 FF A8 */ bdnz lbl_800B2800 .global lbl_800B285C lbl_800B285C: /* 800B285C 000AE69C 38 60 00 00 */ li r3, 0x0 /* 800B2860 000AE6A0 4E 80 00 20 */ blr /* 800B2864 000AE6A4 00 00 00 00 */ .4byte 0x00000000 /* 800B2868 000AE6A8 00 00 00 00 */ .4byte 0x00000000 /* 800B286C 000AE6AC 00 00 00 00 */ .4byte 0x00000000 .global breftRelocate__Q24nw4r2efFPQ34nw4r2ef14TextureProject breftRelocate__Q24nw4r2efFPQ34nw4r2ef14TextureProject: /* 800B2870 000AE6B0 80 03 00 00 */ lwz r0, 0x0(r3) /* 800B2874 000AE6B4 39 20 00 00 */ li r9, 0x0 /* 800B2878 000AE6B8 7C E3 02 14 */ add r7, r3, r0 /* 800B287C 000AE6BC 39 07 00 08 */ addi r8, r7, 0x8 /* 800B2880 000AE6C0 48 00 00 6C */ b lbl_800B28EC .global lbl_800B2884 lbl_800B2884: /* 800B2884 000AE6C4 88 68 00 00 */ lbz r3, 0x0(r8) /* 800B2888 000AE6C8 39 29 00 01 */ addi r9, r9, 0x1 /* 800B288C 000AE6CC 88 08 00 01 */ lbz r0, 0x1(r8) /* 800B2890 000AE6D0 39 08 00 02 */ addi r8, r8, 0x2 /* 800B2894 000AE6D4 54 63 40 2E */ slwi r3, r3, 8 /* 800B2898 000AE6D8 7C 03 02 14 */ add r0, r3, r0 /* 800B289C 000AE6DC 7D 0A 43 78 */ mr r10, r8 /* 800B28A0 000AE6E0 7D 08 02 14 */ add r8, r8, r0 /* 800B28A4 000AE6E4 88 88 00 02 */ lbz r4, 0x2(r8) /* 800B28A8 000AE6E8 88 08 00 01 */ lbz r0, 0x1(r8) /* 800B28AC 000AE6EC 88 68 00 00 */ lbz r3, 0x0(r8) /* 800B28B0 000AE6F0 54 85 40 2E */ slwi r5, r4, 8 /* 800B28B4 000AE6F4 88 C8 00 03 */ lbz r6, 0x3(r8) /* 800B28B8 000AE6F8 54 00 80 1E */ slwi r0, r0, 16 /* 800B28BC 000AE6FC 54 64 C0 0E */ slwi r4, r3, 24 /* 800B28C0 000AE700 39 08 00 08 */ addi r8, r8, 0x8 /* 800B28C4 000AE704 7C 66 2A 14 */ add r3, r6, r5 /* 800B28C8 000AE708 7C 04 02 14 */ add r0, r4, r0 /* 800B28CC 000AE70C 7C 03 02 14 */ add r0, r3, r0 /* 800B28D0 000AE710 7C 87 02 14 */ add r4, r7, r0 /* 800B28D4 000AE714 7D 47 01 2E */ stwx r10, r7, r0 /* 800B28D8 000AE718 38 64 00 40 */ addi r3, r4, 0x40 /* 800B28DC 000AE71C 90 64 00 1C */ stw r3, 0x1c(r4) /* 800B28E0 000AE720 80 04 00 08 */ lwz r0, 0x8(r4) /* 800B28E4 000AE724 7C 03 02 14 */ add r0, r3, r0 /* 800B28E8 000AE728 90 04 00 20 */ stw r0, 0x20(r4) .global lbl_800B28EC lbl_800B28EC: /* 800B28EC 000AE72C A0 07 00 04 */ lhz r0, 0x4(r7) /* 800B28F0 000AE730 7C 09 00 00 */ cmpw r9, r0 /* 800B28F4 000AE734 41 80 FF 90 */ blt lbl_800B2884 /* 800B28F8 000AE738 4E 80 00 20 */ blr /* 800B28FC 000AE73C 00 00 00 00 */ .4byte 0x00000000 .global Add__Q34nw4r2ef8ResourceFPUc Add__Q34nw4r2ef8ResourceFPUc: /* 800B2900 000AE740 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800B2904 000AE744 7C 08 02 A6 */ mflr r0 /* 800B2908 000AE748 38 A0 00 08 */ li r5, 0x8 /* 800B290C 000AE74C 90 01 00 14 */ stw r0, 0x14(r1) /* 800B2910 000AE750 93 E1 00 0C */ stw r31, 0xc(r1) /* 800B2914 000AE754 93 C1 00 08 */ stw r30, 0x8(r1) /* 800B2918 000AE758 7C 7E 1B 78 */ mr r30, r3 /* 800B291C 000AE75C A0 04 00 0C */ lhz r0, 0xc(r4) /* 800B2920 000AE760 7C 64 02 14 */ add r3, r4, r0 /* 800B2924 000AE764 38 80 00 00 */ li r4, 0x0 /* 800B2928 000AE768 3B E3 00 08 */ addi r31, r3, 0x8 /* 800B292C 000AE76C 38 7F 00 04 */ addi r3, r31, 0x4 /* 800B2930 000AE770 4B F5 1A 21 */ bl memset /* 800B2934 000AE774 7F C3 F3 78 */ mr r3, r30 /* 800B2938 000AE778 7F E4 FB 78 */ mr r4, r31 /* 800B293C 000AE77C 4B FF 0F 15 */ bl MEMAppendListObject /* 800B2940 000AE780 80 1F 00 00 */ lwz r0, 0x0(r31) /* 800B2944 000AE784 7F E3 FB 78 */ mr r3, r31 /* 800B2948 000AE788 80 9E 00 0C */ lwz r4, 0xc(r30) /* 800B294C 000AE78C 7C BF 02 14 */ add r5, r31, r0 /* 800B2950 000AE790 A0 05 00 04 */ lhz r0, 0x4(r5) /* 800B2954 000AE794 7C 04 02 14 */ add r0, r4, r0 /* 800B2958 000AE798 90 1E 00 0C */ stw r0, 0xc(r30) /* 800B295C 000AE79C 4B FF FC 45 */ bl breffRelocate__Q24nw4r2efFPQ34nw4r2ef13EffectProject /* 800B2960 000AE7A0 7F E3 FB 78 */ mr r3, r31 /* 800B2964 000AE7A4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800B2968 000AE7A8 83 C1 00 08 */ lwz r30, 0x8(r1) /* 800B296C 000AE7AC 80 01 00 14 */ lwz r0, 0x14(r1) /* 800B2970 000AE7B0 7C 08 03 A6 */ mtlr r0 /* 800B2974 000AE7B4 38 21 00 10 */ addi r1, r1, 0x10 /* 800B2978 000AE7B8 4E 80 00 20 */ blr /* 800B297C 000AE7BC 00 00 00 00 */ .4byte 0x00000000 .global FindEmitter__Q34nw4r2ef8ResourceCFPCcPQ34nw4r2ef13EffectProject FindEmitter__Q34nw4r2ef8ResourceCFPCcPQ34nw4r2ef13EffectProject: /* 800B2980 000AE7C0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800B2984 000AE7C4 7C 08 02 A6 */ mflr r0 /* 800B2988 000AE7C8 2C 06 00 00 */ cmpwi r6, 0x0 /* 800B298C 000AE7CC 90 01 00 24 */ stw r0, 0x24(r1) /* 800B2990 000AE7D0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800B2994 000AE7D4 93 C1 00 18 */ stw r30, 0x18(r1) /* 800B2998 000AE7D8 7C BE 2B 78 */ mr r30, r5 /* 800B299C 000AE7DC 93 A1 00 14 */ stw r29, 0x14(r1) /* 800B29A0 000AE7E0 7C 9D 23 78 */ mr r29, r4 /* 800B29A4 000AE7E4 93 81 00 10 */ stw r28, 0x10(r1) /* 800B29A8 000AE7E8 7C 7C 1B 78 */ mr r28, r3 /* 800B29AC 000AE7EC 41 82 00 1C */ beq lbl_800B29C8 /* 800B29B0 000AE7F0 7C C3 33 78 */ mr r3, r6 /* 800B29B4 000AE7F4 7F C4 F3 78 */ mr r4, r30 /* 800B29B8 000AE7F8 4B FF FD 59 */ bl breffSearchName__Q24nw4r2efFPQ34nw4r2ef13EffectProjectPCc /* 800B29BC 000AE7FC 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B29C0 000AE800 41 82 00 08 */ beq lbl_800B29C8 /* 800B29C4 000AE804 48 00 00 4C */ b lbl_800B2A10 .global lbl_800B29C8 lbl_800B29C8: /* 800B29C8 000AE808 7F A3 EB 78 */ mr r3, r29 /* 800B29CC 000AE80C 38 80 00 00 */ li r4, 0x0 /* 800B29D0 000AE810 48 06 D2 91 */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B29D4 000AE814 7C 7F 1B 78 */ mr r31, r3 /* 800B29D8 000AE818 48 00 00 2C */ b lbl_800B2A04 .global lbl_800B29DC lbl_800B29DC: /* 800B29DC 000AE81C 7F E3 FB 78 */ mr r3, r31 /* 800B29E0 000AE820 7F C4 F3 78 */ mr r4, r30 /* 800B29E4 000AE824 4B FF FD 2D */ bl breffSearchName__Q24nw4r2efFPQ34nw4r2ef13EffectProjectPCc /* 800B29E8 000AE828 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B29EC 000AE82C 41 82 00 08 */ beq lbl_800B29F4 /* 800B29F0 000AE830 48 00 00 20 */ b lbl_800B2A10 .global lbl_800B29F4 lbl_800B29F4: /* 800B29F4 000AE834 7F A3 EB 78 */ mr r3, r29 /* 800B29F8 000AE838 7F E4 FB 78 */ mr r4, r31 /* 800B29FC 000AE83C 48 06 D2 65 */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B2A00 000AE840 7C 7F 1B 78 */ mr r31, r3 .global lbl_800B2A04 lbl_800B2A04: /* 800B2A04 000AE844 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B2A08 000AE848 40 82 FF D4 */ bne lbl_800B29DC /* 800B2A0C 000AE84C 38 60 00 00 */ li r3, 0x0 .global lbl_800B2A10 lbl_800B2A10: /* 800B2A10 000AE850 90 7C 00 00 */ stw r3, 0x0(r28) /* 800B2A14 000AE854 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800B2A18 000AE858 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800B2A1C 000AE85C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 800B2A20 000AE860 83 81 00 10 */ lwz r28, 0x10(r1) /* 800B2A24 000AE864 80 01 00 24 */ lwz r0, 0x24(r1) /* 800B2A28 000AE868 7C 08 03 A6 */ mtlr r0 /* 800B2A2C 000AE86C 38 21 00 20 */ addi r1, r1, 0x20 /* 800B2A30 000AE870 4E 80 00 20 */ blr /* 800B2A34 000AE874 00 00 00 00 */ .4byte 0x00000000 /* 800B2A38 000AE878 00 00 00 00 */ .4byte 0x00000000 /* 800B2A3C 000AE87C 00 00 00 00 */ .4byte 0x00000000 .global AddTexture__Q34nw4r2ef8ResourceFPUc AddTexture__Q34nw4r2ef8ResourceFPUc: /* 800B2A40 000AE880 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800B2A44 000AE884 7C 08 02 A6 */ mflr r0 /* 800B2A48 000AE888 38 A0 00 08 */ li r5, 0x8 /* 800B2A4C 000AE88C 90 01 00 14 */ stw r0, 0x14(r1) /* 800B2A50 000AE890 93 E1 00 0C */ stw r31, 0xc(r1) /* 800B2A54 000AE894 93 C1 00 08 */ stw r30, 0x8(r1) /* 800B2A58 000AE898 7C 7E 1B 78 */ mr r30, r3 /* 800B2A5C 000AE89C A0 04 00 0C */ lhz r0, 0xc(r4) /* 800B2A60 000AE8A0 7C 64 02 14 */ add r3, r4, r0 /* 800B2A64 000AE8A4 38 80 00 00 */ li r4, 0x0 /* 800B2A68 000AE8A8 3B E3 00 08 */ addi r31, r3, 0x8 /* 800B2A6C 000AE8AC 38 7F 00 04 */ addi r3, r31, 0x4 /* 800B2A70 000AE8B0 4B F5 18 E1 */ bl memset /* 800B2A74 000AE8B4 7F E4 FB 78 */ mr r4, r31 /* 800B2A78 000AE8B8 38 7E 00 10 */ addi r3, r30, 0x10 /* 800B2A7C 000AE8BC 4B FF 0D D5 */ bl MEMAppendListObject /* 800B2A80 000AE8C0 80 1F 00 00 */ lwz r0, 0x0(r31) /* 800B2A84 000AE8C4 7F E3 FB 78 */ mr r3, r31 /* 800B2A88 000AE8C8 80 9E 00 1C */ lwz r4, 0x1c(r30) /* 800B2A8C 000AE8CC 7C BF 02 14 */ add r5, r31, r0 /* 800B2A90 000AE8D0 A0 05 00 04 */ lhz r0, 0x4(r5) /* 800B2A94 000AE8D4 7C 04 02 14 */ add r0, r4, r0 /* 800B2A98 000AE8D8 90 1E 00 1C */ stw r0, 0x1c(r30) /* 800B2A9C 000AE8DC 4B FF FD D5 */ bl breftRelocate__Q24nw4r2efFPQ34nw4r2ef14TextureProject /* 800B2AA0 000AE8E0 7F E3 FB 78 */ mr r3, r31 /* 800B2AA4 000AE8E4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800B2AA8 000AE8E8 83 C1 00 08 */ lwz r30, 0x8(r1) /* 800B2AAC 000AE8EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 800B2AB0 000AE8F0 7C 08 03 A6 */ mtlr r0 /* 800B2AB4 000AE8F4 38 21 00 10 */ addi r1, r1, 0x10 /* 800B2AB8 000AE8F8 4E 80 00 20 */ blr /* 800B2ABC 000AE8FC 00 00 00 00 */ .4byte 0x00000000 .global relocateCurveTexture__Q34nw4r2ef8ResourceFPUcPCQ34nw4r2ef15EmitterResource relocateCurveTexture__Q34nw4r2ef8ResourceFPUcPCQ34nw4r2ef15EmitterResource: /* 800B2AC0 000AE900 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800B2AC4 000AE904 7C 08 02 A6 */ mflr r0 /* 800B2AC8 000AE908 90 01 00 34 */ stw r0, 0x34(r1) /* 800B2ACC 000AE90C 39 61 00 30 */ addi r11, r1, 0x30 /* 800B2AD0 000AE910 4B F5 48 61 */ bl lbl_80007330 /* 800B2AD4 000AE914 80 C4 00 0C */ lwz r6, 0xc(r4) /* 800B2AD8 000AE918 7C 7E 1B 78 */ mr r30, r3 /* 800B2ADC 000AE91C 80 04 00 18 */ lwz r0, 0x18(r4) /* 800B2AE0 000AE920 3B E0 00 00 */ li r31, 0x0 /* 800B2AE4 000AE924 80 A4 00 10 */ lwz r5, 0x10(r4) /* 800B2AE8 000AE928 7C C4 32 14 */ add r6, r4, r6 /* 800B2AEC 000AE92C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B2AF0 000AE930 80 64 00 14 */ lwz r3, 0x14(r4) /* 800B2AF4 000AE934 7C 06 2A 14 */ add r0, r6, r5 /* 800B2AF8 000AE938 7C 60 1A 14 */ add r3, r0, r3 /* 800B2AFC 000AE93C 3B 63 00 20 */ addi r27, r3, 0x20 /* 800B2B00 000AE940 40 82 00 0C */ bne lbl_800B2B0C /* 800B2B04 000AE944 38 60 00 00 */ li r3, 0x0 /* 800B2B08 000AE948 48 00 00 C0 */ b lbl_800B2BC8 .global lbl_800B2B0C lbl_800B2B0C: /* 800B2B0C 000AE94C A0 1B 00 00 */ lhz r0, 0x0(r27) /* 800B2B10 000AE950 7F 7C DB 78 */ mr r28, r27 /* 800B2B14 000AE954 3B 20 00 00 */ li r25, 0x0 /* 800B2B18 000AE958 54 00 10 3A */ slwi r0, r0, 2 /* 800B2B1C 000AE95C 7C 7B 02 14 */ add r3, r27, r0 /* 800B2B20 000AE960 3B 43 00 04 */ addi r26, r3, 0x4 /* 800B2B24 000AE964 48 00 00 94 */ b lbl_800B2BB8 .global lbl_800B2B28 lbl_800B2B28: /* 800B2B28 000AE968 88 1A 00 02 */ lbz r0, 0x2(r26) /* 800B2B2C 000AE96C A3 1A 00 00 */ lhz r24, 0x0(r26) /* 800B2B30 000AE970 3B 5A 00 02 */ addi r26, r26, 0x2 /* 800B2B34 000AE974 7C 00 07 75 */ extsb. r0, r0 /* 800B2B38 000AE978 40 82 00 0C */ bne lbl_800B2B44 /* 800B2B3C 000AE97C 38 60 00 00 */ li r3, 0x0 /* 800B2B40 000AE980 48 00 00 4C */ b lbl_800B2B8C .global lbl_800B2B44 lbl_800B2B44: /* 800B2B44 000AE984 38 7E 00 10 */ addi r3, r30, 0x10 /* 800B2B48 000AE988 38 80 00 00 */ li r4, 0x0 /* 800B2B4C 000AE98C 48 06 D1 15 */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B2B50 000AE990 7C 7D 1B 78 */ mr r29, r3 /* 800B2B54 000AE994 48 00 00 2C */ b lbl_800B2B80 .global lbl_800B2B58 lbl_800B2B58: /* 800B2B58 000AE998 7F A3 EB 78 */ mr r3, r29 /* 800B2B5C 000AE99C 7F 44 D3 78 */ mr r4, r26 /* 800B2B60 000AE9A0 4B FF FB B1 */ bl breffSearchName__Q24nw4r2efFPQ34nw4r2ef13EffectProjectPCc /* 800B2B64 000AE9A4 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B2B68 000AE9A8 41 82 00 08 */ beq lbl_800B2B70 /* 800B2B6C 000AE9AC 48 00 00 20 */ b lbl_800B2B8C .global lbl_800B2B70 lbl_800B2B70: /* 800B2B70 000AE9B0 7F A4 EB 78 */ mr r4, r29 /* 800B2B74 000AE9B4 38 7E 00 10 */ addi r3, r30, 0x10 /* 800B2B78 000AE9B8 48 06 D0 E9 */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B2B7C 000AE9BC 7C 7D 1B 78 */ mr r29, r3 .global lbl_800B2B80 lbl_800B2B80: /* 800B2B80 000AE9C0 2C 1D 00 00 */ cmpwi r29, 0x0 /* 800B2B84 000AE9C4 40 82 FF D4 */ bne lbl_800B2B58 /* 800B2B88 000AE9C8 38 60 00 00 */ li r3, 0x0 .global lbl_800B2B8C lbl_800B2B8C: /* 800B2B8C 000AE9CC 90 7C 00 04 */ stw r3, 0x4(r28) /* 800B2B90 000AE9D0 88 1A 00 00 */ lbz r0, 0x0(r26) /* 800B2B94 000AE9D4 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B2B98 000AE9D8 41 82 00 14 */ beq lbl_800B2BAC /* 800B2B9C 000AE9DC 80 1C 00 04 */ lwz r0, 0x4(r28) /* 800B2BA0 000AE9E0 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B2BA4 000AE9E4 40 82 00 08 */ bne lbl_800B2BAC /* 800B2BA8 000AE9E8 3B FF 00 01 */ addi r31, r31, 0x1 .global lbl_800B2BAC lbl_800B2BAC: /* 800B2BAC 000AE9EC 7F 5A C2 14 */ add r26, r26, r24 /* 800B2BB0 000AE9F0 3B 9C 00 04 */ addi r28, r28, 0x4 /* 800B2BB4 000AE9F4 3B 39 00 01 */ addi r25, r25, 0x1 .global lbl_800B2BB8 lbl_800B2BB8: /* 800B2BB8 000AE9F8 A0 1B 00 00 */ lhz r0, 0x0(r27) /* 800B2BBC 000AE9FC 7C 19 00 00 */ cmpw r25, r0 /* 800B2BC0 000AEA00 41 80 FF 68 */ blt lbl_800B2B28 /* 800B2BC4 000AEA04 7F E3 FB 78 */ mr r3, r31 .global lbl_800B2BC8 lbl_800B2BC8: /* 800B2BC8 000AEA08 39 61 00 30 */ addi r11, r1, 0x30 /* 800B2BCC 000AEA0C 4B F5 47 B1 */ bl lbl_8000737C /* 800B2BD0 000AEA10 80 01 00 34 */ lwz r0, 0x34(r1) /* 800B2BD4 000AEA14 7C 08 03 A6 */ mtlr r0 /* 800B2BD8 000AEA18 38 21 00 30 */ addi r1, r1, 0x30 /* 800B2BDC 000AEA1C 4E 80 00 20 */ blr .global relocateCurveChild__Q34nw4r2ef8ResourceFPUcPCQ34nw4r2ef15EmitterResource relocateCurveChild__Q34nw4r2ef8ResourceFPUcPCQ34nw4r2ef15EmitterResource: /* 800B2BE0 000AEA20 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800B2BE4 000AEA24 7C 08 02 A6 */ mflr r0 /* 800B2BE8 000AEA28 90 01 00 34 */ stw r0, 0x34(r1) /* 800B2BEC 000AEA2C 39 61 00 30 */ addi r11, r1, 0x30 /* 800B2BF0 000AEA30 4B F5 47 41 */ bl lbl_80007330 /* 800B2BF4 000AEA34 80 C4 00 0C */ lwz r6, 0xc(r4) /* 800B2BF8 000AEA38 7C 7F 1B 78 */ mr r31, r3 /* 800B2BFC 000AEA3C 80 04 00 18 */ lwz r0, 0x18(r4) /* 800B2C00 000AEA40 3B 80 00 00 */ li r28, 0x0 /* 800B2C04 000AEA44 80 A4 00 10 */ lwz r5, 0x10(r4) /* 800B2C08 000AEA48 7C C4 32 14 */ add r6, r4, r6 /* 800B2C0C 000AEA4C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B2C10 000AEA50 80 64 00 14 */ lwz r3, 0x14(r4) /* 800B2C14 000AEA54 7C 06 2A 14 */ add r0, r6, r5 /* 800B2C18 000AEA58 7C 60 1A 14 */ add r3, r0, r3 /* 800B2C1C 000AEA5C 3B 63 00 20 */ addi r27, r3, 0x20 /* 800B2C20 000AEA60 40 82 00 0C */ bne lbl_800B2C2C /* 800B2C24 000AEA64 38 60 00 00 */ li r3, 0x0 /* 800B2C28 000AEA68 48 00 00 9C */ b lbl_800B2CC4 .global lbl_800B2C2C lbl_800B2C2C: /* 800B2C2C 000AEA6C A0 1B 00 00 */ lhz r0, 0x0(r27) /* 800B2C30 000AEA70 7F 7D DB 78 */ mr r29, r27 /* 800B2C34 000AEA74 3B 20 00 00 */ li r25, 0x0 /* 800B2C38 000AEA78 54 00 10 3A */ slwi r0, r0, 2 /* 800B2C3C 000AEA7C 7C 7B 02 14 */ add r3, r27, r0 /* 800B2C40 000AEA80 3B 43 00 04 */ addi r26, r3, 0x4 /* 800B2C44 000AEA84 48 00 00 70 */ b lbl_800B2CB4 .global lbl_800B2C48 lbl_800B2C48: /* 800B2C48 000AEA88 A3 1A 00 00 */ lhz r24, 0x0(r26) /* 800B2C4C 000AEA8C 7F E3 FB 78 */ mr r3, r31 /* 800B2C50 000AEA90 38 80 00 00 */ li r4, 0x0 /* 800B2C54 000AEA94 3B 5A 00 02 */ addi r26, r26, 0x2 /* 800B2C58 000AEA98 48 06 D0 09 */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B2C5C 000AEA9C 7C 7E 1B 78 */ mr r30, r3 /* 800B2C60 000AEAA0 48 00 00 2C */ b lbl_800B2C8C .global lbl_800B2C64 lbl_800B2C64: /* 800B2C64 000AEAA4 7F C3 F3 78 */ mr r3, r30 /* 800B2C68 000AEAA8 7F 44 D3 78 */ mr r4, r26 /* 800B2C6C 000AEAAC 4B FF FA A5 */ bl breffSearchName__Q24nw4r2efFPQ34nw4r2ef13EffectProjectPCc /* 800B2C70 000AEAB0 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B2C74 000AEAB4 41 82 00 08 */ beq lbl_800B2C7C /* 800B2C78 000AEAB8 48 00 00 20 */ b lbl_800B2C98 .global lbl_800B2C7C lbl_800B2C7C: /* 800B2C7C 000AEABC 7F E3 FB 78 */ mr r3, r31 /* 800B2C80 000AEAC0 7F C4 F3 78 */ mr r4, r30 /* 800B2C84 000AEAC4 48 06 CF DD */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B2C88 000AEAC8 7C 7E 1B 78 */ mr r30, r3 .global lbl_800B2C8C lbl_800B2C8C: /* 800B2C8C 000AEACC 2C 1E 00 00 */ cmpwi r30, 0x0 /* 800B2C90 000AEAD0 40 82 FF D4 */ bne lbl_800B2C64 /* 800B2C94 000AEAD4 38 60 00 00 */ li r3, 0x0 .global lbl_800B2C98 lbl_800B2C98: /* 800B2C98 000AEAD8 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B2C9C 000AEADC 90 7D 00 04 */ stw r3, 0x4(r29) /* 800B2CA0 000AEAE0 40 82 00 08 */ bne lbl_800B2CA8 /* 800B2CA4 000AEAE4 3B 9C 00 01 */ addi r28, r28, 0x1 .global lbl_800B2CA8 lbl_800B2CA8: /* 800B2CA8 000AEAE8 7F 5A C2 14 */ add r26, r26, r24 /* 800B2CAC 000AEAEC 3B BD 00 04 */ addi r29, r29, 0x4 /* 800B2CB0 000AEAF0 3B 39 00 01 */ addi r25, r25, 0x1 .global lbl_800B2CB4 lbl_800B2CB4: /* 800B2CB4 000AEAF4 A0 1B 00 00 */ lhz r0, 0x0(r27) /* 800B2CB8 000AEAF8 7C 19 00 00 */ cmpw r25, r0 /* 800B2CBC 000AEAFC 41 80 FF 8C */ blt lbl_800B2C48 /* 800B2CC0 000AEB00 7F 83 E3 78 */ mr r3, r28 .global lbl_800B2CC4 lbl_800B2CC4: /* 800B2CC4 000AEB04 39 61 00 30 */ addi r11, r1, 0x30 /* 800B2CC8 000AEB08 4B F5 46 B5 */ bl lbl_8000737C /* 800B2CCC 000AEB0C 80 01 00 34 */ lwz r0, 0x34(r1) /* 800B2CD0 000AEB10 7C 08 03 A6 */ mtlr r0 /* 800B2CD4 000AEB14 38 21 00 30 */ addi r1, r1, 0x30 /* 800B2CD8 000AEB18 4E 80 00 20 */ blr /* 800B2CDC 000AEB1C 00 00 00 00 */ .4byte 0x00000000 .global RelocateCommand__Q34nw4r2ef8ResourceFv RelocateCommand__Q34nw4r2ef8ResourceFv: /* 800B2CE0 000AEB20 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800B2CE4 000AEB24 7C 08 02 A6 */ mflr r0 /* 800B2CE8 000AEB28 90 01 00 34 */ stw r0, 0x34(r1) /* 800B2CEC 000AEB2C 39 61 00 30 */ addi r11, r1, 0x30 /* 800B2CF0 000AEB30 4B F5 46 39 */ bl lbl_80007328 /* 800B2CF4 000AEB34 7C 7A 1B 78 */ mr r26, r3 /* 800B2CF8 000AEB38 3B C0 00 00 */ li r30, 0x0 /* 800B2CFC 000AEB3C 3B A0 00 00 */ li r29, 0x0 /* 800B2D00 000AEB40 48 00 01 F8 */ b lbl_800B2EF8 .global lbl_800B2D04 lbl_800B2D04: /* 800B2D04 000AEB44 7F BB EB 78 */ mr r27, r29 /* 800B2D08 000AEB48 7F 43 D3 78 */ mr r3, r26 /* 800B2D0C 000AEB4C 3B 80 00 00 */ li r28, 0x0 /* 800B2D10 000AEB50 38 80 00 00 */ li r4, 0x0 /* 800B2D14 000AEB54 4B FF 0C 1D */ bl MEMGetNextListObject /* 800B2D18 000AEB58 7C 64 1B 78 */ mr r4, r3 /* 800B2D1C 000AEB5C 48 00 00 3C */ b lbl_800B2D58 .global lbl_800B2D20 lbl_800B2D20: /* 800B2D20 000AEB60 80 04 00 00 */ lwz r0, 0x0(r4) /* 800B2D24 000AEB64 7C 64 02 14 */ add r3, r4, r0 /* 800B2D28 000AEB68 A0 03 00 04 */ lhz r0, 0x4(r3) /* 800B2D2C 000AEB6C 7C 1B 00 40 */ cmplw r27, r0 /* 800B2D30 000AEB70 40 80 00 18 */ bge lbl_800B2D48 /* 800B2D34 000AEB74 7C 83 23 78 */ mr r3, r4 /* 800B2D38 000AEB78 57 64 04 3E */ clrlwi r4, r27, 16 /* 800B2D3C 000AEB7C 4B FF FA 95 */ bl breffIndexOf__Q24nw4r2efFPQ34nw4r2ef13EffectProjectUs /* 800B2D40 000AEB80 7C 7F 1B 78 */ mr r31, r3 /* 800B2D44 000AEB84 48 00 00 20 */ b lbl_800B2D64 .global lbl_800B2D48 lbl_800B2D48: /* 800B2D48 000AEB88 7F 43 D3 78 */ mr r3, r26 /* 800B2D4C 000AEB8C 7F 60 D8 50 */ subf r27, r0, r27 /* 800B2D50 000AEB90 4B FF 0B E1 */ bl MEMGetNextListObject /* 800B2D54 000AEB94 7C 64 1B 78 */ mr r4, r3 .global lbl_800B2D58 lbl_800B2D58: /* 800B2D58 000AEB98 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B2D5C 000AEB9C 40 82 FF C4 */ bne lbl_800B2D20 /* 800B2D60 000AEBA0 3B E0 00 00 */ li r31, 0x0 .global lbl_800B2D64 lbl_800B2D64: /* 800B2D64 000AEBA4 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B2D68 000AEBA8 41 82 01 8C */ beq lbl_800B2EF4 /* 800B2D6C 000AEBAC 80 1F 00 04 */ lwz r0, 0x4(r31) /* 800B2D70 000AEBB0 3A E0 00 00 */ li r23, 0x0 /* 800B2D74 000AEBB4 7C 60 FA 14 */ add r3, r0, r31 /* 800B2D78 000AEBB8 3B 03 00 94 */ addi r24, r3, 0x94 /* 800B2D7C 000AEBBC 3B 23 00 74 */ addi r25, r3, 0x74 .global lbl_800B2D80 lbl_800B2D80: /* 800B2D80 000AEBC0 88 18 00 02 */ lbz r0, 0x2(r24) /* 800B2D84 000AEBC4 A2 D8 00 00 */ lhz r22, 0x0(r24) /* 800B2D88 000AEBC8 3B 18 00 02 */ addi r24, r24, 0x2 /* 800B2D8C 000AEBCC 7C 00 07 75 */ extsb. r0, r0 /* 800B2D90 000AEBD0 40 82 00 0C */ bne lbl_800B2D9C /* 800B2D94 000AEBD4 38 60 00 00 */ li r3, 0x0 /* 800B2D98 000AEBD8 48 00 00 4C */ b lbl_800B2DE4 .global lbl_800B2D9C lbl_800B2D9C: /* 800B2D9C 000AEBDC 38 7A 00 10 */ addi r3, r26, 0x10 /* 800B2DA0 000AEBE0 38 80 00 00 */ li r4, 0x0 /* 800B2DA4 000AEBE4 48 06 CE BD */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B2DA8 000AEBE8 7C 7B 1B 78 */ mr r27, r3 /* 800B2DAC 000AEBEC 48 00 00 2C */ b lbl_800B2DD8 .global lbl_800B2DB0 lbl_800B2DB0: /* 800B2DB0 000AEBF0 7F 63 DB 78 */ mr r3, r27 /* 800B2DB4 000AEBF4 7F 04 C3 78 */ mr r4, r24 /* 800B2DB8 000AEBF8 4B FF F9 59 */ bl breffSearchName__Q24nw4r2efFPQ34nw4r2ef13EffectProjectPCc /* 800B2DBC 000AEBFC 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B2DC0 000AEC00 41 82 00 08 */ beq lbl_800B2DC8 /* 800B2DC4 000AEC04 48 00 00 20 */ b lbl_800B2DE4 .global lbl_800B2DC8 lbl_800B2DC8: /* 800B2DC8 000AEC08 7F 64 DB 78 */ mr r4, r27 /* 800B2DCC 000AEC0C 38 7A 00 10 */ addi r3, r26, 0x10 /* 800B2DD0 000AEC10 48 06 CE 91 */ bl List_GetPrev__Q24nw4r2utFPCQ34nw4r2ut4ListPCv /* 800B2DD4 000AEC14 7C 7B 1B 78 */ mr r27, r3 .global lbl_800B2DD8 lbl_800B2DD8: /* 800B2DD8 000AEC18 2C 1B 00 00 */ cmpwi r27, 0x0 /* 800B2DDC 000AEC1C 40 82 FF D4 */ bne lbl_800B2DB0 /* 800B2DE0 000AEC20 38 60 00 00 */ li r3, 0x0 .global lbl_800B2DE4 lbl_800B2DE4: /* 800B2DE4 000AEC24 90 79 00 00 */ stw r3, 0x0(r25) /* 800B2DE8 000AEC28 88 18 00 00 */ lbz r0, 0x0(r24) /* 800B2DEC 000AEC2C 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B2DF0 000AEC30 41 82 00 18 */ beq lbl_800B2E08 /* 800B2DF4 000AEC34 80 19 00 00 */ lwz r0, 0x0(r25) /* 800B2DF8 000AEC38 2C 00 00 00 */ cmpwi r0, 0x0 /* 800B2DFC 000AEC3C 40 82 00 0C */ bne lbl_800B2E08 /* 800B2E00 000AEC40 38 1C 00 01 */ addi r0, r28, 0x1 /* 800B2E04 000AEC44 54 1C 06 3E */ clrlwi r28, r0, 24 .global lbl_800B2E08 lbl_800B2E08: /* 800B2E08 000AEC48 3A F7 00 01 */ addi r23, r23, 0x1 /* 800B2E0C 000AEC4C 7F 18 B2 14 */ add r24, r24, r22 /* 800B2E10 000AEC50 2C 17 00 03 */ cmpwi r23, 0x3 /* 800B2E14 000AEC54 3B 39 00 04 */ addi r25, r25, 0x4 /* 800B2E18 000AEC58 41 80 FF 68 */ blt lbl_800B2D80 /* 800B2E1C 000AEC5C 3B 60 00 00 */ li r27, 0x0 /* 800B2E20 000AEC60 48 00 00 84 */ b lbl_800B2EA4 .global lbl_800B2E24 lbl_800B2E24: /* 800B2E24 000AEC64 7C 1F 28 2E */ lwzx r0, r31, r5 /* 800B2E28 000AEC68 7C 7F 2A 14 */ add r3, r31, r5 /* 800B2E2C 000AEC6C 57 64 13 BA */ rlwinm r4, r27, 2, 14, 29 /* 800B2E30 000AEC70 7C 60 1A 14 */ add r3, r0, r3 /* 800B2E34 000AEC74 38 03 00 04 */ addi r0, r3, 0x4 /* 800B2E38 000AEC78 7C 60 22 14 */ add r3, r0, r4 /* 800B2E3C 000AEC7C 80 83 00 04 */ lwz r4, 0x4(r3) /* 800B2E40 000AEC80 88 64 00 00 */ lbz r3, 0x0(r4) /* 800B2E44 000AEC84 38 03 00 55 */ addi r0, r3, 0x55 /* 800B2E48 000AEC88 54 00 06 3E */ clrlwi r0, r0, 24 /* 800B2E4C 000AEC8C 28 00 00 01 */ cmplwi r0, 0x1 /* 800B2E50 000AEC90 41 81 00 50 */ bgt lbl_800B2EA0 /* 800B2E54 000AEC94 88 04 00 02 */ lbz r0, 0x2(r4) /* 800B2E58 000AEC98 2C 00 00 04 */ cmpwi r0, 0x4 /* 800B2E5C 000AEC9C 41 82 00 18 */ beq lbl_800B2E74 /* 800B2E60 000AECA0 2C 00 00 05 */ cmpwi r0, 0x5 /* 800B2E64 000AECA4 41 82 00 28 */ beq lbl_800B2E8C /* 800B2E68 000AECA8 2C 00 00 02 */ cmpwi r0, 0x2 /* 800B2E6C 000AECAC 41 82 00 20 */ beq lbl_800B2E8C /* 800B2E70 000AECB0 48 00 00 30 */ b lbl_800B2EA0 .global lbl_800B2E74 lbl_800B2E74: /* 800B2E74 000AECB4 7F 43 D3 78 */ mr r3, r26 /* 800B2E78 000AECB8 7F E5 FB 78 */ mr r5, r31 /* 800B2E7C 000AECBC 4B FF FC 45 */ bl relocateCurveTexture__Q34nw4r2ef8ResourceFPUcPCQ34nw4r2ef15EmitterResource /* 800B2E80 000AECC0 54 60 06 3E */ clrlwi r0, r3, 24 /* 800B2E84 000AECC4 7F 9C 02 14 */ add r28, r28, r0 /* 800B2E88 000AECC8 48 00 00 18 */ b lbl_800B2EA0 .global lbl_800B2E8C lbl_800B2E8C: /* 800B2E8C 000AECCC 7F 43 D3 78 */ mr r3, r26 /* 800B2E90 000AECD0 7F E5 FB 78 */ mr r5, r31 /* 800B2E94 000AECD4 4B FF FD 4D */ bl relocateCurveChild__Q34nw4r2ef8ResourceFPUcPCQ34nw4r2ef15EmitterResource /* 800B2E98 000AECD8 54 60 06 3E */ clrlwi r0, r3, 24 /* 800B2E9C 000AECDC 7F 9C 02 14 */ add r28, r28, r0 .global lbl_800B2EA0 lbl_800B2EA0: /* 800B2EA0 000AECE0 3B 7B 00 01 */ addi r27, r27, 0x1 .global lbl_800B2EA4 lbl_800B2EA4: /* 800B2EA4 000AECE4 80 9F 00 04 */ lwz r4, 0x4(r31) /* 800B2EA8 000AECE8 57 63 04 3E */ clrlwi r3, r27, 16 /* 800B2EAC 000AECEC 38 A4 00 08 */ addi r5, r4, 0x8 /* 800B2EB0 000AECF0 7C 1F 28 2E */ lwzx r0, r31, r5 /* 800B2EB4 000AECF4 7C 9F 2A 14 */ add r4, r31, r5 /* 800B2EB8 000AECF8 7C 80 22 14 */ add r4, r0, r4 /* 800B2EBC 000AECFC A0 04 00 04 */ lhz r0, 0x4(r4) /* 800B2EC0 000AED00 7C 03 00 40 */ cmplw r3, r0 /* 800B2EC4 000AED04 41 80 FF 60 */ blt lbl_800B2E24 /* 800B2EC8 000AED08 57 80 06 3F */ clrlwi. r0, r28, 24 /* 800B2ECC 000AED0C 41 82 00 14 */ beq lbl_800B2EE0 /* 800B2ED0 000AED10 80 1F 00 08 */ lwz r0, 0x8(r31) /* 800B2ED4 000AED14 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 /* 800B2ED8 000AED18 90 1F 00 08 */ stw r0, 0x8(r31) /* 800B2EDC 000AED1C 48 00 00 10 */ b lbl_800B2EEC .global lbl_800B2EE0 lbl_800B2EE0: /* 800B2EE0 000AED20 80 1F 00 08 */ lwz r0, 0x8(r31) /* 800B2EE4 000AED24 64 00 40 00 */ oris r0, r0, 0x4000 /* 800B2EE8 000AED28 90 1F 00 08 */ stw r0, 0x8(r31) .global lbl_800B2EEC lbl_800B2EEC: /* 800B2EEC 000AED2C 57 80 06 3E */ clrlwi r0, r28, 24 /* 800B2EF0 000AED30 7F DE 02 14 */ add r30, r30, r0 .global lbl_800B2EF4 lbl_800B2EF4: /* 800B2EF4 000AED34 3B BD 00 01 */ addi r29, r29, 0x1 .global lbl_800B2EF8 lbl_800B2EF8: /* 800B2EF8 000AED38 80 1A 00 0C */ lwz r0, 0xc(r26) /* 800B2EFC 000AED3C 7C 1D 00 40 */ cmplw r29, r0 /* 800B2F00 000AED40 41 80 FE 04 */ blt lbl_800B2D04 /* 800B2F04 000AED44 39 61 00 30 */ addi r11, r1, 0x30 /* 800B2F08 000AED48 7F C3 F3 78 */ mr r3, r30 /* 800B2F0C 000AED4C 4B F5 44 69 */ bl lbl_80007374 /* 800B2F10 000AED50 80 01 00 34 */ lwz r0, 0x34(r1) /* 800B2F14 000AED54 7C 08 03 A6 */ mtlr r0 /* 800B2F18 000AED58 38 21 00 30 */ addi r1, r1, 0x30 /* 800B2F1C 000AED5C 4E 80 00 20 */ blr .global RemoveEffectProject__Q34nw4r2ef8ResourceFPQ34nw4r2ef13EffectProject RemoveEffectProject__Q34nw4r2ef8ResourceFPQ34nw4r2ef13EffectProject: /* 800B2F20 000AED60 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800B2F24 000AED64 7C 08 02 A6 */ mflr r0 /* 800B2F28 000AED68 90 01 00 14 */ stw r0, 0x14(r1) /* 800B2F2C 000AED6C 93 E1 00 0C */ stw r31, 0xc(r1) /* 800B2F30 000AED70 7C 9F 23 78 */ mr r31, r4 /* 800B2F34 000AED74 38 80 00 00 */ li r4, 0x0 /* 800B2F38 000AED78 93 C1 00 08 */ stw r30, 0x8(r1) /* 800B2F3C 000AED7C 7C 7E 1B 78 */ mr r30, r3 /* 800B2F40 000AED80 4B FF 09 F1 */ bl MEMGetNextListObject /* 800B2F44 000AED84 7C 64 1B 78 */ mr r4, r3 /* 800B2F48 000AED88 48 00 00 54 */ b lbl_800B2F9C .global lbl_800B2F4C lbl_800B2F4C: /* 800B2F4C 000AED8C 7C 04 F8 40 */ cmplw r4, r31 /* 800B2F50 000AED90 40 82 00 40 */ bne lbl_800B2F90 /* 800B2F54 000AED94 7F C3 F3 78 */ mr r3, r30 /* 800B2F58 000AED98 7F E4 FB 78 */ mr r4, r31 /* 800B2F5C 000AED9C 4B FF 09 65 */ bl MEMRemoveListObject /* 800B2F60 000AEDA0 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B2F64 000AEDA4 41 82 00 14 */ beq lbl_800B2F78 /* 800B2F68 000AEDA8 80 1F 00 00 */ lwz r0, 0x0(r31) /* 800B2F6C 000AEDAC 7C 7F 02 14 */ add r3, r31, r0 /* 800B2F70 000AEDB0 A0 83 00 04 */ lhz r4, 0x4(r3) /* 800B2F74 000AEDB4 48 00 00 08 */ b lbl_800B2F7C .global lbl_800B2F78 lbl_800B2F78: /* 800B2F78 000AEDB8 80 9E 00 0C */ lwz r4, 0xc(r30) .global lbl_800B2F7C lbl_800B2F7C: /* 800B2F7C 000AEDBC 80 1E 00 0C */ lwz r0, 0xc(r30) /* 800B2F80 000AEDC0 38 60 00 01 */ li r3, 0x1 /* 800B2F84 000AEDC4 7C 04 00 50 */ subf r0, r4, r0 /* 800B2F88 000AEDC8 90 1E 00 0C */ stw r0, 0xc(r30) /* 800B2F8C 000AEDCC 48 00 00 1C */ b lbl_800B2FA8 .global lbl_800B2F90 lbl_800B2F90: /* 800B2F90 000AEDD0 7F C3 F3 78 */ mr r3, r30 /* 800B2F94 000AEDD4 4B FF 09 9D */ bl MEMGetNextListObject /* 800B2F98 000AEDD8 7C 64 1B 78 */ mr r4, r3 .global lbl_800B2F9C lbl_800B2F9C: /* 800B2F9C 000AEDDC 2C 04 00 00 */ cmpwi r4, 0x0 /* 800B2FA0 000AEDE0 40 82 FF AC */ bne lbl_800B2F4C /* 800B2FA4 000AEDE4 38 60 00 00 */ li r3, 0x0 .global lbl_800B2FA8 lbl_800B2FA8: /* 800B2FA8 000AEDE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 800B2FAC 000AEDEC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800B2FB0 000AEDF0 83 C1 00 08 */ lwz r30, 0x8(r1) /* 800B2FB4 000AEDF4 7C 08 03 A6 */ mtlr r0 /* 800B2FB8 000AEDF8 38 21 00 10 */ addi r1, r1, 0x10 /* 800B2FBC 000AEDFC 4E 80 00 20 */ blr .global RemoveTextureProject__Q34nw4r2ef8ResourceFPQ34nw4r2ef14TextureProject RemoveTextureProject__Q34nw4r2ef8ResourceFPQ34nw4r2ef14TextureProject: /* 800B2FC0 000AEE00 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800B2FC4 000AEE04 7C 08 02 A6 */ mflr r0 /* 800B2FC8 000AEE08 90 01 00 14 */ stw r0, 0x14(r1) /* 800B2FCC 000AEE0C 93 E1 00 0C */ stw r31, 0xc(r1) /* 800B2FD0 000AEE10 7C 9F 23 78 */ mr r31, r4 /* 800B2FD4 000AEE14 38 80 00 00 */ li r4, 0x0 /* 800B2FD8 000AEE18 93 C1 00 08 */ stw r30, 0x8(r1) /* 800B2FDC 000AEE1C 7C 7E 1B 78 */ mr r30, r3 /* 800B2FE0 000AEE20 38 63 00 10 */ addi r3, r3, 0x10 /* 800B2FE4 000AEE24 4B FF 09 4D */ bl MEMGetNextListObject /* 800B2FE8 000AEE28 48 00 00 54 */ b lbl_800B303C .global lbl_800B2FEC lbl_800B2FEC: /* 800B2FEC 000AEE2C 7C 03 F8 40 */ cmplw r3, r31 /* 800B2FF0 000AEE30 40 82 00 40 */ bne lbl_800B3030 /* 800B2FF4 000AEE34 7F E4 FB 78 */ mr r4, r31 /* 800B2FF8 000AEE38 38 7E 00 10 */ addi r3, r30, 0x10 /* 800B2FFC 000AEE3C 4B FF 08 C5 */ bl MEMRemoveListObject /* 800B3000 000AEE40 2C 1F 00 00 */ cmpwi r31, 0x0 /* 800B3004 000AEE44 41 82 00 14 */ beq lbl_800B3018 /* 800B3008 000AEE48 80 1F 00 00 */ lwz r0, 0x0(r31) /* 800B300C 000AEE4C 7C 7F 02 14 */ add r3, r31, r0 /* 800B3010 000AEE50 A0 83 00 04 */ lhz r4, 0x4(r3) /* 800B3014 000AEE54 48 00 00 08 */ b lbl_800B301C .global lbl_800B3018 lbl_800B3018: /* 800B3018 000AEE58 80 9E 00 1C */ lwz r4, 0x1c(r30) .global lbl_800B301C lbl_800B301C: /* 800B301C 000AEE5C 80 1E 00 1C */ lwz r0, 0x1c(r30) /* 800B3020 000AEE60 38 60 00 01 */ li r3, 0x1 /* 800B3024 000AEE64 7C 04 00 50 */ subf r0, r4, r0 /* 800B3028 000AEE68 90 1E 00 1C */ stw r0, 0x1c(r30) /* 800B302C 000AEE6C 48 00 00 1C */ b lbl_800B3048 .global lbl_800B3030 lbl_800B3030: /* 800B3030 000AEE70 7C 64 1B 78 */ mr r4, r3 /* 800B3034 000AEE74 38 7E 00 10 */ addi r3, r30, 0x10 /* 800B3038 000AEE78 4B FF 08 F9 */ bl MEMGetNextListObject .global lbl_800B303C lbl_800B303C: /* 800B303C 000AEE7C 2C 03 00 00 */ cmpwi r3, 0x0 /* 800B3040 000AEE80 40 82 FF AC */ bne lbl_800B2FEC /* 800B3044 000AEE84 38 60 00 00 */ li r3, 0x0 .global lbl_800B3048 lbl_800B3048: /* 800B3048 000AEE88 80 01 00 14 */ lwz r0, 0x14(r1) /* 800B304C 000AEE8C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800B3050 000AEE90 83 C1 00 08 */ lwz r30, 0x8(r1) /* 800B3054 000AEE94 7C 08 03 A6 */ mtlr r0 /* 800B3058 000AEE98 38 21 00 10 */ addi r1, r1, 0x10 /* 800B305C 000AEE9C 4E 80 00 20 */ blr .global "__sinit_@@1ef_resource_cpp" "__sinit_@@1ef_resource_cpp": /* 800B3060 000AEEA0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800B3064 000AEEA4 7C 08 02 A6 */ mflr r0 /* 800B3068 000AEEA8 38 80 00 04 */ li r4, 0x4 /* 800B306C 000AEEAC 90 01 00 14 */ stw r0, 0x14(r1) /* 800B3070 000AEEB0 93 E1 00 0C */ stw r31, 0xc(r1) /* 800B3074 000AEEB4 3F E0 80 51 */ lis r31, mResource__Q34nw4r2ef8Resource@ha /* 800B3078 000AEEB8 38 7F A3 C8 */ addi r3, r31, mResource__Q34nw4r2ef8Resource@l /* 800B307C 000AEEBC 4B FF 07 B5 */ bl MEMInitList /* 800B3080 000AEEC0 3B FF A3 C8 */ addi r31, r31, -0x5c38 /* 800B3084 000AEEC4 38 80 00 04 */ li r4, 0x4 /* 800B3088 000AEEC8 38 7F 00 10 */ addi r3, r31, 0x10 /* 800B308C 000AEECC 4B FF 07 A5 */ bl MEMInitList /* 800B3090 000AEED0 38 00 00 00 */ li r0, 0x0 /* 800B3094 000AEED4 90 1F 00 0C */ stw r0, 0xc(r31) /* 800B3098 000AEED8 90 1F 00 1C */ stw r0, 0x1c(r31) /* 800B309C 000AEEDC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800B30A0 000AEEE0 80 01 00 14 */ lwz r0, 0x14(r1) /* 800B30A4 000AEEE4 7C 08 03 A6 */ mtlr r0 /* 800B30A8 000AEEE8 38 21 00 10 */ addi r1, r1, 0x10 /* 800B30AC 000AEEEC 4E 80 00 20 */ blr .include "macros.inc" .section .ctors, "wa" # 0x80406260 - 0x80406540 ; 0x000002E0 .4byte "__sinit_@@1ef_resource_cpp" .include "macros.inc" .section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 .global mResource__Q34nw4r2ef8Resource mResource__Q34nw4r2ef8Resource: .skip 0x20