mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
82 lines
4.1 KiB
ArmAsm
82 lines
4.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80218C40_6247E0
|
|
/* 6247E0 80218C40 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 6247E4 80218C44 AFBF0024 */ sw $ra, 0x24($sp)
|
|
/* 6247E8 80218C48 AFB20020 */ sw $s2, 0x20($sp)
|
|
/* 6247EC 80218C4C AFB1001C */ sw $s1, 0x1c($sp)
|
|
/* 6247F0 80218C50 AFB00018 */ sw $s0, 0x18($sp)
|
|
/* 6247F4 80218C54 8C840148 */ lw $a0, 0x148($a0)
|
|
/* 6247F8 80218C58 0C09A75B */ jal get_actor
|
|
/* 6247FC 80218C5C 00A0802D */ daddu $s0, $a1, $zero
|
|
/* 624800 80218C60 0040882D */ daddu $s1, $v0, $zero
|
|
/* 624804 80218C64 12000007 */ beqz $s0, .L80218C84
|
|
/* 624808 80218C68 2632000C */ addiu $s2, $s1, 0xc
|
|
/* 62480C 80218C6C C6200144 */ lwc1 $f0, 0x144($s1)
|
|
/* 624810 80218C70 C6220148 */ lwc1 $f2, 0x148($s1)
|
|
/* 624814 80218C74 C624014C */ lwc1 $f4, 0x14c($s1)
|
|
/* 624818 80218C78 E620000C */ swc1 $f0, 0xc($s1)
|
|
/* 62481C 80218C7C E6220010 */ swc1 $f2, 0x10($s1)
|
|
/* 624820 80218C80 E6240014 */ swc1 $f4, 0x14($s1)
|
|
.L80218C84:
|
|
/* 624824 80218C84 8E25004C */ lw $a1, 0x4c($s1)
|
|
/* 624828 80218C88 8E260054 */ lw $a2, 0x54($s1)
|
|
/* 62482C 80218C8C 0C09904A */ jal add_xz_vec3f
|
|
/* 624830 80218C90 0240202D */ daddu $a0, $s2, $zero
|
|
/* 624834 80218C94 C622004C */ lwc1 $f2, 0x4c($s1)
|
|
/* 624838 80218C98 3C014080 */ lui $at, 0x4080
|
|
/* 62483C 80218C9C 44810000 */ mtc1 $at, $f0
|
|
/* 624840 80218CA0 00000000 */ nop
|
|
/* 624844 80218CA4 4600103C */ c.lt.s $f2, $f0
|
|
/* 624848 80218CA8 00000000 */ nop
|
|
/* 62484C 80218CAC 45000007 */ bc1f .L80218CCC
|
|
/* 624850 80218CB0 0000202D */ daddu $a0, $zero, $zero
|
|
/* 624854 80218CB4 C6200054 */ lwc1 $f0, 0x54($s1)
|
|
/* 624858 80218CB8 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 62485C 80218CBC 8E25000C */ lw $a1, 0xc($s1)
|
|
/* 624860 80218CC0 8E260010 */ lw $a2, 0x10($s1)
|
|
/* 624864 80218CC4 08086339 */ j .L80218CE4
|
|
/* 624868 80218CC8 8E270014 */ lw $a3, 0x14($s1)
|
|
.L80218CCC:
|
|
/* 62486C 80218CCC C6200054 */ lwc1 $f0, 0x54($s1)
|
|
/* 624870 80218CD0 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 624874 80218CD4 8E25000C */ lw $a1, 0xc($s1)
|
|
/* 624878 80218CD8 8E260010 */ lw $a2, 0x10($s1)
|
|
/* 62487C 80218CDC 8E270014 */ lw $a3, 0x14($s1)
|
|
/* 624880 80218CE0 24040001 */ addiu $a0, $zero, 1
|
|
.L80218CE4:
|
|
/* 624884 80218CE4 0C0990BC */ jal play_movement_dust_effects
|
|
/* 624888 80218CE8 00000000 */ nop
|
|
/* 62488C 80218CEC C6400040 */ lwc1 $f0, 0x40($s2)
|
|
/* 624890 80218CF0 3C013FF8 */ lui $at, 0x3ff8
|
|
/* 624894 80218CF4 44811800 */ mtc1 $at, $f3
|
|
/* 624898 80218CF8 44801000 */ mtc1 $zero, $f2
|
|
/* 62489C 80218CFC 46000021 */ cvt.d.s $f0, $f0
|
|
/* 6248A0 80218D00 46220003 */ div.d $f0, $f0, $f2
|
|
/* 6248A4 80218D04 C6420000 */ lwc1 $f2, ($s2)
|
|
/* 6248A8 80218D08 46200020 */ cvt.s.d $f0, $f0
|
|
/* 6248AC 80218D0C E6400040 */ swc1 $f0, 0x40($s2)
|
|
/* 6248B0 80218D10 E6220144 */ swc1 $f2, 0x144($s1)
|
|
/* 6248B4 80218D14 C6400004 */ lwc1 $f0, 4($s2)
|
|
/* 6248B8 80218D18 E6200148 */ swc1 $f0, 0x148($s1)
|
|
/* 6248BC 80218D1C C6400008 */ lwc1 $f0, 8($s2)
|
|
/* 6248C0 80218D20 E620014C */ swc1 $f0, 0x14c($s1)
|
|
/* 6248C4 80218D24 C6400040 */ lwc1 $f0, 0x40($s2)
|
|
/* 6248C8 80218D28 3C013FF0 */ lui $at, 0x3ff0
|
|
/* 6248CC 80218D2C 44811800 */ mtc1 $at, $f3
|
|
/* 6248D0 80218D30 44801000 */ mtc1 $zero, $f2
|
|
/* 6248D4 80218D34 46000021 */ cvt.d.s $f0, $f0
|
|
/* 6248D8 80218D38 4622003C */ c.lt.d $f0, $f2
|
|
/* 6248DC 80218D3C 00000000 */ nop
|
|
/* 6248E0 80218D40 45010002 */ bc1t .L80218D4C
|
|
/* 6248E4 80218D44 24020002 */ addiu $v0, $zero, 2
|
|
/* 6248E8 80218D48 0000102D */ daddu $v0, $zero, $zero
|
|
.L80218D4C:
|
|
/* 6248EC 80218D4C 8FBF0024 */ lw $ra, 0x24($sp)
|
|
/* 6248F0 80218D50 8FB20020 */ lw $s2, 0x20($sp)
|
|
/* 6248F4 80218D54 8FB1001C */ lw $s1, 0x1c($sp)
|
|
/* 6248F8 80218D58 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* 6248FC 80218D5C 03E00008 */ jr $ra
|
|
/* 624900 80218D60 27BD0028 */ addiu $sp, $sp, 0x28
|