mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
69 lines
3.2 KiB
ArmAsm
69 lines
3.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80056DCC
|
|
/* 0321CC 80056DCC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 0321D0 80056DD0 00A0302D */ daddu $a2, $a1, $zero
|
|
/* 0321D4 80056DD4 308400FF */ andi $a0, $a0, 0xff
|
|
/* 0321D8 80056DD8 00041040 */ sll $v0, $a0, 1
|
|
/* 0321DC 80056DDC 00441021 */ addu $v0, $v0, $a0
|
|
/* 0321E0 80056DE0 3C038008 */ lui $v1, 0x8008
|
|
/* 0321E4 80056DE4 8C638E54 */ lw $v1, -0x71ac($v1)
|
|
/* 0321E8 80056DE8 000210C0 */ sll $v0, $v0, 3
|
|
/* 0321EC 80056DEC AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 0321F0 80056DF0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 0321F4 80056DF4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 0321F8 80056DF8 8C700020 */ lw $s0, 0x20($v1)
|
|
/* 0321FC 80056DFC 30D100FF */ andi $s1, $a2, 0xff
|
|
/* 032200 80056E00 02028021 */ addu $s0, $s0, $v0
|
|
/* 032204 80056E04 8E040004 */ lw $a0, 4($s0)
|
|
/* 032208 80056E08 0220282D */ daddu $a1, $s1, $zero
|
|
/* 03220C 80056E0C 0C016413 */ jal func_8005904C
|
|
/* 032210 80056E10 A206000C */ sb $a2, 0xc($s0)
|
|
/* 032214 80056E14 8E040008 */ lw $a0, 8($s0)
|
|
/* 032218 80056E18 0C016413 */ jal func_8005904C
|
|
/* 03221C 80056E1C 0220282D */ daddu $a1, $s1, $zero
|
|
/* 032220 80056E20 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 032224 80056E24 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 032228 80056E28 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 03222C 80056E2C 03E00008 */ jr $ra
|
|
/* 032230 80056E30 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 032234 80056E34 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 032238 80056E38 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 03223C 80056E3C 00E0982D */ daddu $s3, $a3, $zero
|
|
/* 032240 80056E40 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 032244 80056E44 00059400 */ sll $s2, $a1, 0x10
|
|
/* 032248 80056E48 00129403 */ sra $s2, $s2, 0x10
|
|
/* 03224C 80056E4C 0240282D */ daddu $a1, $s2, $zero
|
|
/* 032250 80056E50 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 032254 80056E54 00068C00 */ sll $s1, $a2, 0x10
|
|
/* 032258 80056E58 00118C03 */ sra $s1, $s1, 0x10
|
|
/* 03225C 80056E5C 308400FF */ andi $a0, $a0, 0xff
|
|
/* 032260 80056E60 00041040 */ sll $v0, $a0, 1
|
|
/* 032264 80056E64 3C038008 */ lui $v1, 0x8008
|
|
/* 032268 80056E68 8C638E54 */ lw $v1, -0x71ac($v1)
|
|
/* 03226C 80056E6C 00441021 */ addu $v0, $v0, $a0
|
|
/* 032270 80056E70 AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 032274 80056E74 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 032278 80056E78 8C700020 */ lw $s0, 0x20($v1)
|
|
/* 03227C 80056E7C 000210C0 */ sll $v0, $v0, 3
|
|
/* 032280 80056E80 02028021 */ addu $s0, $s0, $v0
|
|
/* 032284 80056E84 8E040004 */ lw $a0, 4($s0)
|
|
/* 032288 80056E88 0C016628 */ jal func_800598A0
|
|
/* 03228C 80056E8C 0220302D */ daddu $a2, $s1, $zero
|
|
/* 032290 80056E90 0240282D */ daddu $a1, $s2, $zero
|
|
/* 032294 80056E94 0220302D */ daddu $a2, $s1, $zero
|
|
/* 032298 80056E98 8E040008 */ lw $a0, 8($s0)
|
|
/* 03229C 80056E9C 0C016628 */ jal func_800598A0
|
|
/* 0322A0 80056EA0 0260382D */ daddu $a3, $s3, $zero
|
|
/* 0322A4 80056EA4 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 0322A8 80056EA8 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 0322AC 80056EAC 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 0322B0 80056EB0 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 0322B4 80056EB4 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 0322B8 80056EB8 03E00008 */ jr $ra
|
|
/* 0322BC 80056EBC 27BD0028 */ addiu $sp, $sp, 0x28
|
|
|