summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_searcher.cpp
blob: 3eef07bbf051384de4ebfa45007431a6b5424e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// Generated By: dol2asm
// Translation Unit: f_pc/f_pc_searcher
//

#include "f_pc/f_pc_searcher.h"
#include "dol2asm.h"
#include "dolphin/types.h"

//
// Declarations:
//

/* 80023578-80023590 0018+00 s=0 e=3 z=77  None .text      fpcSch_JudgeForPName__FPvPv */
void* fpcSch_JudgeForPName(void* pProc, void* pUserData) {
    s16 pname = *(s16*)pUserData;
    if (((base_process_class*)pProc)->mProcName == pname)
        return pProc;
    return NULL;
}

/* 80023590-800235A8 0018+00 s=0 e=44 z=270  None .text      fpcSch_JudgeByID__FPvPv */
void* fpcSch_JudgeByID(void* pProc, void* pUserData) {
    s32 id = *(s32*)pUserData;
    if (((base_process_class*)pProc)->mBsPcId == id)
        return pProc;
    return NULL;
}