mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-28 07:08:12 -04:00
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// Generated by dtk
|
||||
// Translation Unit: f_pc_searcher.cpp
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_searcher.h"
|
||||
|
||||
/* 80040050-80040068 .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)
|
||||
return i_proc;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* 80040068-80040080 .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)
|
||||
return i_proc;
|
||||
return NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user