papermario/asm/nonmatchings/code_20ec0_len_5040/func_800477F4.s

16 lines
723 B
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_800477F4
2020-09-24 05:16:13 +02:00
/* 22BF4 800477F4 00041040 */ sll $v0, $a0, 1
/* 22BF8 800477F8 00441021 */ addu $v0, $v0, $a0
/* 22BFC 800477FC 00021080 */ sll $v0, $v0, 2
/* 22C00 80047800 00441023 */ subu $v0, $v0, $a0
2020-11-29 08:13:07 +01:00
/* 22C04 80047804 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22C08 80047808 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
2020-09-24 05:16:13 +02:00
/* 22C0C 8004780C 00021100 */ sll $v0, $v0, 4
/* 22C10 80047810 00621821 */ addu $v1, $v1, $v0
/* 22C14 80047814 AC650030 */ sw $a1, 0x30($v1)
/* 22C18 80047818 03E00008 */ jr $ra
/* 22C1C 8004781C AC660034 */ sw $a2, 0x34($v1)