mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-08 12:16:59 -04:00
37 lines
1.3 KiB
C
37 lines
1.3 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 "lib/lib_034f0.h"
|
|
#include "lib/lib_491b0.h"
|
|
#include "types.h"
|
|
|
|
GLOBAL_ASM(
|
|
glabel func00051c10
|
|
/* 51c10: 27bdffd8 */ addiu $sp,$sp,-40
|
|
/* 51c14: afbf001c */ sw $ra,0x1c($sp)
|
|
/* 51c18: 0c01256c */ jal __osDisableInt
|
|
/* 51c1c: afb00018 */ sw $s0,0x18($sp)
|
|
/* 51c20: 3c0f8006 */ lui $t7,%hi(var80060940)
|
|
/* 51c24: 8def0940 */ lw $t7,%lo(var80060940)($t7)
|
|
/* 51c28: 240e0002 */ addiu $t6,$zero,0x2
|
|
/* 51c2c: 3c048006 */ lui $a0,%hi(var80060938)
|
|
/* 51c30: 00408025 */ or $s0,$v0,$zero
|
|
/* 51c34: 24840938 */ addiu $a0,$a0,%lo(var80060938)
|
|
/* 51c38: 0c000ee8 */ jal __osEnqueueAndYield
|
|
/* 51c3c: a5ee0010 */ sh $t6,0x10($t7)
|
|
/* 51c40: 0c012588 */ jal __osRestoreInt
|
|
/* 51c44: 02002025 */ or $a0,$s0,$zero
|
|
/* 51c48: 8fbf001c */ lw $ra,0x1c($sp)
|
|
/* 51c4c: 8fb00018 */ lw $s0,0x18($sp)
|
|
/* 51c50: 27bd0028 */ addiu $sp,$sp,0x28
|
|
/* 51c54: 03e00008 */ jr $ra
|
|
/* 51c58: 00000000 */ nop
|
|
/* 51c5c: 00000000 */ nop
|
|
); |