mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
37 lines
1.7 KiB
ArmAsm
37 lines
1.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_802441D8
|
|
/* 137518 802441D8 2652FFFF */ addiu $s2, $s2, -1
|
|
/* 13751C 802441DC 2631FFFF */ addiu $s1, $s1, -1
|
|
/* 137520 802441E0 1E20FFF0 */ bgtz $s1, .L802441A4
|
|
/* 137524 802441E4 2610FFFC */ addiu $s0, $s0, -4
|
|
/* 137528 802441E8 3C028025 */ lui $v0, 0x8025
|
|
/* 13752C 802441EC 8C42EF80 */ lw $v0, -0x1080($v0)
|
|
/* 137530 802441F0 0000202D */ daddu $a0, $zero, $zero
|
|
/* 137534 802441F4 80420001 */ lb $v0, 1($v0)
|
|
/* 137538 802441F8 3C05F840 */ lui $a1, 0xf840
|
|
/* 13753C 802441FC 00021140 */ sll $v0, $v0, 5
|
|
/* 137540 80244200 3C018016 */ lui $at, 0x8016
|
|
/* 137544 80244204 00220821 */ addu $at, $at, $v0
|
|
/* 137548 80244208 8422A07C */ lh $v0, -0x5f84($at)
|
|
/* 13754C 8024420C 24420006 */ addiu $v0, $v0, 6
|
|
/* 137550 80244210 3C018016 */ lui $at, 0x8016
|
|
/* 137554 80244214 A422A2BC */ sh $v0, -0x5d44($at)
|
|
/* 137558 80244218 0C0B1EAF */ jal get_variable
|
|
/* 13755C 8024421C 34A55BDE */ ori $a1, $a1, 0x5bde
|
|
/* 137560 80244220 10400013 */ beqz $v0, .L80244270
|
|
/* 137564 80244224 0000882D */ daddu $s1, $zero, $zero
|
|
/* 137568 80244228 3C128027 */ lui $s2, 0x8027
|
|
/* 13756C 8024422C 2652011C */ addiu $s2, $s2, 0x11c
|
|
/* 137570 80244230 3C108025 */ lui $s0, 0x8025
|
|
/* 137574 80244234 2610F0CC */ addiu $s0, $s0, -0xf34
|
|
.L80244238:
|
|
/* 137578 80244238 0200282D */ daddu $a1, $s0, $zero
|
|
/* 13757C 8024423C 8E040000 */ lw $a0, ($s0)
|
|
/* 137580 80244240 26100010 */ addiu $s0, $s0, 0x10
|
|
/* 137584 80244244 0C0B783B */ jal func_802DE0EC
|
|
/* 137588 80244248 26310001 */ addiu $s1, $s1, 1
|
|
/* 13758C 8024424C AE420000 */ sw $v0, ($s2)
|