Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JOREntry.h
Go to the documentation of this file.
1#ifndef JORENTRY_H
2#define JORENTRY_H
3
5
6template<typename T, int I>
7class JHIpvector {
8public:
9 JHIpvector() { m_size = 0; }
10
11 s32 size() const { return m_size; }
12 T& get(u32 i) const { return m_vector[i]; }
13
15 if (m_size >= I) {
16 return 0;
17 }
18
19 m_vector[m_size++] = p;
20 return 1;
21 }
22
23 /* 0x00 */ T m_vector[I];
24 /* 0x28 */ s32 m_size;
25};
26
27template<typename T>
29public:
34
35 T& getRefPort() { return port; }
36
38 field_0x8 = this;
40 }
41
43 if (instance == NULL) {
45 }
46
47 return instance;
48 }
49
51
52 /* 0x00000 */ T port;
54 /* 0x0000C */ JHIpvector<JHITag<T>*, 10> field_0xc;
55 /* 0x00038 */ u8 field_0x38[0x10000];
56 /* 0x10038 */ u32 field_0x10038;
57 /* 0x1003C */ u32 field_0x1003c;
58 /* 0x10040 */ u8 field_0x10040;
59 /* 0x10041 */ u8 field_0x10041;
60};
61
62#endif /* JORENTRY_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition JOREntry.h:28
u32 field_0x10038
Definition JOREntry.h:56
JHIComPortManager< T > * field_0x8
Definition JOREntry.h:53
JHIpvector< JHITag< T > *, 10 > field_0xc
Definition JOREntry.h:54
JHIComPortManager()
Definition JOREntry.h:30
static JHIComPortManager< T > * create()
Definition JOREntry.h:42
T & getRefPort()
Definition JOREntry.h:35
static JHIComPortManager< T > * instance
Definition JOREntry.h:50
u8 field_0x38[0x10000]
Definition JOREntry.h:55
u8 field_0x10040
Definition JOREntry.h:58
void addTag(JHITag< T > *pTag)
Definition JOREntry.h:37
T port
Definition JOREntry.h:52
u32 field_0x1003c
Definition JOREntry.h:57
u8 field_0x10041
Definition JOREntry.h:59
Definition JOREntry.h:7
s32 push_back(T p)
Definition JOREntry.h:14
s32 size() const
Definition JOREntry.h:11
T m_vector[I]
Definition JOREntry.h:23
JHIpvector()
Definition JOREntry.h:9
s32 m_size
Definition JOREntry.h:24
T & get(u32 i) const
Definition JOREntry.h:12
p
Definition e_acos.c:98
int i
Definition e_pow.c:165
static const double T[]
Definition k_tan.c:106
Definition JHICommonMem.h:15
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8