mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-19 22:33:04 -04:00
d3e9175bfb
* d_a_e_pz equivalent * rename var * match f_pc closer to debug * hopefully fix decompctx * sdk done * remove unneeded file
23 lines
599 B
C++
23 lines
599 B
C++
/**
|
|
* f_pc_searcher.cpp
|
|
* Framework - Process Searcher
|
|
*/
|
|
|
|
#include "f_pc/f_pc_searcher.h"
|
|
|
|
/* 80023578-80023590 0018+00 s=0 e=3 z=77 None .text fpcSch_JudgeForPName__FPvPv */
|
|
void* fpcSch_JudgeForPName(void* i_proc, void* i_data) {
|
|
if (((base_process_class*)i_proc)->name == *(s16*)i_data)
|
|
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) {
|
|
if (((base_process_class*)i_proc)->id == *(fpc_ProcID*)i_data)
|
|
return i_proc;
|
|
|
|
return NULL;
|
|
}
|