.include "macros.inc" .section .sdata .balign 8 .global lbl_805A7E30 lbl_805A7E30: # ROM: 0x3F57D0 .4byte 0 .global lbl_805A7E34 lbl_805A7E34: # ROM: 0x3F57D4 .4byte 0 .global lbl_805A7E38 lbl_805A7E38: # ROM: 0x3F57D8 .4byte 0 .global lbl_805A7E3C lbl_805A7E3C: # ROM: 0x3F57DC .float 1.0 .section .text, "ax" .global Draw__14CMessageScreenCFv Draw__14CMessageScreenCFv: /* 801EF604 001EC564 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801EF608 001EC568 7C 08 02 A6 */ mflr r0 /* 801EF60C 001EC56C 90 01 00 24 */ stw r0, 0x24(r1) /* 801EF610 001EC570 80 03 00 18 */ lwz r0, 0x18(r3) /* 801EF614 001EC574 28 00 00 00 */ cmplwi r0, 0 /* 801EF618 001EC578 41 82 00 38 */ beq lbl_801EF650 /* 801EF61C 001EC57C 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha /* 801EF620 001EC580 C0 63 00 70 */ lfs f3, 0x70(r3) /* 801EF624 001EC584 38 A4 66 A0 */ addi r5, r4, sZeroVector__9CVector3f@l /* 801EF628 001EC588 7C 03 03 78 */ mr r3, r0 /* 801EF62C 001EC58C C0 45 00 00 */ lfs f2, 0(r5) /* 801EF630 001EC590 38 81 00 08 */ addi r4, r1, 8 /* 801EF634 001EC594 C0 25 00 04 */ lfs f1, 4(r5) /* 801EF638 001EC598 C0 05 00 08 */ lfs f0, 8(r5) /* 801EF63C 001EC59C D0 61 00 08 */ stfs f3, 8(r1) /* 801EF640 001EC5A0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801EF644 001EC5A4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801EF648 001EC5A8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801EF64C 001EC5AC 48 0D 30 E9 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms lbl_801EF650: /* 801EF650 001EC5B0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801EF654 001EC5B4 7C 08 03 A6 */ mtlr r0 /* 801EF658 001EC5B8 38 21 00 20 */ addi r1, r1, 0x20 /* 801EF65C 001EC5BC 4E 80 00 20 */ blr .global ProcessControllerInput__14CMessageScreenFRC11CFinalInput ProcessControllerInput__14CMessageScreenFRC11CFinalInput: /* 801EF660 001EC5C0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801EF664 001EC5C4 7C 08 02 A6 */ mflr r0 /* 801EF668 001EC5C8 90 01 00 44 */ stw r0, 0x44(r1) /* 801EF66C 001EC5CC DB E1 00 30 */ stfd f31, 0x30(r1) /* 801EF670 001EC5D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801EF674 001EC5D4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801EF678 001EC5D8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801EF67C 001EC5DC 7C 7E 1B 78 */ mr r30, r3 /* 801EF680 001EC5E0 80 03 00 18 */ lwz r0, 0x18(r3) /* 801EF684 001EC5E4 28 00 00 00 */ cmplwi r0, 0 /* 801EF688 001EC5E8 41 82 00 FC */ beq lbl_801EF784 /* 801EF68C 001EC5EC C0 3E 00 74 */ lfs f1, 0x74(r30) /* 801EF690 001EC5F0 C0 02 AE 48 */ lfs f0, lbl_805ACB68@sda21(r2) /* 801EF694 001EC5F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EF698 001EC5F8 4C 40 13 82 */ cror 2, 0, 2 /* 801EF69C 001EC5FC 40 82 00 E8 */ bne lbl_801EF784 /* 801EF6A0 001EC600 88 04 00 2D */ lbz r0, 0x2d(r4) /* 801EF6A4 001EC604 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801EF6A8 001EC608 41 82 00 DC */ beq lbl_801EF784 /* 801EF6AC 001EC60C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 801EF6B0 001EC610 3B E3 00 D4 */ addi r31, r3, 0xd4 /* 801EF6B4 001EC614 C3 E3 01 10 */ lfs f31, 0x110(r3) /* 801EF6B8 001EC618 7F E3 FB 78 */ mr r3, r31 /* 801EF6BC 001EC61C 48 0D 89 ED */ bl GetTotalAnimationTime__15CGuiTextSupportCFv /* 801EF6C0 001EC620 FC 1F 08 40 */ fcmpo cr0, f31, f1 /* 801EF6C4 001EC624 40 80 00 14 */ bge lbl_801EF6D8 /* 801EF6C8 001EC628 7F E3 FB 78 */ mr r3, r31 /* 801EF6CC 001EC62C 48 0D 89 DD */ bl GetTotalAnimationTime__15CGuiTextSupportCFv /* 801EF6D0 001EC630 D0 3F 00 3C */ stfs f1, 0x3c(r31) /* 801EF6D4 001EC634 48 00 00 B0 */ b lbl_801EF784 lbl_801EF6D8: /* 801EF6D8 001EC638 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801EF6DC 001EC63C 38 03 00 01 */ addi r0, r3, 1 /* 801EF6E0 001EC640 90 1E 00 6C */ stw r0, 0x6c(r30) /* 801EF6E4 001EC644 80 7E 00 08 */ lwz r3, 8(r30) /* 801EF6E8 001EC648 80 9E 00 6C */ lwz r4, 0x6c(r30) /* 801EF6EC 001EC64C 80 03 00 00 */ lwz r0, 0(r3) /* 801EF6F0 001EC650 7C 04 00 00 */ cmpw r4, r0 /* 801EF6F4 001EC654 41 80 00 18 */ blt lbl_801EF70C /* 801EF6F8 001EC658 88 1E 00 78 */ lbz r0, 0x78(r30) /* 801EF6FC 001EC65C 38 60 00 01 */ li r3, 1 /* 801EF700 001EC660 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801EF704 001EC664 98 1E 00 78 */ stb r0, 0x78(r30) /* 801EF708 001EC668 48 00 00 7C */ b lbl_801EF784 lbl_801EF70C: /* 801EF70C 001EC66C C0 22 AE 4C */ lfs f1, lbl_805ACB6C@sda21(r2) /* 801EF710 001EC670 7F E3 FB 78 */ mr r3, r31 /* 801EF714 001EC674 C0 42 AE 50 */ lfs f2, lbl_805ACB70@sda21(r2) /* 801EF718 001EC678 38 80 00 00 */ li r4, 0 /* 801EF71C 001EC67C 48 0D 89 FD */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 801EF720 001EC680 80 7E 00 08 */ lwz r3, 8(r30) /* 801EF724 001EC684 80 9E 00 6C */ lwz r4, 0x6c(r30) /* 801EF728 001EC688 48 16 6F D5 */ bl GetString__12CStringTableCFi /* 801EF72C 001EC68C 7C 64 1B 78 */ mr r4, r3 /* 801EF730 001EC690 38 61 00 10 */ addi r3, r1, 0x10 /* 801EF734 001EC694 38 C1 00 08 */ addi r6, r1, 8 /* 801EF738 001EC698 38 A0 FF FF */ li r5, -1 /* 801EF73C 001EC69C 48 14 E0 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 801EF740 001EC6A0 7F E3 FB 78 */ mr r3, r31 /* 801EF744 001EC6A4 38 81 00 10 */ addi r4, r1, 0x10 /* 801EF748 001EC6A8 38 A0 00 00 */ li r5, 0 /* 801EF74C 001EC6AC 48 0D A1 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801EF750 001EC6B0 38 61 00 10 */ addi r3, r1, 0x10 /* 801EF754 001EC6B4 48 14 D9 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801EF758 001EC6B8 A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2) /* 801EF75C 001EC6BC 38 61 00 0C */ addi r3, r1, 0xc /* 801EF760 001EC6C0 81 42 C6 00 */ lwz r10, kAllAreas__11CSfxManager@sda21(r2) /* 801EF764 001EC6C4 38 80 05 8D */ li r4, 0x58d /* 801EF768 001EC6C8 38 A0 00 7F */ li r5, 0x7f /* 801EF76C 001EC6CC 38 C0 00 40 */ li r6, 0x40 /* 801EF770 001EC6D0 38 E0 00 00 */ li r7, 0 /* 801EF774 001EC6D4 39 20 00 00 */ li r9, 0 /* 801EF778 001EC6D8 48 0F A5 FD */ bl SfxStart__11CSfxManagerFUsssbsbi /* 801EF77C 001EC6DC C0 02 AE 54 */ lfs f0, lbl_805ACB74@sda21(r2) /* 801EF780 001EC6E0 D0 1E 00 74 */ stfs f0, 0x74(r30) lbl_801EF784: /* 801EF784 001EC6E4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801EF788 001EC6E8 80 01 00 44 */ lwz r0, 0x44(r1) /* 801EF78C 001EC6EC CB E1 00 30 */ lfd f31, 0x30(r1) /* 801EF790 001EC6F0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801EF794 001EC6F4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801EF798 001EC6F8 7C 08 03 A6 */ mtlr r0 /* 801EF79C 001EC6FC 38 21 00 40 */ addi r1, r1, 0x40 /* 801EF7A0 001EC700 4E 80 00 20 */ blr .global Update__14CMessageScreenFf Update__14CMessageScreenFf: /* 801EF7A4 001EC704 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 801EF7A8 001EC708 7C 08 02 A6 */ mflr r0 /* 801EF7AC 001EC70C 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 801EF7B0 001EC710 DB E1 01 90 */ stfd f31, 0x190(r1) /* 801EF7B4 001EC714 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 801EF7B8 001EC718 DB C1 01 80 */ stfd f30, 0x180(r1) /* 801EF7BC 001EC71C F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 801EF7C0 001EC720 DB A1 01 70 */ stfd f29, 0x170(r1) /* 801EF7C4 001EC724 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 /* 801EF7C8 001EC728 DB 81 01 60 */ stfd f28, 0x160(r1) /* 801EF7CC 001EC72C F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 /* 801EF7D0 001EC730 DB 61 01 50 */ stfd f27, 0x150(r1) /* 801EF7D4 001EC734 F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 /* 801EF7D8 001EC738 DB 41 01 40 */ stfd f26, 0x140(r1) /* 801EF7DC 001EC73C F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 /* 801EF7E0 001EC740 93 E1 01 3C */ stw r31, 0x13c(r1) /* 801EF7E4 001EC744 93 C1 01 38 */ stw r30, 0x138(r1) /* 801EF7E8 001EC748 7C 7F 1B 78 */ mr r31, r3 /* 801EF7EC 001EC74C FF 40 08 90 */ fmr f26, f1 /* 801EF7F0 001EC750 D0 43 00 70 */ stfs f2, 0x70(r3) /* 801EF7F4 001EC754 80 03 00 18 */ lwz r0, 0x18(r3) /* 801EF7F8 001EC758 28 00 00 00 */ cmplwi r0, 0 /* 801EF7FC 001EC75C 40 82 03 5C */ bne lbl_801EFB58 /* 801EF800 001EC760 80 1F 00 14 */ lwz r0, 0x14(r31) /* 801EF804 001EC764 28 00 00 00 */ cmplwi r0, 0 /* 801EF808 001EC768 41 82 00 0C */ beq lbl_801EF814 /* 801EF80C 001EC76C 38 60 00 01 */ li r3, 1 /* 801EF810 001EC770 48 00 00 3C */ b lbl_801EF84C lbl_801EF814: /* 801EF814 001EC774 88 1F 00 10 */ lbz r0, 0x10(r31) /* 801EF818 001EC778 28 00 00 00 */ cmplwi r0, 0 /* 801EF81C 001EC77C 41 82 00 2C */ beq lbl_801EF848 /* 801EF820 001EC780 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801EF824 001EC784 80 03 00 10 */ lwz r0, 0x10(r3) /* 801EF828 001EC788 28 00 00 00 */ cmplwi r0, 0 /* 801EF82C 001EC78C 41 82 00 1C */ beq lbl_801EF848 /* 801EF830 001EC790 38 7F 00 0C */ addi r3, r31, 0xc /* 801EF834 001EC794 48 15 15 D9 */ bl GetObj__6CTokenFv /* 801EF838 001EC798 80 03 00 04 */ lwz r0, 4(r3) /* 801EF83C 001EC79C 38 60 00 01 */ li r3, 1 /* 801EF840 001EC7A0 90 1F 00 14 */ stw r0, 0x14(r31) /* 801EF844 001EC7A4 48 00 00 08 */ b lbl_801EF84C lbl_801EF848: /* 801EF848 001EC7A8 38 60 00 00 */ li r3, 0 lbl_801EF84C: /* 801EF84C 001EC7AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EF850 001EC7B0 41 82 00 50 */ beq lbl_801EF8A0 /* 801EF854 001EC7B4 80 1F 00 08 */ lwz r0, 8(r31) /* 801EF858 001EC7B8 28 00 00 00 */ cmplwi r0, 0 /* 801EF85C 001EC7BC 41 82 00 0C */ beq lbl_801EF868 /* 801EF860 001EC7C0 38 60 00 01 */ li r3, 1 /* 801EF864 001EC7C4 48 00 00 3C */ b lbl_801EF8A0 lbl_801EF868: /* 801EF868 001EC7C8 88 1F 00 04 */ lbz r0, 4(r31) /* 801EF86C 001EC7CC 28 00 00 00 */ cmplwi r0, 0 /* 801EF870 001EC7D0 41 82 00 2C */ beq lbl_801EF89C /* 801EF874 001EC7D4 80 7F 00 00 */ lwz r3, 0(r31) /* 801EF878 001EC7D8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801EF87C 001EC7DC 28 00 00 00 */ cmplwi r0, 0 /* 801EF880 001EC7E0 41 82 00 1C */ beq lbl_801EF89C /* 801EF884 001EC7E4 7F E3 FB 78 */ mr r3, r31 /* 801EF888 001EC7E8 48 15 15 85 */ bl GetObj__6CTokenFv /* 801EF88C 001EC7EC 80 03 00 04 */ lwz r0, 4(r3) /* 801EF890 001EC7F0 38 60 00 01 */ li r3, 1 /* 801EF894 001EC7F4 90 1F 00 08 */ stw r0, 8(r31) /* 801EF898 001EC7F8 48 00 00 08 */ b lbl_801EF8A0 lbl_801EF89C: /* 801EF89C 001EC7FC 38 60 00 00 */ li r3, 0 lbl_801EF8A0: /* 801EF8A0 001EC800 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EF8A4 001EC804 41 82 02 B4 */ beq lbl_801EFB58 /* 801EF8A8 001EC808 80 1F 00 14 */ lwz r0, 0x14(r31) /* 801EF8AC 001EC80C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8B0 001EC810 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8B4 001EC814 90 1F 00 18 */ stw r0, 0x18(r31) /* 801EF8B8 001EC818 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF8BC 001EC81C 48 0D 28 99 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF8C0 001EC820 90 7F 00 1C */ stw r3, 0x1c(r31) /* 801EF8C4 001EC824 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8C8 001EC828 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8CC 001EC82C 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF8D0 001EC830 38 84 00 11 */ addi r4, r4, 0x11 /* 801EF8D4 001EC834 48 0D 28 81 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF8D8 001EC838 90 7F 00 20 */ stw r3, 0x20(r31) /* 801EF8DC 001EC83C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8E0 001EC840 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8E4 001EC844 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF8E8 001EC848 38 84 00 20 */ addi r4, r4, 0x20 /* 801EF8EC 001EC84C 48 0D 28 69 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF8F0 001EC850 90 7F 00 24 */ stw r3, 0x24(r31) /* 801EF8F4 001EC854 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8F8 001EC858 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8FC 001EC85C 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF900 001EC860 38 84 00 32 */ addi r4, r4, 0x32 /* 801EF904 001EC864 48 0D 28 51 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF908 001EC868 90 7F 00 28 */ stw r3, 0x28(r31) /* 801EF90C 001EC86C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF910 001EC870 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF914 001EC874 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF918 001EC878 38 84 00 44 */ addi r4, r4, 0x44 /* 801EF91C 001EC87C 48 0D 28 39 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF920 001EC880 90 7F 00 2C */ stw r3, 0x2c(r31) /* 801EF924 001EC884 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF928 001EC888 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF92C 001EC88C 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF930 001EC890 38 84 00 52 */ addi r4, r4, 0x52 /* 801EF934 001EC894 48 0D 28 21 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF938 001EC898 90 7F 00 30 */ stw r3, 0x30(r31) /* 801EF93C 001EC89C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF940 001EC8A0 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF944 001EC8A4 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF948 001EC8A8 38 84 00 5C */ addi r4, r4, 0x5c /* 801EF94C 001EC8AC 48 0D 28 09 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF950 001EC8B0 90 7F 00 38 */ stw r3, 0x38(r31) /* 801EF954 001EC8B4 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF958 001EC8B8 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF95C 001EC8BC 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF960 001EC8C0 38 84 00 69 */ addi r4, r4, 0x69 /* 801EF964 001EC8C4 48 0D 27 F1 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF968 001EC8C8 90 7F 00 34 */ stw r3, 0x34(r31) /* 801EF96C 001EC8CC 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF970 001EC8D0 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF974 001EC8D4 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF978 001EC8D8 38 84 00 76 */ addi r4, r4, 0x76 /* 801EF97C 001EC8DC 48 0D 27 D9 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF980 001EC8E0 90 7F 00 3C */ stw r3, 0x3c(r31) /* 801EF984 001EC8E4 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF988 001EC8E8 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF98C 001EC8EC 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF990 001EC8F0 38 84 00 7F */ addi r4, r4, 0x7f /* 801EF994 001EC8F4 48 0D 27 C1 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF998 001EC8F8 90 7F 00 40 */ stw r3, 0x40(r31) /* 801EF99C 001EC8FC 38 61 00 60 */ addi r3, r1, 0x60 /* 801EF9A0 001EC900 80 9F 00 20 */ lwz r4, 0x20(r31) /* 801EF9A4 001EC904 48 0D 58 79 */ bl GetLocalPosition__10CGuiObjectCFv /* 801EF9A8 001EC908 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801EF9AC 001EC90C 38 61 00 54 */ addi r3, r1, 0x54 /* 801EF9B0 001EC910 D0 1F 00 44 */ stfs f0, 0x44(r31) /* 801EF9B4 001EC914 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801EF9B8 001EC918 D0 1F 00 48 */ stfs f0, 0x48(r31) /* 801EF9BC 001EC91C C0 01 00 68 */ lfs f0, 0x68(r1) /* 801EF9C0 001EC920 D0 1F 00 4C */ stfs f0, 0x4c(r31) /* 801EF9C4 001EC924 80 9F 00 28 */ lwz r4, 0x28(r31) /* 801EF9C8 001EC928 48 0D 58 55 */ bl GetLocalPosition__10CGuiObjectCFv /* 801EF9CC 001EC92C C0 01 00 54 */ lfs f0, 0x54(r1) /* 801EF9D0 001EC930 38 61 00 48 */ addi r3, r1, 0x48 /* 801EF9D4 001EC934 D0 1F 00 50 */ stfs f0, 0x50(r31) /* 801EF9D8 001EC938 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801EF9DC 001EC93C D0 1F 00 54 */ stfs f0, 0x54(r31) /* 801EF9E0 001EC940 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801EF9E4 001EC944 D0 1F 00 58 */ stfs f0, 0x58(r31) /* 801EF9E8 001EC948 80 9F 00 40 */ lwz r4, 0x40(r31) /* 801EF9EC 001EC94C 48 0D 58 31 */ bl GetLocalPosition__10CGuiObjectCFv /* 801EF9F0 001EC950 C0 01 00 48 */ lfs f0, 0x48(r1) /* 801EF9F4 001EC954 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF9F8 001EC958 38 63 1F 48 */ addi r3, r3, lbl_803D1F48@l /* 801EF9FC 001EC95C D0 1F 00 5C */ stfs f0, 0x5c(r31) /* 801EFA00 001EC960 38 83 00 11 */ addi r4, r3, 0x11 /* 801EFA04 001EC964 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801EFA08 001EC968 D0 1F 00 60 */ stfs f0, 0x60(r31) /* 801EFA0C 001EC96C C0 01 00 50 */ lfs f0, 0x50(r1) /* 801EFA10 001EC970 D0 1F 00 64 */ stfs f0, 0x64(r31) /* 801EFA14 001EC974 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFA18 001EC978 48 0D 27 3D */ bl FindWidget__9CGuiFrameCFPCc /* 801EFA1C 001EC97C 28 03 00 00 */ cmplwi r3, 0 /* 801EFA20 001EC980 41 82 00 10 */ beq lbl_801EFA30 /* 801EFA24 001EC984 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFA28 001EC988 38 84 00 1C */ addi r4, r4, 0x1c /* 801EFA2C 001EC98C 48 0D AE 41 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801EFA30: /* 801EFA30 001EC990 3C 80 80 3D */ lis r4, lbl_803D1F48@ha /* 801EFA34 001EC994 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFA38 001EC998 38 84 1F 48 */ addi r4, r4, lbl_803D1F48@l /* 801EFA3C 001EC99C 38 84 00 8F */ addi r4, r4, 0x8f /* 801EFA40 001EC9A0 48 0D 27 15 */ bl FindWidget__9CGuiFrameCFPCc /* 801EFA44 001EC9A4 28 03 00 00 */ cmplwi r3, 0 /* 801EFA48 001EC9A8 41 82 00 10 */ beq lbl_801EFA58 /* 801EFA4C 001EC9AC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFA50 001EC9B0 38 84 00 1C */ addi r4, r4, 0x1c /* 801EFA54 001EC9B4 48 0D AE 19 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801EFA58: /* 801EFA58 001EC9B8 3C 80 80 3D */ lis r4, lbl_803D1F48@ha /* 801EFA5C 001EC9BC 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFA60 001EC9C0 38 84 1F 48 */ addi r4, r4, lbl_803D1F48@l /* 801EFA64 001EC9C4 38 84 00 5C */ addi r4, r4, 0x5c /* 801EFA68 001EC9C8 48 0D 26 ED */ bl FindWidget__9CGuiFrameCFPCc /* 801EFA6C 001EC9CC 28 03 00 00 */ cmplwi r3, 0 /* 801EFA70 001EC9D0 41 82 00 10 */ beq lbl_801EFA80 /* 801EFA74 001EC9D4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFA78 001EC9D8 38 84 00 1C */ addi r4, r4, 0x1c /* 801EFA7C 001EC9DC 48 0D AD F1 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801EFA80: /* 801EFA80 001EC9E0 80 7F 00 40 */ lwz r3, 0x40(r31) /* 801EFA84 001EC9E4 38 80 00 01 */ li r4, 1 /* 801EFA88 001EC9E8 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 801EFA8C 001EC9EC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801EFA90 001EC9F0 98 03 00 B6 */ stb r0, 0xb6(r3) /* 801EFA94 001EC9F4 80 7F 00 30 */ lwz r3, 0x30(r31) /* 801EFA98 001EC9F8 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFA9C 001EC9FC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAA0 001ECA00 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAA4 001ECA04 80 7F 00 38 */ lwz r3, 0x38(r31) /* 801EFAA8 001ECA08 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFAAC 001ECA0C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAB0 001ECA10 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAB4 001ECA14 80 7F 00 34 */ lwz r3, 0x34(r31) /* 801EFAB8 001ECA18 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFABC 001ECA1C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAC0 001ECA20 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAC4 001ECA24 80 7F 00 3C */ lwz r3, 0x3c(r31) /* 801EFAC8 001ECA28 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFACC 001ECA2C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAD0 001ECA30 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAD4 001ECA34 80 7F 00 08 */ lwz r3, 8(r31) /* 801EFAD8 001ECA38 80 03 00 00 */ lwz r0, 0(r3) /* 801EFADC 001ECA3C 2C 00 00 00 */ cmpwi r0, 0 /* 801EFAE0 001ECA40 40 81 00 78 */ ble lbl_801EFB58 /* 801EFAE4 001ECA44 80 7F 00 1C */ lwz r3, 0x1c(r31) /* 801EFAE8 001ECA48 38 80 00 00 */ li r4, 0 /* 801EFAEC 001ECA4C C0 22 AE 4C */ lfs f1, lbl_805ACB6C@sda21(r2) /* 801EFAF0 001ECA50 3B C3 00 D4 */ addi r30, r3, 0xd4 /* 801EFAF4 001ECA54 C0 42 AE 50 */ lfs f2, lbl_805ACB70@sda21(r2) /* 801EFAF8 001ECA58 7F C3 F3 78 */ mr r3, r30 /* 801EFAFC 001ECA5C 48 0D 86 1D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 801EFB00 001ECA60 80 7F 00 08 */ lwz r3, 8(r31) /* 801EFB04 001ECA64 38 80 00 00 */ li r4, 0 /* 801EFB08 001ECA68 48 16 6B F5 */ bl GetString__12CStringTableCFi /* 801EFB0C 001ECA6C 7C 64 1B 78 */ mr r4, r3 /* 801EFB10 001ECA70 38 61 00 38 */ addi r3, r1, 0x38 /* 801EFB14 001ECA74 38 C1 00 0C */ addi r6, r1, 0xc /* 801EFB18 001ECA78 38 A0 FF FF */ li r5, -1 /* 801EFB1C 001ECA7C 48 14 DC A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 801EFB20 001ECA80 7F C3 F3 78 */ mr r3, r30 /* 801EFB24 001ECA84 38 81 00 38 */ addi r4, r1, 0x38 /* 801EFB28 001ECA88 38 A0 00 00 */ li r5, 0 /* 801EFB2C 001ECA8C 48 0D 9D 59 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801EFB30 001ECA90 38 61 00 38 */ addi r3, r1, 0x38 /* 801EFB34 001ECA94 48 14 D6 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801EFB38 001ECA98 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFB3C 001ECA9C 7F C3 F3 78 */ mr r3, r30 /* 801EFB40 001ECAA0 38 84 00 14 */ addi r4, r4, 0x14 /* 801EFB44 001ECAA4 48 0D 9B 25 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 801EFB48 001ECAA8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 801EFB4C 001ECAAC 7F C3 F3 78 */ mr r3, r30 /* 801EFB50 001ECAB0 38 84 01 E8 */ addi r4, r4, 0x1e8 /* 801EFB54 001ECAB4 48 0D 9A 89 */ bl "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" lbl_801EFB58: /* 801EFB58 001ECAB8 80 1F 00 18 */ lwz r0, 0x18(r31) /* 801EFB5C 001ECABC 28 00 00 00 */ cmplwi r0, 0 /* 801EFB60 001ECAC0 41 82 03 48 */ beq lbl_801EFEA8 /* 801EFB64 001ECAC4 C0 3F 00 74 */ lfs f1, 0x74(r31) /* 801EFB68 001ECAC8 C0 02 AE 48 */ lfs f0, lbl_805ACB68@sda21(r2) /* 801EFB6C 001ECACC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EFB70 001ECAD0 40 81 00 0C */ ble lbl_801EFB7C /* 801EFB74 001ECAD4 EC 01 D0 28 */ fsubs f0, f1, f26 /* 801EFB78 001ECAD8 D0 1F 00 74 */ stfs f0, 0x74(r31) lbl_801EFB7C: /* 801EFB7C 001ECADC C0 3F 00 70 */ lfs f1, 0x70(r31) /* 801EFB80 001ECAE0 C0 42 AE 58 */ lfs f2, lbl_805ACB78@sda21(r2) /* 801EFB84 001ECAE4 C0 0D 92 70 */ lfs f0, lbl_805A7E30@sda21(r13) /* 801EFB88 001ECAE8 EC 21 10 28 */ fsubs f1, f1, f2 /* 801EFB8C 001ECAEC EC 21 10 24 */ fdivs f1, f1, f2 /* 801EFB90 001ECAF0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801EFB94 001ECAF4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801EFB98 001ECAF8 40 80 00 0C */ bge lbl_801EFBA4 /* 801EFB9C 001ECAFC 38 61 00 28 */ addi r3, r1, 0x28 /* 801EFBA0 001ECB00 48 00 00 08 */ b lbl_801EFBA8 lbl_801EFBA4: /* 801EFBA4 001ECB04 38 6D 92 70 */ addi r3, r13, lbl_805A7E30@sda21 lbl_801EFBA8: /* 801EFBA8 001ECB08 C3 63 00 00 */ lfs f27, 0(r3) /* 801EFBAC 001ECB0C C0 22 AE 5C */ lfs f1, lbl_805ACB7C@sda21(r2) /* 801EFBB0 001ECB10 FC 1B 08 40 */ fcmpo cr0, f27, f1 /* 801EFBB4 001ECB14 40 80 00 0C */ bge lbl_801EFBC0 /* 801EFBB8 001ECB18 EC 3B 08 24 */ fdivs f1, f27, f1 /* 801EFBBC 001ECB1C 48 00 00 54 */ b lbl_801EFC10 lbl_801EFBC0: /* 801EFBC0 001ECB20 C0 02 AE 60 */ lfs f0, lbl_805ACB80@sda21(r2) /* 801EFBC4 001ECB24 FC 1B 00 40 */ fcmpo cr0, f27, f0 /* 801EFBC8 001ECB28 40 80 00 28 */ bge lbl_801EFBF0 /* 801EFBCC 001ECB2C EC 3B 08 28 */ fsubs f1, f27, f1 /* 801EFBD0 001ECB30 C0 02 AE 70 */ lfs f0, lbl_805ACB90@sda21(r2) /* 801EFBD4 001ECB34 C0 42 AE 6C */ lfs f2, lbl_805ACB8C@sda21(r2) /* 801EFBD8 001ECB38 C0 62 AE 68 */ lfs f3, lbl_805ACB88@sda21(r2) /* 801EFBDC 001ECB3C EC 21 00 24 */ fdivs f1, f1, f0 /* 801EFBE0 001ECB40 C0 02 AE 64 */ lfs f0, lbl_805ACB84@sda21(r2) /* 801EFBE4 001ECB44 EC 22 08 28 */ fsubs f1, f2, f1 /* 801EFBE8 001ECB48 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 801EFBEC 001ECB4C 48 00 00 24 */ b lbl_801EFC10 lbl_801EFBF0: /* 801EFBF0 001ECB50 EC 5B 08 28 */ fsubs f2, f27, f1 /* 801EFBF4 001ECB54 C0 02 AE 70 */ lfs f0, lbl_805ACB90@sda21(r2) /* 801EFBF8 001ECB58 C0 22 AE 74 */ lfs f1, lbl_805ACB94@sda21(r2) /* 801EFBFC 001ECB5C C0 62 AE 68 */ lfs f3, lbl_805ACB88@sda21(r2) /* 801EFC00 001ECB60 EC 42 00 28 */ fsubs f2, f2, f0 /* 801EFC04 001ECB64 C0 02 AE 64 */ lfs f0, lbl_805ACB84@sda21(r2) /* 801EFC08 001ECB68 EC 22 08 24 */ fdivs f1, f2, f1 /* 801EFC0C 001ECB6C EC 23 00 7A */ fmadds f1, f3, f1, f0 lbl_801EFC10: /* 801EFC10 001ECB70 C0 42 AE 6C */ lfs f2, lbl_805ACB8C@sda21(r2) /* 801EFC14 001ECB74 38 61 00 FC */ addi r3, r1, 0xfc /* 801EFC18 001ECB78 FC 60 10 90 */ fmr f3, f2 /* 801EFC1C 001ECB7C 48 12 35 ED */ bl Scale__12CTransform4fFfff /* 801EFC20 001ECB80 83 DF 00 24 */ lwz r30, 0x24(r31) /* 801EFC24 001ECB84 38 81 00 FC */ addi r4, r1, 0xfc /* 801EFC28 001ECB88 38 7E 00 04 */ addi r3, r30, 4 /* 801EFC2C 001ECB8C 48 12 2F 15 */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFC30 001ECB90 7F C3 F3 78 */ mr r3, r30 /* 801EFC34 001ECB94 48 0D 4B B5 */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFC38 001ECB98 C0 02 AE 6C */ lfs f0, lbl_805ACB8C@sda21(r2) /* 801EFC3C 001ECB9C 38 61 00 CC */ addi r3, r1, 0xcc /* 801EFC40 001ECBA0 C0 22 AE 48 */ lfs f1, lbl_805ACB68@sda21(r2) /* 801EFC44 001ECBA4 EF 60 D8 28 */ fsubs f27, f0, f27 /* 801EFC48 001ECBA8 C0 02 AE 78 */ lfs f0, lbl_805ACB98@sda21(r2) /* 801EFC4C 001ECBAC FC 40 08 90 */ fmr f2, f1 /* 801EFC50 001ECBB0 EC 60 06 F2 */ fmuls f3, f0, f27 /* 801EFC54 001ECBB4 48 12 35 35 */ bl Translate__12CTransform4fFfff /* 801EFC58 001ECBB8 83 DF 00 20 */ lwz r30, 0x20(r31) /* 801EFC5C 001ECBBC 38 81 00 CC */ addi r4, r1, 0xcc /* 801EFC60 001ECBC0 38 7E 00 04 */ addi r3, r30, 4 /* 801EFC64 001ECBC4 48 12 2E DD */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFC68 001ECBC8 7F C3 F3 78 */ mr r3, r30 /* 801EFC6C 001ECBCC 48 0D 4B 7D */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFC70 001ECBD0 C0 22 AE 48 */ lfs f1, lbl_805ACB68@sda21(r2) /* 801EFC74 001ECBD4 38 61 00 9C */ addi r3, r1, 0x9c /* 801EFC78 001ECBD8 C0 02 AE 7C */ lfs f0, lbl_805ACB9C@sda21(r2) /* 801EFC7C 001ECBDC FC 40 08 90 */ fmr f2, f1 /* 801EFC80 001ECBE0 EC 60 06 F2 */ fmuls f3, f0, f27 /* 801EFC84 001ECBE4 48 12 35 05 */ bl Translate__12CTransform4fFfff /* 801EFC88 001ECBE8 83 DF 00 28 */ lwz r30, 0x28(r31) /* 801EFC8C 001ECBEC 38 81 00 9C */ addi r4, r1, 0x9c /* 801EFC90 001ECBF0 38 7E 00 04 */ addi r3, r30, 4 /* 801EFC94 001ECBF4 48 12 2E AD */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFC98 001ECBF8 7F C3 F3 78 */ mr r3, r30 /* 801EFC9C 001ECBFC 48 0D 4B 4D */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFCA0 001ECC00 C0 5F 00 70 */ lfs f2, 0x70(r31) /* 801EFCA4 001ECC04 C0 02 AE 5C */ lfs f0, lbl_805ACB7C@sda21(r2) /* 801EFCA8 001ECC08 C0 22 AE 74 */ lfs f1, lbl_805ACB94@sda21(r2) /* 801EFCAC 001ECC0C EC 42 00 28 */ fsubs f2, f2, f0 /* 801EFCB0 001ECC10 C0 0D 92 74 */ lfs f0, lbl_805A7E34@sda21(r13) /* 801EFCB4 001ECC14 EC 22 08 24 */ fdivs f1, f2, f1 /* 801EFCB8 001ECC18 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801EFCBC 001ECC1C D0 21 00 24 */ stfs f1, 0x24(r1) /* 801EFCC0 001ECC20 40 80 00 0C */ bge lbl_801EFCCC /* 801EFCC4 001ECC24 38 81 00 24 */ addi r4, r1, 0x24 /* 801EFCC8 001ECC28 48 00 00 08 */ b lbl_801EFCD0 lbl_801EFCCC: /* 801EFCCC 001ECC2C 38 8D 92 74 */ addi r4, r13, lbl_805A7E34@sda21 lbl_801EFCD0: /* 801EFCD0 001ECC30 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801EFCD4 001ECC34 3C 00 43 30 */ lis r0, 0x4330 /* 801EFCD8 001ECC38 90 01 01 30 */ stw r0, 0x130(r1) /* 801EFCDC 001ECC3C 88 03 00 1F */ lbz r0, 0x1f(r3) /* 801EFCE0 001ECC40 C8 22 AE A0 */ lfd f1, lbl_805ACBC0@sda21(r2) /* 801EFCE4 001ECC44 90 01 01 34 */ stw r0, 0x134(r1) /* 801EFCE8 001ECC48 C3 64 00 00 */ lfs f27, 0(r4) /* 801EFCEC 001ECC4C C8 01 01 30 */ lfd f0, 0x130(r1) /* 801EFCF0 001ECC50 EC 00 08 28 */ fsubs f0, f0, f1 /* 801EFCF4 001ECC54 EF FB 00 32 */ fmuls f31, f27, f0 /* 801EFCF8 001ECC58 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 /* 801EFCFC 001ECC5C 38 81 00 20 */ addi r4, r1, 0x20 /* 801EFD00 001ECC60 80 63 00 1C */ lwz r3, 0x1c(r3) /* 801EFD04 001ECC64 88 01 00 0B */ lbz r0, 0xb(r1) /* 801EFD08 001ECC68 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFD0C 001ECC6C 90 01 00 20 */ stw r0, 0x20(r1) /* 801EFD10 001ECC70 80 7F 00 20 */ lwz r3, 0x20(r31) /* 801EFD14 001ECC74 48 0D AB 59 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFD18 001ECC78 48 15 A2 95 */ bl White__6CColorFv /* 801EFD1C 001ECC7C C0 02 AE 80 */ lfs f0, lbl_805ACBA0@sda21(r2) /* 801EFD20 001ECC80 EF C0 06 F2 */ fmuls f30, f0, f27 /* 801EFD24 001ECC84 F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 /* 801EFD28 001ECC88 38 81 00 1C */ addi r4, r1, 0x1c /* 801EFD2C 001ECC8C 80 63 00 00 */ lwz r3, 0(r3) /* 801EFD30 001ECC90 88 01 00 0A */ lbz r0, 0xa(r1) /* 801EFD34 001ECC94 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFD38 001ECC98 90 01 00 1C */ stw r0, 0x1c(r1) /* 801EFD3C 001ECC9C 80 7F 00 28 */ lwz r3, 0x28(r31) /* 801EFD40 001ECCA0 48 0D AB 2D */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFD44 001ECCA4 C0 1F 00 74 */ lfs f0, 0x74(r31) /* 801EFD48 001ECCA8 C3 62 AE 48 */ lfs f27, lbl_805ACB68@sda21(r2) /* 801EFD4C 001ECCAC FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 801EFD50 001ECCB0 4C 40 13 82 */ cror 2, 0, 2 /* 801EFD54 001ECCB4 40 82 00 40 */ bne lbl_801EFD94 /* 801EFD58 001ECCB8 48 11 A1 89 */ bl GetSecondsMod900__9CGraphicsFv /* 801EFD5C 001ECCBC C0 42 AE 84 */ lfs f2, lbl_805ACBA4@sda21(r2) /* 801EFD60 001ECCC0 C0 02 AE 88 */ lfs f0, lbl_805ACBA8@sda21(r2) /* 801EFD64 001ECCC4 EC 22 00 78 */ fmsubs f1, f2, f1, f0 /* 801EFD68 001ECCC8 48 12 50 89 */ bl FastSinR__5CMathFf /* 801EFD6C 001ECCCC C0 42 AE 6C */ lfs f2, lbl_805ACB8C@sda21(r2) /* 801EFD70 001ECCD0 38 81 00 18 */ addi r4, r1, 0x18 /* 801EFD74 001ECCD4 C0 02 AE 58 */ lfs f0, lbl_805ACB78@sda21(r2) /* 801EFD78 001ECCD8 38 6D 92 78 */ addi r3, r13, lbl_805A7E38@sda21 /* 801EFD7C 001ECCDC EC 22 08 2A */ fadds f1, f2, f1 /* 801EFD80 001ECCE0 38 AD 92 7C */ addi r5, r13, lbl_805A7E3C@sda21 /* 801EFD84 001ECCE4 EC 00 00 72 */ fmuls f0, f0, f1 /* 801EFD88 001ECCE8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801EFD8C 001ECCEC 4B E1 C5 29 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801EFD90 001ECCF0 C3 63 00 00 */ lfs f27, 0(r3) lbl_801EFD94: /* 801EFD94 001ECCF4 48 15 A2 19 */ bl White__6CColorFv /* 801EFD98 001ECCF8 C0 02 AE 80 */ lfs f0, lbl_805ACBA0@sda21(r2) /* 801EFD9C 001ECCFC EF A0 06 F2 */ fmuls f29, f0, f27 /* 801EFDA0 001ECD00 F3 A1 A0 09 */ psq_st f29, 9(r1), 1, qr2 /* 801EFDA4 001ECD04 38 81 00 14 */ addi r4, r1, 0x14 /* 801EFDA8 001ECD08 80 63 00 00 */ lwz r3, 0(r3) /* 801EFDAC 001ECD0C 88 01 00 09 */ lbz r0, 9(r1) /* 801EFDB0 001ECD10 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFDB4 001ECD14 90 01 00 14 */ stw r0, 0x14(r1) /* 801EFDB8 001ECD18 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 801EFDBC 001ECD1C 48 0D AA B1 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFDC0 001ECD20 C0 42 AE 78 */ lfs f2, lbl_805ACB98@sda21(r2) /* 801EFDC4 001ECD24 C0 3F 00 68 */ lfs f1, 0x68(r31) /* 801EFDC8 001ECD28 C0 02 AE 8C */ lfs f0, lbl_805ACBAC@sda21(r2) /* 801EFDCC 001ECD2C EC 22 0E BA */ fmadds f1, f2, f26, f1 /* 801EFDD0 001ECD30 D0 3F 00 68 */ stfs f1, 0x68(r31) /* 801EFDD4 001ECD34 C0 3F 00 68 */ lfs f1, 0x68(r31) /* 801EFDD8 001ECD38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EFDDC 001ECD3C 40 81 00 10 */ ble lbl_801EFDEC /* 801EFDE0 001ECD40 C0 02 AE 90 */ lfs f0, lbl_805ACBB0@sda21(r2) /* 801EFDE4 001ECD44 EC 01 00 28 */ fsubs f0, f1, f0 /* 801EFDE8 001ECD48 D0 1F 00 68 */ stfs f0, 0x68(r31) lbl_801EFDEC: /* 801EFDEC 001ECD4C 48 1A 00 91 */ bl rand /* 801EFDF0 001ECD50 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 801EFDF4 001ECD54 3C 00 43 30 */ lis r0, 0x4330 /* 801EFDF8 001ECD58 90 61 01 34 */ stw r3, 0x134(r1) /* 801EFDFC 001ECD5C C8 42 AE A8 */ lfd f2, lbl_805ACBC8@sda21(r2) /* 801EFE00 001ECD60 90 01 01 30 */ stw r0, 0x130(r1) /* 801EFE04 001ECD64 C0 02 AE 94 */ lfs f0, lbl_805ACBB4@sda21(r2) /* 801EFE08 001ECD68 C8 21 01 30 */ lfd f1, 0x130(r1) /* 801EFE0C 001ECD6C EC 21 10 28 */ fsubs f1, f1, f2 /* 801EFE10 001ECD70 EF 61 00 24 */ fdivs f27, f1, f0 /* 801EFE14 001ECD74 48 15 A1 99 */ bl White__6CColorFv /* 801EFE18 001ECD78 C0 22 AE 9C */ lfs f1, lbl_805ACBBC@sda21(r2) /* 801EFE1C 001ECD7C C0 02 AE 98 */ lfs f0, lbl_805ACBB8@sda21(r2) /* 801EFE20 001ECD80 C0 42 AE 80 */ lfs f2, lbl_805ACBA0@sda21(r2) /* 801EFE24 001ECD84 EC 01 06 FA */ fmadds f0, f1, f27, f0 /* 801EFE28 001ECD88 EF 82 00 32 */ fmuls f28, f2, f0 /* 801EFE2C 001ECD8C F3 81 A0 08 */ psq_st f28, 8(r1), 1, qr2 /* 801EFE30 001ECD90 38 81 00 10 */ addi r4, r1, 0x10 /* 801EFE34 001ECD94 80 63 00 00 */ lwz r3, 0(r3) /* 801EFE38 001ECD98 88 01 00 08 */ lbz r0, 8(r1) /* 801EFE3C 001ECD9C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFE40 001ECDA0 90 01 00 10 */ stw r0, 0x10(r1) /* 801EFE44 001ECDA4 80 7F 00 40 */ lwz r3, 0x40(r31) /* 801EFE48 001ECDA8 48 0D AA 25 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFE4C 001ECDAC C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801EFE50 001ECDB0 38 61 00 6C */ addi r3, r1, 0x6c /* 801EFE54 001ECDB4 C0 62 AE 48 */ lfs f3, lbl_805ACB68@sda21(r2) /* 801EFE58 001ECDB8 38 81 00 2C */ addi r4, r1, 0x2c /* 801EFE5C 001ECDBC C0 1F 00 5C */ lfs f0, 0x5c(r31) /* 801EFE60 001ECDC0 C0 5F 00 64 */ lfs f2, 0x64(r31) /* 801EFE64 001ECDC4 EC 81 18 2A */ fadds f4, f1, f3 /* 801EFE68 001ECDC8 C0 3F 00 68 */ lfs f1, 0x68(r31) /* 801EFE6C 001ECDCC EC 00 18 2A */ fadds f0, f0, f3 /* 801EFE70 001ECDD0 EC 22 08 2A */ fadds f1, f2, f1 /* 801EFE74 001ECDD4 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801EFE78 001ECDD8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801EFE7C 001ECDDC D0 21 00 34 */ stfs f1, 0x34(r1) /* 801EFE80 001ECDE0 48 12 32 C1 */ bl Translate__12CTransform4fFRC9CVector3f /* 801EFE84 001ECDE4 83 DF 00 40 */ lwz r30, 0x40(r31) /* 801EFE88 001ECDE8 38 81 00 6C */ addi r4, r1, 0x6c /* 801EFE8C 001ECDEC 38 7E 00 04 */ addi r3, r30, 4 /* 801EFE90 001ECDF0 48 12 2C B1 */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFE94 001ECDF4 7F C3 F3 78 */ mr r3, r30 /* 801EFE98 001ECDF8 48 0D 49 51 */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFE9C 001ECDFC FC 20 D0 90 */ fmr f1, f26 /* 801EFEA0 001ECE00 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFEA4 001ECE04 48 0D 28 61 */ bl Update__9CGuiFrameFf lbl_801EFEA8: /* 801EFEA8 001ECE08 88 1F 00 78 */ lbz r0, 0x78(r31) /* 801EFEAC 001ECE0C 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f /* 801EFEB0 001ECE10 7C 00 00 34 */ cntlzw r0, r0 /* 801EFEB4 001ECE14 54 03 D9 7E */ srwi r3, r0, 5 /* 801EFEB8 001ECE18 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 801EFEBC 001ECE1C CB E1 01 90 */ lfd f31, 0x190(r1) /* 801EFEC0 001ECE20 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 801EFEC4 001ECE24 CB C1 01 80 */ lfd f30, 0x180(r1) /* 801EFEC8 001ECE28 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 /* 801EFECC 001ECE2C CB A1 01 70 */ lfd f29, 0x170(r1) /* 801EFED0 001ECE30 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 /* 801EFED4 001ECE34 CB 81 01 60 */ lfd f28, 0x160(r1) /* 801EFED8 001ECE38 E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 /* 801EFEDC 001ECE3C CB 61 01 50 */ lfd f27, 0x150(r1) /* 801EFEE0 001ECE40 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 /* 801EFEE4 001ECE44 CB 41 01 40 */ lfd f26, 0x140(r1) /* 801EFEE8 001ECE48 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 801EFEEC 001ECE4C 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 801EFEF0 001ECE50 83 C1 01 38 */ lwz r30, 0x138(r1) /* 801EFEF4 001ECE54 7C 08 03 A6 */ mtlr r0 /* 801EFEF8 001ECE58 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 801EFEFC 001ECE5C 4E 80 00 20 */ blr .global __ct__14CMessageScreenFUif __ct__14CMessageScreenFUif: /* 801EFF00 001ECE60 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801EFF04 001ECE64 7C 08 02 A6 */ mflr r0 /* 801EFF08 001ECE68 90 01 00 44 */ stw r0, 0x44(r1) /* 801EFF0C 001ECE6C DB E1 00 30 */ stfd f31, 0x30(r1) /* 801EFF10 001ECE70 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801EFF14 001ECE74 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801EFF18 001ECE78 93 C1 00 28 */ stw r30, 0x28(r1) /* 801EFF1C 001ECE7C 3C A0 53 54 */ lis r5, 0x53545247@ha /* 801EFF20 001ECE80 90 81 00 1C */ stw r4, 0x1c(r1) /* 801EFF24 001ECE84 38 05 52 47 */ addi r0, r5, 0x53545247@l /* 801EFF28 001ECE88 7C 7F 1B 78 */ mr r31, r3 /* 801EFF2C 001ECE8C 90 01 00 18 */ stw r0, 0x18(r1) /* 801EFF30 001ECE90 FF E0 08 90 */ fmr f31, f1 /* 801EFF34 001ECE94 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EFF38 001ECE98 38 61 00 10 */ addi r3, r1, 0x10 /* 801EFF3C 001ECE9C 38 A1 00 18 */ addi r5, r1, 0x18 /* 801EFF40 001ECEA0 81 84 00 00 */ lwz r12, 0(r4) /* 801EFF44 001ECEA4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801EFF48 001ECEA8 7D 89 03 A6 */ mtctr r12 /* 801EFF4C 001ECEAC 4E 80 04 21 */ bctrl /* 801EFF50 001ECEB0 7F E3 FB 78 */ mr r3, r31 /* 801EFF54 001ECEB4 38 81 00 10 */ addi r4, r1, 0x10 /* 801EFF58 001ECEB8 48 15 0F 51 */ bl __ct__6CTokenFRC6CToken /* 801EFF5C 001ECEBC 38 00 00 00 */ li r0, 0 /* 801EFF60 001ECEC0 38 61 00 10 */ addi r3, r1, 0x10 /* 801EFF64 001ECEC4 90 1F 00 08 */ stw r0, 8(r31) /* 801EFF68 001ECEC8 38 80 FF FF */ li r4, -1 /* 801EFF6C 001ECECC 48 15 0E D5 */ bl __dt__6CTokenFv /* 801EFF70 001ECED0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EFF74 001ECED4 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EFF78 001ECED8 38 A3 1F 48 */ addi r5, r3, lbl_803D1F48@l /* 801EFF7C 001ECEDC 38 61 00 08 */ addi r3, r1, 8 /* 801EFF80 001ECEE0 81 84 00 00 */ lwz r12, 0(r4) /* 801EFF84 001ECEE4 38 A5 00 A5 */ addi r5, r5, 0xa5 /* 801EFF88 001ECEE8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801EFF8C 001ECEEC 7D 89 03 A6 */ mtctr r12 /* 801EFF90 001ECEF0 4E 80 04 21 */ bctrl /* 801EFF94 001ECEF4 3B DF 00 0C */ addi r30, r31, 0xc /* 801EFF98 001ECEF8 38 81 00 08 */ addi r4, r1, 8 /* 801EFF9C 001ECEFC 7F C3 F3 78 */ mr r3, r30 /* 801EFFA0 001ECF00 48 15 0F 09 */ bl __ct__6CTokenFRC6CToken /* 801EFFA4 001ECF04 38 00 00 00 */ li r0, 0 /* 801EFFA8 001ECF08 38 61 00 08 */ addi r3, r1, 8 /* 801EFFAC 001ECF0C 90 1E 00 08 */ stw r0, 8(r30) /* 801EFFB0 001ECF10 38 80 FF FF */ li r4, -1 /* 801EFFB4 001ECF14 48 15 0E 8D */ bl __dt__6CTokenFv /* 801EFFB8 001ECF18 38 A0 00 00 */ li r5, 0 /* 801EFFBC 001ECF1C 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 801EFFC0 001ECF20 90 BF 00 18 */ stw r5, 0x18(r31) /* 801EFFC4 001ECF24 38 83 66 A0 */ addi r4, r3, sZeroVector__9CVector3f@l /* 801EFFC8 001ECF28 C0 22 AE 8C */ lfs f1, lbl_805ACBAC@sda21(r2) /* 801EFFCC 001ECF2C 7F C3 F3 78 */ mr r3, r30 /* 801EFFD0 001ECF30 C0 44 00 00 */ lfs f2, 0(r4) /* 801EFFD4 001ECF34 C0 02 AE 48 */ lfs f0, lbl_805ACB68@sda21(r2) /* 801EFFD8 001ECF38 D0 5F 00 44 */ stfs f2, 0x44(r31) /* 801EFFDC 001ECF3C C0 44 00 04 */ lfs f2, 4(r4) /* 801EFFE0 001ECF40 D0 5F 00 48 */ stfs f2, 0x48(r31) /* 801EFFE4 001ECF44 C0 44 00 08 */ lfs f2, 8(r4) /* 801EFFE8 001ECF48 D0 5F 00 4C */ stfs f2, 0x4c(r31) /* 801EFFEC 001ECF4C C0 44 00 00 */ lfs f2, 0(r4) /* 801EFFF0 001ECF50 D0 5F 00 50 */ stfs f2, 0x50(r31) /* 801EFFF4 001ECF54 C0 44 00 04 */ lfs f2, 4(r4) /* 801EFFF8 001ECF58 D0 5F 00 54 */ stfs f2, 0x54(r31) /* 801EFFFC 001ECF5C C0 44 00 08 */ lfs f2, 8(r4) /* 801F0000 001ECF60 D0 5F 00 58 */ stfs f2, 0x58(r31) /* 801F0004 001ECF64 C0 44 00 00 */ lfs f2, 0(r4) /* 801F0008 001ECF68 D0 5F 00 5C */ stfs f2, 0x5c(r31) /* 801F000C 001ECF6C C0 44 00 04 */ lfs f2, 4(r4) /* 801F0010 001ECF70 D0 5F 00 60 */ stfs f2, 0x60(r31) /* 801F0014 001ECF74 C0 44 00 08 */ lfs f2, 8(r4) /* 801F0018 001ECF78 D0 5F 00 64 */ stfs f2, 0x64(r31) /* 801F001C 001ECF7C D0 3F 00 68 */ stfs f1, 0x68(r31) /* 801F0020 001ECF80 90 BF 00 6C */ stw r5, 0x6c(r31) /* 801F0024 001ECF84 D0 1F 00 70 */ stfs f0, 0x70(r31) /* 801F0028 001ECF88 D3 FF 00 74 */ stfs f31, 0x74(r31) /* 801F002C 001ECF8C 88 1F 00 78 */ lbz r0, 0x78(r31) /* 801F0030 001ECF90 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801F0034 001ECF94 98 1F 00 78 */ stb r0, 0x78(r31) /* 801F0038 001ECF98 48 15 0D 4D */ bl Lock__6CTokenFv /* 801F003C 001ECF9C 7F E3 FB 78 */ mr r3, r31 /* 801F0040 001ECFA0 48 15 0D 45 */ bl Lock__6CTokenFv /* 801F0044 001ECFA4 7F E3 FB 78 */ mr r3, r31 /* 801F0048 001ECFA8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801F004C 001ECFAC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F0050 001ECFB0 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801F0054 001ECFB4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F0058 001ECFB8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F005C 001ECFBC 7C 08 03 A6 */ mtlr r0 /* 801F0060 001ECFC0 38 21 00 40 */ addi r1, r1, 0x40 /* 801F0064 001ECFC4 4E 80 00 20 */ blr .section .sdata2, "a" .balign 8 .global lbl_805ACB68 lbl_805ACB68: # ROM: 0x3F9408 .4byte 0 .global lbl_805ACB6C lbl_805ACB6C: # ROM: 0x3F940C .float 0.1 .global lbl_805ACB70 lbl_805ACB70: # ROM: 0x3F9410 .4byte 0x41F00000 .global lbl_805ACB74 lbl_805ACB74: # ROM: 0x3F9414 .4byte 0x3F4CCCCD .global lbl_805ACB78 lbl_805ACB78: # ROM: 0x3F9418 .float 0.5 .global lbl_805ACB7C lbl_805ACB7C: # ROM: 0x3F941C .float 0.7 .global lbl_805ACB80 lbl_805ACB80: # ROM: 0x3F9420 .4byte 0x3F59999A .global lbl_805ACB84 lbl_805ACB84: # ROM: 0x3F9424 .float 0.9 .global lbl_805ACB88 lbl_805ACB88: # ROM: 0x3F9428 .4byte 0x3DCCCCD0 .global lbl_805ACB8C lbl_805ACB8C: # ROM: 0x3F942C .float 1.0 .global lbl_805ACB90 lbl_805ACB90: # ROM: 0x3F9430 .float 0.15 .global lbl_805ACB94 lbl_805ACB94: # ROM: 0x3F9434 .float 0.3 .global lbl_805ACB98 lbl_805ACB98: # ROM: 0x3F9438 .4byte 0x41400000 .global lbl_805ACB9C lbl_805ACB9C: # ROM: 0x3F943C .4byte 0xC1400000 .global lbl_805ACBA0 lbl_805ACBA0: # ROM: 0x3F9440 .float 255.0 .global lbl_805ACBA4 lbl_805ACBA4: # ROM: 0x3F9444 .float 5.0 .global lbl_805ACBA8 lbl_805ACBA8: # ROM: 0x3F9448 .4byte 0x3FC90FDB .global lbl_805ACBAC lbl_805ACBAC: # ROM: 0x3F944C .4byte 0x41200000 .global lbl_805ACBB0 lbl_805ACBB0: # ROM: 0x3F9450 .4byte 0x41A00000 .global lbl_805ACBB4 lbl_805ACBB4: # ROM: 0x3F9454 .4byte 0x46FFFE00 .global lbl_805ACBB8 lbl_805ACBB8: # ROM: 0x3F9458 .4byte 0x3DA3D70A .global lbl_805ACBBC lbl_805ACBBC: # ROM: 0x3F945C .4byte 0x3D23D70A .global lbl_805ACBC0 lbl_805ACBC0: # ROM: 0x3F9460 .4byte 0x43300000 .4byte 0 .global lbl_805ACBC8 lbl_805ACBC8: # ROM: 0x3F9468 .double 4.503601774854144E15 .section .rodata .balign 8 .global lbl_803D1F48 lbl_803D1F48: # ROM: 0x3CEF48 .asciz "textpane_message" .byte 0x62, 0x61, 0x73 .asciz "ewidget_top" .asciz "basewidget_center" .byte 0x62, 0x61 .asciz "sewidget_bottom" .asciz "model_abutton" .byte 0x6D, 0x6F .asciz "del_top" .asciz "model_bottom" .byte 0x6D, 0x6F, 0x64 .asciz "el_center" .byte 0x6D, 0x6F .asciz "del_bg" .byte 0x6D .asciz "odel_videoband" .byte 0x62 .asciz "asewidget_centerdeco" .byte 0x46, 0x52, 0x4D .asciz "E_MsgScreen" .4byte 0