papermario/asm/nonmatchings/code_78D150/func_802A1414_78D564.s
Ethan Roseman 6a18fb8862 ⛰️
2021-01-10 23:52:28 +09:00

40 lines
2.0 KiB
ArmAsm
Generated

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78D564
/* 78D564 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D568 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78D56C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78D570 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78D574 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78D578 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78D57C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78D580 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78D584 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78D588 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78D58C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78D590 802A1440 00023880 */ sll $a3, $v0, 2
/* 78D594 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78D598 802A1448 00073840 */ sll $a3, $a3, 1
/* 78D59C 802A144C 0C046F97 */ jal set_background_color_blend
/* 78D5A0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78D5A4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78D5A8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78D5AC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78D5B0 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78D5B4 802A1464 080A8521 */ j .L802A1484
/* 78D5B8 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78D5BC 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78D5C0 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78D5C4 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78D5C8 802A1478 0C046F97 */ jal set_background_color_blend
/* 78D5CC 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78D5D0 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78D5D4 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78D5D8 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78D5DC 802A148C 03E00008 */ jr $ra
/* 78D5E0 802A1490 27BD0018 */ addiu $sp, $sp, 0x18