blob: 0efeaf0a9fe6e5f5af2379a860f9ad95b1454742 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/**
* f_pc_searcher.cpp
* Framework - Process Searcher
*/
#include "f_pc/f_pc_searcher.h"
void* fpcSch_JudgeForPName(void* i_proc, void* i_data) {
if (((base_process_class*)i_proc)->name == *(s16*)i_data)
return i_proc;
return NULL;
}
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;
}
|