papermario/ver/us/asm/nonmatchings/28910_len_5090/func_8005068C.s

20 lines
901 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_8005068C
2020-09-24 05:16:13 +02:00
/* 2BA8C 8005068C 000411C3 */ sra $v0, $a0, 7
/* 2BA90 80050690 30420007 */ andi $v0, $v0, 7
/* 2BA94 80050694 000420C0 */ sll $a0, $a0, 3
/* 2BA98 80050698 308400F8 */ andi $a0, $a0, 0xf8
/* 2BA9C 8005069C 00441021 */ addu $v0, $v0, $a0
/* 2BAA0 800506A0 30C600FF */ andi $a2, $a2, 0xff
/* 2BAA4 800506A4 00C20018 */ mult $a2, $v0
/* 2BAA8 800506A8 30A500FF */ andi $a1, $a1, 0xff
/* 2BAAC 800506AC 00001812 */ mflo $v1
/* 2BAB0 800506B0 34028000 */ ori $v0, $zero, 0x8000
/* 2BAB4 800506B4 00431023 */ subu $v0, $v0, $v1
/* 2BAB8 800506B8 00A20018 */ mult $a1, $v0
/* 2BABC 800506BC 00001812 */ mflo $v1
/* 2BAC0 800506C0 03E00008 */ jr $ra
/* 2BAC4 800506C4 306200FF */ andi $v0, $v1, 0xff