mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-20 22:51:16 -04:00
some cleanup of f_pc/f_op files (#2254)
* cleanup f_pc files * cleanup f_op files * fix a couple f_op_actor_mng functions * minor JSystem work
This commit is contained in:
@@ -7,18 +7,18 @@
|
||||
|
||||
/* 80023578-80023590 0018+00 s=0 e=3 z=77 None .text fpcSch_JudgeForPName__FPvPv */
|
||||
void* fpcSch_JudgeForPName(void* i_proc, void* i_data) {
|
||||
s16 proc_name = *(s16*)i_data;
|
||||
|
||||
if (((base_process_class*)i_proc)->mProcName == proc_name)
|
||||
s16 name = *(s16*)i_data;
|
||||
if (((base_process_class*)i_proc)->name == name)
|
||||
return i_proc;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* 80023590-800235A8 0018+00 s=0 e=44 z=270 None .text fpcSch_JudgeByID__FPvPv */
|
||||
void* fpcSch_JudgeByID(void* i_proc, void* i_data) {
|
||||
s32 process_id = *(s32*)i_data;
|
||||
|
||||
if (((base_process_class*)i_proc)->mBsPcId == process_id)
|
||||
fpc_ProcID process_id = *(fpc_ProcID*)i_data;
|
||||
if (((base_process_class*)i_proc)->id == process_id)
|
||||
return i_proc;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user