prime/asm/MetroidPrime/CErrorOutputWindow.s

899 lines
35 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .data
.balign 8
.global lbl_803EA3C0
lbl_803EA3C0:
# ROM: 0x3E73C0
.4byte 0
.4byte 0
.4byte __dt__18CErrorOutputWindowFv
.4byte OnMessage__18CErrorOutputWindowCFv
.4byte GetIsContinueDraw__18CErrorOutputWindowCFv
.4byte Draw__18CErrorOutputWindowCFv
.4byte PreDraw__6CIOWinCFv
.global lbl_803EA3DC
lbl_803EA3DC:
# ROM: 0x3E73DC
.4byte lbl_802699FC
.4byte lbl_80269A18
.4byte lbl_80269A18
.4byte lbl_80269A18
.4byte lbl_80269A18
.4byte lbl_802699DC
.4byte lbl_802699CC
.4byte lbl_802699EC
.4byte lbl_80269A18
.4byte lbl_80269A18
.4byte lbl_80269A18
.4byte lbl_80269A18
.4byte lbl_80269A0C
.global lbl_803EA410
lbl_803EA410:
# ROM: 0x3E7410
.4byte 0x00540068
.4byte 0x00650020
.4byte 0x00440069
.4byte 0x00730063
.4byte 0x00200043
.4byte 0x006F0076
.4byte 0x00650072
.4byte 0x00200069
.4byte 0x00730020
.4byte 0x006F0070
.4byte 0x0065006E
.4byte 0x002E000A
.4byte 0x00490066
.4byte 0x00200079
.4byte 0x006F0075
.4byte 0x00200077
.4byte 0x0061006E
.4byte 0x00740020
.4byte 0x0074006F
.4byte 0x00200063
.4byte 0x006F006E
.4byte 0x00740069
.4byte 0x006E0075
.4byte 0x00650020
.4byte 0x00740068
.4byte 0x00650020
.4byte 0x00670061
.4byte 0x006D0065
.4byte 0x002C000A
.4byte 0x0070006C
.4byte 0x00650061
.4byte 0x00730065
.4byte 0x00200063
.4byte 0x006C006F
.4byte 0x00730065
.4byte 0x00200074
.4byte 0x00680065
.4byte 0x00200044
.4byte 0x00690073
.4byte 0x00630020
.4byte 0x0043006F
.4byte 0x00760065
.4byte 0x0072002E
.4byte 0x00000050
.4byte 0x006C0065
.4byte 0x00610073
.4byte 0x00650020
.4byte 0x0069006E
.4byte 0x00730065
.4byte 0x00720074
.4byte 0x00200074
.4byte 0x00680065
.4byte 0x000A004D
.4byte 0x00650074
.4byte 0x0072006F
.4byte 0x00690064
.4byte 0x00200050
.4byte 0x00720069
.4byte 0x006D0065
.4byte 0x00200047
.4byte 0x0061006D
.4byte 0x00650020
.4byte 0x00440069
.4byte 0x00730063
.4byte 0x002E0000
.4byte 0x00540068
.4byte 0x00690073
.4byte 0x00200069
.4byte 0x00730020
.4byte 0x006E006F
.4byte 0x00740020
.4byte 0x00740068
.4byte 0x0065000A
.4byte 0x004D0065
.4byte 0x00740072
.4byte 0x006F0069
.4byte 0x00640020
.4byte 0x00500072
.4byte 0x0069006D
.4byte 0x00650020
.4byte 0x00470061
.4byte 0x006D0065
.4byte 0x00200044
.4byte 0x00690073
.4byte 0x0063002E
.4byte 0x000A0020
.4byte 0x000A0050
.4byte 0x006C0065
.4byte 0x00610073
.4byte 0x00650020
.4byte 0x0069006E
.4byte 0x00730065
.4byte 0x00720074
.4byte 0x00200074
.4byte 0x00680065
.4byte 0x000A004D
.4byte 0x00650074
.4byte 0x0072006F
.4byte 0x00690064
.4byte 0x00200050
.4byte 0x00720069
.4byte 0x006D0065
.4byte 0x00200047
.4byte 0x0061006D
.4byte 0x00650020
.4byte 0x00440069
.4byte 0x00730063
.4byte 0x002E0000
.4byte 0x0041006E
.4byte 0x00200065
.4byte 0x00720072
.4byte 0x006F0072
.4byte 0x00200068
.4byte 0x00610073
.4byte 0x0020006F
.4byte 0x00630063
.4byte 0x00750072
.4byte 0x00720065
.4byte 0x0064002E
.4byte 0x00200054
.4byte 0x00750072
.4byte 0x006E0020
.4byte 0x00740068
.4byte 0x0065000A
.4byte 0x0070006F
.4byte 0x00770065
.4byte 0x00720020
.4byte 0x006F0066
.4byte 0x00660020
.4byte 0x0061006E
.4byte 0x00640020
.4byte 0x00720065
.4byte 0x00660065
.4byte 0x00720020
.4byte 0x0074006F
.4byte 0x00200074
.4byte 0x00680065
.4byte 0x000A004E
.4byte 0x0069006E
.4byte 0x00740065
.4byte 0x006E0064
.4byte 0x006F0020
.4byte 0x00470061
.4byte 0x006D0065
.4byte 0x00430075
.4byte 0x00620065
.4byte 0x000A0049
.4byte 0x006E0073
.4byte 0x00740072
.4byte 0x00750063
.4byte 0x00740069
.4byte 0x006F006E
.4byte 0x00200042
.4byte 0x006F006F
.4byte 0x006B006C
.4byte 0x00650074
.4byte 0x000A0066
.4byte 0x006F0072
.4byte 0x00200066
.4byte 0x00750072
.4byte 0x00740068
.4byte 0x00650072
.4byte 0x00200069
.4byte 0x006E0073
.4byte 0x00740072
.4byte 0x00750063
.4byte 0x00740069
.4byte 0x006F006E
.4byte 0x0073002E
.4byte 0x00000054
.4byte 0x00680065
.4byte 0x00200047
.4byte 0x0061006D
.4byte 0x00650020
.4byte 0x00440069
.4byte 0x00730063
.4byte 0x00200063
.4byte 0x006F0075
.4byte 0x006C0064
.4byte 0x0020006E
.4byte 0x006F0074
.4byte 0x00200062
.4byte 0x00650020
.4byte 0x00720065
.4byte 0x00610064
.4byte 0x002E000A
.4byte 0x0050006C
.4byte 0x00650061
.4byte 0x00730065
.4byte 0x00200072
.4byte 0x00650061
.4byte 0x00640020
.4byte 0x00740068
.4byte 0x00650020
.4byte 0x004E0069
.4byte 0x006E0074
.4byte 0x0065006E
.4byte 0x0064006F
.4byte 0x00200047
.4byte 0x0061006D
.4byte 0x00650043
.4byte 0x00750062
.4byte 0x0065000A
.4byte 0x0049006E
.4byte 0x00730074
.4byte 0x00720075
.4byte 0x00630074
.4byte 0x0069006F
.4byte 0x006E0020
.4byte 0x0042006F
.4byte 0x006F006B
.4byte 0x006C0065
.4byte 0x0074000A
.4byte 0x0066006F
.4byte 0x00720020
.4byte 0x006D006F
.4byte 0x00720065
.4byte 0x00200069
.4byte 0x006E0066
.4byte 0x006F0072
.4byte 0x006D0061
.4byte 0x00740069
.4byte 0x006F006E
.4byte 0x002E0000
.section .sbss, "wa"
.balign 8
.global lbl_805A9128
lbl_805A9128:
.skip 0x4
.global lbl_805A912C
lbl_805A912C:
.skip 0x4
.section .text, "ax"
.global sub_80269478
sub_80269478:
/* 80269478 002663D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026947C 002663DC 7C 08 02 A6 */ mflr r0
/* 80269480 002663E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269484 002663E4 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80269488 002663E8 28 00 00 00 */ cmplwi r0, 0
/* 8026948C 002663EC 41 82 00 08 */ beq lbl_80269494
/* 80269490 002663F0 48 00 01 69 */ bl sub_802695f8
lbl_80269494:
/* 80269494 002663F4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80269498 002663F8 7C 08 03 A6 */ mtlr r0
/* 8026949C 002663FC 38 21 00 10 */ addi r1, r1, 0x10
/* 802694A0 00266400 4E 80 00 20 */ blr
.global sub_802694a4
sub_802694a4:
/* 802694A4 00266404 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802694A8 00266408 7C 08 02 A6 */ mflr r0
/* 802694AC 0026640C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802694B0 00266410 48 00 04 89 */ bl UpdateWindow__18CErrorOutputWindowFv
/* 802694B4 00266414 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802694B8 00266418 7C 08 03 A6 */ mtlr r0
/* 802694BC 0026641C 38 21 00 10 */ addi r1, r1, 0x10
/* 802694C0 00266420 4E 80 00 20 */ blr
.global sub_802694c4
sub_802694c4:
/* 802694C4 00266424 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802694C8 00266428 7C 08 02 A6 */ mflr r0
/* 802694CC 0026642C 90 01 00 24 */ stw r0, 0x24(r1)
/* 802694D0 00266430 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802694D4 00266434 7C 9F 23 79 */ or. r31, r4, r4
/* 802694D8 00266438 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802694DC 0026643C 7C 7E 1B 78 */ mr r30, r3
/* 802694E0 00266440 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802694E4 00266444 41 82 00 3C */ beq lbl_80269520
/* 802694E8 00266448 80 0D A0 7C */ lwz r0, gpController@sda21(r13)
/* 802694EC 0026644C 28 00 00 00 */ cmplwi r0, 0
/* 802694F0 00266450 41 82 00 30 */ beq lbl_80269520
/* 802694F4 00266454 3B A0 00 00 */ li r29, 0
lbl_802694F8:
/* 802694F8 00266458 80 6D A0 7C */ lwz r3, gpController@sda21(r13)
/* 802694FC 0026645C 7F A4 EB 78 */ mr r4, r29
/* 80269500 00266460 38 A0 00 00 */ li r5, 0
/* 80269504 00266464 81 83 00 00 */ lwz r12, 0(r3)
/* 80269508 00266468 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8026950C 0026646C 7D 89 03 A6 */ mtctr r12
/* 80269510 00266470 4E 80 04 21 */ bctrl
/* 80269514 00266474 3B BD 00 01 */ addi r29, r29, 1
/* 80269518 00266478 2C 1D 00 04 */ cmpwi r29, 4
/* 8026951C 0026647C 41 80 FF DC */ blt lbl_802694F8
lbl_80269520:
/* 80269520 00266480 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80269524 00266484 7C 1F 00 00 */ cmpw r31, r0
/* 80269528 00266488 41 82 00 B4 */ beq lbl_802695DC
/* 8026952C 0026648C 2C 00 00 00 */ cmpwi r0, 0
/* 80269530 00266490 40 82 00 74 */ bne lbl_802695A4
/* 80269534 00266494 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 80269538 00266498 28 04 00 00 */ cmplwi r4, 0
/* 8026953C 0026649C 41 82 00 14 */ beq lbl_80269550
/* 80269540 002664A0 88 04 03 18 */ lbz r0, 0x318(r4)
/* 80269544 002664A4 38 60 00 01 */ li r3, 1
/* 80269548 002664A8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8026954C 002664AC 98 04 03 18 */ stb r0, 0x318(r4)
lbl_80269550:
/* 80269550 002664B0 88 7E 00 18 */ lbz r3, 0x18(r30)
/* 80269554 002664B4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80269558 002664B8 41 82 00 80 */ beq lbl_802695D8
/* 8026955C 002664BC 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13)
/* 80269560 002664C0 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a
/* 80269564 002664C4 98 7E 00 18 */ stb r3, 0x18(r30)
/* 80269568 002664C8 88 6D 9E 81 */ lbz r3, lbl_805A8A41@sda21(r13)
/* 8026956C 002664CC 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269570 002664D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 80269574 002664D4 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269578 002664D8 48 0F 20 95 */ bl sub_8035b60c
/* 8026957C 002664DC 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269580 002664E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80269584 002664E4 38 60 00 00 */ li r3, 0
/* 80269588 002664E8 98 1E 00 18 */ stb r0, 0x18(r30)
/* 8026958C 002664EC 48 0F C3 3D */ bl SetMusicUnmute__19CStreamAudioManagerFb
/* 80269590 002664F0 38 00 00 00 */ li r0, 0
/* 80269594 002664F4 38 60 00 00 */ li r3, 0
/* 80269598 002664F8 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13)
/* 8026959C 002664FC 48 0F 20 79 */ bl sub_8035b614
/* 802695A0 00266500 48 00 00 38 */ b lbl_802695D8
lbl_802695A4:
/* 802695A4 00266504 2C 1F 00 00 */ cmpwi r31, 0
/* 802695A8 00266508 40 82 00 30 */ bne lbl_802695D8
/* 802695AC 0026650C 88 7E 00 18 */ lbz r3, 0x18(r30)
/* 802695B0 00266510 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 802695B4 00266514 41 82 00 24 */ beq lbl_802695D8
/* 802695B8 00266518 54 63 DF FE */ rlwinm r3, r3, 0x1b, 0x1f, 0x1f
/* 802695BC 0026651C 48 0F C3 0D */ bl SetMusicUnmute__19CStreamAudioManagerFb
/* 802695C0 00266520 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 802695C4 00266524 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f
/* 802695C8 00266528 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13)
/* 802695CC 0026652C 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 802695D0 00266530 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f
/* 802695D4 00266534 48 0F 20 41 */ bl sub_8035b614
lbl_802695D8:
/* 802695D8 00266538 93 FE 00 14 */ stw r31, 0x14(r30)
lbl_802695DC:
/* 802695DC 0026653C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802695E0 00266540 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802695E4 00266544 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802695E8 00266548 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802695EC 0026654C 7C 08 03 A6 */ mtlr r0
/* 802695F0 00266550 38 21 00 20 */ addi r1, r1, 0x20
/* 802695F4 00266554 4E 80 00 20 */ blr
.global sub_802695f8
sub_802695f8:
/* 802695F8 00266558 94 21 FB D0 */ stwu r1, -0x430(r1)
/* 802695FC 0026655C 7C 08 02 A6 */ mflr r0
/* 80269600 00266560 90 01 04 34 */ stw r0, 0x434(r1)
/* 80269604 00266564 DB E1 04 20 */ stfd f31, 0x420(r1)
/* 80269608 00266568 F3 E1 04 28 */ psq_st f31, 1064(r1), 0, qr0
/* 8026960C 0026656C 93 E1 04 1C */ stw r31, 0x41c(r1)
/* 80269610 00266570 93 C1 04 18 */ stw r30, 0x418(r1)
/* 80269614 00266574 93 A1 04 14 */ stw r29, 0x414(r1)
/* 80269618 00266578 7C 7D 1B 78 */ mr r29, r3
/* 8026961C 0026657C 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80269620 00266580 28 00 00 00 */ cmplwi r0, 0
/* 80269624 00266584 41 82 02 80 */ beq lbl_802698A4
/* 80269628 00266588 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 8026962C 0026658C 38 61 00 B4 */ addi r3, r1, 0xb4
/* 80269630 00266590 39 24 D9 10 */ addi r9, r4, lbl_803ED910@l
/* 80269634 00266594 81 09 00 00 */ lwz r8, 0(r9)
/* 80269638 00266598 80 E9 00 04 */ lwz r7, 4(r9)
/* 8026963C 0026659C 80 C9 00 08 */ lwz r6, 8(r9)
/* 80269640 002665A0 80 A9 00 0C */ lwz r5, 0xc(r9)
/* 80269644 002665A4 80 89 00 10 */ lwz r4, 0x10(r9)
/* 80269648 002665A8 80 09 00 14 */ lwz r0, 0x14(r9)
/* 8026964C 002665AC 91 01 00 3C */ stw r8, 0x3c(r1)
/* 80269650 002665B0 90 E1 00 40 */ stw r7, 0x40(r1)
/* 80269654 002665B4 90 C1 00 44 */ stw r6, 0x44(r1)
/* 80269658 002665B8 90 A1 00 48 */ stw r5, 0x48(r1)
/* 8026965C 002665BC 90 81 00 4C */ stw r4, 0x4c(r1)
/* 80269660 002665C0 90 01 00 50 */ stw r0, 0x50(r1)
/* 80269664 002665C4 48 09 A7 15 */ bl __ct__18CTextExecuteBufferFv
/* 80269668 002665C8 38 00 00 01 */ li r0, 1
/* 8026966C 002665CC 83 C1 00 44 */ lwz r30, 0x44(r1)
/* 80269670 002665D0 98 01 01 48 */ stb r0, 0x148(r1)
/* 80269674 002665D4 38 61 00 B4 */ addi r3, r1, 0xb4
/* 80269678 002665D8 83 E1 00 48 */ lwz r31, 0x48(r1)
/* 8026967C 002665DC 7F C6 F3 78 */ mr r6, r30
/* 80269680 002665E0 90 01 00 08 */ stw r0, 8(r1)
/* 80269684 002665E4 38 80 00 00 */ li r4, 0
/* 80269688 002665E8 7F E7 FB 78 */ mr r7, r31
/* 8026968C 002665EC 38 A0 00 00 */ li r5, 0
/* 80269690 002665F0 39 00 00 00 */ li r8, 0
/* 80269694 002665F4 39 20 00 00 */ li r9, 0
/* 80269698 002665F8 39 40 00 01 */ li r10, 1
/* 8026969C 002665FC 48 09 A4 D1 */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification
/* 802696A0 00266600 80 8D A0 8C */ lwz r4, gpDefaultFont@sda21(r13)
/* 802696A4 00266604 38 61 00 18 */ addi r3, r1, 0x18
/* 802696A8 00266608 48 0D 78 01 */ bl __ct__6CTokenFRC6CToken
/* 802696AC 0026660C 38 61 00 B4 */ addi r3, r1, 0xb4
/* 802696B0 00266610 38 81 00 18 */ addi r4, r1, 0x18
/* 802696B4 00266614 48 09 A2 A1 */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>"
/* 802696B8 00266618 38 61 00 18 */ addi r3, r1, 0x18
/* 802696BC 0026661C 38 80 00 00 */ li r4, 0
/* 802696C0 00266620 48 0D 77 81 */ bl __dt__6CTokenFv
/* 802696C4 00266624 80 9D 00 1C */ lwz r4, 0x1c(r29)
/* 802696C8 00266628 38 61 00 2C */ addi r3, r1, 0x2c
/* 802696CC 0026662C 4B DA C3 25 */ bl wstring_l__4rstlFPCw
/* 802696D0 00266630 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 802696D4 00266634 38 61 00 B4 */ addi r3, r1, 0xb4
/* 802696D8 00266638 80 A1 00 34 */ lwz r5, 0x34(r1)
/* 802696DC 0026663C 48 09 8D 95 */ bl AddString__18CTextExecuteBufferFPCwi
/* 802696E0 00266640 38 61 00 2C */ addi r3, r1, 0x2c
/* 802696E4 00266644 48 0D 3A 51 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802696E8 00266648 38 61 00 B4 */ addi r3, r1, 0xb4
/* 802696EC 0026664C 48 09 A4 3D */ bl EndBlock__18CTextExecuteBufferFv
/* 802696F0 00266650 88 1D 00 18 */ lbz r0, 0x18(r29)
/* 802696F4 00266654 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 802696F8 00266658 41 82 00 38 */ beq lbl_80269730
/* 802696FC 0026665C 48 0E 08 B9 */ bl Black__6CColorFv
/* 80269700 00266660 C3 E2 BB 28 */ lfs f31, lbl_805AD848@sda21(r2)
/* 80269704 00266664 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2
/* 80269708 00266668 38 A1 00 14 */ addi r5, r1, 0x14
/* 8026970C 0026666C 80 E3 00 00 */ lwz r7, 0(r3)
/* 80269710 00266670 38 60 00 05 */ li r3, 5
/* 80269714 00266674 88 01 00 10 */ lbz r0, 0x10(r1)
/* 80269718 00266678 38 80 00 00 */ li r4, 0
/* 8026971C 0026667C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 80269720 00266680 C0 22 BB 2C */ lfs f1, lbl_805AD84C@sda21(r2)
/* 80269724 00266684 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269728 00266688 38 C0 00 00 */ li r6, 0
/* 8026972C 0026668C 4B E8 2A 1D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_80269730:
/* 80269730 00266690 83 A1 00 40 */ lwz r29, 0x40(r1)
/* 80269734 00266694 3C 00 43 30 */ lis r0, 0x4330
/* 80269738 00266698 90 01 03 E8 */ stw r0, 0x3e8(r1)
/* 8026973C 0026669C 3C 60 80 5A */ lis r3, sIdentity__12CTransform4f@ha
/* 80269740 002666A0 6F A0 80 00 */ xoris r0, r29, 0x8000
/* 80269744 002666A4 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2)
/* 80269748 002666A8 90 01 03 EC */ stw r0, 0x3ec(r1)
/* 8026974C 002666AC 38 63 66 70 */ addi r3, r3, sIdentity__12CTransform4f@l
/* 80269750 002666B0 C8 01 03 E8 */ lfd f0, 0x3e8(r1)
/* 80269754 002666B4 EF E0 08 28 */ fsubs f31, f0, f1
/* 80269758 002666B8 48 0A 2F F5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8026975C 002666BC 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 80269760 002666C0 3C 80 43 30 */ lis r4, 0x4330
/* 80269764 002666C4 7C 1D FA 14 */ add r0, r29, r31
/* 80269768 002666C8 90 81 03 F0 */ stw r4, 0x3f0(r1)
/* 8026976C 002666CC 7C 65 F2 14 */ add r3, r5, r30
/* 80269770 002666D0 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 80269774 002666D4 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80269778 002666D8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8026977C 002666DC 90 A1 03 F4 */ stw r5, 0x3f4(r1)
/* 80269780 002666E0 FC 80 F8 90 */ fmr f4, f31
/* 80269784 002666E4 C8 62 BB 40 */ lfd f3, lbl_805AD860@sda21(r2)
/* 80269788 002666E8 C8 01 03 F0 */ lfd f0, 0x3f0(r1)
/* 8026978C 002666EC 90 61 03 FC */ stw r3, 0x3fc(r1)
/* 80269790 002666F0 EC 20 18 28 */ fsubs f1, f0, f3
/* 80269794 002666F4 C0 A2 BB 30 */ lfs f5, lbl_805AD850@sda21(r2)
/* 80269798 002666F8 90 81 03 F8 */ stw r4, 0x3f8(r1)
/* 8026979C 002666FC C0 C2 BB 34 */ lfs f6, lbl_805AD854@sda21(r2)
/* 802697A0 00266700 C8 01 03 F8 */ lfd f0, 0x3f8(r1)
/* 802697A4 00266704 90 01 04 04 */ stw r0, 0x404(r1)
/* 802697A8 00266708 EC 40 18 28 */ fsubs f2, f0, f3
/* 802697AC 0026670C 90 81 04 00 */ stw r4, 0x400(r1)
/* 802697B0 00266710 C8 01 04 00 */ lfd f0, 0x400(r1)
/* 802697B4 00266714 EC 60 18 28 */ fsubs f3, f0, f3
/* 802697B8 00266718 48 0A 2D 9D */ bl SetOrtho__9CGraphicsFffffff
/* 802697BC 0026671C 38 60 00 01 */ li r3, 1
/* 802697C0 00266720 38 80 00 04 */ li r4, 4
/* 802697C4 00266724 38 A0 00 05 */ li r5, 5
/* 802697C8 00266728 38 C0 00 00 */ li r6, 0
/* 802697CC 0026672C 48 0A 22 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802697D0 00266730 38 60 00 00 */ li r3, 0
/* 802697D4 00266734 48 0A 22 9D */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 802697D8 00266738 38 60 00 01 */ li r3, 1
/* 802697DC 0026673C 38 80 00 07 */ li r4, 7
/* 802697E0 00266740 38 A0 00 00 */ li r5, 0
/* 802697E4 00266744 48 0A 22 B1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 802697E8 00266748 38 60 00 07 */ li r3, 7
/* 802697EC 0026674C 38 80 00 00 */ li r4, 0
/* 802697F0 00266750 38 A0 00 00 */ li r5, 0
/* 802697F4 00266754 38 C0 00 07 */ li r6, 7
/* 802697F8 00266758 38 E0 00 00 */ li r7, 0
/* 802697FC 0026675C 48 0A 22 2D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc
/* 80269800 00266760 6F E3 80 00 */ xoris r3, r31, 0x8000
/* 80269804 00266764 3C 00 43 30 */ lis r0, 0x4330
/* 80269808 00266768 90 61 04 0C */ stw r3, 0x40c(r1)
/* 8026980C 0026676C 3C 80 80 5A */ lis r4, sRightVector__9CVector3f@ha
/* 80269810 00266770 C0 42 BB 38 */ lfs f2, lbl_805AD858@sda21(r2)
/* 80269814 00266774 3C A0 80 5A */ lis r5, sForwardVector__9CVector3f@ha
/* 80269818 00266778 90 01 04 08 */ stw r0, 0x408(r1)
/* 8026981C 0026677C 3C 60 80 5A */ lis r3, sDownVector__9CVector3f@ha
/* 80269820 00266780 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2)
/* 80269824 00266784 38 C3 67 00 */ addi r6, r3, sDownVector__9CVector3f@l
/* 80269828 00266788 C8 01 04 08 */ lfd f0, 0x408(r1)
/* 8026982C 0026678C 38 84 67 18 */ addi r4, r4, sRightVector__9CVector3f@l
/* 80269830 00266790 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 80269834 00266794 38 A5 67 24 */ addi r5, r5, sForwardVector__9CVector3f@l
/* 80269838 00266798 EC 00 08 28 */ fsubs f0, f0, f1
/* 8026983C 0026679C 38 61 00 54 */ addi r3, r1, 0x54
/* 80269840 002667A0 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 80269844 002667A4 38 E1 00 20 */ addi r7, r1, 0x20
/* 80269848 002667A8 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8026984C 002667AC 48 0A 96 11 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0
/* 80269850 002667B0 38 61 00 84 */ addi r3, r1, 0x84
/* 80269854 002667B4 38 81 00 54 */ addi r4, r1, 0x54
/* 80269858 002667B8 48 0A 93 1D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8026985C 002667BC 38 61 00 84 */ addi r3, r1, 0x84
/* 80269860 002667C0 48 0A 2D 81 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 80269864 002667C4 38 61 01 90 */ addi r3, r1, 0x190
/* 80269868 002667C8 38 81 00 B4 */ addi r4, r1, 0xb4
/* 8026986C 002667CC 48 09 89 45 */ bl BuildRenderBuffer__18CTextExecuteBufferFv
/* 80269870 002667D0 48 0E 07 3D */ bl White__6CColorFv
/* 80269874 002667D4 C0 22 BB 38 */ lfs f1, lbl_805AD858@sda21(r2)
/* 80269878 002667D8 7C 64 1B 78 */ mr r4, r3
/* 8026987C 002667DC 38 61 01 90 */ addi r3, r1, 0x190
/* 80269880 002667E0 48 0F 0C 3D */ bl Render__17CTextRenderBufferCFRC6CColorf
/* 80269884 002667E4 38 61 01 90 */ addi r3, r1, 0x190
/* 80269888 002667E8 38 80 FF FF */ li r4, -1
/* 8026988C 002667EC 4B DB F0 D1 */ bl __dt__17CTextRenderBufferFv
/* 80269890 002667F0 38 60 00 01 */ li r3, 1
/* 80269894 002667F4 48 0A 21 DD */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 80269898 002667F8 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8026989C 002667FC 38 80 FF FF */ li r4, -1
/* 802698A0 00266800 4B DB F4 15 */ bl __dt__18CTextExecuteBufferFv
lbl_802698A4:
/* 802698A4 00266804 E3 E1 04 28 */ psq_l f31, 1064(r1), 0, qr0
/* 802698A8 00266808 80 01 04 34 */ lwz r0, 0x434(r1)
/* 802698AC 0026680C CB E1 04 20 */ lfd f31, 0x420(r1)
/* 802698B0 00266810 83 E1 04 1C */ lwz r31, 0x41c(r1)
/* 802698B4 00266814 83 C1 04 18 */ lwz r30, 0x418(r1)
/* 802698B8 00266818 83 A1 04 14 */ lwz r29, 0x414(r1)
/* 802698BC 0026681C 7C 08 03 A6 */ mtlr r0
/* 802698C0 00266820 38 21 04 30 */ addi r1, r1, 0x430
/* 802698C4 00266824 4E 80 00 20 */ blr
.global Draw__18CErrorOutputWindowCFv
Draw__18CErrorOutputWindowCFv:
/* 802698C8 00266828 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802698CC 0026682C 7C 08 02 A6 */ mflr r0
/* 802698D0 00266830 90 01 00 14 */ stw r0, 0x14(r1)
/* 802698D4 00266834 80 03 00 14 */ lwz r0, 0x14(r3)
/* 802698D8 00266838 2C 00 00 02 */ cmpwi r0, 2
/* 802698DC 0026683C 41 82 00 24 */ beq lbl_80269900
/* 802698E0 00266840 40 80 00 14 */ bge lbl_802698F4
/* 802698E4 00266844 2C 00 00 00 */ cmpwi r0, 0
/* 802698E8 00266848 41 82 00 40 */ beq lbl_80269928
/* 802698EC 0026684C 40 80 00 18 */ bge lbl_80269904
/* 802698F0 00266850 48 00 00 38 */ b lbl_80269928
lbl_802698F4:
/* 802698F4 00266854 2C 00 00 04 */ cmpwi r0, 4
/* 802698F8 00266858 40 80 00 30 */ bge lbl_80269928
/* 802698FC 0026685C 48 00 00 08 */ b lbl_80269904
lbl_80269900:
/* 80269900 00266860 4B FF FC F9 */ bl sub_802695f8
lbl_80269904:
/* 80269904 00266864 38 60 00 00 */ li r3, 0
/* 80269908 00266868 48 09 FB A1 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
/* 8026990C 0026686C 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 80269910 00266870 28 04 00 00 */ cmplwi r4, 0
/* 80269914 00266874 41 82 00 14 */ beq lbl_80269928
/* 80269918 00266878 88 04 03 18 */ lbz r0, 0x318(r4)
/* 8026991C 0026687C 38 60 00 01 */ li r3, 1
/* 80269920 00266880 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80269924 00266884 98 04 03 18 */ stb r0, 0x318(r4)
lbl_80269928:
/* 80269928 00266888 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026992C 0026688C 7C 08 03 A6 */ mtlr r0
/* 80269930 00266890 38 21 00 10 */ addi r1, r1, 0x10
/* 80269934 00266894 4E 80 00 20 */ blr
.global UpdateWindow__18CErrorOutputWindowFv
UpdateWindow__18CErrorOutputWindowFv:
/* 80269938 00266898 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026993C 0026689C 7C 08 02 A6 */ mflr r0
/* 80269940 002668A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269944 002668A4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80269948 002668A8 7C 7F 1B 78 */ mr r31, r3
/* 8026994C 002668AC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80269950 002668B0 2C 00 00 01 */ cmpwi r0, 1
/* 80269954 002668B4 40 82 00 10 */ bne lbl_80269964
/* 80269958 002668B8 38 80 00 02 */ li r4, 2
/* 8026995C 002668BC 4B FF FB 69 */ bl sub_802694c4
/* 80269960 002668C0 48 00 01 94 */ b lbl_80269AF4
lbl_80269964:
/* 80269964 002668C4 48 10 A7 ED */ bl DVDGetDriveStatus
/* 80269968 002668C8 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 8026996C 002668CC 38 C0 00 00 */ li r6, 0
/* 80269970 002668D0 88 0D A5 6C */ lbz r0, lbl_805A912C@sda21(r13)
/* 80269974 002668D4 7C 85 00 D0 */ neg r4, r5
/* 80269978 002668D8 7C 84 2B 78 */ or r4, r4, r5
/* 8026997C 002668DC 7C 00 07 75 */ extsb. r0, r0
/* 80269980 002668E0 54 85 0F FE */ srwi r5, r4, 0x1f
/* 80269984 002668E4 40 82 00 14 */ bne lbl_80269998
/* 80269988 002668E8 38 80 00 00 */ li r4, 0
/* 8026998C 002668EC 38 00 00 01 */ li r0, 1
/* 80269990 002668F0 90 8D A5 68 */ stw r4, lbl_805A9128@sda21(r13)
/* 80269994 002668F4 98 0D A5 6C */ stb r0, lbl_805A912C@sda21(r13)
lbl_80269998:
/* 80269998 002668F8 80 0D A5 68 */ lwz r0, lbl_805A9128@sda21(r13)
/* 8026999C 002668FC 7C 03 00 00 */ cmpw r3, r0
/* 802699A0 00266900 41 82 00 08 */ beq lbl_802699A8
/* 802699A4 00266904 90 6D A5 68 */ stw r3, lbl_805A9128@sda21(r13)
lbl_802699A8:
/* 802699A8 00266908 38 03 00 01 */ addi r0, r3, 1
/* 802699AC 0026690C 28 00 00 0C */ cmplwi r0, 0xc
/* 802699B0 00266910 41 81 00 68 */ bgt lbl_80269A18
/* 802699B4 00266914 3C 80 80 3F */ lis r4, lbl_803EA3DC@ha
/* 802699B8 00266918 54 00 10 3A */ slwi r0, r0, 2
/* 802699BC 0026691C 38 84 A3 DC */ addi r4, r4, lbl_803EA3DC@l
/* 802699C0 00266920 7C 04 00 2E */ lwzx r0, r4, r0
/* 802699C4 00266924 7C 09 03 A6 */ mtctr r0
/* 802699C8 00266928 4E 80 04 20 */ bctr
.global lbl_802699CC
lbl_802699CC:
/* 802699CC 0026692C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 802699D0 00266930 38 04 A4 10 */ addi r0, r4, lbl_803EA410@l
/* 802699D4 00266934 7C 06 03 78 */ mr r6, r0
/* 802699D8 00266938 48 00 00 40 */ b lbl_80269A18
.global lbl_802699DC
lbl_802699DC:
/* 802699DC 0026693C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 802699E0 00266940 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 802699E4 00266944 38 C4 00 AE */ addi r6, r4, 0xae
/* 802699E8 00266948 48 00 00 30 */ b lbl_80269A18
.global lbl_802699EC
lbl_802699EC:
/* 802699EC 0026694C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 802699F0 00266950 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 802699F4 00266954 38 C4 01 04 */ addi r6, r4, 0x104
/* 802699F8 00266958 48 00 00 20 */ b lbl_80269A18
.global lbl_802699FC
lbl_802699FC:
/* 802699FC 0026695C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 80269A00 00266960 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 80269A04 00266964 38 C4 01 B0 */ addi r6, r4, 0x1b0
/* 80269A08 00266968 48 00 00 10 */ b lbl_80269A18
.global lbl_80269A0C
lbl_80269A0C:
/* 80269A0C 0026696C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 80269A10 00266970 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 80269A14 00266974 38 C4 02 A6 */ addi r6, r4, 0x2a6
.global lbl_80269A18
lbl_80269A18:
/* 80269A18 00266978 2C 03 00 02 */ cmpwi r3, 2
/* 80269A1C 0026697C 38 80 00 00 */ li r4, 0
/* 80269A20 00266980 41 82 00 3C */ beq lbl_80269A5C
/* 80269A24 00266984 2C 03 00 01 */ cmpwi r3, 1
/* 80269A28 00266988 41 82 00 34 */ beq lbl_80269A5C
/* 80269A2C 0026698C 7C 06 00 D0 */ neg r0, r6
/* 80269A30 00266990 28 06 00 00 */ cmplwi r6, 0
/* 80269A34 00266994 7C 00 33 78 */ or r0, r0, r6
/* 80269A38 00266998 54 05 0F FE */ srwi r5, r0, 0x1f
/* 80269A3C 0026699C 41 82 00 20 */ beq lbl_80269A5C
/* 80269A40 002669A0 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 80269A44 002669A4 28 00 00 00 */ cmplwi r0, 0
/* 80269A48 002669A8 41 82 00 10 */ beq lbl_80269A58
/* 80269A4C 002669AC 7C 06 00 40 */ cmplw r6, r0
/* 80269A50 002669B0 41 82 00 08 */ beq lbl_80269A58
/* 80269A54 002669B4 38 80 00 01 */ li r4, 1
lbl_80269A58:
/* 80269A58 002669B8 90 DF 00 1C */ stw r6, 0x1c(r31)
lbl_80269A5C:
/* 80269A5C 002669BC 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80269A60 002669C0 40 82 00 34 */ bne lbl_80269A94
/* 80269A64 002669C4 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 80269A68 002669C8 2C 00 00 00 */ cmpwi r0, 0
/* 80269A6C 002669CC 41 82 00 88 */ beq lbl_80269AF4
/* 80269A70 002669D0 88 7F 00 18 */ lbz r3, 0x18(r31)
/* 80269A74 002669D4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80269A78 002669D8 41 82 00 0C */ beq lbl_80269A84
/* 80269A7C 002669DC 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f
/* 80269A80 002669E0 48 09 FA 29 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
lbl_80269A84:
/* 80269A84 002669E4 7F E3 FB 78 */ mr r3, r31
/* 80269A88 002669E8 38 80 00 00 */ li r4, 0
/* 80269A8C 002669EC 4B FF FA 39 */ bl sub_802694c4
/* 80269A90 002669F0 48 00 00 64 */ b lbl_80269AF4
lbl_80269A94:
/* 80269A94 002669F4 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 80269A98 002669F8 2C 00 00 03 */ cmpwi r0, 3
/* 80269A9C 002669FC 41 82 00 30 */ beq lbl_80269ACC
/* 80269AA0 00266A00 2C 00 00 00 */ cmpwi r0, 0
/* 80269AA4 00266A04 40 82 00 14 */ bne lbl_80269AB8
/* 80269AA8 00266A08 88 6D 9C 6C */ lbz r3, lbl_805A882C@sda21(r13)
/* 80269AAC 00266A0C 88 1F 00 18 */ lbz r0, 0x18(r31)
/* 80269AB0 00266A10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80269AB4 00266A14 98 1F 00 18 */ stb r0, 0x18(r31)
lbl_80269AB8:
/* 80269AB8 00266A18 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 80269ABC 00266A1C 7F E3 FB 78 */ mr r3, r31
/* 80269AC0 00266A20 38 84 00 01 */ addi r4, r4, 1
/* 80269AC4 00266A24 4B FF FA 01 */ bl sub_802694c4
/* 80269AC8 00266A28 48 00 00 2C */ b lbl_80269AF4
lbl_80269ACC:
/* 80269ACC 00266A2C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80269AD0 00266A30 41 82 00 24 */ beq lbl_80269AF4
/* 80269AD4 00266A34 88 7F 00 18 */ lbz r3, 0x18(r31)
/* 80269AD8 00266A38 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80269ADC 00266A3C 41 82 00 0C */ beq lbl_80269AE8
/* 80269AE0 00266A40 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f
/* 80269AE4 00266A44 48 09 F9 C5 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
lbl_80269AE8:
/* 80269AE8 00266A48 7F E3 FB 78 */ mr r3, r31
/* 80269AEC 00266A4C 38 80 00 02 */ li r4, 2
/* 80269AF0 00266A50 4B FF F9 D5 */ bl sub_802694c4
lbl_80269AF4:
/* 80269AF4 00266A54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80269AF8 00266A58 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80269AFC 00266A5C 7C 08 03 A6 */ mtlr r0
/* 80269B00 00266A60 38 21 00 10 */ addi r1, r1, 0x10
/* 80269B04 00266A64 4E 80 00 20 */ blr
.global OnMessage__18CErrorOutputWindowCFv
OnMessage__18CErrorOutputWindowCFv:
/* 80269B08 00266A68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80269B0C 00266A6C 7C 08 02 A6 */ mflr r0
/* 80269B10 00266A70 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269B14 00266A74 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80269B18 00266A78 7C 7F 1B 78 */ mr r31, r3
/* 80269B1C 00266A7C 80 04 00 04 */ lwz r0, 4(r4)
/* 80269B20 00266A80 2C 00 00 0A */ cmpwi r0, 0xa
/* 80269B24 00266A84 41 82 00 40 */ beq lbl_80269B64
/* 80269B28 00266A88 40 80 00 1C */ bge lbl_80269B44
/* 80269B2C 00266A8C 2C 00 00 05 */ cmpwi r0, 5
/* 80269B30 00266A90 41 82 00 20 */ beq lbl_80269B50
/* 80269B34 00266A94 40 80 00 54 */ bge lbl_80269B88
/* 80269B38 00266A98 2C 00 00 04 */ cmpwi r0, 4
/* 80269B3C 00266A9C 40 80 00 2C */ bge lbl_80269B68
/* 80269B40 00266AA0 48 00 00 48 */ b lbl_80269B88
lbl_80269B44:
/* 80269B44 00266AA4 2C 00 00 0C */ cmpwi r0, 0xc
/* 80269B48 00266AA8 40 80 00 40 */ bge lbl_80269B88
/* 80269B4C 00266AAC 48 00 00 1C */ b lbl_80269B68
lbl_80269B50:
/* 80269B50 00266AB0 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 80269B54 00266AB4 7C 03 00 D0 */ neg r0, r3
/* 80269B58 00266AB8 7C 00 1B 78 */ or r0, r0, r3
/* 80269B5C 00266ABC 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80269B60 00266AC0 48 00 00 2C */ b lbl_80269B8C
lbl_80269B64:
/* 80269B64 00266AC4 4B FF FD D5 */ bl UpdateWindow__18CErrorOutputWindowFv
lbl_80269B68:
/* 80269B68 00266AC8 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 80269B6C 00266ACC 38 00 00 01 */ li r0, 1
/* 80269B70 00266AD0 7C 80 02 78 */ xor r0, r4, r0
/* 80269B74 00266AD4 7C 03 0E 70 */ srawi r3, r0, 1
/* 80269B78 00266AD8 7C 00 20 38 */ and r0, r0, r4
/* 80269B7C 00266ADC 7C 00 18 50 */ subf r0, r0, r3
/* 80269B80 00266AE0 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80269B84 00266AE4 48 00 00 08 */ b lbl_80269B8C
lbl_80269B88:
/* 80269B88 00266AE8 38 60 00 00 */ li r3, 0
lbl_80269B8C:
/* 80269B8C 00266AEC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80269B90 00266AF0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80269B94 00266AF4 7C 08 03 A6 */ mtlr r0
/* 80269B98 00266AF8 38 21 00 10 */ addi r1, r1, 0x10
/* 80269B9C 00266AFC 4E 80 00 20 */ blr
.global GetIsContinueDraw__18CErrorOutputWindowCFv
GetIsContinueDraw__18CErrorOutputWindowCFv:
/* 80269BA0 00266B00 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80269BA4 00266B04 38 80 00 02 */ li r4, 2
/* 80269BA8 00266B08 7C 80 02 78 */ xor r0, r4, r0
/* 80269BAC 00266B0C 7C 03 0E 70 */ srawi r3, r0, 1
/* 80269BB0 00266B10 7C 00 20 38 */ and r0, r0, r4
/* 80269BB4 00266B14 7C 00 18 50 */ subf r0, r0, r3
/* 80269BB8 00266B18 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80269BBC 00266B1C 4E 80 00 20 */ blr
.global __ct__18CErrorOutputWindowFiff
__ct__18CErrorOutputWindowFiff:
/* 80269BC0 00266B20 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80269BC4 00266B24 7C 08 02 A6 */ mflr r0
/* 80269BC8 00266B28 3C A0 80 3D */ lis r5, lbl_803D53E0@ha
/* 80269BCC 00266B2C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80269BD0 00266B30 38 05 53 E0 */ addi r0, r5, lbl_803D53E0@l
/* 80269BD4 00266B34 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80269BD8 00266B38 7C 9F 23 78 */ mr r31, r4
/* 80269BDC 00266B3C 7C 04 03 78 */ mr r4, r0
/* 80269BE0 00266B40 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80269BE4 00266B44 7C 7E 1B 78 */ mr r30, r3
/* 80269BE8 00266B48 38 61 00 08 */ addi r3, r1, 8
/* 80269BEC 00266B4C 4B D9 B0 CD */ bl string_l__4rstlFPCc
/* 80269BF0 00266B50 7F C3 F3 78 */ mr r3, r30
/* 80269BF4 00266B54 38 81 00 08 */ addi r4, r1, 8
/* 80269BF8 00266B58 4B DE 90 15 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80269BFC 00266B5C 38 61 00 08 */ addi r3, r1, 8
/* 80269C00 00266B60 48 0D 3E E1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80269C04 00266B64 3C 60 80 3F */ lis r3, lbl_803EA3C0@ha
/* 80269C08 00266B68 7F E0 00 34 */ cntlzw r0, r31
/* 80269C0C 00266B6C 38 63 A3 C0 */ addi r3, r3, lbl_803EA3C0@l
/* 80269C10 00266B70 38 C0 00 00 */ li r6, 0
/* 80269C14 00266B74 90 7E 00 00 */ stw r3, 0(r30)
/* 80269C18 00266B78 38 A0 00 01 */ li r5, 1
/* 80269C1C 00266B7C 54 04 D9 7E */ srwi r4, r0, 5
/* 80269C20 00266B80 7F C3 F3 78 */ mr r3, r30
/* 80269C24 00266B84 90 DE 00 14 */ stw r6, 0x14(r30)
/* 80269C28 00266B88 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C2C 00266B8C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18
/* 80269C30 00266B90 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C34 00266B94 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C38 00266B98 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 80269C3C 00266B9C 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C40 00266BA0 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C44 00266BA4 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a
/* 80269C48 00266BA8 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C4C 00266BAC 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C50 00266BB0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 80269C54 00266BB4 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C58 00266BB8 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C5C 00266BBC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80269C60 00266BC0 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C64 00266BC4 90 DE 00 1C */ stw r6, 0x1c(r30)
/* 80269C68 00266BC8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80269C6C 00266BCC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80269C70 00266BD0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80269C74 00266BD4 7C 08 03 A6 */ mtlr r0
/* 80269C78 00266BD8 38 21 00 20 */ addi r1, r1, 0x20
/* 80269C7C 00266BDC 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805AD848
lbl_805AD848:
# ROM: 0x3FA0E8
.float 255.0
.global lbl_805AD84C
lbl_805AD84C:
# ROM: 0x3FA0EC
.float 1.0
.global lbl_805AD850
lbl_805AD850:
# ROM: 0x3FA0F0
.4byte 0xC5800000
.global lbl_805AD854
lbl_805AD854:
# ROM: 0x3FA0F4
.4byte 0x45800000
.global lbl_805AD858
lbl_805AD858:
# ROM: 0x3FA0F8
.4byte 0
.4byte 0
.global lbl_805AD860
lbl_805AD860:
# ROM: 0x3FA100
.double 4.503601774854144E15
.section .rodata
.balign 8
.global lbl_803D53E0
lbl_803D53E0:
# ROM: 0x3D23E0
.asciz "Error output window"
.4byte 0