papermario/asm/nonmatchings/code_7952E0/func_802A1414_7956F4.s

40 lines
2.0 KiB
ArmAsm
Raw Normal View History

2021-01-10 15:52:28 +01:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_7956F4
/* 7956F4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7956F8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 7956FC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 795700 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 795704 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 795708 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 79570C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 795710 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 795714 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 795718 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 79571C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 795720 802A1440 00023880 */ sll $a3, $v0, 2
/* 795724 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 795728 802A1448 00073840 */ sll $a3, $a3, 1
/* 79572C 802A144C 0C046F97 */ jal set_background_color_blend
/* 795730 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 795734 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 795738 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79573C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 795740 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 795744 802A1464 080A8521 */ j .L802A1484
/* 795748 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79574C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 795750 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 795754 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 795758 802A1478 0C046F97 */ jal set_background_color_blend
/* 79575C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 795760 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 795764 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 795768 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79576C 802A148C 03E00008 */ jr $ra
/* 795770 802A1490 27BD0018 */ addiu $sp, $sp, 0x18