mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 23:42:42 +01:00
26 lines
1.2 KiB
ArmAsm
26 lines
1.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_801451D4
|
|
/* DB8D4 801451D4 2402F7FF */ addiu $v0, $zero, -0x801
|
|
/* DB8D8 801451D8 00822024 */ and $a0, $a0, $v0
|
|
/* DB8DC 801451DC 00042080 */ sll $a0, $a0, 2
|
|
/* DB8E0 801451E0 3C030001 */ lui $v1, 1
|
|
/* DB8E4 801451E4 3C028015 */ lui $v0, %hi(D_80157960)
|
|
/* DB8E8 801451E8 8C427960 */ lw $v0, %lo(D_80157960)($v0)
|
|
/* DB8EC 801451EC 44850000 */ mtc1 $a1, $f0
|
|
/* DB8F0 801451F0 00822021 */ addu $a0, $a0, $v0
|
|
/* DB8F4 801451F4 8C840000 */ lw $a0, ($a0)
|
|
/* DB8F8 801451F8 44861000 */ mtc1 $a2, $f2
|
|
/* DB8FC 801451FC 8C820000 */ lw $v0, ($a0)
|
|
/* DB900 80145200 44872000 */ mtc1 $a3, $f4
|
|
/* DB904 80145204 00431024 */ and $v0, $v0, $v1
|
|
/* DB908 80145208 10400004 */ beqz $v0, .L8014521C
|
|
/* DB90C 8014520C 8C83001C */ lw $v1, 0x1c($a0)
|
|
/* DB910 80145210 E460001C */ swc1 $f0, 0x1c($v1)
|
|
/* DB914 80145214 E4620020 */ swc1 $f2, 0x20($v1)
|
|
/* DB918 80145218 E4640024 */ swc1 $f4, 0x24($v1)
|
|
.L8014521C:
|
|
/* DB91C 8014521C 03E00008 */ jr $ra
|
|
/* DB920 80145220 00000000 */ nop
|