mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
108 lines
5.6 KiB
ArmAsm
108 lines
5.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80218884_609334
|
|
/* 609334 80218884 27BDFFB0 */ addiu $sp, $sp, -0x50
|
|
/* 609338 80218888 AFB1001C */ sw $s1, 0x1c($sp)
|
|
/* 60933C 8021888C 0080882D */ daddu $s1, $a0, $zero
|
|
/* 609340 80218890 AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 609344 80218894 AFB00018 */ sw $s0, 0x18($sp)
|
|
/* 609348 80218898 F7BC0048 */ sdc1 $f28, 0x48($sp)
|
|
/* 60934C 8021889C F7BA0040 */ sdc1 $f26, 0x40($sp)
|
|
/* 609350 802188A0 F7B80038 */ sdc1 $f24, 0x38($sp)
|
|
/* 609354 802188A4 F7B60030 */ sdc1 $f22, 0x30($sp)
|
|
/* 609358 802188A8 F7B40028 */ sdc1 $f20, 0x28($sp)
|
|
/* 60935C 802188AC 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 609360 802188B0 8E050000 */ lw $a1, ($s0)
|
|
/* 609364 802188B4 0C0B1EAF */ jal get_variable
|
|
/* 609368 802188B8 26100004 */ addiu $s0, $s0, 4
|
|
/* 60936C 802188BC 8E050000 */ lw $a1, ($s0)
|
|
/* 609370 802188C0 26100004 */ addiu $s0, $s0, 4
|
|
/* 609374 802188C4 4482E000 */ mtc1 $v0, $f28
|
|
/* 609378 802188C8 00000000 */ nop
|
|
/* 60937C 802188CC 4680E720 */ cvt.s.w $f28, $f28
|
|
/* 609380 802188D0 0C0B1EAF */ jal get_variable
|
|
/* 609384 802188D4 0220202D */ daddu $a0, $s1, $zero
|
|
/* 609388 802188D8 8E050000 */ lw $a1, ($s0)
|
|
/* 60938C 802188DC 26100004 */ addiu $s0, $s0, 4
|
|
/* 609390 802188E0 4482D000 */ mtc1 $v0, $f26
|
|
/* 609394 802188E4 00000000 */ nop
|
|
/* 609398 802188E8 4680D6A0 */ cvt.s.w $f26, $f26
|
|
/* 60939C 802188EC 0C0B1EAF */ jal get_variable
|
|
/* 6093A0 802188F0 0220202D */ daddu $a0, $s1, $zero
|
|
/* 6093A4 802188F4 8E050000 */ lw $a1, ($s0)
|
|
/* 6093A8 802188F8 26100004 */ addiu $s0, $s0, 4
|
|
/* 6093AC 802188FC 0C0B1EAF */ jal get_variable
|
|
/* 6093B0 80218900 0220202D */ daddu $a0, $s1, $zero
|
|
/* 6093B4 80218904 8E050000 */ lw $a1, ($s0)
|
|
/* 6093B8 80218908 26100004 */ addiu $s0, $s0, 4
|
|
/* 6093BC 8021890C 4482A000 */ mtc1 $v0, $f20
|
|
/* 6093C0 80218910 00000000 */ nop
|
|
/* 6093C4 80218914 4680A520 */ cvt.s.w $f20, $f20
|
|
/* 6093C8 80218918 0C0B1EAF */ jal get_variable
|
|
/* 6093CC 8021891C 0220202D */ daddu $a0, $s1, $zero
|
|
/* 6093D0 80218920 8E050000 */ lw $a1, ($s0)
|
|
/* 6093D4 80218924 4482B000 */ mtc1 $v0, $f22
|
|
/* 6093D8 80218928 00000000 */ nop
|
|
/* 6093DC 8021892C 4680B5A0 */ cvt.s.w $f22, $f22
|
|
/* 6093E0 80218930 0C0B1EAF */ jal get_variable
|
|
/* 6093E4 80218934 0220202D */ daddu $a0, $s1, $zero
|
|
/* 6093E8 80218938 3C014220 */ lui $at, 0x4220
|
|
/* 6093EC 8021893C 44810000 */ mtc1 $at, $f0
|
|
/* 6093F0 80218940 4482C000 */ mtc1 $v0, $f24
|
|
/* 6093F4 80218944 00000000 */ nop
|
|
/* 6093F8 80218948 4680C620 */ cvt.s.w $f24, $f24
|
|
/* 6093FC 8021894C 4600B000 */ add.s $f0, $f22, $f0
|
|
/* 609400 80218950 4600E306 */ mov.s $f12, $f28
|
|
/* 609404 80218954 4406A000 */ mfc1 $a2, $f20
|
|
/* 609408 80218958 44070000 */ mfc1 $a3, $f0
|
|
/* 60940C 8021895C 0C00A720 */ jal atan2
|
|
/* 609410 80218960 4600D386 */ mov.s $f14, $f26
|
|
/* 609414 80218964 3C014120 */ lui $at, 0x4120
|
|
/* 609418 80218968 44811000 */ mtc1 $at, $f2
|
|
/* 60941C 8021896C 0000202D */ daddu $a0, $zero, $zero
|
|
/* 609420 80218970 4602A501 */ sub.s $f20, $f20, $f2
|
|
/* 609424 80218974 3C014270 */ lui $at, 0x4270
|
|
/* 609428 80218978 44811000 */ mtc1 $at, $f2
|
|
/* 60942C 8021897C 3C014020 */ lui $at, 0x4020
|
|
/* 609430 80218980 44812000 */ mtc1 $at, $f4
|
|
/* 609434 80218984 4602B580 */ add.s $f22, $f22, $f2
|
|
/* 609438 80218988 3C0141A0 */ lui $at, 0x41a0
|
|
/* 60943C 8021898C 44811000 */ mtc1 $at, $f2
|
|
/* 609440 80218990 24020028 */ addiu $v0, $zero, 0x28
|
|
/* 609444 80218994 AFA20014 */ sw $v0, 0x14($sp)
|
|
/* 609448 80218998 E7A40010 */ swc1 $f4, 0x10($sp)
|
|
/* 60944C 8021899C 4602C600 */ add.s $f24, $f24, $f2
|
|
/* 609450 802189A0 4405A000 */ mfc1 $a1, $f20
|
|
/* 609454 802189A4 4406B000 */ mfc1 $a2, $f22
|
|
/* 609458 802189A8 4407C000 */ mfc1 $a3, $f24
|
|
/* 60945C 802189AC 0C01C6C4 */ jal func_80071B10
|
|
/* 609460 802189B0 46000506 */ mov.s $f20, $f0
|
|
/* 609464 802189B4 8C43000C */ lw $v1, 0xc($v0)
|
|
/* 609468 802189B8 E4740038 */ swc1 $f20, 0x38($v1)
|
|
/* 60946C 802189BC 8C43000C */ lw $v1, 0xc($v0)
|
|
/* 609470 802189C0 24040002 */ addiu $a0, $zero, 2
|
|
/* 609474 802189C4 AC640018 */ sw $a0, 0x18($v1)
|
|
/* 609478 802189C8 8C43000C */ lw $v1, 0xc($v0)
|
|
/* 60947C 802189CC AC64001C */ sw $a0, 0x1c($v1)
|
|
/* 609480 802189D0 8C43000C */ lw $v1, 0xc($v0)
|
|
/* 609484 802189D4 AC640020 */ sw $a0, 0x20($v1)
|
|
/* 609488 802189D8 8C43000C */ lw $v1, 0xc($v0)
|
|
/* 60948C 802189DC 24040050 */ addiu $a0, $zero, 0x50
|
|
/* 609490 802189E0 AC640028 */ sw $a0, 0x28($v1)
|
|
/* 609494 802189E4 8C43000C */ lw $v1, 0xc($v0)
|
|
/* 609498 802189E8 AC64002C */ sw $a0, 0x2c($v1)
|
|
/* 60949C 802189EC 8C43000C */ lw $v1, 0xc($v0)
|
|
/* 6094A0 802189F0 AC640030 */ sw $a0, 0x30($v1)
|
|
/* 6094A4 802189F4 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 6094A8 802189F8 8FB1001C */ lw $s1, 0x1c($sp)
|
|
/* 6094AC 802189FC 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* 6094B0 80218A00 D7BC0048 */ ldc1 $f28, 0x48($sp)
|
|
/* 6094B4 80218A04 D7BA0040 */ ldc1 $f26, 0x40($sp)
|
|
/* 6094B8 80218A08 D7B80038 */ ldc1 $f24, 0x38($sp)
|
|
/* 6094BC 80218A0C D7B60030 */ ldc1 $f22, 0x30($sp)
|
|
/* 6094C0 80218A10 D7B40028 */ ldc1 $f20, 0x28($sp)
|
|
/* 6094C4 80218A14 24020002 */ addiu $v0, $zero, 2
|
|
/* 6094C8 80218A18 03E00008 */ jr $ra
|
|
/* 6094CC 80218A1C 27BD0050 */ addiu $sp, $sp, 0x50
|