mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
39 lines
1.6 KiB
ArmAsm
39 lines
1.6 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel func_8024D5AC
|
||
|
/* 1408EC 8024D5AC A2020001 */ sb $v0, 1($s0)
|
||
|
/* 1408F0 8024D5B0 0809358A */ j func_8024D628
|
||
|
/* 1408F4 8024D5B4 A2000002 */ sb $zero, 2($s0)
|
||
|
|
||
|
.L8024D5B8:
|
||
|
/* 1408F8 8024D5B8 92020002 */ lbu $v0, 2($s0)
|
||
|
/* 1408FC 8024D5BC 2442FFFF */ addiu $v0, $v0, -1
|
||
|
/* 140900 8024D5C0 A2020002 */ sb $v0, 2($s0)
|
||
|
/* 140904 8024D5C4 00021600 */ sll $v0, $v0, 0x18
|
||
|
/* 140908 8024D5C8 00022603 */ sra $a0, $v0, 0x18
|
||
|
/* 14090C 8024D5CC 04820016 */ bltzl $a0, .L8024D628
|
||
|
/* 140910 8024D5D0 A2000002 */ sb $zero, 2($s0)
|
||
|
/* 140914 8024D5D4 82020004 */ lb $v0, 4($s0)
|
||
|
/* 140918 8024D5D8 82030005 */ lb $v1, 5($s0)
|
||
|
/* 14091C 8024D5DC 00430018 */ mult $v0, $v1
|
||
|
/* 140920 8024D5E0 00002812 */ mflo $a1
|
||
|
/* 140924 8024D5E4 82020006 */ lb $v0, 6($s0)
|
||
|
/* 140928 8024D5E8 00000000 */ nop
|
||
|
/* 14092C 8024D5EC 00A20018 */ mult $a1, $v0
|
||
|
/* 140930 8024D5F0 00001012 */ mflo $v0
|
||
|
/* 140934 8024D5F4 00000000 */ nop
|
||
|
/* 140938 8024D5F8 00000000 */ nop
|
||
|
/* 14093C 8024D5FC 00640018 */ mult $v1, $a0
|
||
|
/* 140940 8024D600 82040001 */ lb $a0, 1($s0)
|
||
|
/* 140944 8024D604 00001812 */ mflo $v1
|
||
|
/* 140948 8024D608 00431021 */ addu $v0, $v0, $v1
|
||
|
/* 14094C 8024D60C 00441021 */ addu $v0, $v0, $a0
|
||
|
/* 140950 8024D610 8E030008 */ lw $v1, 8($s0)
|
||
|
/* 140954 8024D614 92040003 */ lbu $a0, 3($s0)
|
||
|
/* 140958 8024D618 00621821 */ addu $v1, $v1, $v0
|
||
|
/* 14095C 8024D61C 90620000 */ lbu $v0, ($v1)
|
||
|
/* 140960 8024D620 1082FFE5 */ beq $a0, $v0, .L8024D5B8
|
||
|
/* 140964 8024D624 00000000 */ nop
|