mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +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_80218000_584940
|
|
/* 584940 80218000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 584944 80218004 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 584948 80218008 0080882D */ daddu $s1, $a0, $zero
|
|
/* 58494C 8021800C AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 584950 80218010 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 584954 80218014 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 584958 80218018 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 58495C 8021801C 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 584960 80218020 8E050000 */ lw $a1, ($s0)
|
|
/* 584964 80218024 0C0B1EAF */ jal get_variable
|
|
/* 584968 80218028 26100004 */ addiu $s0, $s0, 4
|
|
/* 58496C 8021802C 8E050000 */ lw $a1, ($s0)
|
|
/* 584970 80218030 26100004 */ addiu $s0, $s0, 4
|
|
/* 584974 80218034 0220202D */ daddu $a0, $s1, $zero
|
|
/* 584978 80218038 0C0B1EAF */ jal get_variable
|
|
/* 58497C 8021803C 0040982D */ daddu $s3, $v0, $zero
|
|
/* 584980 80218040 8E050000 */ lw $a1, ($s0)
|
|
/* 584984 80218044 26100004 */ addiu $s0, $s0, 4
|
|
/* 584988 80218048 0220202D */ daddu $a0, $s1, $zero
|
|
/* 58498C 8021804C 0C0B1EAF */ jal get_variable
|
|
/* 584990 80218050 0040902D */ daddu $s2, $v0, $zero
|
|
/* 584994 80218054 0220202D */ daddu $a0, $s1, $zero
|
|
/* 584998 80218058 8E050000 */ lw $a1, ($s0)
|
|
/* 58499C 8021805C 0C0B1EAF */ jal get_variable
|
|
/* 5849A0 80218060 0040802D */ daddu $s0, $v0, $zero
|
|
/* 5849A4 80218064 8E240148 */ lw $a0, 0x148($s1)
|
|
/* 5849A8 80218068 0C09A75B */ jal get_actor
|
|
/* 5849AC 8021806C 0040882D */ daddu $s1, $v0, $zero
|
|
/* 5849B0 80218070 0040182D */ daddu $v1, $v0, $zero
|
|
/* 5849B4 80218074 8C620008 */ lw $v0, 8($v1)
|
|
/* 5849B8 80218078 90420024 */ lbu $v0, 0x24($v0)
|
|
/* 5849BC 8021807C 8C640008 */ lw $a0, 8($v1)
|
|
/* 5849C0 80218080 02629823 */ subu $s3, $s3, $v0
|
|
/* 5849C4 80218084 A0730194 */ sb $s3, 0x194($v1)
|
|
/* 5849C8 80218088 90820025 */ lbu $v0, 0x25($a0)
|
|
/* 5849CC 8021808C 02429023 */ subu $s2, $s2, $v0
|
|
/* 5849D0 80218090 A0720195 */ sb $s2, 0x195($v1)
|
|
/* 5849D4 80218094 90820026 */ lbu $v0, 0x26($a0)
|
|
/* 5849D8 80218098 02028023 */ subu $s0, $s0, $v0
|
|
/* 5849DC 8021809C A0700196 */ sb $s0, 0x196($v1)
|
|
/* 5849E0 802180A0 90840027 */ lbu $a0, 0x27($a0)
|
|
/* 5849E4 802180A4 02248823 */ subu $s1, $s1, $a0
|
|
/* 5849E8 802180A8 A0710197 */ sb $s1, 0x197($v1)
|
|
/* 5849EC 802180AC 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 5849F0 802180B0 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 5849F4 802180B4 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 5849F8 802180B8 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 5849FC 802180BC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 584A00 802180C0 24020002 */ addiu $v0, $zero, 2
|
|
/* 584A04 802180C4 03E00008 */ jr $ra
|
|
/* 584A08 802180C8 27BD0028 */ addiu $sp, $sp, 0x28
|