mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
21 lines
784 B
ArmAsm
21 lines
784 B
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_8004CE70
|
|
/* 028270 8004CE70 8CA20000 */ lw $v0, ($a1)
|
|
/* 028274 8004CE74 90430000 */ lbu $v1, ($v0)
|
|
/* 028278 8004CE78 24420001 */ addiu $v0, $v0, 1
|
|
/* 02827C 8004CE7C ACA20000 */ sw $v0, ($a1)
|
|
/* 028280 8004CE80 A4A3005C */ sh $v1, 0x5c($a1)
|
|
/* 028284 8004CE84 84A2005C */ lh $v0, 0x5c($a1)
|
|
/* 028288 8004CE88 10400003 */ beqz $v0, .L8004CE98
|
|
/* 02828C 8004CE8C 00031200 */ sll $v0, $v1, 8
|
|
/* 028290 8004CE90 344200FF */ ori $v0, $v0, 0xff
|
|
/* 028294 8004CE94 A4A2005C */ sh $v0, 0x5c($a1)
|
|
.L8004CE98:
|
|
/* 028298 8004CE98 24020001 */ addiu $v0, $zero, 1
|
|
/* 02829C 8004CE9C 03E00008 */ jr $ra
|
|
/* 0282A0 8004CEA0 A0A20055 */ sb $v0, 0x55($a1)
|
|
|