mirror of https://github.com/zeldaret/tp.git
fopOvlpReq_phase_IsCreated OK
This commit is contained in:
parent
43ee8581f3
commit
9ed5e03d25
|
|
@ -1,6 +1,7 @@
|
|||
/* f_op_overlap_req.cpp autogenerated by split.py v0.4 at 2021-02-15 20:24:53.163616 */
|
||||
|
||||
#include "f/f_op/f_op_overlap_req.h"
|
||||
#include "f/f_pc/f_pc_executor.h"
|
||||
#include "f/f_pc/f_pc_manager.h"
|
||||
#include "global.h"
|
||||
|
||||
|
|
@ -23,7 +24,6 @@ void fopOvlpReq_SetPeektime__FP21overlap_request_classUs(void);
|
|||
void fopOvlpReq_Is_PeektimeLimit__FP21overlap_request_class(void);
|
||||
void fopOvlpReq_SetPeektime(void);
|
||||
void fopOvlpReq_phase_Done(void);
|
||||
void fpcEx_SearchByID(void);
|
||||
void fpcSCtRq_Request(void);
|
||||
void func_8001E748(void);
|
||||
void func_8001E794(void);
|
||||
|
|
@ -93,9 +93,16 @@ int fopOvlpReq_phase_IsComplete(overlap_request_class* pOvlpReq) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
asm void fopOvlpReq_phase_IsCreated(overlap_request_class*) {
|
||||
nofralloc
|
||||
#include "f/f_op/f_op_overlap_req/asm/func_8001E8A4.s"
|
||||
int fopOvlpReq_phase_IsCreated(overlap_request_class* pOvlpReq) {
|
||||
if (fpcM_IsCreating(pOvlpReq->field_0x14) == 0) {
|
||||
base_process_class* pBaseProc = fpcEx_SearchByID(pOvlpReq->field_0x14);
|
||||
if (!pBaseProc) {
|
||||
return 5;
|
||||
}
|
||||
pOvlpReq->field_0x20 = (u8*)pBaseProc;
|
||||
return 2;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
asm void fopOvlpReq_phase_Create(overlap_request_class*) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue