Match filemenu_set_cursor_goal_pos (#559)

* Match filemenu_set_cursor_goal_pos

* Delete filemenu_set_cursor_goal_pos.s

* Update 163400.c

* [0]

* [0]

* Match filemenu_update_cursor

* Delete filemenu_update_cursor.s

* Cleanup

* new line
This commit is contained in:
JoshDuMan 2021-12-22 10:39:54 -05:00 committed by GitHub
parent 6e062b19d8
commit 4ccbccbe7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 100 additions and 271 deletions

View File

@ -22,13 +22,13 @@ s32* D_80249B80[] = { &D_80241ECC };
MenuPanel* filemenu_menus[4] = { &D_8024A098, &D_8024A114, &D_8024A158, &D_8024A1D8 };
s32 D_80249B94 = 160;
s32 D_80249B98 = -120;
s32 D_80249B9C[] = {0};
s32 D_80249B9C = 0;
s32 D_80249BA0 = 160;
s32 D_80249BA4[] = { -120 };
s32 D_80249BA4 = -120;
s32 filemenu_cursorGoalAlpha = 0;
s32 filemenu_cursorGoalAlpha2 = 0;
s32 D_80249BB0[] = { 0x00000001, 0x00000000 };
s32 D_80249BB8[] = { 0x00000000 };
s32 D_80249BB8 = 0;
s16 D_80249BBC[16] = { 315, 303, 283, 260, 235, 210, 185, 160, 135, 110, 85, 60, 37, 17, 5, 0 };
s16 D_80249BDC[16] = { 315, 303, 283, 260, 235, 210, 185, 160, 135, 110, 85, 60, 37, 17, 5, 0 };
s16 D_80249BFC[16] = { 157, 151, 141, 130, 117, 105, 92, 80, 67, 55, 42, 30, 18, 8, 2, 0 };
@ -81,9 +81,103 @@ void filemenu_set_cursor_alpha(s32 arg0) {
filemenu_cursorGoalAlpha2 = arg0;
}
INCLUDE_ASM(s32, "163400", filemenu_set_cursor_goal_pos);
void filemenu_set_cursor_goal_pos(s32 windowID, s32 posX, s32 posY) {
Window* window = &gWindows[windowID];
INCLUDE_ASM(s32, "163400", filemenu_update_cursor);
if (D_80249BB0[0] != 0
|| get_game_mode() == GAME_MODE_END_FILE_SELECT
|| get_game_mode() == GAME_MODE_END_LANGUAGE_SELECT) {
if (D_80249BB0[0] != 0) {
s32 i;
for (i = 0x2C; i < ARRAY_COUNT(gWindows); i++) {
Window* window = &gWindows[i];
s8 parent = window->parent;
if ((parent == -1 || parent == 0x2C) && (window->flags & 8)) {
break;
}
}
if (i >= ARRAY_COUNT(gWindows)) {
D_80249BB0[0] = 0;
}
}
D_80249BA0 = posX;
D_80249B94 = posX;
D_80249BA4 = posY;
D_80249B98 = posY;
} else if (!(window->flags & 0x8) && (window->parent == -1 || !(gWindows[window->parent].flags & 8))) {
D_80249BA0 = posX;
D_80249BA4 = posY;
}
}
void filemenu_update_cursor(void) {
s32 targetPosX = D_80249BA0;
s32 targetPosY = D_80249BA4;
s32 xDelta;
s32 yDelta;
s32 i;
xDelta = (targetPosX - D_80249B94) * 0.5;
yDelta = (targetPosY - D_80249B98) * 0.5;
if ((targetPosX != D_80249B94) || (targetPosY != D_80249B98)) {
if ((xDelta == 0) && (yDelta == 0)) {
D_80249B94 = targetPosX;
D_80249B98 = targetPosY;
}
}
D_80249B94 += xDelta;
D_80249B98 += yDelta;
if (filemenu_cursorGoalAlpha == 0) {
D_80249B9C -= 128;
if (D_80249B9C < 0) {
D_80249B9C = 0;
}
} else {
D_80249B9C += 32;
if (D_80249B9C > 255) {
D_80249B9C = 255;
}
}
for (i = 0x2C; i < ARRAY_COUNT(gWindows); i++) {
Window* window = &gWindows[i];
s8 parent = window->parent;
if ((parent == -1 || parent == 0x2C) && (window->flags & 8)) {
break;
}
}
if (D_80249BB8 == 0) {
if (filemenu_cursorGoalAlpha == 0) {
D_80249BB8 = 1;
}
}
if (i >= ARRAY_COUNT(gWindows)) {
if (filemenu_cursorGoalAlpha2 == 0xFF) {
if (D_80249BB8 != 0) {
D_80249BB8--;
if (D_80249BB8 == 0) {
D_80249B94 = D_80249BA0;
D_80249B98 = D_80249BA4;
}
}
}
if (D_80249BB8 == 0) {
filemenu_cursorGoalAlpha = filemenu_cursorGoalAlpha2;
}
} else if (filemenu_cursorGoalAlpha == 0) {
D_80249BB8 = 1;
}
filemenu_cursorGoalAlpha2 = 0xFF;
}
INCLUDE_ASM(s32, "163400", filemenu_update);
@ -440,7 +534,7 @@ void filemenu_draw_cursor(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32
s32 temp_a1;
filemenu_update_cursor();
temp_a1 = *D_80249B9C;
temp_a1 = D_80249B9C;
if (temp_a1 > 0) {
if (temp_a1 > 255) {
temp_a1 = 255;

View File

@ -1,104 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel filemenu_set_cursor_goal_pos
/* 163660 80242E00 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 163664 80242E04 AFB20018 */ sw $s2, 0x18($sp)
/* 163668 80242E08 00A0902D */ daddu $s2, $a1, $zero
/* 16366C 80242E0C AFB3001C */ sw $s3, 0x1c($sp)
/* 163670 80242E10 00C0982D */ daddu $s3, $a2, $zero
/* 163674 80242E14 AFB40020 */ sw $s4, 0x20($sp)
/* 163678 80242E18 3C148016 */ lui $s4, %hi(gWindows)
/* 16367C 80242E1C 26949D50 */ addiu $s4, $s4, %lo(gWindows)
/* 163680 80242E20 00042140 */ sll $a0, $a0, 5
/* 163684 80242E24 AFB10014 */ sw $s1, 0x14($sp)
/* 163688 80242E28 3C118025 */ lui $s1, %hi(D_80249BB0)
/* 16368C 80242E2C 26319BB0 */ addiu $s1, $s1, %lo(D_80249BB0)
/* 163690 80242E30 AFBF0024 */ sw $ra, 0x24($sp)
/* 163694 80242E34 AFB00010 */ sw $s0, 0x10($sp)
/* 163698 80242E38 8E220000 */ lw $v0, ($s1)
/* 16369C 80242E3C 14400012 */ bnez $v0, .L80242E88
/* 1636A0 80242E40 00948021 */ addu $s0, $a0, $s4
/* 1636A4 80242E44 0C00CD4A */ jal get_game_mode
/* 1636A8 80242E48 00000000 */ nop
/* 1636AC 80242E4C 00021400 */ sll $v0, $v0, 0x10
/* 1636B0 80242E50 00021403 */ sra $v0, $v0, 0x10
/* 1636B4 80242E54 2403000F */ addiu $v1, $zero, 0xf
/* 1636B8 80242E58 10430008 */ beq $v0, $v1, .L80242E7C
/* 1636BC 80242E5C 00000000 */ nop
/* 1636C0 80242E60 0C00CD4A */ jal get_game_mode
/* 1636C4 80242E64 00000000 */ nop
/* 1636C8 80242E68 00021400 */ sll $v0, $v0, 0x10
/* 1636CC 80242E6C 00021403 */ sra $v0, $v0, 0x10
/* 1636D0 80242E70 2403000D */ addiu $v1, $zero, 0xd
/* 1636D4 80242E74 14430024 */ bne $v0, $v1, .L80242F08
/* 1636D8 80242E78 00000000 */ nop
.L80242E7C:
/* 1636DC 80242E7C 8E220000 */ lw $v0, ($s1)
/* 1636E0 80242E80 10400018 */ beqz $v0, .L80242EE4
/* 1636E4 80242E84 00000000 */ nop
.L80242E88:
/* 1636E8 80242E88 2404002C */ addiu $a0, $zero, 0x2c
/* 1636EC 80242E8C 2406FFFF */ addiu $a2, $zero, -1
/* 1636F0 80242E90 0080282D */ daddu $a1, $a0, $zero
/* 1636F4 80242E94 3C038016 */ lui $v1, %hi(D_8015A2D0)
/* 1636F8 80242E98 2463A2D0 */ addiu $v1, $v1, %lo(D_8015A2D0)
.L80242E9C:
/* 1636FC 80242E9C 80620003 */ lb $v0, 3($v1)
/* 163700 80242EA0 10460003 */ beq $v0, $a2, .L80242EB0
/* 163704 80242EA4 00000000 */ nop
/* 163708 80242EA8 54450006 */ bnel $v0, $a1, .L80242EC4
/* 16370C 80242EAC 24840001 */ addiu $a0, $a0, 1
.L80242EB0:
/* 163710 80242EB0 90620000 */ lbu $v0, ($v1)
/* 163714 80242EB4 30420008 */ andi $v0, $v0, 8
/* 163718 80242EB8 14400006 */ bnez $v0, .L80242ED4
/* 16371C 80242EBC 28820040 */ slti $v0, $a0, 0x40
/* 163720 80242EC0 24840001 */ addiu $a0, $a0, 1
.L80242EC4:
/* 163724 80242EC4 28820040 */ slti $v0, $a0, 0x40
/* 163728 80242EC8 1440FFF4 */ bnez $v0, .L80242E9C
/* 16372C 80242ECC 24630020 */ addiu $v1, $v1, 0x20
/* 163730 80242ED0 28820040 */ slti $v0, $a0, 0x40
.L80242ED4:
/* 163734 80242ED4 14400003 */ bnez $v0, .L80242EE4
/* 163738 80242ED8 00000000 */ nop
/* 16373C 80242EDC 3C018025 */ lui $at, %hi(D_80249BB0)
/* 163740 80242EE0 AC209BB0 */ sw $zero, %lo(D_80249BB0)($at)
.L80242EE4:
/* 163744 80242EE4 3C018025 */ lui $at, %hi(D_80249BA0)
/* 163748 80242EE8 AC329BA0 */ sw $s2, %lo(D_80249BA0)($at)
/* 16374C 80242EEC 3C018025 */ lui $at, %hi(D_80249B94)
/* 163750 80242EF0 AC329B94 */ sw $s2, %lo(D_80249B94)($at)
/* 163754 80242EF4 3C018025 */ lui $at, %hi(D_80249BA4)
/* 163758 80242EF8 AC339BA4 */ sw $s3, %lo(D_80249BA4)($at)
/* 16375C 80242EFC 3C018025 */ lui $at, %hi(D_80249B98)
/* 163760 80242F00 08090BD2 */ j .L80242F48
/* 163764 80242F04 AC339B98 */ sw $s3, %lo(D_80249B98)($at)
.L80242F08:
/* 163768 80242F08 92020000 */ lbu $v0, ($s0)
/* 16376C 80242F0C 30420008 */ andi $v0, $v0, 8
/* 163770 80242F10 1440000D */ bnez $v0, .L80242F48
/* 163774 80242F14 2402FFFF */ addiu $v0, $zero, -1
/* 163778 80242F18 82040003 */ lb $a0, 3($s0)
/* 16377C 80242F1C 10820006 */ beq $a0, $v0, .L80242F38
/* 163780 80242F20 00041140 */ sll $v0, $a0, 5
/* 163784 80242F24 00541021 */ addu $v0, $v0, $s4
/* 163788 80242F28 90420000 */ lbu $v0, ($v0)
/* 16378C 80242F2C 30420008 */ andi $v0, $v0, 8
/* 163790 80242F30 14400005 */ bnez $v0, .L80242F48
/* 163794 80242F34 00000000 */ nop
.L80242F38:
/* 163798 80242F38 3C018025 */ lui $at, %hi(D_80249BA0)
/* 16379C 80242F3C AC329BA0 */ sw $s2, %lo(D_80249BA0)($at)
/* 1637A0 80242F40 3C018025 */ lui $at, %hi(D_80249BA4)
/* 1637A4 80242F44 AC339BA4 */ sw $s3, %lo(D_80249BA4)($at)
.L80242F48:
/* 1637A8 80242F48 8FBF0024 */ lw $ra, 0x24($sp)
/* 1637AC 80242F4C 8FB40020 */ lw $s4, 0x20($sp)
/* 1637B0 80242F50 8FB3001C */ lw $s3, 0x1c($sp)
/* 1637B4 80242F54 8FB20018 */ lw $s2, 0x18($sp)
/* 1637B8 80242F58 8FB10014 */ lw $s1, 0x14($sp)
/* 1637BC 80242F5C 8FB00010 */ lw $s0, 0x10($sp)
/* 1637C0 80242F60 03E00008 */ jr $ra
/* 1637C4 80242F64 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,161 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel filemenu_update_cursor
/* 1637C8 80242F68 3C0A8025 */ lui $t2, %hi(D_80249B94)
/* 1637CC 80242F6C 254A9B94 */ addiu $t2, $t2, %lo(D_80249B94)
/* 1637D0 80242F70 3C058025 */ lui $a1, %hi(D_80249BA0)
/* 1637D4 80242F74 8CA59BA0 */ lw $a1, %lo(D_80249BA0)($a1)
/* 1637D8 80242F78 8D430000 */ lw $v1, ($t2)
/* 1637DC 80242F7C 3C013FE0 */ lui $at, 0x3fe0
/* 1637E0 80242F80 44812800 */ mtc1 $at, $f5
/* 1637E4 80242F84 44802000 */ mtc1 $zero, $f4
/* 1637E8 80242F88 00A31023 */ subu $v0, $a1, $v1
/* 1637EC 80242F8C 44821000 */ mtc1 $v0, $f2
/* 1637F0 80242F90 00000000 */ nop
/* 1637F4 80242F94 468010A1 */ cvt.d.w $f2, $f2
/* 1637F8 80242F98 46241082 */ mul.d $f2, $f2, $f4
/* 1637FC 80242F9C 00000000 */ nop
/* 163800 80242FA0 3C098025 */ lui $t1, %hi(D_80249B98)
/* 163804 80242FA4 25299B98 */ addiu $t1, $t1, %lo(D_80249B98)
/* 163808 80242FA8 3C048025 */ lui $a0, %hi(D_80249BA4)
/* 16380C 80242FAC 8C849BA4 */ lw $a0, %lo(D_80249BA4)($a0)
/* 163810 80242FB0 8D260000 */ lw $a2, ($t1)
/* 163814 80242FB4 00861023 */ subu $v0, $a0, $a2
/* 163818 80242FB8 44820000 */ mtc1 $v0, $f0
/* 16381C 80242FBC 00000000 */ nop
/* 163820 80242FC0 46800021 */ cvt.d.w $f0, $f0
/* 163824 80242FC4 46240002 */ mul.d $f0, $f0, $f4
/* 163828 80242FC8 00000000 */ nop
/* 16382C 80242FCC 4620118D */ trunc.w.d $f6, $f2
/* 163830 80242FD0 44073000 */ mfc1 $a3, $f6
/* 163834 80242FD4 4620018D */ trunc.w.d $f6, $f0
/* 163838 80242FD8 44083000 */ mfc1 $t0, $f6
/* 16383C 80242FDC 14A30003 */ bne $a1, $v1, .L80242FEC
/* 163840 80242FE0 00000000 */ nop
/* 163844 80242FE4 10860007 */ beq $a0, $a2, .L80243004
/* 163848 80242FE8 00000000 */ nop
.L80242FEC:
/* 16384C 80242FEC 14E00005 */ bnez $a3, .L80243004
/* 163850 80242FF0 00000000 */ nop
/* 163854 80242FF4 15000003 */ bnez $t0, .L80243004
/* 163858 80242FF8 00000000 */ nop
/* 16385C 80242FFC AD450000 */ sw $a1, ($t2)
/* 163860 80243000 AD240000 */ sw $a0, ($t1)
.L80243004:
/* 163864 80243004 3C038025 */ lui $v1, %hi(D_80249B94)
/* 163868 80243008 24639B94 */ addiu $v1, $v1, %lo(D_80249B94)
/* 16386C 8024300C 8C620000 */ lw $v0, ($v1)
/* 163870 80243010 00471021 */ addu $v0, $v0, $a3
/* 163874 80243014 AC620000 */ sw $v0, ($v1)
/* 163878 80243018 3C038025 */ lui $v1, %hi(D_80249B98)
/* 16387C 8024301C 24639B98 */ addiu $v1, $v1, %lo(D_80249B98)
/* 163880 80243020 8C620000 */ lw $v0, ($v1)
/* 163884 80243024 3C048025 */ lui $a0, %hi(filemenu_cursorGoalAlpha)
/* 163888 80243028 8C849BA8 */ lw $a0, %lo(filemenu_cursorGoalAlpha)($a0)
/* 16388C 8024302C 00481021 */ addu $v0, $v0, $t0
/* 163890 80243030 14800009 */ bnez $a0, .L80243058
/* 163894 80243034 AC620000 */ sw $v0, ($v1)
/* 163898 80243038 3C038025 */ lui $v1, %hi(D_80249B9C)
/* 16389C 8024303C 24639B9C */ addiu $v1, $v1, %lo(D_80249B9C)
/* 1638A0 80243040 8C620000 */ lw $v0, ($v1)
/* 1638A4 80243044 2442FF80 */ addiu $v0, $v0, -0x80
/* 1638A8 80243048 0441000D */ bgez $v0, .L80243080
/* 1638AC 8024304C AC620000 */ sw $v0, ($v1)
/* 1638B0 80243050 08090C20 */ j .L80243080
/* 1638B4 80243054 AC600000 */ sw $zero, ($v1)
.L80243058:
/* 1638B8 80243058 3C038025 */ lui $v1, %hi(D_80249B9C)
/* 1638BC 8024305C 24639B9C */ addiu $v1, $v1, %lo(D_80249B9C)
/* 1638C0 80243060 8C620000 */ lw $v0, ($v1)
/* 1638C4 80243064 24420020 */ addiu $v0, $v0, 0x20
/* 1638C8 80243068 AC620000 */ sw $v0, ($v1)
/* 1638CC 8024306C 28420100 */ slti $v0, $v0, 0x100
/* 1638D0 80243070 14400004 */ bnez $v0, .L80243084
/* 1638D4 80243074 2404002C */ addiu $a0, $zero, 0x2c
/* 1638D8 80243078 240200FF */ addiu $v0, $zero, 0xff
/* 1638DC 8024307C AC620000 */ sw $v0, ($v1)
.L80243080:
/* 1638E0 80243080 2404002C */ addiu $a0, $zero, 0x2c
.L80243084:
/* 1638E4 80243084 2406FFFF */ addiu $a2, $zero, -1
/* 1638E8 80243088 0080282D */ daddu $a1, $a0, $zero
/* 1638EC 8024308C 3C038016 */ lui $v1, %hi(D_8015A2D0)
/* 1638F0 80243090 2463A2D0 */ addiu $v1, $v1, %lo(D_8015A2D0)
.L80243094:
/* 1638F4 80243094 80620003 */ lb $v0, 3($v1)
/* 1638F8 80243098 10460003 */ beq $v0, $a2, .L802430A8
/* 1638FC 8024309C 00000000 */ nop
/* 163900 802430A0 54450006 */ bnel $v0, $a1, .L802430BC
/* 163904 802430A4 24840001 */ addiu $a0, $a0, 1
.L802430A8:
/* 163908 802430A8 90620000 */ lbu $v0, ($v1)
/* 16390C 802430AC 30420008 */ andi $v0, $v0, 8
/* 163910 802430B0 14400005 */ bnez $v0, .L802430C8
/* 163914 802430B4 00000000 */ nop
/* 163918 802430B8 24840001 */ addiu $a0, $a0, 1
.L802430BC:
/* 16391C 802430BC 28820040 */ slti $v0, $a0, 0x40
/* 163920 802430C0 1440FFF4 */ bnez $v0, .L80243094
/* 163924 802430C4 24630020 */ addiu $v1, $v1, 0x20
.L802430C8:
/* 163928 802430C8 3C038025 */ lui $v1, %hi(D_80249BB8)
/* 16392C 802430CC 24639BB8 */ addiu $v1, $v1, %lo(D_80249BB8)
/* 163930 802430D0 8C620000 */ lw $v0, ($v1)
/* 163934 802430D4 14400008 */ bnez $v0, .L802430F8
/* 163938 802430D8 28820040 */ slti $v0, $a0, 0x40
/* 16393C 802430DC 3C028025 */ lui $v0, %hi(filemenu_cursorGoalAlpha)
/* 163940 802430E0 8C429BA8 */ lw $v0, %lo(filemenu_cursorGoalAlpha)($v0)
/* 163944 802430E4 14400004 */ bnez $v0, .L802430F8
/* 163948 802430E8 28820040 */ slti $v0, $a0, 0x40
/* 16394C 802430EC 24020001 */ addiu $v0, $zero, 1
/* 163950 802430F0 AC620000 */ sw $v0, ($v1)
/* 163954 802430F4 28820040 */ slti $v0, $a0, 0x40
.L802430F8:
/* 163958 802430F8 1440001E */ bnez $v0, .L80243174
/* 16395C 802430FC 240200FF */ addiu $v0, $zero, 0xff
/* 163960 80243100 3C038025 */ lui $v1, %hi(filemenu_cursorGoalAlpha2)
/* 163964 80243104 8C639BAC */ lw $v1, %lo(filemenu_cursorGoalAlpha2)($v1)
/* 163968 80243108 14620010 */ bne $v1, $v0, .L8024314C
/* 16396C 8024310C 00000000 */ nop
/* 163970 80243110 3C038025 */ lui $v1, %hi(D_80249BB8)
/* 163974 80243114 24639BB8 */ addiu $v1, $v1, %lo(D_80249BB8)
/* 163978 80243118 8C620000 */ lw $v0, ($v1)
/* 16397C 8024311C 1040000F */ beqz $v0, .L8024315C
/* 163980 80243120 2442FFFF */ addiu $v0, $v0, -1
/* 163984 80243124 1440001A */ bnez $v0, .L80243190
/* 163988 80243128 AC620000 */ sw $v0, ($v1)
/* 16398C 8024312C 3C028025 */ lui $v0, %hi(D_80249BA0)
/* 163990 80243130 8C429BA0 */ lw $v0, %lo(D_80249BA0)($v0)
/* 163994 80243134 3C038025 */ lui $v1, %hi(D_80249BA4)
/* 163998 80243138 8C639BA4 */ lw $v1, %lo(D_80249BA4)($v1)
/* 16399C 8024313C 3C018025 */ lui $at, %hi(D_80249B94)
/* 1639A0 80243140 AC229B94 */ sw $v0, %lo(D_80249B94)($at)
/* 1639A4 80243144 3C018025 */ lui $at, %hi(D_80249B98)
/* 1639A8 80243148 AC239B98 */ sw $v1, %lo(D_80249B98)($at)
.L8024314C:
/* 1639AC 8024314C 3C028025 */ lui $v0, %hi(D_80249BB8)
/* 1639B0 80243150 8C429BB8 */ lw $v0, %lo(D_80249BB8)($v0)
/* 1639B4 80243154 1440000F */ bnez $v0, .L80243194
/* 1639B8 80243158 240200FF */ addiu $v0, $zero, 0xff
.L8024315C:
/* 1639BC 8024315C 3C028025 */ lui $v0, %hi(filemenu_cursorGoalAlpha2)
/* 1639C0 80243160 8C429BAC */ lw $v0, %lo(filemenu_cursorGoalAlpha2)($v0)
/* 1639C4 80243164 3C018025 */ lui $at, %hi(filemenu_cursorGoalAlpha)
/* 1639C8 80243168 AC229BA8 */ sw $v0, %lo(filemenu_cursorGoalAlpha)($at)
/* 1639CC 8024316C 08090C65 */ j .L80243194
/* 1639D0 80243170 240200FF */ addiu $v0, $zero, 0xff
.L80243174:
/* 1639D4 80243174 3C028025 */ lui $v0, %hi(filemenu_cursorGoalAlpha)
/* 1639D8 80243178 8C429BA8 */ lw $v0, %lo(filemenu_cursorGoalAlpha)($v0)
/* 1639DC 8024317C 14400005 */ bnez $v0, .L80243194
/* 1639E0 80243180 240200FF */ addiu $v0, $zero, 0xff
/* 1639E4 80243184 24020001 */ addiu $v0, $zero, 1
/* 1639E8 80243188 3C018025 */ lui $at, %hi(D_80249BB8)
/* 1639EC 8024318C AC229BB8 */ sw $v0, %lo(D_80249BB8)($at)
.L80243190:
/* 1639F0 80243190 240200FF */ addiu $v0, $zero, 0xff
.L80243194:
/* 1639F4 80243194 3C018025 */ lui $at, %hi(filemenu_cursorGoalAlpha2)
/* 1639F8 80243198 03E00008 */ jr $ra
/* 1639FC 8024319C AC229BAC */ sw $v0, %lo(filemenu_cursorGoalAlpha2)($at)