mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
33 lines
1.3 KiB
ArmAsm
33 lines
1.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80122D7C
|
|
/* 0B947C 80122D7C 2402F7FF */ addiu $v0, $zero, -0x801
|
|
/* 0B9480 80122D80 00822024 */ and $a0, $a0, $v0
|
|
/* 0B9484 80122D84 3C028015 */ lui $v0, 0x8015
|
|
/* 0B9488 80122D88 8C424370 */ lw $v0, 0x4370($v0)
|
|
/* 0B948C 80122D8C 00042080 */ sll $a0, $a0, 2
|
|
/* 0B9490 80122D90 00822021 */ addu $a0, $a0, $v0
|
|
/* 0B9494 80122D94 8C840000 */ lw $a0, ($a0)
|
|
/* 0B9498 80122D98 1080000E */ beqz $a0, .L80122DD4
|
|
/* 0B949C 80122D9C 00000000 */ nop
|
|
/* 0B94A0 80122DA0 8C820000 */ lw $v0, ($a0)
|
|
/* 0B94A4 80122DA4 1040000B */ beqz $v0, .L80122DD4
|
|
/* 0B94A8 80122DA8 00000000 */ nop
|
|
/* 0B94AC 80122DAC 14A00003 */ bnez $a1, .L80122DBC
|
|
/* 0B94B0 80122DB0 00000000 */ nop
|
|
/* 0B94B4 80122DB4 3C058015 */ lui $a1, 0x8015
|
|
/* 0B94B8 80122DB8 24A5C260 */ addiu $a1, $a1, -0x3da0
|
|
.L80122DBC:
|
|
/* 0B94BC 80122DBC 3C013F80 */ lui $at, 0x3f80
|
|
/* 0B94C0 80122DC0 44810000 */ mtc1 $at, $f0
|
|
/* 0B94C4 80122DC4 AC850010 */ sw $a1, 0x10($a0)
|
|
/* 0B94C8 80122DC8 AC850058 */ sw $a1, 0x58($a0)
|
|
/* 0B94CC 80122DCC E4800008 */ swc1 $f0, 8($a0)
|
|
/* 0B94D0 80122DD0 E480000C */ swc1 $f0, 0xc($a0)
|
|
.L80122DD4:
|
|
/* 0B94D4 80122DD4 03E00008 */ jr $ra
|
|
/* 0B94D8 80122DD8 00000000 */ nop
|
|
|