summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_leaf.cpp
blob: 1864def214a3410dd3438111ffb2dbb94448634f (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
//
// Generated By: dol2asm
// Translation Unit: f_pc/f_pc_leaf
//

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

//
// Types:
//

struct process_method_class {};

struct leafdraw_method_class {};

struct leafdraw_class {};

struct draw_priority_class {};

//
// Forward References:
//

void fpcLf_GetPriority(leafdraw_class const*);
void fpcLf_DrawMethod(leafdraw_method_class*, void*);
static void fpcLf_Draw(leafdraw_class*);
static void fpcLf_Execute(leafdraw_class*);
static void fpcLf_IsDelete(leafdraw_class*);
static void fpcLf_Delete(leafdraw_class*);
static void fpcLf_Create(leafdraw_class*);
extern "C" extern void* g_fpcLf_Method[5 + 1 /* padding */];
extern "C" extern u8 g_fpcLf_type[4 + 4 /* padding */];
extern "C" extern u8 struct_80450D38[8];

extern "C" void fpcLf_GetPriority__FPC14leafdraw_class();
extern "C" void fpcLf_DrawMethod__FP21leafdraw_method_classPv();
extern "C" static void fpcLf_Draw__FP14leafdraw_class();
extern "C" static void fpcLf_Execute__FP14leafdraw_class();
extern "C" static void fpcLf_IsDelete__FP14leafdraw_class();
extern "C" static void fpcLf_Delete__FP14leafdraw_class();
extern "C" static void fpcLf_Create__FP14leafdraw_class();
extern "C" extern void* g_fpcLf_Method[5 + 1 /* padding */];
extern "C" extern u8 g_fpcLf_type[4 + 4 /* padding */];
extern "C" extern u8 struct_80450D38[8];

//
// External References:
//

void fpcBs_MakeOfType(int*);
void fpcDwPi_Get(draw_priority_class const*);
void fpcDwPi_Init(draw_priority_class*, s16);
void fpcMtd_Method(int (*)(void*), void*);
void fpcMtd_Execute(process_method_class*, void*);
void fpcMtd_IsDelete(process_method_class*, void*);
void fpcMtd_Delete(process_method_class*, void*);
void fpcMtd_Create(process_method_class*, void*);

extern "C" void fpcBs_MakeOfType__FPi();
extern "C" void fpcDwPi_Get__FPC19draw_priority_class();
extern "C" void fpcDwPi_Init__FP19draw_priority_classs();
extern "C" void fpcMtd_Method__FPFPv_iPv();
extern "C" void fpcMtd_Execute__FP20process_method_classPv();
extern "C" void fpcMtd_IsDelete__FP20process_method_classPv();
extern "C" void fpcMtd_Delete__FP20process_method_classPv();
extern "C" void fpcMtd_Create__FP20process_method_classPv();

//
// Declarations:
//

/* 80021A00-80021A24 0024+00 s=0 e=4 z=2  None .text      fpcLf_GetPriority__FPC14leafdraw_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void fpcLf_GetPriority(leafdraw_class const* param_0) {
    nofralloc
#include "asm/f_pc/f_pc_leaf/fpcLf_GetPriority__FPC14leafdraw_class.s"
}
#pragma pop

/* 80021A24-80021A48 0024+00 s=1 e=6 z=0  None .text fpcLf_DrawMethod__FP21leafdraw_method_classPv
 */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void fpcLf_DrawMethod(leafdraw_method_class* param_0, void* param_1) {
    nofralloc
#include "asm/f_pc/f_pc_leaf/fpcLf_DrawMethod__FP21leafdraw_method_classPv.s"
}
#pragma pop

/* 80021A48-80021A80 0038+00 s=1 e=0 z=0  None .text      fpcLf_Draw__FP14leafdraw_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm static void fpcLf_Draw(leafdraw_class* param_0) {
    nofralloc
#include "asm/f_pc/f_pc_leaf/fpcLf_Draw__FP14leafdraw_class.s"
}
#pragma pop

/* 80021A80-80021AA8 0028+00 s=1 e=0 z=0  None .text      fpcLf_Execute__FP14leafdraw_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm static void fpcLf_Execute(leafdraw_class* param_0) {
    nofralloc
#include "asm/f_pc/f_pc_leaf/fpcLf_Execute__FP14leafdraw_class.s"
}
#pragma pop

/* 80021AA8-80021AD0 0028+00 s=1 e=0 z=0  None .text      fpcLf_IsDelete__FP14leafdraw_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm static void fpcLf_IsDelete(leafdraw_class* param_0) {
    nofralloc
#include "asm/f_pc/f_pc_leaf/fpcLf_IsDelete__FP14leafdraw_class.s"
}
#pragma pop

/* 80021AD0-80021B14 0044+00 s=1 e=0 z=0  None .text      fpcLf_Delete__FP14leafdraw_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm static void fpcLf_Delete(leafdraw_class* param_0) {
    nofralloc
#include "asm/f_pc/f_pc_leaf/fpcLf_Delete__FP14leafdraw_class.s"
}
#pragma pop

/* ############################################################################################## */
/* 80450D30-80450D38 0004+04 s=1 e=1 z=0  None .sbss      g_fpcLf_type */
u8 g_fpcLf_type[4 + 4 /* padding */];

/* 80021B14-80021B88 0074+00 s=1 e=0 z=0  None .text      fpcLf_Create__FP14leafdraw_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm static void fpcLf_Create(leafdraw_class* param_0) {
    nofralloc
#include "asm/f_pc/f_pc_leaf/fpcLf_Create__FP14leafdraw_class.s"
}
#pragma pop

/* ############################################################################################## */
/* 803A39E8-803A3A00 0014+04 s=0 e=27 z=756  None .data      g_fpcLf_Method */
SECTION_DATA void* g_fpcLf_Method[5 + 1 /* padding */] = {
    (void*)fpcLf_Create__FP14leafdraw_class,
    (void*)fpcLf_Delete__FP14leafdraw_class,
    (void*)fpcLf_Execute__FP14leafdraw_class,
    (void*)fpcLf_IsDelete__FP14leafdraw_class,
    (void*)fpcLf_Draw__FP14leafdraw_class,
    /* padding */
    NULL,
};

/* 80450D38-80450D40 0008+00 s=0 e=1 z=0  None .sbss      None */
u8 struct_80450D38[8];