mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
23 lines
1.1 KiB
ArmAsm
23 lines
1.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_802397C8_701548
|
|
/* 701548 802397C8 3C053473 */ lui $a1, 0x3473
|
|
/* 70154C 802397CC 8C830084 */ lw $v1, 0x84($a0)
|
|
/* 701550 802397D0 34A524C7 */ ori $a1, $a1, 0x24c7
|
|
/* 701554 802397D4 00031040 */ sll $v0, $v1, 1
|
|
/* 701558 802397D8 00431021 */ addu $v0, $v0, $v1
|
|
/* 70155C 802397DC 000210C0 */ sll $v0, $v0, 3
|
|
/* 701560 802397E0 00431021 */ addu $v0, $v0, $v1
|
|
/* 701564 802397E4 00021080 */ sll $v0, $v0, 2
|
|
/* 701568 802397E8 00450018 */ mult $v0, $a1
|
|
/* 70156C 802397EC 000217C3 */ sra $v0, $v0, 0x1f
|
|
/* 701570 802397F0 00003010 */ mfhi $a2
|
|
/* 701574 802397F4 00061A43 */ sra $v1, $a2, 9
|
|
/* 701578 802397F8 00621823 */ subu $v1, $v1, $v0
|
|
/* 70157C 802397FC 24630002 */ addiu $v1, $v1, 2
|
|
/* 701580 80239800 24020002 */ addiu $v0, $zero, 2
|
|
/* 701584 80239804 03E00008 */ jr $ra
|
|
/* 701588 80239808 AC8300C0 */ sw $v1, 0xc0($a0)
|
|
/* 70158C 8023980C 00000000 */ nop
|