papermario/asm/nonmatchings/code_303c0_len_3e10/func_80057DC8.s

23 lines
1.0 KiB
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_80057DC8
2020-09-24 05:16:13 +02:00
/* 331C8 80057DC8 28820002 */ slti $v0, $a0, 2
/* 331CC 80057DCC 10400005 */ beqz $v0, .L80057DE4
/* 331D0 80057DD0 00000000 */ nop
2020-11-29 08:13:07 +01:00
/* 331D4 80057DD4 3C01800A */ lui $at, %hi(D_800A3FF0)
/* 331D8 80057DD8 AC203FF0 */ sw $zero, %lo(D_800A3FF0)($at)
/* 331DC 80057DDC 3C01800A */ lui $at, %hi(D_800A3FEE)
/* 331E0 80057DE0 A4203FEE */ sh $zero, %lo(D_800A3FEE)($at)
2020-08-04 08:49:11 +02:00
.L80057DE4:
2020-11-29 08:13:07 +01:00
/* 331E4 80057DE4 3C03800A */ lui $v1, %hi(D_800A3FF0)
/* 331E8 80057DE8 24633FF0 */ addiu $v1, $v1, %lo(D_800A3FF0)
2020-09-24 05:16:13 +02:00
/* 331EC 80057DEC 28820005 */ slti $v0, $a0, 5
/* 331F0 80057DF0 14400003 */ bnez $v0, .L80057E00
/* 331F4 80057DF4 AC640000 */ sw $a0, ($v1)
/* 331F8 80057DF8 24020004 */ addiu $v0, $zero, 4
/* 331FC 80057DFC AC620000 */ sw $v0, ($v1)
2020-08-04 08:49:11 +02:00
.L80057E00:
2020-09-24 05:16:13 +02:00
/* 33200 80057E00 03E00008 */ jr $ra
/* 33204 80057E04 00000000 */ nop