mirror of
https://github.com/pmret/papermario.git
synced 2024-11-12 22:12:38 +01:00
58 lines
2.6 KiB
ArmAsm
58 lines
2.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80245200
|
|
/* 138540 80245200 0C0513AC */ jal func_80144EB0
|
|
/* 138544 80245204 00000000 */ nop
|
|
/* 138548 80245208 26450017 */ addiu $a1, $s2, 0x17
|
|
/* 13854C 8024520C 3C108027 */ lui $s0, 0x8027
|
|
/* 138550 80245210 26100130 */ addiu $s0, $s0, 0x130
|
|
/* 138554 80245214 8E040014 */ lw $a0, 0x14($s0)
|
|
/* 138558 80245218 0C051261 */ jal set_icon_render_pos
|
|
/* 13855C 8024521C 26660007 */ addiu $a2, $s3, 7
|
|
/* 138560 80245220 8E040014 */ lw $a0, 0x14($s0)
|
|
/* 138564 80245224 0C0511F8 */ jal func_801447E0
|
|
/* 138568 80245228 00000000 */ nop
|
|
/* 13856C 8024522C 3C028027 */ lui $v0, 0x8027
|
|
/* 138570 80245230 804200D4 */ lb $v0, 0xd4($v0)
|
|
/* 138574 80245234 1440000C */ bnez $v0, .L80245268
|
|
/* 138578 80245238 00000000 */ nop
|
|
/* 13857C 8024523C 82830001 */ lb $v1, 1($s4)
|
|
/* 138580 80245240 3C028025 */ lui $v0, 0x8025
|
|
/* 138584 80245244 2442F1D8 */ addiu $v0, $v0, -0xe28
|
|
/* 138588 80245248 00622021 */ addu $a0, $v1, $v0
|
|
/* 13858C 8024524C 90830000 */ lbu $v1, ($a0)
|
|
/* 138590 80245250 2402001E */ addiu $v0, $zero, 0x1e
|
|
/* 138594 80245254 14620004 */ bne $v1, $v0, .L80245268
|
|
/* 138598 80245258 0060202D */ daddu $a0, $v1, $zero
|
|
/* 13859C 8024525C 0240282D */ daddu $a1, $s2, $zero
|
|
/* 1385A0 80245260 0C090B41 */ jal func_80242D04
|
|
/* 1385A4 80245264 26660006 */ addiu $a2, $s3, 6
|
|
.L80245268:
|
|
/* 1385A8 80245268 8FBF0024 */ lw $ra, 0x24($sp)
|
|
/* 1385AC 8024526C 8FB40020 */ lw $s4, 0x20($sp)
|
|
/* 1385B0 80245270 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 1385B4 80245274 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 1385B8 80245278 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 1385BC 8024527C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 1385C0 80245280 03E00008 */ jr $ra
|
|
/* 1385C4 80245284 27BD0028 */ addiu $sp, $sp, 0x28
|
|
|
|
/* 1385C8 80245288 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 1385CC 8024528C AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 1385D0 80245290 0080982D */ daddu $s3, $a0, $zero
|
|
/* 1385D4 80245294 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 1385D8 80245298 0000802D */ daddu $s0, $zero, $zero
|
|
/* 1385DC 8024529C AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 1385E0 802452A0 3C128027 */ lui $s2, 0x8027
|
|
/* 1385E4 802452A4 26520130 */ addiu $s2, $s2, 0x130
|
|
/* 1385E8 802452A8 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 1385EC 802452AC 3C118025 */ lui $s1, 0x8025
|
|
/* 1385F0 802452B0 2631F1B0 */ addiu $s1, $s1, -0xe50
|
|
/* 1385F4 802452B4 AFBF0020 */ sw $ra, 0x20($sp)
|
|
.L802452B8:
|
|
/* 1385F8 802452B8 8E240000 */ lw $a0, ($s1)
|
|
/* 1385FC 802452BC 26310004 */ addiu $s1, $s1, 4
|
|
/* 138600 802452C0 0C050529 */ jal create_icon
|