mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
56 lines
2.9 KiB
ArmAsm
56 lines
2.9 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_802187F4_649604
|
|
/* 649604 802187F4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 649608 802187F8 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 64960C 802187FC 0080882D */ daddu $s1, $a0, $zero
|
|
/* 649610 80218800 AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 649614 80218804 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 649618 80218808 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 64961C 8021880C AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 649620 80218810 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 649624 80218814 8E050000 */ lw $a1, ($s0)
|
|
/* 649628 80218818 0C0B1EAF */ jal get_variable
|
|
/* 64962C 8021881C 26100004 */ addiu $s0, $s0, 4
|
|
/* 649630 80218820 8E050000 */ lw $a1, ($s0)
|
|
/* 649634 80218824 26100004 */ addiu $s0, $s0, 4
|
|
/* 649638 80218828 0220202D */ daddu $a0, $s1, $zero
|
|
/* 64963C 8021882C 0C0B1EAF */ jal get_variable
|
|
/* 649640 80218830 0040982D */ daddu $s3, $v0, $zero
|
|
/* 649644 80218834 8E050000 */ lw $a1, ($s0)
|
|
/* 649648 80218838 26100004 */ addiu $s0, $s0, 4
|
|
/* 64964C 8021883C 0220202D */ daddu $a0, $s1, $zero
|
|
/* 649650 80218840 0C0B1EAF */ jal get_variable
|
|
/* 649654 80218844 0040902D */ daddu $s2, $v0, $zero
|
|
/* 649658 80218848 0220202D */ daddu $a0, $s1, $zero
|
|
/* 64965C 8021884C 8E050000 */ lw $a1, ($s0)
|
|
/* 649660 80218850 0C0B1EAF */ jal get_variable
|
|
/* 649664 80218854 0040802D */ daddu $s0, $v0, $zero
|
|
/* 649668 80218858 8E240148 */ lw $a0, 0x148($s1)
|
|
/* 64966C 8021885C 0C09A75B */ jal get_actor
|
|
/* 649670 80218860 0040882D */ daddu $s1, $v0, $zero
|
|
/* 649674 80218864 0040182D */ daddu $v1, $v0, $zero
|
|
/* 649678 80218868 8C620008 */ lw $v0, 8($v1)
|
|
/* 64967C 8021886C 90420024 */ lbu $v0, 0x24($v0)
|
|
/* 649680 80218870 8C640008 */ lw $a0, 8($v1)
|
|
/* 649684 80218874 02629823 */ subu $s3, $s3, $v0
|
|
/* 649688 80218878 A0730194 */ sb $s3, 0x194($v1)
|
|
/* 64968C 8021887C 90820025 */ lbu $v0, 0x25($a0)
|
|
/* 649690 80218880 02429023 */ subu $s2, $s2, $v0
|
|
/* 649694 80218884 A0720195 */ sb $s2, 0x195($v1)
|
|
/* 649698 80218888 90820026 */ lbu $v0, 0x26($a0)
|
|
/* 64969C 8021888C 02028023 */ subu $s0, $s0, $v0
|
|
/* 6496A0 80218890 A0700196 */ sb $s0, 0x196($v1)
|
|
/* 6496A4 80218894 90840027 */ lbu $a0, 0x27($a0)
|
|
/* 6496A8 80218898 02248823 */ subu $s1, $s1, $a0
|
|
/* 6496AC 8021889C A0710197 */ sb $s1, 0x197($v1)
|
|
/* 6496B0 802188A0 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 6496B4 802188A4 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 6496B8 802188A8 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 6496BC 802188AC 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 6496C0 802188B0 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 6496C4 802188B4 24020002 */ addiu $v0, $zero, 2
|
|
/* 6496C8 802188B8 03E00008 */ jr $ra
|
|
/* 6496CC 802188BC 27BD0028 */ addiu $sp, $sp, 0x28
|