summaryrefslogtreecommitdiff
path: root/src/d/d_kyeff2.cpp
blob: 2c501a710687808b3f21f727793669b58eeeecf7 (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
//
// Generated By: dol2asm
// Translation Unit: d/d_kyeff2
//

#include "d/d_kyeff2.h"
#include "d/kankyo/d_kankyo_wether.h"
#include "dol2asm.h"
#include "dolphin/types.h"

//
// Types:
//

struct kankyo_class {};

//
// Forward References:
//

extern "C" static void dKyeff2_Draw__FP9dKyeff2_c();
extern "C" void execute__9dKyeff2_cFv();
extern "C" static void dKyeff2_Execute__FP9dKyeff2_c();
extern "C" static bool dKyeff2_IsDelete__FP9dKyeff2_c();
extern "C" static void dKyeff2_Delete__FP9dKyeff2_c();
extern "C" static void dKyeff2_Create__FP12kankyo_class();
extern "C" extern void* g_profile_KYEFF2[10 + 1 /* padding */];

//
// External References:
//

extern "C" void dKyw_wether_init2__Fv();
extern "C" void dKyw_wether_delete2__Fv();
extern "C" void dKyw_wether_move_draw2__Fv();
extern "C" void dKyw_wether_draw2__Fv();
extern "C" extern void* g_fopKy_Method[5 + 1 /* padding */];
extern "C" extern void* g_fpcLf_Method[5 + 1 /* padding */];

//
// Declarations:
//

static bool dKyeff2_Draw(dKyeff2_c* ptr) {
    dKyw_wether_draw2();
    return true;
}

bool dKyeff2_c::execute() {
    dKyw_wether_move_draw2();
    return true;
}

static bool dKyeff2_Execute(dKyeff2_c* ptr) {
    return ptr->execute();
}

static bool dKyeff2_IsDelete(dKyeff2_c* ptr) {
    return true;
}

static bool dKyeff2_Delete(dKyeff2_c* ptr) {
    dKyw_wether_delete2();
    return true;
}

static int dKyeff2_Create(kankyo_class* ptr) {
    dKyw_wether_init2();
    return cPhs_COMPLEATE_e;
}

/* ############################################################################################## */
/* 803BC198-803BC1AC -00001 0014+00 1/0 0/0 0/0 .data            l_dKyeff2_Method */
SECTION_DATA static void* l_dKyeff2_Method[5] = {
    (void*)dKyeff2_Create__FP12kankyo_class, (void*)dKyeff2_Delete__FP9dKyeff2_c,
    (void*)dKyeff2_Execute__FP9dKyeff2_c,    (void*)dKyeff2_IsDelete__FP9dKyeff2_c,
    (void*)dKyeff2_Draw__FP9dKyeff2_c,
};

/* 803BC1AC-803BC1D8 -00001 0028+04 0/0 0/0 1/0 .data            g_profile_KYEFF2 */
SECTION_DATA extern void* g_profile_KYEFF2[10 + 1 /* padding */] = {
    (void*)0xFFFFFFFD,
    (void*)0x000CFFFD,
    (void*)0x03120000,
    (void*)&g_fpcLf_Method,
    (void*)0x000000F8,
    (void*)NULL,
    (void*)NULL,
    (void*)&g_fopKy_Method,
    (void*)0x00030000,
    (void*)&l_dKyeff2_Method,
    /* padding */
    NULL,
};