papermario/asm/nonmatchings/battle/area_flo/5B14B0/func_80218000_5B14B0.s

56 lines
2.9 KiB
ArmAsm
Raw Normal View History

2020-12-28 06:34:30 +01:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218000_5B14B0
/* 5B14B0 80218000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B14B4 80218004 AFB10014 */ sw $s1, 0x14($sp)
/* 5B14B8 80218008 0080882D */ daddu $s1, $a0, $zero
/* 5B14BC 8021800C AFBF0020 */ sw $ra, 0x20($sp)
/* 5B14C0 80218010 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B14C4 80218014 AFB20018 */ sw $s2, 0x18($sp)
/* 5B14C8 80218018 AFB00010 */ sw $s0, 0x10($sp)
/* 5B14CC 8021801C 8E30000C */ lw $s0, 0xc($s1)
/* 5B14D0 80218020 8E050000 */ lw $a1, ($s0)
/* 5B14D4 80218024 0C0B1EAF */ jal get_variable
/* 5B14D8 80218028 26100004 */ addiu $s0, $s0, 4
/* 5B14DC 8021802C 8E050000 */ lw $a1, ($s0)
/* 5B14E0 80218030 26100004 */ addiu $s0, $s0, 4
/* 5B14E4 80218034 0220202D */ daddu $a0, $s1, $zero
/* 5B14E8 80218038 0C0B1EAF */ jal get_variable
/* 5B14EC 8021803C 0040982D */ daddu $s3, $v0, $zero
/* 5B14F0 80218040 8E050000 */ lw $a1, ($s0)
/* 5B14F4 80218044 26100004 */ addiu $s0, $s0, 4
/* 5B14F8 80218048 0220202D */ daddu $a0, $s1, $zero
/* 5B14FC 8021804C 0C0B1EAF */ jal get_variable
/* 5B1500 80218050 0040902D */ daddu $s2, $v0, $zero
/* 5B1504 80218054 0220202D */ daddu $a0, $s1, $zero
/* 5B1508 80218058 8E050000 */ lw $a1, ($s0)
/* 5B150C 8021805C 0C0B1EAF */ jal get_variable
/* 5B1510 80218060 0040802D */ daddu $s0, $v0, $zero
/* 5B1514 80218064 8E240148 */ lw $a0, 0x148($s1)
/* 5B1518 80218068 0C09A75B */ jal get_actor
/* 5B151C 8021806C 0040882D */ daddu $s1, $v0, $zero
/* 5B1520 80218070 0040182D */ daddu $v1, $v0, $zero
/* 5B1524 80218074 8C620008 */ lw $v0, 8($v1)
/* 5B1528 80218078 90420024 */ lbu $v0, 0x24($v0)
/* 5B152C 8021807C 8C640008 */ lw $a0, 8($v1)
/* 5B1530 80218080 02629823 */ subu $s3, $s3, $v0
/* 5B1534 80218084 A0730194 */ sb $s3, 0x194($v1)
/* 5B1538 80218088 90820025 */ lbu $v0, 0x25($a0)
/* 5B153C 8021808C 02429023 */ subu $s2, $s2, $v0
/* 5B1540 80218090 A0720195 */ sb $s2, 0x195($v1)
/* 5B1544 80218094 90820026 */ lbu $v0, 0x26($a0)
/* 5B1548 80218098 02028023 */ subu $s0, $s0, $v0
/* 5B154C 8021809C A0700196 */ sb $s0, 0x196($v1)
/* 5B1550 802180A0 90840027 */ lbu $a0, 0x27($a0)
/* 5B1554 802180A4 02248823 */ subu $s1, $s1, $a0
/* 5B1558 802180A8 A0710197 */ sb $s1, 0x197($v1)
/* 5B155C 802180AC 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B1560 802180B0 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B1564 802180B4 8FB20018 */ lw $s2, 0x18($sp)
/* 5B1568 802180B8 8FB10014 */ lw $s1, 0x14($sp)
/* 5B156C 802180BC 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1570 802180C0 24020002 */ addiu $v0, $zero, 2
/* 5B1574 802180C4 03E00008 */ jr $ra
/* 5B1578 802180C8 27BD0028 */ addiu $sp, $sp, 0x28