papermario/asm/nonmatchings/os/code_45df0_len_970/send_mesg.s
2020-08-12 22:37:16 -04:00

24 lines
1001 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel send_mesg
/* 04637C 8006AF7C 03E09021 */ addu $s2, $ra, $zero
/* 046380 8006AF80 3C0A800E */ lui $t2, 0x800e
/* 046384 8006AF84 254A9F80 */ addiu $t2, $t2, -0x6080
/* 046388 8006AF88 01445021 */ addu $t2, $t2, $a0
/* 04638C 8006AF8C 8D490000 */ lw $t1, ($t2)
/* 046390 8006AF90 11200027 */ beqz $t1, .L8006B030
/* 046394 8006AF94 00000000 */ nop
/* 046398 8006AF98 8D2B0008 */ lw $t3, 8($t1)
/* 04639C 8006AF9C 8D2C0010 */ lw $t4, 0x10($t1)
/* 0463A0 8006AFA0 016C082A */ slt $at, $t3, $t4
/* 0463A4 8006AFA4 10200022 */ beqz $at, .L8006B030
/* 0463A8 8006AFA8 00000000 */ nop
/* 0463AC 8006AFAC 8D2D000C */ lw $t5, 0xc($t1)
/* 0463B0 8006AFB0 01AB6821 */ addu $t5, $t5, $t3
/* 0463B4 8006AFB4 01AC001A */ div $zero, $t5, $t4
/* 0463B8 8006AFB8 15800002 */ bnez $t4, .L8006AFC4
/* 0463BC 8006AFBC 00000000 */ nop
/* 0463C0 8006AFC0 0007000D */ break 7