.include "macros.inc" .section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860 .global ScreenReport ScreenReport: /* 8001F860 0001B6A0 94 21 FE 80 */ stwu r1, -0x180(r1) /* 8001F864 0001B6A4 7C 08 02 A6 */ mflr r0 /* 8001F868 0001B6A8 90 01 01 84 */ stw r0, 0x184(r1) /* 8001F86C 0001B6AC 39 61 01 80 */ addi r11, r1, 0x180 /* 8001F870 0001B6B0 4B FE 7A 99 */ bl __save_gpr /* 8001F874 0001B6B4 38 05 FF E8 */ addi r0, r5, -0x18 /* 8001F878 0001B6B8 90 61 00 08 */ stw r3, 0x8(r1) /* 8001F87C 0001B6BC 7C 98 23 78 */ mr r24, r4 /* 8001F880 0001B6C0 7C D9 33 78 */ mr r25, r6 /* 8001F884 0001B6C4 90 01 01 30 */ stw r0, 0x130(r1) /* 8001F888 0001B6C8 7C FA 3B 78 */ mr r26, r7 /* 8001F88C 0001B6CC 7D 1B 43 78 */ mr r27, r8 /* 8001F890 0001B6D0 7D 2E 4B 78 */ mr r14, r9 /* 8001F894 0001B6D4 3B C4 FF D0 */ addi r30, r4, 0xBFFFFFD0@l /* 8001F898 0001B6D8 3E 80 80 81 */ lis r20, 0x80808081@ha /* 8001F89C 0001B6DC 3E A0 88 89 */ lis r21, 0x88888889@ha /* 8001F8A0 0001B6E0 3B E0 00 00 */ li r31, 0x0 /* 8001F8A4 0001B6E4 3A E0 00 18 */ li r23, 0x18 /* 8001F8A8 0001B6E8 3A C0 00 03 */ li r22, 0x3 .global lbl_8001F8AC lbl_8001F8AC: /* 8001F8AC 0001B6EC 80 01 01 30 */ lwz r0, 0x130(r1) /* 8001F8B0 0001B6F0 7C 00 D8 00 */ cmpw r0, r27 /* 8001F8B4 0001B6F4 41 80 02 BC */ blt lbl_8001FB70 /* 8001F8B8 0001B6F8 7C 1B C1 D6 */ mullw r0, r27, r24 /* 8001F8BC 0001B6FC 7F 5C D3 78 */ mr r28, r26 /* 8001F8C0 0001B700 7C 1A 02 14 */ add r0, r26, r0 /* 8001F8C4 0001B704 54 03 08 3C */ slwi r3, r0, 1 /* 8001F8C8 0001B708 80 01 00 08 */ lwz r0, 0x8(r1) /* 8001F8CC 0001B70C 7F A0 1A 14 */ add r29, r0, r3 /* 8001F8D0 0001B710 48 00 02 94 */ b lbl_8001FB64 .global lbl_8001F8D4 lbl_8001F8D4: /* 8001F8D4 0001B714 7C 60 07 74 */ extsb r0, r3 /* 8001F8D8 0001B718 2C 00 00 0A */ cmpwi r0, 0xa /* 8001F8DC 0001B71C 40 82 00 10 */ bne lbl_8001F8EC /* 8001F8E0 0001B720 7F 7B 72 14 */ add r27, r27, r14 /* 8001F8E4 0001B724 39 4A 00 01 */ addi r10, r10, 0x1 /* 8001F8E8 0001B728 4B FF FF C4 */ b lbl_8001F8AC .global lbl_8001F8EC lbl_8001F8EC: /* 8001F8EC 0001B72C 7C 1E E0 00 */ cmpw r30, r28 /* 8001F8F0 0001B730 40 80 00 0C */ bge lbl_8001F8FC /* 8001F8F4 0001B734 7F 7B 72 14 */ add r27, r27, r14 /* 8001F8F8 0001B738 4B FF FF B4 */ b lbl_8001F8AC .global lbl_8001F8FC lbl_8001F8FC: /* 8001F8FC 0001B73C 38 A0 00 00 */ li r5, 0x0 /* 8001F900 0001B740 38 C0 00 00 */ li r6, 0x0 /* 8001F904 0001B744 7E C9 03 A6 */ mtctr r22 .global lbl_8001F908 lbl_8001F908: /* 8001F908 0001B748 54 A0 07 7E */ clrlwi r0, r5, 29 /* 8001F90C 0001B74C 39 05 00 01 */ addi r8, r5, 0x1 /* 8001F910 0001B750 7D 20 32 14 */ add r9, r0, r6 /* 8001F914 0001B754 3A 05 00 03 */ addi r16, r5, 0x3 /* 8001F918 0001B758 55 00 E8 FE */ srwi r0, r8, 3 /* 8001F91C 0001B75C 38 81 00 10 */ addi r4, r1, 0x10 /* 8001F920 0001B760 1C 60 00 18 */ mulli r3, r0, 0x18 /* 8001F924 0001B764 55 08 07 7E */ clrlwi r8, r8, 29 /* 8001F928 0001B768 55 20 10 3A */ slwi r0, r9, 2 /* 8001F92C 0001B76C 38 E5 00 02 */ addi r7, r5, 0x2 /* 8001F930 0001B770 7C 84 02 14 */ add r4, r4, r0 /* 8001F934 0001B774 3A 45 00 04 */ addi r18, r5, 0x4 /* 8001F938 0001B778 54 E0 E8 FE */ srwi r0, r7, 3 /* 8001F93C 0001B77C 7D 08 1A 14 */ add r8, r8, r3 /* 8001F940 0001B780 93 E4 00 00 */ stw r31, 0x0(r4) /* 8001F944 0001B784 55 08 10 3A */ slwi r8, r8, 2 /* 8001F948 0001B788 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8001F94C 0001B78C 54 E7 07 7E */ clrlwi r7, r7, 29 /* 8001F950 0001B790 93 E4 00 20 */ stw r31, 0x20(r4) /* 8001F954 0001B794 38 61 00 10 */ addi r3, r1, 0x10 /* 8001F958 0001B798 56 11 E8 FE */ srwi r17, r16, 3 /* 8001F95C 0001B79C 93 E4 00 40 */ stw r31, 0x40(r4) /* 8001F960 0001B7A0 7C 07 02 14 */ add r0, r7, r0 /* 8001F964 0001B7A4 39 85 00 05 */ addi r12, r5, 0x5 /* 8001F968 0001B7A8 55 8B E8 FE */ srwi r11, r12, 3 /* 8001F96C 0001B7AC 7F E3 41 6E */ stwux r31, r3, r8 /* 8001F970 0001B7B0 39 25 00 06 */ addi r9, r5, 0x6 /* 8001F974 0001B7B4 54 0F 10 3A */ slwi r15, r0, 2 /* 8001F978 0001B7B8 55 28 E8 FE */ srwi r8, r9, 3 /* 8001F97C 0001B7BC 93 E3 00 20 */ stw r31, 0x20(r3) /* 8001F980 0001B7C0 56 53 E8 FE */ srwi r19, r18, 3 /* 8001F984 0001B7C4 38 81 00 10 */ addi r4, r1, 0x10 /* 8001F988 0001B7C8 93 E3 00 40 */ stw r31, 0x40(r3) /* 8001F98C 0001B7CC 56 03 07 7E */ clrlwi r3, r16, 29 /* 8001F990 0001B7D0 1E 11 00 18 */ mulli r16, r17, 0x18 /* 8001F994 0001B7D4 38 E5 00 07 */ addi r7, r5, 0x7 /* 8001F998 0001B7D8 7F E4 79 6E */ stwux r31, r4, r15 /* 8001F99C 0001B7DC 39 E1 00 10 */ addi r15, r1, 0x10 /* 8001F9A0 0001B7E0 54 E0 E8 FE */ srwi r0, r7, 3 /* 8001F9A4 0001B7E4 93 E4 00 20 */ stw r31, 0x20(r4) /* 8001F9A8 0001B7E8 7C 63 82 14 */ add r3, r3, r16 /* 8001F9AC 0001B7EC 56 51 07 7E */ clrlwi r17, r18, 29 /* 8001F9B0 0001B7F0 1E 13 00 18 */ mulli r16, r19, 0x18 /* 8001F9B4 0001B7F4 93 E4 00 40 */ stw r31, 0x40(r4) /* 8001F9B8 0001B7F8 54 64 10 3A */ slwi r4, r3, 2 /* 8001F9BC 0001B7FC 7D E3 7B 78 */ mr r3, r15 /* 8001F9C0 0001B800 7F EF 21 6E */ stwux r31, r15, r4 /* 8001F9C4 0001B804 7E 11 82 14 */ add r16, r17, r16 /* 8001F9C8 0001B808 93 EF 00 20 */ stw r31, 0x20(r15) /* 8001F9CC 0001B80C 1D 6B 00 18 */ mulli r11, r11, 0x18 /* 8001F9D0 0001B810 55 8C 07 7E */ clrlwi r12, r12, 29 /* 8001F9D4 0001B814 56 10 10 3A */ slwi r16, r16, 2 /* 8001F9D8 0001B818 93 EF 00 40 */ stw r31, 0x40(r15) /* 8001F9DC 0001B81C 7C 64 1B 78 */ mr r4, r3 /* 8001F9E0 0001B820 55 29 07 7E */ clrlwi r9, r9, 29 /* 8001F9E4 0001B824 1D 08 00 18 */ mulli r8, r8, 0x18 /* 8001F9E8 0001B828 7F E3 81 6E */ stwux r31, r3, r16 /* 8001F9EC 0001B82C 7D 6C 5A 14 */ add r11, r12, r11 /* 8001F9F0 0001B830 93 E3 00 20 */ stw r31, 0x20(r3) /* 8001F9F4 0001B834 54 E7 07 7E */ clrlwi r7, r7, 29 /* 8001F9F8 0001B838 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8001F9FC 0001B83C 55 6B 10 3A */ slwi r11, r11, 2 /* 8001FA00 0001B840 93 E3 00 40 */ stw r31, 0x40(r3) /* 8001FA04 0001B844 7D 09 42 14 */ add r8, r9, r8 /* 8001FA08 0001B848 7F E4 59 6E */ stwux r31, r4, r11 /* 8001FA0C 0001B84C 55 03 10 3A */ slwi r3, r8, 2 /* 8001FA10 0001B850 39 01 00 10 */ addi r8, r1, 0x10 /* 8001FA14 0001B854 7C 07 02 14 */ add r0, r7, r0 /* 8001FA18 0001B858 93 E4 00 20 */ stw r31, 0x20(r4) /* 8001FA1C 0001B85C 7D 08 1A 14 */ add r8, r8, r3 /* 8001FA20 0001B860 54 00 10 3A */ slwi r0, r0, 2 /* 8001FA24 0001B864 38 61 00 10 */ addi r3, r1, 0x10 /* 8001FA28 0001B868 93 E4 00 40 */ stw r31, 0x40(r4) /* 8001FA2C 0001B86C 38 C6 00 18 */ addi r6, r6, 0x18 /* 8001FA30 0001B870 38 A5 00 08 */ addi r5, r5, 0x8 /* 8001FA34 0001B874 93 E8 00 00 */ stw r31, 0x0(r8) /* 8001FA38 0001B878 93 E8 00 20 */ stw r31, 0x20(r8) /* 8001FA3C 0001B87C 93 E8 00 40 */ stw r31, 0x40(r8) /* 8001FA40 0001B880 7F E3 01 6E */ stwux r31, r3, r0 /* 8001FA44 0001B884 93 E3 00 20 */ stw r31, 0x20(r3) /* 8001FA48 0001B888 93 E3 00 40 */ stw r31, 0x40(r3) /* 8001FA4C 0001B88C 42 00 FE BC */ bdnz lbl_8001F908 /* 8001FA50 0001B890 7D 43 53 78 */ mr r3, r10 /* 8001FA54 0001B894 38 81 00 10 */ addi r4, r1, 0x10 /* 8001FA58 0001B898 38 E1 00 0C */ addi r7, r1, 0xc /* 8001FA5C 0001B89C 38 A0 00 00 */ li r5, 0x0 /* 8001FA60 0001B8A0 38 C0 00 06 */ li r6, 0x6 /* 8001FA64 0001B8A4 48 00 14 DD */ bl OSGetFontTexel /* 8001FA68 0001B8A8 7C 6A 1B 78 */ mr r10, r3 /* 8001FA6C 0001B8AC 38 E0 00 00 */ li r7, 0x0 /* 8001FA70 0001B8B0 38 60 00 00 */ li r3, 0x0 .global lbl_8001FA74 lbl_8001FA74: /* 8001FA74 0001B8B4 54 E0 E8 FE */ srwi r0, r7, 3 /* 8001FA78 0001B8B8 54 E6 07 7E */ clrlwi r6, r7, 29 /* 8001FA7C 0001B8BC 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8001FA80 0001B8C0 38 A1 00 10 */ addi r5, r1, 0x10 /* 8001FA84 0001B8C4 7F 84 E3 78 */ mr r4, r28 /* 8001FA88 0001B8C8 39 00 00 00 */ li r8, 0x0 /* 8001FA8C 0001B8CC 7C 06 02 14 */ add r0, r6, r0 /* 8001FA90 0001B8D0 54 00 10 3A */ slwi r0, r0, 2 /* 8001FA94 0001B8D4 7C A5 02 14 */ add r5, r5, r0 /* 8001FA98 0001B8D8 7E E9 03 A6 */ mtctr r23 .global lbl_8001FA9C lbl_8001FA9C: /* 8001FA9C 0001B8DC 55 06 10 34 */ extlwi r6, r8, 27, 2 /* 8001FAA0 0001B8E0 55 00 07 7E */ clrlwi r0, r8, 29 /* 8001FAA4 0001B8E4 20 00 00 07 */ subfic r0, r0, 0x7 /* 8001FAA8 0001B8E8 7C C5 30 2E */ lwzx r6, r5, r6 /* 8001FAAC 0001B8EC 54 00 10 3A */ slwi r0, r0, 2 /* 8001FAB0 0001B8F0 7C C0 04 30 */ srw r0, r6, r0 /* 8001FAB4 0001B8F4 54 09 07 3F */ clrlwi. r9, r0, 28 /* 8001FAB8 0001B8F8 41 82 00 80 */ beq lbl_8001FB38 /* 8001FABC 0001B8FC 88 D9 00 00 */ lbz r6, 0x0(r25) /* 8001FAC0 0001B900 7C 08 1A 14 */ add r0, r8, r3 /* 8001FAC4 0001B904 54 0C 08 3C */ slwi r12, r0, 1 /* 8001FAC8 0001B908 39 74 80 81 */ addi r11, r20, 0x80808081@l /* 8001FACC 0001B90C 7D 26 49 D6 */ mullw r9, r6, r9 /* 8001FAD0 0001B910 54 80 07 FF */ clrlwi. r0, r4, 31 /* 8001FAD4 0001B914 7C DD 62 14 */ add r6, r29, r12 /* 8001FAD8 0001B918 38 15 88 89 */ addi r0, r21, 0x88888889@l /* 8001FADC 0001B91C 1D 29 00 EF */ mulli r9, r9, 0xef /* 8001FAE0 0001B920 7D 6B 48 96 */ mulhw r11, r11, r9 /* 8001FAE4 0001B924 7D 2B 4A 14 */ add r9, r11, r9 /* 8001FAE8 0001B928 7D 29 3E 70 */ srawi r9, r9, 7 /* 8001FAEC 0001B92C 55 2B 0F FE */ srwi r11, r9, 31 /* 8001FAF0 0001B930 7D 29 5A 14 */ add r9, r9, r11 /* 8001FAF4 0001B934 7C 00 48 96 */ mulhw r0, r0, r9 /* 8001FAF8 0001B938 7C 00 4A 14 */ add r0, r0, r9 /* 8001FAFC 0001B93C 7C 00 1E 70 */ srawi r0, r0, 3 /* 8001FB00 0001B940 54 09 0F FE */ srwi r9, r0, 31 /* 8001FB04 0001B944 7D 20 4A 14 */ add r9, r0, r9 /* 8001FB08 0001B948 38 09 00 10 */ addi r0, r9, 0x10 /* 8001FB0C 0001B94C 7C 1D 61 AE */ stbx r0, r29, r12 /* 8001FB10 0001B950 41 82 00 18 */ beq lbl_8001FB28 /* 8001FB14 0001B954 88 19 00 01 */ lbz r0, 0x1(r25) /* 8001FB18 0001B958 98 06 FF FF */ stb r0, -0x1(r6) /* 8001FB1C 0001B95C 88 19 00 02 */ lbz r0, 0x2(r25) /* 8001FB20 0001B960 98 06 00 01 */ stb r0, 0x1(r6) /* 8001FB24 0001B964 48 00 00 14 */ b lbl_8001FB38 .global lbl_8001FB28 lbl_8001FB28: /* 8001FB28 0001B968 88 19 00 02 */ lbz r0, 0x2(r25) /* 8001FB2C 0001B96C 98 06 FF FF */ stb r0, -0x1(r6) /* 8001FB30 0001B970 88 19 00 01 */ lbz r0, 0x1(r25) /* 8001FB34 0001B974 98 06 00 01 */ stb r0, 0x1(r6) .global lbl_8001FB38 lbl_8001FB38: /* 8001FB38 0001B978 38 84 00 01 */ addi r4, r4, 0x1 /* 8001FB3C 0001B97C 39 08 00 01 */ addi r8, r8, 0x1 /* 8001FB40 0001B980 42 00 FF 5C */ bdnz lbl_8001FA9C /* 8001FB44 0001B984 38 E7 00 01 */ addi r7, r7, 0x1 /* 8001FB48 0001B988 7C 63 C2 14 */ add r3, r3, r24 /* 8001FB4C 0001B98C 28 07 00 18 */ cmplwi r7, 0x18 /* 8001FB50 0001B990 41 80 FF 24 */ blt lbl_8001FA74 /* 8001FB54 0001B994 80 61 00 0C */ lwz r3, 0xc(r1) /* 8001FB58 0001B998 54 60 08 3C */ slwi r0, r3, 1 /* 8001FB5C 0001B99C 7F 9C 1A 14 */ add r28, r28, r3 /* 8001FB60 0001B9A0 7F BD 02 14 */ add r29, r29, r0 .global lbl_8001FB64 lbl_8001FB64: /* 8001FB64 0001B9A4 88 6A 00 00 */ lbz r3, 0x0(r10) /* 8001FB68 0001B9A8 7C 60 07 75 */ extsb. r0, r3 /* 8001FB6C 0001B9AC 40 82 FD 68 */ bne lbl_8001F8D4 .global lbl_8001FB70 lbl_8001FB70: /* 8001FB70 0001B9B0 39 61 01 80 */ addi r11, r1, 0x180 /* 8001FB74 0001B9B4 4B FE 77 E1 */ bl __restore_gpr /* 8001FB78 0001B9B8 80 01 01 84 */ lwz r0, 0x184(r1) /* 8001FB7C 0001B9BC 7C 08 03 A6 */ mtlr r0 /* 8001FB80 0001B9C0 38 21 01 80 */ addi r1, r1, 0x180 /* 8001FB84 0001B9C4 4E 80 00 20 */ blr /* 8001FB88 0001B9C8 00 00 00 00 */ .4byte 0x00000000 /* 8001FB8C 0001B9CC 00 00 00 00 */ .4byte 0x00000000 .global ConfigureVideo ConfigureVideo: /* 8001FB90 0001B9D0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8001FB94 0001B9D4 7C 08 02 A6 */ mflr r0 /* 8001FB98 0001B9D8 38 C0 01 E0 */ li r6, 0x1e0 /* 8001FB9C 0001B9DC 38 A0 00 28 */ li r5, 0x28 /* 8001FBA0 0001B9E0 90 01 00 54 */ stw r0, 0x54(r1) /* 8001FBA4 0001B9E4 38 00 02 80 */ li r0, 0x280 /* 8001FBA8 0001B9E8 B0 61 00 0C */ sth r3, 0xc(r1) /* 8001FBAC 0001B9EC B0 C1 00 0E */ sth r6, 0xe(r1) /* 8001FBB0 0001B9F0 B0 81 00 10 */ sth r4, 0x10(r1) /* 8001FBB4 0001B9F4 B0 A1 00 12 */ sth r5, 0x12(r1) /* 8001FBB8 0001B9F8 B0 01 00 16 */ sth r0, 0x16(r1) /* 8001FBBC 0001B9FC B0 81 00 18 */ sth r4, 0x18(r1) /* 8001FBC0 0001BA00 48 00 E4 51 */ bl VIGetTvFormat /* 8001FBC4 0001BA04 2C 03 00 00 */ cmpwi r3, 0x0 /* 8001FBC8 0001BA08 41 82 00 20 */ beq lbl_8001FBE8 /* 8001FBCC 0001BA0C 28 03 00 02 */ cmplwi r3, 0x2 /* 8001FBD0 0001BA10 41 82 00 18 */ beq lbl_8001FBE8 /* 8001FBD4 0001BA14 28 03 00 05 */ cmplwi r3, 0x5 /* 8001FBD8 0001BA18 41 82 00 50 */ beq lbl_8001FC28 /* 8001FBDC 0001BA1C 28 03 00 01 */ cmplwi r3, 0x1 /* 8001FBE0 0001BA20 41 82 00 8C */ beq lbl_8001FC6C /* 8001FBE4 0001BA24 48 00 00 A0 */ b lbl_8001FC84 .global lbl_8001FBE8 lbl_8001FBE8: /* 8001FBE8 0001BA28 3C 60 CC 00 */ lis r3, 0xCC00206C@ha /* 8001FBEC 0001BA2C A0 03 20 6C */ lhz r0, 0xCC00206C@l(r3) /* 8001FBF0 0001BA30 54 00 07 FF */ clrlwi. r0, r0, 31 /* 8001FBF4 0001BA34 41 82 00 1C */ beq lbl_8001FC10 /* 8001FBF8 0001BA38 38 00 00 00 */ li r0, 0x0 /* 8001FBFC 0001BA3C 38 60 00 02 */ li r3, 0x2 /* 8001FC00 0001BA40 90 61 00 08 */ stw r3, 0x8(r1) /* 8001FC04 0001BA44 B0 01 00 14 */ sth r0, 0x14(r1) /* 8001FC08 0001BA48 90 01 00 1C */ stw r0, 0x1c(r1) /* 8001FC0C 0001BA4C 48 00 00 78 */ b lbl_8001FC84 .global lbl_8001FC10 lbl_8001FC10: /* 8001FC10 0001BA50 38 60 00 00 */ li r3, 0x0 /* 8001FC14 0001BA54 38 00 00 01 */ li r0, 0x1 /* 8001FC18 0001BA58 90 61 00 08 */ stw r3, 0x8(r1) /* 8001FC1C 0001BA5C B0 61 00 14 */ sth r3, 0x14(r1) /* 8001FC20 0001BA60 90 01 00 1C */ stw r0, 0x1c(r1) /* 8001FC24 0001BA64 48 00 00 60 */ b lbl_8001FC84 .global lbl_8001FC28 lbl_8001FC28: /* 8001FC28 0001BA68 3C 60 CC 00 */ lis r3, 0xCC00206C@ha /* 8001FC2C 0001BA6C A0 03 20 6C */ lhz r0, 0xCC00206C@l(r3) /* 8001FC30 0001BA70 54 00 07 FF */ clrlwi. r0, r0, 31 /* 8001FC34 0001BA74 41 82 00 1C */ beq lbl_8001FC50 /* 8001FC38 0001BA78 38 00 00 00 */ li r0, 0x0 /* 8001FC3C 0001BA7C 38 60 00 16 */ li r3, 0x16 /* 8001FC40 0001BA80 90 61 00 08 */ stw r3, 0x8(r1) /* 8001FC44 0001BA84 B0 01 00 14 */ sth r0, 0x14(r1) /* 8001FC48 0001BA88 90 01 00 1C */ stw r0, 0x1c(r1) /* 8001FC4C 0001BA8C 48 00 00 38 */ b lbl_8001FC84 .global lbl_8001FC50 lbl_8001FC50: /* 8001FC50 0001BA90 38 80 00 14 */ li r4, 0x14 /* 8001FC54 0001BA94 38 60 00 00 */ li r3, 0x0 /* 8001FC58 0001BA98 38 00 00 01 */ li r0, 0x1 /* 8001FC5C 0001BA9C 90 81 00 08 */ stw r4, 0x8(r1) /* 8001FC60 0001BAA0 B0 61 00 14 */ sth r3, 0x14(r1) /* 8001FC64 0001BAA4 90 01 00 1C */ stw r0, 0x1c(r1) /* 8001FC68 0001BAA8 48 00 00 1C */ b lbl_8001FC84 .global lbl_8001FC6C lbl_8001FC6C: /* 8001FC6C 0001BAAC 38 80 00 04 */ li r4, 0x4 /* 8001FC70 0001BAB0 38 60 00 2F */ li r3, 0x2f /* 8001FC74 0001BAB4 38 00 00 01 */ li r0, 0x1 /* 8001FC78 0001BAB8 90 81 00 08 */ stw r4, 0x8(r1) /* 8001FC7C 0001BABC B0 61 00 14 */ sth r3, 0x14(r1) /* 8001FC80 0001BAC0 90 01 00 1C */ stw r0, 0x1c(r1) .global lbl_8001FC84 lbl_8001FC84: /* 8001FC84 0001BAC4 38 61 00 08 */ addi r3, r1, 0x8 /* 8001FC88 0001BAC8 48 00 D6 99 */ bl VIConfigure /* 8001FC8C 0001BACC 38 60 00 00 */ li r3, 0x0 /* 8001FC90 0001BAD0 38 80 00 00 */ li r4, 0x0 /* 8001FC94 0001BAD4 38 A0 02 80 */ li r5, 0x280 /* 8001FC98 0001BAD8 38 C0 01 E0 */ li r6, 0x1e0 /* 8001FC9C 0001BADC 48 00 DD 55 */ bl VIConfigurePan /* 8001FCA0 0001BAE0 80 01 00 54 */ lwz r0, 0x54(r1) /* 8001FCA4 0001BAE4 7C 08 03 A6 */ mtlr r0 /* 8001FCA8 0001BAE8 38 21 00 50 */ addi r1, r1, 0x50 /* 8001FCAC 0001BAEC 4E 80 00 20 */ blr .global OSFatal OSFatal: /* 8001FCB0 0001BAF0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8001FCB4 0001BAF4 7C 08 02 A6 */ mflr r0 /* 8001FCB8 0001BAF8 90 01 00 34 */ stw r0, 0x34(r1) /* 8001FCBC 0001BAFC 39 61 00 30 */ addi r11, r1, 0x30 /* 8001FCC0 0001BB00 4B FE 76 71 */ bl lbl_80007330 /* 8001FCC4 0001BB04 7C 7B 1B 78 */ mr r27, r3 /* 8001FCC8 0001BB08 7C 9C 23 78 */ mr r28, r4 /* 8001FCCC 0001BB0C 7C BD 2B 78 */ mr r29, r5 /* 8001FCD0 0001BB10 48 00 1B 51 */ bl OSDisableInterrupts /* 8001FCD4 0001BB14 48 00 4A BD */ bl OSDisableScheduler /* 8001FCD8 0001BB18 3F 00 80 4A */ lis r24, FatalContext@ha /* 8001FCDC 0001BB1C 38 78 91 80 */ addi r3, r24, FatalContext@l /* 8001FCE0 0001BB20 4B FF D7 61 */ bl OSClearContext /* 8001FCE4 0001BB24 38 78 91 80 */ addi r3, r24, -0x6e80 /* 8001FCE8 0001BB28 4B FF D5 19 */ bl OSSetCurrentContext /* 8001FCEC 0001BB2C 4B FF CB 75 */ bl __OSStopAudioSystem /* 8001FCF0 0001BB30 48 00 CB 51 */ bl VIInit /* 8001FCF4 0001BB34 38 60 00 80 */ li r3, 0x80 /* 8001FCF8 0001BB38 48 00 1F 79 */ bl __OSUnmaskInterrupts /* 8001FCFC 0001BB3C 38 60 00 01 */ li r3, 0x1 /* 8001FD00 0001BB40 48 00 E1 F1 */ bl VISetBlack /* 8001FD04 0001BB44 48 00 E0 4D */ bl VIFlush /* 8001FD08 0001BB48 38 60 00 00 */ li r3, 0x0 /* 8001FD0C 0001BB4C 48 00 C7 75 */ bl VISetPreRetraceCallback /* 8001FD10 0001BB50 38 60 00 00 */ li r3, 0x0 /* 8001FD14 0001BB54 48 00 C7 BD */ bl VISetPostRetraceCallback /* 8001FD18 0001BB58 48 00 1B 29 */ bl OSEnableInterrupts /* 8001FD1C 0001BB5C 48 00 E2 55 */ bl VIGetRetraceCount /* 8001FD20 0001BB60 7C 78 1B 78 */ mr r24, r3 .global lbl_8001FD24 lbl_8001FD24: /* 8001FD24 0001BB64 48 00 E2 4D */ bl VIGetRetraceCount /* 8001FD28 0001BB68 7C 18 18 50 */ subf r0, r24, r3 /* 8001FD2C 0001BB6C 2C 00 00 01 */ cmpwi r0, 0x1 /* 8001FD30 0001BB70 41 80 FF F4 */ blt lbl_8001FD24 /* 8001FD34 0001BB74 48 00 5E 0D */ bl OSGetTime /* 8001FD38 0001BB78 3C A0 10 62 */ lis r5, 0x1062 /* 8001FD3C 0001BB7C 7C 9E 23 78 */ mr r30, r4 /* 8001FD40 0001BB80 7C 7F 1B 78 */ mr r31, r3 /* 8001FD44 0001BB84 3F 20 80 00 */ lis r25, 0x800000F8@ha /* 8001FD48 0001BB88 3B 05 4D D3 */ addi r24, r5, 0x4dd3 /* 8001FD4C 0001BB8C 3B 40 00 00 */ li r26, 0x0 .global lbl_8001FD50 lbl_8001FD50: /* 8001FD50 0001BB90 38 60 00 00 */ li r3, 0x0 /* 8001FD54 0001BB94 38 80 00 00 */ li r4, 0x0 /* 8001FD58 0001BB98 48 00 32 49 */ bl __OSCallShutdownFunctions /* 8001FD5C 0001BB9C 2C 03 00 00 */ cmpwi r3, 0x0 /* 8001FD60 0001BBA0 40 82 00 40 */ bne lbl_8001FDA0 /* 8001FD64 0001BBA4 48 00 5D DD */ bl OSGetTime /* 8001FD68 0001BBA8 80 19 00 F8 */ lwz r0, 0x800000F8@l(r25) /* 8001FD6C 0001BBAC 7C DE 20 10 */ subfc r6, r30, r4 /* 8001FD70 0001BBB0 7C BF 19 10 */ subfe r5, r31, r3 /* 8001FD74 0001BBB4 6F 44 80 00 */ xoris r4, r26, 0x8000 /* 8001FD78 0001BBB8 54 00 F0 BE */ srwi r0, r0, 2 /* 8001FD7C 0001BBBC 7C 78 00 16 */ mulhwu r3, r24, r0 /* 8001FD80 0001BBC0 6C A0 80 00 */ xoris r0, r5, 0x8000 /* 8001FD84 0001BBC4 54 63 D1 BE */ srwi r3, r3, 6 /* 8001FD88 0001BBC8 1C 63 03 E8 */ mulli r3, r3, 0x3e8 /* 8001FD8C 0001BBCC 7C 63 30 10 */ subfc r3, r3, r6 /* 8001FD90 0001BBD0 7C 84 01 10 */ subfe r4, r4, r0 /* 8001FD94 0001BBD4 7C 80 01 10 */ subfe r4, r0, r0 /* 8001FD98 0001BBD8 7C 84 00 D1 */ neg. r4, r4 /* 8001FD9C 0001BBDC 40 82 FF B4 */ bne lbl_8001FD50 .global lbl_8001FDA0 lbl_8001FDA0: /* 8001FDA0 0001BBE0 48 00 1A 81 */ bl OSDisableInterrupts /* 8001FDA4 0001BBE4 38 60 00 01 */ li r3, 0x1 /* 8001FDA8 0001BBE8 38 80 00 00 */ li r4, 0x0 /* 8001FDAC 0001BBEC 48 00 31 F5 */ bl __OSCallShutdownFunctions /* 8001FDB0 0001BBF0 38 60 00 00 */ li r3, 0x0 /* 8001FDB4 0001BBF4 38 80 00 00 */ li r4, 0x0 /* 8001FDB8 0001BBF8 48 00 8F D9 */ bl EXISetExiCallback /* 8001FDBC 0001BBFC 38 60 00 02 */ li r3, 0x2 /* 8001FDC0 0001BC00 38 80 00 00 */ li r4, 0x0 /* 8001FDC4 0001BC04 48 00 8F CD */ bl EXISetExiCallback /* 8001FDC8 0001BC08 48 00 00 1C */ b lbl_8001FDE4 .global lbl_8001FDCC lbl_8001FDCC: /* 8001FDCC 0001BC0C 38 60 00 00 */ li r3, 0x0 /* 8001FDD0 0001BC10 48 00 8D 41 */ bl EXISync /* 8001FDD4 0001BC14 38 60 00 00 */ li r3, 0x0 /* 8001FDD8 0001BC18 48 00 94 D9 */ bl EXIDeselect /* 8001FDDC 0001BC1C 38 60 00 00 */ li r3, 0x0 /* 8001FDE0 0001BC20 48 00 9C 51 */ bl EXIUnlock .global lbl_8001FDE4 lbl_8001FDE4: /* 8001FDE4 0001BC24 38 60 00 00 */ li r3, 0x0 /* 8001FDE8 0001BC28 38 80 00 01 */ li r4, 0x1 /* 8001FDEC 0001BC2C 38 A0 00 00 */ li r5, 0x0 /* 8001FDF0 0001BC30 48 00 9B 41 */ bl EXILock /* 8001FDF4 0001BC34 2C 03 00 00 */ cmpwi r3, 0x0 /* 8001FDF8 0001BC38 41 82 FF D4 */ beq lbl_8001FDCC /* 8001FDFC 0001BC3C 38 60 00 00 */ li r3, 0x0 /* 8001FE00 0001BC40 48 00 9C 31 */ bl EXIUnlock /* 8001FE04 0001BC44 3C 60 CD 00 */ lis r3, 0xCD00680C@ha .global lbl_8001FE08 lbl_8001FE08: /* 8001FE08 0001BC48 80 03 68 0C */ lwz r0, 0xCD00680C@l(r3) /* 8001FE0C 0001BC4C 54 00 07 FE */ clrlwi r0, r0, 31 /* 8001FE10 0001BC50 28 00 00 01 */ cmplwi r0, 0x1 /* 8001FE14 0001BC54 41 82 FF F4 */ beq lbl_8001FE08 /* 8001FE18 0001BC58 3C 80 80 02 */ lis r4, OSDefaultExceptionHandler@ha /* 8001FE1C 0001BC5C 38 60 00 08 */ li r3, 0x8 /* 8001FE20 0001BC60 38 84 B6 10 */ addi r4, r4, OSDefaultExceptionHandler@l /* 8001FE24 0001BC64 4B FF B7 1D */ bl __OSSetExceptionHandler /* 8001FE28 0001BC68 48 01 4A D9 */ bl GXAbortFrame /* 8001FE2C 0001BC6C 3C 60 81 40 */ lis r3, 0x8140 /* 8001FE30 0001BC70 4B FF C5 A1 */ bl OSSetMEM1ArenaLo /* 8001FE34 0001BC74 3C 80 80 00 */ lis r4, 0x80000038@ha /* 8001FE38 0001BC78 80 64 00 38 */ lwz r3, 0x80000038@l(r4) /* 8001FE3C 0001BC7C 2C 03 00 00 */ cmpwi r3, 0x0 /* 8001FE40 0001BC80 40 82 00 10 */ bne lbl_8001FE50 /* 8001FE44 0001BC84 80 64 31 10 */ lwz r3, 0x3110(r4) /* 8001FE48 0001BC88 4B FF C5 69 */ bl OSSetMEM1ArenaHi /* 8001FE4C 0001BC8C 48 00 00 08 */ b lbl_8001FE54 .global lbl_8001FE50 lbl_8001FE50: /* 8001FE50 0001BC90 4B FF C5 61 */ bl OSSetMEM1ArenaHi .global lbl_8001FE54 lbl_8001FE54: /* 8001FE54 0001BC94 80 1B 00 00 */ lwz r0, 0x0(r27) /* 8001FE58 0001BC98 3C 60 80 4A */ lis r3, FatalParam@ha /* 8001FE5C 0001BC9C 94 03 94 48 */ stwu r0, FatalParam@l(r3) /* 8001FE60 0001BCA0 80 1C 00 00 */ lwz r0, 0x0(r28) /* 8001FE64 0001BCA4 90 03 00 04 */ stw r0, 0x4(r3) /* 8001FE68 0001BCA8 93 A3 00 08 */ stw r29, 0x8(r3) /* 8001FE6C 0001BCAC 4B FF C5 05 */ bl OSGetMEM1ArenaHi /* 8001FE70 0001BCB0 3C A0 80 02 */ lis r5, Halt@ha /* 8001FE74 0001BCB4 7C 64 1B 78 */ mr r4, r3 /* 8001FE78 0001BCB8 38 65 FE A0 */ addi r3, r5, Halt@l /* 8001FE7C 0001BCBC 4B FF D5 65 */ bl OSSwitchFiber /* 8001FE80 0001BCC0 39 61 00 30 */ addi r11, r1, 0x30 /* 8001FE84 0001BCC4 4B FE 74 F9 */ bl lbl_8000737C /* 8001FE88 0001BCC8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8001FE8C 0001BCCC 7C 08 03 A6 */ mtlr r0 /* 8001FE90 0001BCD0 38 21 00 30 */ addi r1, r1, 0x30 /* 8001FE94 0001BCD4 4E 80 00 20 */ blr /* 8001FE98 0001BCD8 00 00 00 00 */ .4byte 0x00000000 /* 8001FE9C 0001BCDC 00 00 00 00 */ .4byte 0x00000000 .global Halt Halt: /* 8001FEA0 0001BCE0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8001FEA4 0001BCE4 7C 08 02 A6 */ mflr r0 /* 8001FEA8 0001BCE8 90 01 00 54 */ stw r0, 0x54(r1) /* 8001FEAC 0001BCEC 3C 00 43 30 */ lis r0, 0x4330 /* 8001FEB0 0001BCF0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8001FEB4 0001BCF4 93 C1 00 48 */ stw r30, 0x48(r1) /* 8001FEB8 0001BCF8 93 A1 00 44 */ stw r29, 0x44(r1) /* 8001FEBC 0001BCFC 93 81 00 40 */ stw r28, 0x40(r1) /* 8001FEC0 0001BD00 90 01 00 20 */ stw r0, 0x20(r1) /* 8001FEC4 0001BD04 90 01 00 28 */ stw r0, 0x28(r1) /* 8001FEC8 0001BD08 48 00 19 79 */ bl OSEnableInterrupts /* 8001FECC 0001BD0C 3F A0 80 4A */ lis r29, FatalParam@ha /* 8001FED0 0001BD10 3B BD 94 48 */ addi r29, r29, FatalParam@l /* 8001FED4 0001BD14 83 9D 00 08 */ lwz r28, 0x8(r29) /* 8001FED8 0001BD18 7F 83 E3 78 */ mr r3, r28 /* 8001FEDC 0001BD1C 4B FE 6B B1 */ bl strlen /* 8001FEE0 0001BD20 3B C3 00 01 */ addi r30, r3, 0x1 /* 8001FEE4 0001BD24 38 80 00 20 */ li r4, 0x20 /* 8001FEE8 0001BD28 7F C3 F3 78 */ mr r3, r30 /* 8001FEEC 0001BD2C 4B FF C5 05 */ bl OSAllocFromMEM1ArenaLo /* 8001FEF0 0001BD30 7F 84 E3 78 */ mr r4, r28 /* 8001FEF4 0001BD34 7F C5 F3 78 */ mr r5, r30 /* 8001FEF8 0001BD38 4B FE AE 55 */ bl memmove /* 8001FEFC 0001BD3C 90 7D 00 08 */ stw r3, 0x8(r29) /* 8001FF00 0001BD40 3C 60 00 0A */ lis r3, 0xa /* 8001FF04 0001BD44 38 63 10 04 */ addi r3, r3, 0x1004 /* 8001FF08 0001BD48 38 80 00 20 */ li r4, 0x20 /* 8001FF0C 0001BD4C 4B FF C4 E5 */ bl OSAllocFromMEM1ArenaLo /* 8001FF10 0001BD50 7C 7F 1B 78 */ mr r31, r3 /* 8001FF14 0001BD54 4B FF C4 7D */ bl OSGetMEM1ArenaLo /* 8001FF18 0001BD58 7C 64 1B 78 */ mr r4, r3 /* 8001FF1C 0001BD5C 7F E3 FB 78 */ mr r3, r31 /* 8001FF20 0001BD60 48 00 0C 41 */ bl OSLoadFont /* 8001FF24 0001BD64 3C 60 00 09 */ lis r3, 0x9 /* 8001FF28 0001BD68 38 80 00 20 */ li r4, 0x20 /* 8001FF2C 0001BD6C 38 63 60 00 */ addi r3, r3, 0x6000 /* 8001FF30 0001BD70 4B FF C4 C1 */ bl OSAllocFromMEM1ArenaLo /* 8001FF34 0001BD74 80 1D 00 04 */ lwz r0, 0x4(r29) /* 8001FF38 0001BD78 7C 7E 1B 78 */ mr r30, r3 /* 8001FF3C 0001BD7C 90 01 00 18 */ stw r0, 0x18(r1) /* 8001FF40 0001BD80 C8 02 85 88 */ lfd f0, "@2602_8055E508"@sda21(r2) /* 8001FF44 0001BD84 88 81 00 1A */ lbz r4, 0x1a(r1) /* 8001FF48 0001BD88 90 81 00 24 */ stw r4, 0x24(r1) /* 8001FF4C 0001BD8C 88 01 00 18 */ lbz r0, 0x18(r1) /* 8001FF50 0001BD90 90 01 00 2C */ stw r0, 0x2c(r1) /* 8001FF54 0001BD94 C8 41 00 20 */ lfd f2, 0x20(r1) /* 8001FF58 0001BD98 C8 21 00 28 */ lfd f1, 0x28(r1) /* 8001FF5C 0001BD9C 88 61 00 19 */ lbz r3, 0x19(r1) /* 8001FF60 0001BDA0 EC C2 00 28 */ fsubs f6, f2, f0 /* 8001FF64 0001BDA4 90 61 00 24 */ stw r3, 0x24(r1) /* 8001FF68 0001BDA8 EC 61 00 28 */ fsubs f3, f1, f0 /* 8001FF6C 0001BDAC C0 42 85 5C */ lfs f2, "@2589"@sda21(r2) /* 8001FF70 0001BDB0 C8 21 00 20 */ lfd f1, 0x20(r1) /* 8001FF74 0001BDB4 EC A2 00 F2 */ fmuls f5, f2, f3 /* 8001FF78 0001BDB8 C0 42 85 58 */ lfs f2, "@2588"@sda21(r2) /* 8001FF7C 0001BDBC 90 81 00 2C */ stw r4, 0x2c(r1) /* 8001FF80 0001BDC0 EC 81 00 28 */ fsubs f4, f1, f0 /* 8001FF84 0001BDC4 C0 62 85 60 */ lfs f3, "@2590_8055E4E0"@sda21(r2) /* 8001FF88 0001BDC8 ED 62 01 B2 */ fmuls f11, f2, f6 /* 8001FF8C 0001BDCC C8 21 00 28 */ lfd f1, 0x28(r1) /* 8001FF90 0001BDD0 EC 63 01 32 */ fmuls f3, f3, f4 /* 8001FF94 0001BDD4 90 01 00 24 */ stw r0, 0x24(r1) /* 8001FF98 0001BDD8 EC 41 00 28 */ fsubs f2, f1, f0 /* 8001FF9C 0001BDDC C1 22 85 68 */ lfs f9, "@2592_8055E4E8"@sda21(r2) /* 8001FFA0 0001BDE0 C8 21 00 20 */ lfd f1, 0x20(r1) /* 8001FFA4 0001BDE4 ED 45 18 2A */ fadds f10, f5, f3 /* 8001FFA8 0001BDE8 90 61 00 2C */ stw r3, 0x2c(r1) /* 8001FFAC 0001BDEC EC C1 00 28 */ fsubs f6, f1, f0 /* 8001FFB0 0001BDF0 C8 21 00 28 */ lfd f1, 0x28(r1) /* 8001FFB4 0001BDF4 ED 09 00 B2 */ fmuls f8, f9, f2 /* 8001FFB8 0001BDF8 C0 82 85 6C */ lfs f4, "@2593"@sda21(r2) /* 8001FFBC 0001BDFC 90 01 00 24 */ stw r0, 0x24(r1) /* 8001FFC0 0001BE00 EC 61 00 28 */ fsubs f3, f1, f0 /* 8001FFC4 0001BE04 C0 42 85 70 */ lfs f2, "@2594"@sda21(r2) /* 8001FFC8 0001BE08 EC E4 01 B2 */ fmuls f7, f4, f6 /* 8001FFCC 0001BE0C C8 21 00 20 */ lfd f1, 0x20(r1) /* 8001FFD0 0001BE10 EC C2 00 F2 */ fmuls f6, f2, f3 /* 8001FFD4 0001BE14 90 61 00 2C */ stw r3, 0x2c(r1) /* 8001FFD8 0001BE18 EC A1 00 28 */ fsubs f5, f1, f0 /* 8001FFDC 0001BE1C C0 62 85 74 */ lfs f3, "@2595"@sda21(r2) /* 8001FFE0 0001BE20 C8 21 00 28 */ lfd f1, 0x28(r1) /* 8001FFE4 0001BE24 90 81 00 24 */ stw r4, 0x24(r1) /* 8001FFE8 0001BE28 EC 81 00 28 */ fsubs f4, f1, f0 /* 8001FFEC 0001BE2C C0 22 85 78 */ lfs f1, "@2596_8055E4F8"@sda21(r2) /* 8001FFF0 0001BE30 C8 41 00 20 */ lfd f2, 0x20(r1) /* 8001FFF4 0001BE34 EC A9 01 72 */ fmuls f5, f9, f5 /* 8001FFF8 0001BE38 EC C7 30 28 */ fsubs f6, f7, f6 /* 8001FFFC 0001BE3C C1 22 85 54 */ lfs f9, "@2587"@sda21(r2) .global lbl_80020000 lbl_80020000: /* 80020000 0001BE40 EC 63 01 32 */ fmuls f3, f3, f4 /* 80020004 0001BE44 C0 82 85 50 */ lfs f4, "@2586_8055E4D0"@sda21(r2) /* 80020008 0001BE48 EC 02 00 28 */ fsubs f0, f2, f0 /* 8002000C 0001BE4C EC EB 50 2A */ fadds f7, f11, f10 /* 80020010 0001BE50 EC 45 18 28 */ fsubs f2, f5, f3 /* 80020014 0001BE54 C0 62 85 64 */ lfs f3, "@2591_8055E4E4"@sda21(r2) /* 80020018 0001BE58 EC 01 00 32 */ fmuls f0, f1, f0 /* 8002001C 0001BE5C EC 28 30 2A */ fadds f1, f8, f6 /* 80020020 0001BE60 C0 C2 85 7C */ lfs f6, "@2597_8055E4FC"@sda21(r2) /* 80020024 0001BE64 EC A9 38 2A */ fadds f5, f9, f7 /* 80020028 0001BE68 EC 02 00 28 */ fsubs f0, f2, f0 /* 8002002C 0001BE6C EC 23 08 2A */ fadds f1, f3, f1 /* 80020030 0001BE70 EC A4 28 2A */ fadds f5, f4, f5 /* 80020034 0001BE74 EC 03 00 2A */ fadds f0, f3, f0 /* 80020038 0001BE78 EC 44 08 2A */ fadds f2, f4, f1 /* 8002003C 0001BE7C FC 05 30 40 */ fcmpo cr0, f5, f6 /* 80020040 0001BE80 EC 24 00 2A */ fadds f1, f4, f0 /* 80020044 0001BE84 40 81 00 08 */ ble lbl_8002004C /* 80020048 0001BE88 48 00 00 18 */ b lbl_80020060 .global lbl_8002004C lbl_8002004C: /* 8002004C 0001BE8C FC 05 48 40 */ fcmpo cr0, f5, f9 /* 80020050 0001BE90 40 80 00 08 */ bge lbl_80020058 /* 80020054 0001BE94 48 00 00 08 */ b lbl_8002005C .global lbl_80020058 lbl_80020058: /* 80020058 0001BE98 FD 20 28 90 */ fmr f9, f5 .global lbl_8002005C lbl_8002005C: /* 8002005C 0001BE9C FC C0 48 90 */ fmr f6, f9 .global lbl_80020060 lbl_80020060: /* 80020060 0001BEA0 FC 00 30 1E */ fctiwz f0, f6 /* 80020064 0001BEA4 C0 62 85 80 */ lfs f3, "@2598"@sda21(r2) /* 80020068 0001BEA8 D8 01 00 30 */ stfd f0, 0x30(r1) /* 8002006C 0001BEAC FC 02 18 40 */ fcmpo cr0, f2, f3 /* 80020070 0001BEB0 80 01 00 34 */ lwz r0, 0x34(r1) /* 80020074 0001BEB4 98 01 00 0C */ stb r0, 0xc(r1) /* 80020078 0001BEB8 40 81 00 08 */ ble lbl_80020080 /* 8002007C 0001BEBC 48 00 00 18 */ b lbl_80020094 .global lbl_80020080 lbl_80020080: /* 80020080 0001BEC0 C0 62 85 54 */ lfs f3, "@2587"@sda21(r2) /* 80020084 0001BEC4 FC 02 18 40 */ fcmpo cr0, f2, f3 /* 80020088 0001BEC8 40 80 00 08 */ bge lbl_80020090 /* 8002008C 0001BECC 48 00 00 08 */ b lbl_80020094 .global lbl_80020090 lbl_80020090: /* 80020090 0001BED0 FC 60 10 90 */ fmr f3, f2 .global lbl_80020094 lbl_80020094: /* 80020094 0001BED4 FC 00 18 1E */ fctiwz f0, f3 /* 80020098 0001BED8 C0 42 85 80 */ lfs f2, "@2598"@sda21(r2) /* 8002009C 0001BEDC D8 01 00 30 */ stfd f0, 0x30(r1) /* 800200A0 0001BEE0 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 800200A4 0001BEE4 80 01 00 34 */ lwz r0, 0x34(r1) /* 800200A8 0001BEE8 98 01 00 0D */ stb r0, 0xd(r1) /* 800200AC 0001BEEC 40 81 00 08 */ ble lbl_800200B4 /* 800200B0 0001BEF0 48 00 00 18 */ b lbl_800200C8 .global lbl_800200B4 lbl_800200B4: /* 800200B4 0001BEF4 C0 42 85 54 */ lfs f2, "@2587"@sda21(r2) /* 800200B8 0001BEF8 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 800200BC 0001BEFC 40 80 00 08 */ bge lbl_800200C4 /* 800200C0 0001BF00 48 00 00 08 */ b lbl_800200C8 .global lbl_800200C4 lbl_800200C4: /* 800200C4 0001BF04 FC 40 08 90 */ fmr f2, f1 .global lbl_800200C8 lbl_800200C8: /* 800200C8 0001BF08 FC 00 10 1E */ fctiwz f0, f2 /* 800200CC 0001BF0C 38 00 00 00 */ li r0, 0x0 /* 800200D0 0001BF10 98 01 00 0F */ stb r0, 0xf(r1) /* 800200D4 0001BF14 7F C4 F3 78 */ mr r4, r30 /* 800200D8 0001BF18 38 A0 00 00 */ li r5, 0x0 /* 800200DC 0001BF1C 38 00 00 14 */ li r0, 0x14 /* 800200E0 0001BF20 D8 01 00 30 */ stfd f0, 0x30(r1) /* 800200E4 0001BF24 80 61 00 34 */ lwz r3, 0x34(r1) /* 800200E8 0001BF28 98 61 00 0E */ stb r3, 0xe(r1) /* 800200EC 0001BF2C 80 61 00 0C */ lwz r3, 0xc(r1) /* 800200F0 0001BF30 90 61 00 1C */ stw r3, 0x1c(r1) /* 800200F4 0001BF34 88 C1 00 1D */ lbz r6, 0x1d(r1) /* 800200F8 0001BF38 88 E1 00 1E */ lbz r7, 0x1e(r1) /* 800200FC 0001BF3C 88 61 00 1C */ lbz r3, 0x1c(r1) .global lbl_80020100 lbl_80020100: /* 80020100 0001BF40 7C 09 03 A6 */ mtctr r0 .global lbl_80020104 lbl_80020104: /* 80020104 0001BF44 98 64 00 00 */ stb r3, 0x0(r4) /* 80020108 0001BF48 98 C4 00 01 */ stb r6, 0x1(r4) /* 8002010C 0001BF4C 98 64 00 02 */ stb r3, 0x2(r4) /* 80020110 0001BF50 98 E4 00 03 */ stb r7, 0x3(r4) /* 80020114 0001BF54 98 64 00 04 */ stb r3, 0x4(r4) /* 80020118 0001BF58 98 C4 00 05 */ stb r6, 0x5(r4) /* 8002011C 0001BF5C 98 64 00 06 */ stb r3, 0x6(r4) /* 80020120 0001BF60 98 E4 00 07 */ stb r7, 0x7(r4) /* 80020124 0001BF64 98 64 00 08 */ stb r3, 0x8(r4) /* 80020128 0001BF68 98 C4 00 09 */ stb r6, 0x9(r4) /* 8002012C 0001BF6C 98 64 00 0A */ stb r3, 0xa(r4) /* 80020130 0001BF70 98 E4 00 0B */ stb r7, 0xb(r4) /* 80020134 0001BF74 98 64 00 0C */ stb r3, 0xc(r4) /* 80020138 0001BF78 98 C4 00 0D */ stb r6, 0xd(r4) /* 8002013C 0001BF7C 98 64 00 0E */ stb r3, 0xe(r4) /* 80020140 0001BF80 98 E4 00 0F */ stb r7, 0xf(r4) /* 80020144 0001BF84 98 64 00 10 */ stb r3, 0x10(r4) /* 80020148 0001BF88 98 C4 00 11 */ stb r6, 0x11(r4) /* 8002014C 0001BF8C 98 64 00 12 */ stb r3, 0x12(r4) /* 80020150 0001BF90 98 E4 00 13 */ stb r7, 0x13(r4) /* 80020154 0001BF94 98 64 00 14 */ stb r3, 0x14(r4) /* 80020158 0001BF98 98 C4 00 15 */ stb r6, 0x15(r4) /* 8002015C 0001BF9C 98 64 00 16 */ stb r3, 0x16(r4) /* 80020160 0001BFA0 98 E4 00 17 */ stb r7, 0x17(r4) /* 80020164 0001BFA4 98 64 00 18 */ stb r3, 0x18(r4) /* 80020168 0001BFA8 98 C4 00 19 */ stb r6, 0x19(r4) /* 8002016C 0001BFAC 98 64 00 1A */ stb r3, 0x1a(r4) /* 80020170 0001BFB0 98 E4 00 1B */ stb r7, 0x1b(r4) /* 80020174 0001BFB4 98 64 00 1C */ stb r3, 0x1c(r4) /* 80020178 0001BFB8 98 C4 00 1D */ stb r6, 0x1d(r4) /* 8002017C 0001BFBC 98 64 00 1E */ stb r3, 0x1e(r4) /* 80020180 0001BFC0 98 E4 00 1F */ stb r7, 0x1f(r4) /* 80020184 0001BFC4 98 64 00 20 */ stb r3, 0x20(r4) /* 80020188 0001BFC8 98 C4 00 21 */ stb r6, 0x21(r4) /* 8002018C 0001BFCC 98 64 00 22 */ stb r3, 0x22(r4) /* 80020190 0001BFD0 98 E4 00 23 */ stb r7, 0x23(r4) /* 80020194 0001BFD4 98 64 00 24 */ stb r3, 0x24(r4) /* 80020198 0001BFD8 98 C4 00 25 */ stb r6, 0x25(r4) /* 8002019C 0001BFDC 98 64 00 26 */ stb r3, 0x26(r4) /* 800201A0 0001BFE0 98 E4 00 27 */ stb r7, 0x27(r4) /* 800201A4 0001BFE4 98 64 00 28 */ stb r3, 0x28(r4) /* 800201A8 0001BFE8 98 C4 00 29 */ stb r6, 0x29(r4) /* 800201AC 0001BFEC 98 64 00 2A */ stb r3, 0x2a(r4) /* 800201B0 0001BFF0 98 E4 00 2B */ stb r7, 0x2b(r4) /* 800201B4 0001BFF4 98 64 00 2C */ stb r3, 0x2c(r4) /* 800201B8 0001BFF8 98 C4 00 2D */ stb r6, 0x2d(r4) /* 800201BC 0001BFFC 98 64 00 2E */ stb r3, 0x2e(r4) /* 800201C0 0001C000 98 E4 00 2F */ stb r7, 0x2f(r4) /* 800201C4 0001C004 98 64 00 30 */ stb r3, 0x30(r4) /* 800201C8 0001C008 98 C4 00 31 */ stb r6, 0x31(r4) /* 800201CC 0001C00C 98 64 00 32 */ stb r3, 0x32(r4) /* 800201D0 0001C010 98 E4 00 33 */ stb r7, 0x33(r4) /* 800201D4 0001C014 98 64 00 34 */ stb r3, 0x34(r4) /* 800201D8 0001C018 98 C4 00 35 */ stb r6, 0x35(r4) /* 800201DC 0001C01C 98 64 00 36 */ stb r3, 0x36(r4) /* 800201E0 0001C020 98 E4 00 37 */ stb r7, 0x37(r4) /* 800201E4 0001C024 98 64 00 38 */ stb r3, 0x38(r4) /* 800201E8 0001C028 98 C4 00 39 */ stb r6, 0x39(r4) /* 800201EC 0001C02C 98 64 00 3A */ stb r3, 0x3a(r4) /* 800201F0 0001C030 98 E4 00 3B */ stb r7, 0x3b(r4) /* 800201F4 0001C034 98 64 00 3C */ stb r3, 0x3c(r4) /* 800201F8 0001C038 98 C4 00 3D */ stb r6, 0x3d(r4) /* 800201FC 0001C03C 98 64 00 3E */ stb r3, 0x3e(r4) /* 80020200 0001C040 98 E4 00 3F */ stb r7, 0x3f(r4) /* 80020204 0001C044 38 84 00 40 */ addi r4, r4, 0x40 /* 80020208 0001C048 42 00 FE FC */ bdnz lbl_80020104 /* 8002020C 0001C04C 38 A5 00 01 */ addi r5, r5, 0x1 /* 80020210 0001C050 2C 05 01 E0 */ cmpwi r5, 0x1e0 /* 80020214 0001C054 41 80 FE EC */ blt lbl_80020100 /* 80020218 0001C058 7F C3 F3 78 */ mr r3, r30 /* 8002021C 0001C05C 48 00 DC 55 */ bl VISetNextFrameBuffer /* 80020220 0001C060 38 60 02 80 */ li r3, 0x280 /* 80020224 0001C064 38 80 01 E0 */ li r4, 0x1e0 /* 80020228 0001C068 4B FF F9 69 */ bl ConfigureVideo /* 8002022C 0001C06C 48 00 DB 25 */ bl VIFlush /* 80020230 0001C070 48 00 DD 41 */ bl VIGetRetraceCount /* 80020234 0001C074 7C 7C 1B 78 */ mr r28, r3 .global lbl_80020238 lbl_80020238: /* 80020238 0001C078 48 00 DD 39 */ bl VIGetRetraceCount /* 8002023C 0001C07C 7C 1C 18 50 */ subf r0, r28, r3 /* 80020240 0001C080 2C 00 00 02 */ cmpwi r0, 0x2 /* 80020244 0001C084 41 80 FF F4 */ blt lbl_80020238 /* 80020248 0001C088 80 1D 00 00 */ lwz r0, 0x0(r29) /* 8002024C 0001C08C 90 01 00 10 */ stw r0, 0x10(r1) /* 80020250 0001C090 C8 02 85 88 */ lfd f0, "@2602_8055E508"@sda21(r2) /* 80020254 0001C094 88 81 00 12 */ lbz r4, 0x12(r1) /* 80020258 0001C098 90 81 00 2C */ stw r4, 0x2c(r1) /* 8002025C 0001C09C 88 01 00 10 */ lbz r0, 0x10(r1) /* 80020260 0001C0A0 90 01 00 24 */ stw r0, 0x24(r1) /* 80020264 0001C0A4 C8 41 00 28 */ lfd f2, 0x28(r1) /* 80020268 0001C0A8 C8 21 00 20 */ lfd f1, 0x20(r1) /* 8002026C 0001C0AC 88 61 00 11 */ lbz r3, 0x11(r1) /* 80020270 0001C0B0 EC C2 00 28 */ fsubs f6, f2, f0 /* 80020274 0001C0B4 90 61 00 2C */ stw r3, 0x2c(r1) /* 80020278 0001C0B8 EC 61 00 28 */ fsubs f3, f1, f0 /* 8002027C 0001C0BC C0 42 85 5C */ lfs f2, "@2589"@sda21(r2) /* 80020280 0001C0C0 C8 21 00 28 */ lfd f1, 0x28(r1) /* 80020284 0001C0C4 EC A2 00 F2 */ fmuls f5, f2, f3 /* 80020288 0001C0C8 C0 42 85 58 */ lfs f2, "@2588"@sda21(r2) /* 8002028C 0001C0CC 90 81 00 24 */ stw r4, 0x24(r1) /* 80020290 0001C0D0 EC 81 00 28 */ fsubs f4, f1, f0 /* 80020294 0001C0D4 C0 62 85 60 */ lfs f3, "@2590_8055E4E0"@sda21(r2) /* 80020298 0001C0D8 ED 62 01 B2 */ fmuls f11, f2, f6 /* 8002029C 0001C0DC C8 21 00 20 */ lfd f1, 0x20(r1) /* 800202A0 0001C0E0 EC 63 01 32 */ fmuls f3, f3, f4 /* 800202A4 0001C0E4 90 01 00 2C */ stw r0, 0x2c(r1) /* 800202A8 0001C0E8 EC 41 00 28 */ fsubs f2, f1, f0 /* 800202AC 0001C0EC C1 22 85 68 */ lfs f9, "@2592_8055E4E8"@sda21(r2) /* 800202B0 0001C0F0 C8 21 00 28 */ lfd f1, 0x28(r1) /* 800202B4 0001C0F4 ED 45 18 2A */ fadds f10, f5, f3 /* 800202B8 0001C0F8 90 61 00 24 */ stw r3, 0x24(r1) /* 800202BC 0001C0FC EC C1 00 28 */ fsubs f6, f1, f0 /* 800202C0 0001C100 C8 21 00 20 */ lfd f1, 0x20(r1) /* 800202C4 0001C104 ED 09 00 B2 */ fmuls f8, f9, f2 /* 800202C8 0001C108 C0 82 85 6C */ lfs f4, "@2593"@sda21(r2) /* 800202CC 0001C10C 90 01 00 2C */ stw r0, 0x2c(r1) /* 800202D0 0001C110 EC 61 00 28 */ fsubs f3, f1, f0 /* 800202D4 0001C114 C0 42 85 70 */ lfs f2, "@2594"@sda21(r2) /* 800202D8 0001C118 EC E4 01 B2 */ fmuls f7, f4, f6 /* 800202DC 0001C11C C8 21 00 28 */ lfd f1, 0x28(r1) /* 800202E0 0001C120 EC C2 00 F2 */ fmuls f6, f2, f3 /* 800202E4 0001C124 90 61 00 24 */ stw r3, 0x24(r1) /* 800202E8 0001C128 EC A1 00 28 */ fsubs f5, f1, f0 /* 800202EC 0001C12C C0 62 85 74 */ lfs f3, "@2595"@sda21(r2) /* 800202F0 0001C130 C8 21 00 20 */ lfd f1, 0x20(r1) /* 800202F4 0001C134 90 81 00 2C */ stw r4, 0x2c(r1) /* 800202F8 0001C138 EC 81 00 28 */ fsubs f4, f1, f0 /* 800202FC 0001C13C C0 22 85 78 */ lfs f1, "@2596_8055E4F8"@sda21(r2) /* 80020300 0001C140 C8 41 00 28 */ lfd f2, 0x28(r1) /* 80020304 0001C144 EC A9 01 72 */ fmuls f5, f9, f5 /* 80020308 0001C148 EC C7 30 28 */ fsubs f6, f7, f6 /* 8002030C 0001C14C C1 22 85 54 */ lfs f9, "@2587"@sda21(r2) /* 80020310 0001C150 EC 63 01 32 */ fmuls f3, f3, f4 /* 80020314 0001C154 C0 82 85 50 */ lfs f4, "@2586_8055E4D0"@sda21(r2) /* 80020318 0001C158 EC 02 00 28 */ fsubs f0, f2, f0 /* 8002031C 0001C15C EC EB 50 2A */ fadds f7, f11, f10 /* 80020320 0001C160 EC 45 18 28 */ fsubs f2, f5, f3 /* 80020324 0001C164 C0 62 85 64 */ lfs f3, "@2591_8055E4E4"@sda21(r2) /* 80020328 0001C168 EC 01 00 32 */ fmuls f0, f1, f0 /* 8002032C 0001C16C EC 28 30 2A */ fadds f1, f8, f6 /* 80020330 0001C170 C0 C2 85 7C */ lfs f6, "@2597_8055E4FC"@sda21(r2) /* 80020334 0001C174 EC A9 38 2A */ fadds f5, f9, f7 /* 80020338 0001C178 EC 02 00 28 */ fsubs f0, f2, f0 /* 8002033C 0001C17C EC 23 08 2A */ fadds f1, f3, f1 /* 80020340 0001C180 EC A4 28 2A */ fadds f5, f4, f5 /* 80020344 0001C184 EC 03 00 2A */ fadds f0, f3, f0 /* 80020348 0001C188 EC 44 08 2A */ fadds f2, f4, f1 /* 8002034C 0001C18C FC 05 30 40 */ fcmpo cr0, f5, f6 /* 80020350 0001C190 EC 24 00 2A */ fadds f1, f4, f0 /* 80020354 0001C194 40 81 00 08 */ ble lbl_8002035C /* 80020358 0001C198 48 00 00 18 */ b lbl_80020370 .global lbl_8002035C lbl_8002035C: /* 8002035C 0001C19C FC 05 48 40 */ fcmpo cr0, f5, f9 /* 80020360 0001C1A0 40 80 00 08 */ bge lbl_80020368 /* 80020364 0001C1A4 48 00 00 08 */ b lbl_8002036C .global lbl_80020368 lbl_80020368: /* 80020368 0001C1A8 FD 20 28 90 */ fmr f9, f5 .global lbl_8002036C lbl_8002036C: /* 8002036C 0001C1AC FC C0 48 90 */ fmr f6, f9 .global lbl_80020370 lbl_80020370: /* 80020370 0001C1B0 FC 00 30 1E */ fctiwz f0, f6 /* 80020374 0001C1B4 C0 62 85 80 */ lfs f3, "@2598"@sda21(r2) /* 80020378 0001C1B8 D8 01 00 30 */ stfd f0, 0x30(r1) /* 8002037C 0001C1BC FC 02 18 40 */ fcmpo cr0, f2, f3 /* 80020380 0001C1C0 80 01 00 34 */ lwz r0, 0x34(r1) /* 80020384 0001C1C4 98 01 00 08 */ stb r0, 0x8(r1) /* 80020388 0001C1C8 40 81 00 08 */ ble lbl_80020390 /* 8002038C 0001C1CC 48 00 00 18 */ b lbl_800203A4 .global lbl_80020390 lbl_80020390: /* 80020390 0001C1D0 C0 62 85 54 */ lfs f3, "@2587"@sda21(r2) /* 80020394 0001C1D4 FC 02 18 40 */ fcmpo cr0, f2, f3 /* 80020398 0001C1D8 40 80 00 08 */ bge lbl_800203A0 /* 8002039C 0001C1DC 48 00 00 08 */ b lbl_800203A4 .global lbl_800203A0 lbl_800203A0: /* 800203A0 0001C1E0 FC 60 10 90 */ fmr f3, f2 .global lbl_800203A4 lbl_800203A4: /* 800203A4 0001C1E4 FC 00 18 1E */ fctiwz f0, f3 /* 800203A8 0001C1E8 C0 42 85 80 */ lfs f2, "@2598"@sda21(r2) /* 800203AC 0001C1EC D8 01 00 30 */ stfd f0, 0x30(r1) /* 800203B0 0001C1F0 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 800203B4 0001C1F4 80 01 00 34 */ lwz r0, 0x34(r1) /* 800203B8 0001C1F8 98 01 00 09 */ stb r0, 0x9(r1) /* 800203BC 0001C1FC 40 81 00 08 */ ble lbl_800203C4 /* 800203C0 0001C200 48 00 00 18 */ b lbl_800203D8 .global lbl_800203C4 lbl_800203C4: /* 800203C4 0001C204 C0 42 85 54 */ lfs f2, "@2587"@sda21(r2) /* 800203C8 0001C208 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 800203CC 0001C20C 40 80 00 08 */ bge lbl_800203D4 /* 800203D0 0001C210 48 00 00 08 */ b lbl_800203D8 .global lbl_800203D4 lbl_800203D4: /* 800203D4 0001C214 FC 40 08 90 */ fmr f2, f1 .global lbl_800203D8 lbl_800203D8: /* 800203D8 0001C218 FC 00 10 1E */ fctiwz f0, f2 /* 800203DC 0001C21C 38 00 00 00 */ li r0, 0x0 /* 800203E0 0001C220 98 01 00 0B */ stb r0, 0xb(r1) /* 800203E4 0001C224 7F C3 F3 78 */ mr r3, r30 /* 800203E8 0001C228 81 5D 00 08 */ lwz r10, 0x8(r29) /* 800203EC 0001C22C 38 C1 00 14 */ addi r6, r1, 0x14 /* 800203F0 0001C230 D8 01 00 30 */ stfd f0, 0x30(r1) /* 800203F4 0001C234 38 80 02 80 */ li r4, 0x280 /* 800203F8 0001C238 38 A0 01 E0 */ li r5, 0x1e0 /* 800203FC 0001C23C 38 E0 00 30 */ li r7, 0x30 /* 80020400 0001C240 80 01 00 34 */ lwz r0, 0x34(r1) /* 80020404 0001C244 39 00 00 64 */ li r8, 0x64 /* 80020408 0001C248 98 01 00 0A */ stb r0, 0xa(r1) /* 8002040C 0001C24C 80 01 00 08 */ lwz r0, 0x8(r1) /* 80020410 0001C250 90 01 00 14 */ stw r0, 0x14(r1) /* 80020414 0001C254 A1 3F 00 0E */ lhz r9, 0xe(r31) /* 80020418 0001C258 4B FF F4 49 */ bl ScreenReport /* 8002041C 0001C25C 3C 80 00 09 */ lis r4, 0x9 /* 80020420 0001C260 7F C3 F3 78 */ mr r3, r30 /* 80020424 0001C264 38 84 60 00 */ addi r4, r4, 0x6000 /* 80020428 0001C268 4B FF C5 59 */ bl DCFlushRange /* 8002042C 0001C26C 38 60 00 00 */ li r3, 0x0 /* 80020430 0001C270 48 00 DA C1 */ bl VISetBlack /* 80020434 0001C274 48 00 D9 1D */ bl VIFlush /* 80020438 0001C278 48 00 DB 39 */ bl VIGetRetraceCount /* 8002043C 0001C27C 7C 7E 1B 78 */ mr r30, r3 .global lbl_80020440 lbl_80020440: /* 80020440 0001C280 48 00 DB 31 */ bl VIGetRetraceCount /* 80020444 0001C284 7C 1E 18 50 */ subf r0, r30, r3 /* 80020448 0001C288 2C 00 00 01 */ cmpwi r0, 0x1 /* 8002044C 0001C28C 41 80 FF F4 */ blt lbl_80020440 /* 80020450 0001C290 48 00 13 D1 */ bl OSDisableInterrupts /* 80020454 0001C294 80 9D 00 08 */ lwz r4, 0x8(r29) /* 80020458 0001C298 38 6D 80 C0 */ addi r3, r13, "@2599"@sda21 /* 8002045C 0001C29C 4C C6 31 82 */ crclr 4*cr1+eq /* 80020460 0001C2A0 4B FF D5 31 */ bl OSReport /* 80020464 0001C2A4 4B FF 9C CD */ bl PPCHalt /* 80020468 0001C2A8 80 01 00 54 */ lwz r0, 0x54(r1) /* 8002046C 0001C2AC 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80020470 0001C2B0 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80020474 0001C2B4 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80020478 0001C2B8 83 81 00 40 */ lwz r28, 0x40(r1) /* 8002047C 0001C2BC 7C 08 03 A6 */ mtlr r0 /* 80020480 0001C2C0 38 21 00 50 */ addi r1, r1, 0x50 /* 80020484 0001C2C4 4E 80 00 20 */ blr /* 80020488 0001C2C8 00 00 00 00 */ .4byte 0x00000000 /* 8002048C 0001C2CC 00 00 00 00 */ .4byte 0x00000000 .include "macros.inc" .section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 .global FatalContext FatalContext: .skip 0x2C8 .global FatalParam FatalParam: .skip 0x18 .include "macros.inc" .section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 .global "@2599" "@2599": .4byte 0x25730A00 .4byte 0 .include "macros.inc" .section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 .global "@2586_8055E4D0" "@2586_8055E4D0": .4byte 0x3F000000 .global "@2587" "@2587": .4byte 0x41800000 .global "@2588" "@2588": .4byte 0x3DC8B439 .global "@2589" "@2589": .4byte 0x3E839581 .global "@2590_8055E4E0" "@2590_8055E4E0": .4byte 0x3F010625 .global "@2591_8055E4E4" "@2591_8055E4E4": .4byte 0x43000000 .global "@2592_8055E4E8" "@2592_8055E4E8": .4byte 0x3EE0C49C .global "@2593" "@2593": .4byte 0xBE178D50 .global "@2594" "@2594": .4byte 0x3E94FDF4 .global "@2595" "@2595": .4byte 0x3EBC6A7F .global "@2596_8055E4F8" "@2596_8055E4F8": .4byte 0x3D916873 .global "@2597_8055E4FC" "@2597_8055E4FC": .4byte 0x436B0000 .global "@2598" "@2598": .4byte 0x43700000 .4byte 0 .global "@2602_8055E508" "@2602_8055E508": .4byte 0x43300000 .4byte 0