mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
27 lines
1.1 KiB
ArmAsm
27 lines
1.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80048200
|
|
/* 023600 80048200 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 023604 80048204 00041040 */ sll $v0, $a0, 1
|
|
/* 023608 80048208 00441021 */ addu $v0, $v0, $a0
|
|
/* 02360C 8004820C 00021080 */ sll $v0, $v0, 2
|
|
/* 023610 80048210 00441023 */ subu $v0, $v0, $a0
|
|
/* 023614 80048214 3C03800A */ lui $v1, 0x800a
|
|
/* 023618 80048218 8C630F44 */ lw $v1, 0xf44($v1)
|
|
/* 02361C 8004821C 00021100 */ sll $v0, $v0, 4
|
|
/* 023620 80048220 AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 023624 80048224 00621821 */ addu $v1, $v1, $v0
|
|
/* 023628 80048228 806200A8 */ lb $v0, 0xa8($v1)
|
|
/* 02362C 8004822C 10400004 */ beqz $v0, .L80048240
|
|
/* 023630 80048230 00000000 */ nop
|
|
/* 023634 80048234 8C6400AC */ lw $a0, 0xac($v1)
|
|
/* 023638 80048238 0C05123D */ jal free_icon
|
|
/* 02363C 8004823C A06000A8 */ sb $zero, 0xa8($v1)
|
|
.L80048240:
|
|
/* 023640 80048240 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 023644 80048244 03E00008 */ jr $ra
|
|
/* 023648 80048248 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|