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

48 lines
2.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80244424
/* 137764 80244424 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 137768 80244428 AFB50044 */ sw $s5, 0x44($sp)
/* 13776C 8024442C 0080A82D */ daddu $s5, $a0, $zero
/* 137770 80244430 AFB60048 */ sw $s6, 0x48($sp)
/* 137774 80244434 00A0B02D */ daddu $s6, $a1, $zero
/* 137778 80244438 0000202D */ daddu $a0, $zero, $zero
/* 13777C 8024443C 3C028027 */ lui $v0, 0x8027
/* 137780 80244440 804200D4 */ lb $v0, 0xd4($v0)
/* 137784 80244444 3C05F840 */ lui $a1, 0xf840
/* 137788 80244448 AFB3003C */ sw $s3, 0x3c($sp)
/* 13778C 8024444C 3C138027 */ lui $s3, 0x8027
/* 137790 80244450 8E7300C8 */ lw $s3, 0xc8($s3)
/* 137794 80244454 AFBF004C */ sw $ra, 0x4c($sp)
/* 137798 80244458 AFB40040 */ sw $s4, 0x40($sp)
/* 13779C 8024445C AFB20038 */ sw $s2, 0x38($sp)
/* 1377A0 80244460 AFB10034 */ sw $s1, 0x34($sp)
/* 1377A4 80244464 AFB00030 */ sw $s0, 0x30($sp)
/* 1377A8 80244468 00021080 */ sll $v0, $v0, 2
/* 1377AC 8024446C 3C148025 */ lui $s4, 0x8025
/* 1377B0 80244470 0282A021 */ addu $s4, $s4, $v0
/* 1377B4 80244474 8E94EF80 */ lw $s4, -0x1080($s4)
/* 1377B8 80244478 0C0B1EAF */ jal get_variable
/* 1377BC 8024447C 34A55BDE */ ori $a1, $a1, 0x5bde
/* 1377C0 80244480 1040000F */ beqz $v0, .L802444C0
/* 1377C4 80244484 0000802D */ daddu $s0, $zero, $zero
/* 1377C8 80244488 3C128027 */ lui $s2, 0x8027
/* 1377CC 8024448C 2652011C */ addiu $s2, $s2, 0x11c
/* 1377D0 80244490 3C118025 */ lui $s1, 0x8025
/* 1377D4 80244494 2631F0CC */ addiu $s1, $s1, -0xf34
.L80244498:
/* 1377D8 80244498 8E440000 */ lw $a0, ($s2)
/* 1377DC 8024449C 26520004 */ addiu $s2, $s2, 4
/* 1377E0 802444A0 8E250004 */ lw $a1, 4($s1)
/* 1377E4 802444A4 26310010 */ addiu $s1, $s1, 0x10
/* 1377E8 802444A8 3C063F80 */ lui $a2, 0x3f80
/* 1377EC 802444AC 0C0B78AB */ jal func_802DE2AC
/* 1377F0 802444B0 26100001 */ addiu $s0, $s0, 1
/* 1377F4 802444B4 2A020003 */ slti $v0, $s0, 3
/* 1377F8 802444B8 1440FFF7 */ bnez $v0, .L80244498
/* 1377FC 802444BC 00000000 */ nop
.L802444C0:
/* 137800 802444C0 0000202D */ daddu $a0, $zero, $zero