mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-03 00:33:55 +03:00
decompile func_8002CD80
This commit is contained in:
parent
58fbdd5d8f
commit
2007faed8c
@ -1,4 +1,11 @@
|
||||
#include "common.h"
|
||||
#include "global.h"
|
||||
|
||||
s32 func_8002B238(s32);
|
||||
void func_8002C700(s32, s32);
|
||||
void func_8002C818(s32);
|
||||
void func_8002C8C0(s32);
|
||||
s32 func_8002E340(void);
|
||||
void func_8002E3A8(void);
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/libultra/2D300/func_8002C700.s")
|
||||
|
||||
@ -16,7 +23,20 @@
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/libultra/2D300/func_8002CCCC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/libultra/2D300/func_8002CD80.s")
|
||||
s32 func_8002CD80(s32 arg0) {
|
||||
s32 ret;
|
||||
|
||||
if (func_8002E340() != 0) {
|
||||
return 0;
|
||||
} else {
|
||||
func_8002C818(0);
|
||||
func_8002C700(0x2B, arg0);
|
||||
func_8002E3A8();
|
||||
ret = func_8002B238(0x04000000);
|
||||
func_8002C8C0(0);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/libultra/2D300/func_8002CDE4.s")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user