papermario/asm/nonmatchings/os/code_423d0_len_50/osViSetYScale.s
Ethan Roseman 51c076bd8e symbols!
2020-09-27 21:13:56 -04:00

25 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osViSetYScale
/* 423D0 80066FD0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 423D4 80066FD4 F7B40018 */ sdc1 $f20, 0x18($sp)
/* 423D8 80066FD8 AFBF0010 */ sw $ra, 0x10($sp)
/* 423DC 80066FDC 0C01ACD8 */ jal __osDisableInt
/* 423E0 80066FE0 46006506 */ mov.s $f20, $f12
/* 423E4 80066FE4 3C048009 */ lui $a0, %hi(D_800959D4)
/* 423E8 80066FE8 8C8459D4 */ lw $a0, %lo(D_800959D4)($a0)
/* 423EC 80066FEC 94830000 */ lhu $v1, ($a0)
/* 423F0 80066FF0 E4940024 */ swc1 $f20, 0x24($a0)
/* 423F4 80066FF4 34630004 */ ori $v1, $v1, 4
/* 423F8 80066FF8 A4830000 */ sh $v1, ($a0)
/* 423FC 80066FFC 0C01ACF4 */ jal __osRestoreInt
/* 42400 80067000 00402021 */ addu $a0, $v0, $zero
/* 42404 80067004 8FBF0010 */ lw $ra, 0x10($sp)
/* 42408 80067008 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 4240C 8006700C 03E00008 */ jr $ra
/* 42410 80067010 27BD0020 */ addiu $sp, $sp, 0x20
/* 42414 80067014 00000000 */ nop
/* 42418 80067018 00000000 */ nop
/* 4241C 8006701C 00000000 */ nop