mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
22 lines
1007 B
ArmAsm
22 lines
1007 B
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel update_npc_blur
|
|
/* 161F8 8003ADF8 8C850020 */ lw $a1, 0x20($a0)
|
|
/* 161FC 8003ADFC 80A30001 */ lb $v1, 1($a1)
|
|
/* 16200 8003AE00 C4800038 */ lwc1 $f0, 0x38($a0)
|
|
/* 16204 8003AE04 00031080 */ sll $v0, $v1, 2
|
|
/* 16208 8003AE08 00A21021 */ addu $v0, $a1, $v0
|
|
/* 1620C 8003AE0C E4400004 */ swc1 $f0, 4($v0)
|
|
/* 16210 8003AE10 C480003C */ lwc1 $f0, 0x3c($a0)
|
|
/* 16214 8003AE14 E4400054 */ swc1 $f0, 0x54($v0)
|
|
/* 16218 8003AE18 C4800040 */ lwc1 $f0, 0x40($a0)
|
|
/* 1621C 8003AE1C 24630001 */ addiu $v1, $v1, 1
|
|
/* 16220 8003AE20 E44000A4 */ swc1 $f0, 0xa4($v0)
|
|
/* 16224 8003AE24 28620014 */ slti $v0, $v1, 0x14
|
|
/* 16228 8003AE28 50400001 */ beql $v0, $zero, .L8003AE30
|
|
/* 1622C 8003AE2C 0000182D */ daddu $v1, $zero, $zero
|
|
.L8003AE30:
|
|
/* 16230 8003AE30 03E00008 */ jr $ra
|
|
/* 16234 8003AE34 A0A30001 */ sb $v1, 1($a1)
|