mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 17:32:30 +01:00
57 lines
3.0 KiB
ArmAsm
57 lines
3.0 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80218EE0_5134B0
|
|
/* 5134B0 80218EE0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 5134B4 80218EE4 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 5134B8 80218EE8 0080882D */ daddu $s1, $a0, $zero
|
|
/* 5134BC 80218EEC AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 5134C0 80218EF0 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 5134C4 80218EF4 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 5134C8 80218EF8 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 5134CC 80218EFC 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 5134D0 80218F00 8E050000 */ lw $a1, ($s0)
|
|
/* 5134D4 80218F04 0C0B1EAF */ jal get_variable
|
|
/* 5134D8 80218F08 26100004 */ addiu $s0, $s0, 4
|
|
/* 5134DC 80218F0C 8E050000 */ lw $a1, ($s0)
|
|
/* 5134E0 80218F10 26100004 */ addiu $s0, $s0, 4
|
|
/* 5134E4 80218F14 0220202D */ daddu $a0, $s1, $zero
|
|
/* 5134E8 80218F18 0C0B1EAF */ jal get_variable
|
|
/* 5134EC 80218F1C 0040982D */ daddu $s3, $v0, $zero
|
|
/* 5134F0 80218F20 8E050000 */ lw $a1, ($s0)
|
|
/* 5134F4 80218F24 26100004 */ addiu $s0, $s0, 4
|
|
/* 5134F8 80218F28 0220202D */ daddu $a0, $s1, $zero
|
|
/* 5134FC 80218F2C 0C0B1EAF */ jal get_variable
|
|
/* 513500 80218F30 0040902D */ daddu $s2, $v0, $zero
|
|
/* 513504 80218F34 0220202D */ daddu $a0, $s1, $zero
|
|
/* 513508 80218F38 8E050000 */ lw $a1, ($s0)
|
|
/* 51350C 80218F3C 0C0B1EAF */ jal get_variable
|
|
/* 513510 80218F40 0040802D */ daddu $s0, $v0, $zero
|
|
/* 513514 80218F44 8E240148 */ lw $a0, 0x148($s1)
|
|
/* 513518 80218F48 0C09A75B */ jal get_actor
|
|
/* 51351C 80218F4C 0040882D */ daddu $s1, $v0, $zero
|
|
/* 513520 80218F50 0040182D */ daddu $v1, $v0, $zero
|
|
/* 513524 80218F54 8C620008 */ lw $v0, 8($v1)
|
|
/* 513528 80218F58 90420024 */ lbu $v0, 0x24($v0)
|
|
/* 51352C 80218F5C 8C640008 */ lw $a0, 8($v1)
|
|
/* 513530 80218F60 02629823 */ subu $s3, $s3, $v0
|
|
/* 513534 80218F64 A0730194 */ sb $s3, 0x194($v1)
|
|
/* 513538 80218F68 90820025 */ lbu $v0, 0x25($a0)
|
|
/* 51353C 80218F6C 02429023 */ subu $s2, $s2, $v0
|
|
/* 513540 80218F70 A0720195 */ sb $s2, 0x195($v1)
|
|
/* 513544 80218F74 90820026 */ lbu $v0, 0x26($a0)
|
|
/* 513548 80218F78 02028023 */ subu $s0, $s0, $v0
|
|
/* 51354C 80218F7C A0700196 */ sb $s0, 0x196($v1)
|
|
/* 513550 80218F80 90840027 */ lbu $a0, 0x27($a0)
|
|
/* 513554 80218F84 02248823 */ subu $s1, $s1, $a0
|
|
/* 513558 80218F88 A0710197 */ sb $s1, 0x197($v1)
|
|
/* 51355C 80218F8C 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 513560 80218F90 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 513564 80218F94 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 513568 80218F98 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 51356C 80218F9C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 513570 80218FA0 24020002 */ addiu $v0, $zero, 2
|
|
/* 513574 80218FA4 03E00008 */ jr $ra
|
|
/* 513578 80218FA8 27BD0028 */ addiu $sp, $sp, 0x28
|
|
/* 51357C 80218FAC 00000000 */ nop
|