mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
44 lines
2.2 KiB
ArmAsm
44 lines
2.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel GetAnimModelPosition
|
|
/* F1A40 802CD090 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* F1A44 802CD094 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* F1A48 802CD098 0080902D */ daddu $s2, $a0, $zero
|
|
/* F1A4C 802CD09C AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* F1A50 802CD0A0 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* F1A54 802CD0A4 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* F1A58 802CD0A8 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* F1A5C 802CD0AC 8E50000C */ lw $s0, 0xc($s2)
|
|
/* F1A60 802CD0B0 8E050000 */ lw $a1, ($s0)
|
|
/* F1A64 802CD0B4 0C0B1EAF */ jal get_variable
|
|
/* F1A68 802CD0B8 26100004 */ addiu $s0, $s0, 4
|
|
/* F1A6C 802CD0BC 8E050000 */ lw $a1, ($s0)
|
|
/* F1A70 802CD0C0 26100004 */ addiu $s0, $s0, 4
|
|
/* F1A74 802CD0C4 3C03802E */ lui $v1, 0x802e
|
|
/* F1A78 802CD0C8 8C63AE30 */ lw $v1, -0x51d0($v1)
|
|
/* F1A7C 802CD0CC 00021080 */ sll $v0, $v0, 2
|
|
/* F1A80 802CD0D0 00431021 */ addu $v0, $v0, $v1
|
|
/* F1A84 802CD0D4 8C510000 */ lw $s1, ($v0)
|
|
/* F1A88 802CD0D8 8E130000 */ lw $s3, ($s0)
|
|
/* F1A8C 802CD0DC 8E260004 */ lw $a2, 4($s1)
|
|
/* F1A90 802CD0E0 8E100004 */ lw $s0, 4($s0)
|
|
/* F1A94 802CD0E4 0C0B2190 */ jal set_float_variable
|
|
/* F1A98 802CD0E8 0240202D */ daddu $a0, $s2, $zero
|
|
/* F1A9C 802CD0EC 0240202D */ daddu $a0, $s2, $zero
|
|
/* F1AA0 802CD0F0 8E260008 */ lw $a2, 8($s1)
|
|
/* F1AA4 802CD0F4 0C0B2190 */ jal set_float_variable
|
|
/* F1AA8 802CD0F8 0260282D */ daddu $a1, $s3, $zero
|
|
/* F1AAC 802CD0FC 0240202D */ daddu $a0, $s2, $zero
|
|
/* F1AB0 802CD100 8E26000C */ lw $a2, 0xc($s1)
|
|
/* F1AB4 802CD104 0C0B2190 */ jal set_float_variable
|
|
/* F1AB8 802CD108 0200282D */ daddu $a1, $s0, $zero
|
|
/* F1ABC 802CD10C 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* F1AC0 802CD110 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* F1AC4 802CD114 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* F1AC8 802CD118 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* F1ACC 802CD11C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* F1AD0 802CD120 24020002 */ addiu $v0, $zero, 2
|
|
/* F1AD4 802CD124 03E00008 */ jr $ra
|
|
/* F1AD8 802CD128 27BD0028 */ addiu $sp, $sp, 0x28
|