papermario/asm/nonmatchings/os/code_3d300_len_30/coss.s
2020-08-12 21:56:23 -04:00

22 lines
726 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.include "include/macro.inc"
glabel coss
/* 03D300 80061F00 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 03D304 80061F04 AFBF0010 */ sw $ra, 0x10($sp)
/* 03D308 80061F08 24844000 */ addiu $a0, $a0, 0x4000
/* 03D30C 80061F0C 0C01917C */ jal sins
/* 03D310 80061F10 3084FFFF */ andi $a0, $a0, 0xffff
/* 03D314 80061F14 00021400 */ sll $v0, $v0, 0x10
/* 03D318 80061F18 8FBF0010 */ lw $ra, 0x10($sp)
/* 03D31C 80061F1C 00021403 */ sra $v0, $v0, 0x10
/* 03D320 80061F20 03E00008 */ jr $ra
/* 03D324 80061F24 27BD0018 */ addiu $sp, $sp, 0x18
/* 03D328 80061F28 00000000 */ nop
/* 03D32C 80061F2C 00000000 */ nop