papermario/asm/nonmatchings/code_2e230_len_2190/func_800535C0.s
2020-08-12 22:37:16 -04:00

46 lines
2.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800535C0
/* 02E9C0 800535C0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 02E9C4 800535C4 AFB10014 */ sw $s1, 0x14($sp)
/* 02E9C8 800535C8 3C11800A */ lui $s1, 0x800a
/* 02E9CC 800535CC 8E31A5C0 */ lw $s1, -0x5a40($s1)
/* 02E9D0 800535D0 AFB00010 */ sw $s0, 0x10($sp)
/* 02E9D4 800535D4 3C10800A */ lui $s0, 0x800a
/* 02E9D8 800535D8 8E10A664 */ lw $s0, -0x599c($s0)
/* 02E9DC 800535DC AFBF001C */ sw $ra, 0x1c($sp)
/* 02E9E0 800535E0 AFB20018 */ sw $s2, 0x18($sp)
/* 02E9E4 800535E4 8E22009C */ lw $v0, 0x9c($s1)
/* 02E9E8 800535E8 3C12800A */ lui $s2, 0x800a
/* 02E9EC 800535EC 8E52A640 */ lw $s2, -0x59c0($s2)
/* 02E9F0 800535F0 10400003 */ beqz $v0, .L80053600
/* 02E9F4 800535F4 00000000 */ nop
/* 02E9F8 800535F8 0C015843 */ jal func_8005610C
/* 02E9FC 800535FC 00000000 */ nop
.L80053600:
/* 02EA00 80053600 8E2200A4 */ lw $v0, 0xa4($s1)
/* 02EA04 80053604 3C01800A */ lui $at, 0x800a
/* 02EA08 80053608 AC22A5E8 */ sw $v0, -0x5a18($at)
/* 02EA0C 8005360C 10400003 */ beqz $v0, .L8005361C
/* 02EA10 80053610 00000000 */ nop
/* 02EA14 80053614 0040F809 */ jalr $v0
/* 02EA18 80053618 00000000 */ nop
.L8005361C:
/* 02EA1C 8005361C 0C013544 */ jal func_8004D510
/* 02EA20 80053620 0200202D */ daddu $a0, $s0, $zero
/* 02EA24 80053624 3C04800A */ lui $a0, 0x800a
/* 02EA28 80053628 8C84A5FC */ lw $a0, -0x5a04($a0)
/* 02EA2C 8005362C 0C013544 */ jal func_8004D510
/* 02EA30 80053630 00000000 */ nop
/* 02EA34 80053634 0C012DD2 */ jal func_8004B748
/* 02EA38 80053638 0240202D */ daddu $a0, $s2, $zero
/* 02EA3C 8005363C 8FBF001C */ lw $ra, 0x1c($sp)
/* 02EA40 80053640 8FB20018 */ lw $s2, 0x18($sp)
/* 02EA44 80053644 8FB10014 */ lw $s1, 0x14($sp)
/* 02EA48 80053648 8FB00010 */ lw $s0, 0x10($sp)
/* 02EA4C 8005364C 03E00008 */ jr $ra
/* 02EA50 80053650 27BD0020 */ addiu $sp, $sp, 0x20