papermario/asm/nonmatchings/code_1b40_len_20b0/func_800271FC.s

32 lines
1.3 KiB
ArmAsm
Raw Normal View History

2020-07-31 22:38:29 +02:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
2020-08-01 18:55:49 +02:00
glabel func_800271FC
2020-07-31 22:38:29 +02:00
/* 0025FC 800271FC 00061880 */ sll $v1, $a2, 2
/* 002600 80027200 00661821 */ addu $v1, $v1, $a2
/* 002604 80027204 00031980 */ sll $v1, $v1, 6
/* 002608 80027208 00671821 */ addu $v1, $v1, $a3
/* 00260C 8002720C 00031840 */ sll $v1, $v1, 1
/* 002610 80027210 00652821 */ addu $a1, $v1, $a1
/* 002614 80027214 00641821 */ addu $v1, $v1, $a0
/* 002618 80027218 94A20000 */ lhu $v0, ($a1)
/* 00261C 8002721C 8FA50010 */ lw $a1, 0x10($sp)
/* 002620 80027220 00021082 */ srl $v0, $v0, 2
/* 002624 80027224 3042000F */ andi $v0, $v0, 0xf
/* 002628 80027228 A0A20003 */ sb $v0, 3($a1)
/* 00262C 8002722C 94620000 */ lhu $v0, ($v1)
/* 002630 80027230 000212C2 */ srl $v0, $v0, 0xb
/* 002634 80027234 A0A20000 */ sb $v0, ($a1)
/* 002638 80027238 94620000 */ lhu $v0, ($v1)
/* 00263C 8002723C 00021182 */ srl $v0, $v0, 6
/* 002640 80027240 3042001F */ andi $v0, $v0, 0x1f
/* 002644 80027244 A0A20001 */ sb $v0, 1($a1)
/* 002648 80027248 94620000 */ lhu $v0, ($v1)
/* 00264C 8002724C 00021042 */ srl $v0, $v0, 1
/* 002650 80027250 3042001F */ andi $v0, $v0, 0x1f
/* 002654 80027254 03E00008 */ jr $ra
/* 002658 80027258 A0A20002 */ sb $v0, 2($a1)
2020-08-06 06:11:15 +02:00