mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-21 15:46:42 -04:00
39 lines
1.4 KiB
C
39 lines
1.4 KiB
C
#include <ultra64.h>
|
|
#include "constants.h"
|
|
#include "game/data/data_000000.h"
|
|
#include "game/data/data_0083d0.h"
|
|
#include "game/data/data_00e460.h"
|
|
#include "game/data/data_0160b0.h"
|
|
#include "game/data/data_01a3a0.h"
|
|
#include "game/data/data_020df0.h"
|
|
#include "game/data/data_02da90.h"
|
|
#include "gvars/gvars.h"
|
|
#include "types.h"
|
|
|
|
GLOBAL_ASM(
|
|
glabel func00048ef0
|
|
/* 48ef0: 27bdffd8 */ addiu $sp,$sp,-40
|
|
/* 48ef4: afbf001c */ sw $ra,0x1c($sp)
|
|
/* 48ef8: e7ac0028 */ swc1 $f12,0x28($sp)
|
|
/* 48efc: 0c01256c */ jal __osDisableInt
|
|
/* 48f00: afb00018 */ sw $s0,0x18($sp)
|
|
/* 48f04: 3c0e8006 */ lui $t6,%hi(var80060914)
|
|
/* 48f08: 8dce0914 */ lw $t6,%lo(var80060914)($t6)
|
|
/* 48f0c: c7a40028 */ lwc1 $f4,0x28($sp)
|
|
/* 48f10: 3c0f8006 */ lui $t7,%hi(var80060914)
|
|
/* 48f14: 00408025 */ or $s0,$v0,$zero
|
|
/* 48f18: e5c40024 */ swc1 $f4,0x24($t6)
|
|
/* 48f1c: 8def0914 */ lw $t7,%lo(var80060914)($t7)
|
|
/* 48f20: 02002025 */ or $a0,$s0,$zero
|
|
/* 48f24: 95f80000 */ lhu $t8,0x0($t7)
|
|
/* 48f28: 37190004 */ ori $t9,$t8,0x4
|
|
/* 48f2c: 0c012588 */ jal __osRestoreInt
|
|
/* 48f30: a5f90000 */ sh $t9,0x0($t7)
|
|
/* 48f34: 8fbf001c */ lw $ra,0x1c($sp)
|
|
/* 48f38: 8fb00018 */ lw $s0,0x18($sp)
|
|
/* 48f3c: 27bd0028 */ addiu $sp,$sp,0x28
|
|
/* 48f40: 03e00008 */ jr $ra
|
|
/* 48f44: 00000000 */ nop
|
|
/* 48f48: 00000000 */ nop
|
|
/* 48f4c: 00000000 */ nop
|
|
); |