Add fpc_ProcID type and use it for all process IDs

See https://github.com/zeldaret/tp/pull/2173
This commit is contained in:
LagoLunatic
2024-07-12 21:14:13 -04:00
parent 61d9f474a5
commit 2def735282
159 changed files with 401 additions and 382 deletions
+2 -2
View File
@@ -13,13 +13,13 @@
#include "f_pc/f_pc_layer_iter.h"
/* 8003CD0C-8003CD28 .text fpcCtRq_isCreatingByID__FP10create_tagPUi */
bool fpcCtRq_isCreatingByID(create_tag* i_createTag, uint* i_procID) {
bool fpcCtRq_isCreatingByID(create_tag* i_createTag, fpc_ProcID* i_procID) {
create_request* pReq = static_cast<create_request*>(i_createTag->base.mpTagData);
return pReq->mBsPcId == *i_procID;
}
/* 8003CD28-8003CD60 .text fpcCtRq_IsCreatingByID__FUi */
BOOL fpcCtRq_IsCreatingByID(uint i_id) {
BOOL fpcCtRq_IsCreatingByID(fpc_ProcID i_id) {
return fpcCtIt_Judge((fpcLyIt_JudgeFunc)fpcCtRq_isCreatingByID, &i_id) != NULL ? TRUE : FALSE;
}