summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_line_iter.cpp
blob: 739471a4a73cdede9c2ec390fe83ce7abe3d2b21 (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
29
30
31
32
33
34
35
36
37
38
39
40
//
// Generated By: dol2asm
// Translation Unit: f_pc/f_pc_line_iter
//

#include "f_pc/f_pc_line_iter.h"
#include "SSystem/SComponent/c_tag_iter.h"
#include "SSystem/SComponent/c_tree_iter.h"
#include "dol2asm.h"
#include "dolphin/types.h"
#include "f_pc/f_pc_base.h"
#include "f_pc/f_pc_create_tag.h"
#include "f_pc/f_pc_layer.h"
#include "f_pc/f_pc_line.h"

//
// Declarations:
//

/* 800236C0-80023728 0068+00 s=1 e=0 z=0  None .text
 * fpcLnIt_MethodCall__FP16create_tag_classP13method_filter     */
static s32 fpcLnIt_MethodCall(create_tag_class* pTag, method_filter* pFilter) {
    layer_class* pLayer = static_cast<base_process_class*>(pTag->mpTagData)->mLyTg.mpLayer;
    layer_class* pCurLayer = fpcLy_CurrentLayer();
    s32 ret;

    fpcLy_SetCurrentLayer(pLayer);
    ret = cTgIt_MethodCall(pTag, pFilter);
    fpcLy_SetCurrentLayer(pCurLayer);

    return ret;
}

/* 80023728-80023764 003C+00 s=0 e=1 z=0  None .text      fpcLnIt_Queue__FPFPvPv_i */
void fpcLnIt_Queue(fpcLnIt_QueueFunc pFunc) {
    method_filter filter;
    filter.mpMethodFunc = (cNdIt_MethodFunc)pFunc;
    filter.mpUserData = NULL;
    cTrIt_Method(&g_fpcLn_Queue, (cNdIt_MethodFunc)fpcLnIt_MethodCall, &filter);
}