SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_PL_TYPES_H
2#define MELEE_PL_TYPES_H
3
4#include <placeholder.h>
5
6#include <melee/pl/forward.h>
7
8#include <melee/ft/types.h>
9#include <Runtime/platform.h>
10
13struct plAllocInfo2 {
14 s32 internal_id;
15 u8 slot;
17 struct {
18 u8 b0 : 1;
19 u8 has_transformation : 1;
20 u8 b2 : 1;
21 u8 b3 : 1;
22 u8 b4 : 1;
23 u8 b5 : 1;
24 u8 b6 : 1;
25 u8 b7 : 1;
26 };
27};
28
30 /* +0 */ int total_attack_count;
31 /* +4 */ u8 x4[0xCC - 0x4];
32 /* +33 */ int xCC;
33 /* +D0 */ int xD0;
34 /* +D4 */ u8 xD4[0x194 - 0xD4];
35 /* +194 */ int x194;
36 /* +198 */ int x198;
37 /* +19C */ int x19C;
38 /* +1A0 */ u8 x1A0[0x1A8 - 0x1A0];
39 /* +1A8 */ int x1A8;
40 /* +1AC */ int x1AC;
41 /* +1B0 */ u8 x1B0[0x358 - 0x1B0];
42 /* +358 */ int x358;
43 /* +35C */ u8 x35C[0x3E8 - 0x35C];
44 /* +3E8 */ unsigned int x3E8 UNK_SIZE_ARRAY;
45}; // UNKNOWN SIZE
46
47struct StaleMoveTable {
48 /* +0 */ int current_index;
49 /* +4 */ struct {
50 u16 move_id;
54 /* +414 */ u8 x414[0x5C4 - 0x414];
55 /* +5C4 */ int x5C4[0xA]; // UNKNOWN SIZE
56 /* +5EC */ int x5EC;
57 /* +5F0 */ u8 x5F0[0x674 - 0x5F0];
58 /* +674 */ int x674[39];
59 /* +710 */ int x710[39];
60 /* +7AC */ int x7AC[39];
61 /* +848 */ int x848[30];
62 /* +8E4 */ u8 x8C0[0x904 - 0x8C0];
63 /* +904 */ unsigned int x904[215];
64 /* +C60 */ float xC60;
65 /* +C64 */ float xC64;
66 /* +C68 */ int xC68;
67 /* +C6C */ float xC6C;
68 /* +C70 */ float xC70;
69 /* +C74 */ float xC74;
70 /* +C78 */ float xC78[6];
71 /* +C90 */ unsigned int xC90;
72 /* +C94 */ int xC94;
73 /* +C98 */ float xC98;
74 /* +C9C */ float xC9C;
75 /* +CA0 */ float xCA0;
76 /* +CA4 */ int xCA4;
77 /* +CA8 */ unsigned int xCA8;
78 /* +CAC */ unsigned int xCAC;
79 /* +CB0 */ int xCB0;
80 /* +CB4 */ int xCB4;
81 /* +CB8 */ int xCB8;
82 /* +CBC */ UnkPlBonusBits xCBC;
83 /* +CC0 */ ft_800898B4_t xCC0;
84 /* +CD4 */ u16 xCD4;
85 /* +CD8 */ int xCD8;
86 /* +CDC */ float xCDC;
87 /* +CE0 */ float xCE0;
88 /* +CE4 */ int xCE4;
89 /* +CE8 */ int xCE8;
90 /* +CEC */ int xCEC;
91 /* +CF0 */ int xCF0;
92};
93STATIC_ASSERT(sizeof(struct StaleMoveTable) == 0xCF4);
94
97 /* +CF4 */ int xCF4;
98 /* +CF8 */ float xCF8;
99 /* +CFC */ int xCFC;
100 /* +D00 */ int xD00;
101 /* +D04 */ unsigned int xD04;
102 /* +D08 */ unsigned int xD08;
103 /* +D0C */ unsigned int xD0C;
104 /* +D10 */ int xD10;
105 /* +D14 */ int xD14;
106 /* +D18 */ unsigned int xD18;
107 /* +D1C */ int xD1C;
108 /* +D20 */ int xD20;
109 /* +D24 */ int xD24;
110 /* +D28 */ int xD28;
111 /* +D2C */ int xD2C;
112 /* +D30 */ int xD30;
113 /* +D34 */ int xD34;
114 /* +D38 */ int xD38;
115 /* +D3C */ int xD3C;
116 /* +D40 */ unsigned int xD40;
117 /* +D44 */ unsigned int xD44;
118 /* +D48 */ unsigned int xD48;
119 /* +D4C */ unsigned int xD4C;
120 /* +D50 */ unsigned int xD50;
121 /* +D54 */ unsigned int xD54;
122 /* +D58 */ unsigned int xD58;
123 /* +D5C */ unsigned int xD5C;
124 /* +D60 */ unsigned long xD60;
125 /* +D64 */ int xD64;
126 /* +D68 */ int xD68;
127 /* +D6C */ int xD6C;
128 /* +D70 */ int xD70;
129 /* +D74 */ float xD74;
130 /* +D78 */ float xD78;
131 /* +D7C */ float xD7C;
132 /* +D80 */ float xD80;
133 /* +D84 */ float xD84;
134 /* +D88 */ float xD88;
135 /* +D8C */ float xD8C;
136 /* +D90 */ int xD90;
137 /* +D94 */ float xD94;
138 /* +D98 */ int xD98;
139 /* +D9C */ int xD9C;
140 /* +DA0 */ int xDA0;
141 /* +DA4 */ int xDA4;
142 /* +DA8 */ int xDA8;
143 /* +DAC */ int xDAC;
144 /* +DB0 */ int xDB0;
145 /* +DB4 */ int xDB4;
146 /* +DB8 */ int xDB8;
147 /* +DBC */ int xDBC;
148 /* +DC0 */ float xDC0;
149 /* +DC4 */ int xDC4;
150 /* +DC8 */ int xDC8;
151 /* +DCC */ int xDCC;
152 /* +DD0 */ union {
154 struct {
155 u8 bit0 : 1;
156 u8 bit1 : 1;
157 u8 bit2 : 1;
158 u8 bit3 : 1;
159 u8 bit4 : 1;
160 u8 bit5 : 1;
161 u8 bit6 : 1;
162 u8 bit7 : 1;
163 };
165 /* +DD1 */ union {
167 struct {
168 u8 bit0 : 1;
169 u8 bit1 : 1;
170 u8 bit2 : 1;
171 u8 bit3 : 1;
172 u8 bit4 : 1;
173 u8 bit5 : 1;
174 u8 bit6 : 1;
175 u8 bit7 : 1;
176 };
178}; // UNKNOWN SIZE
179
181 /* 0x000 */ char pad_0[0x190];
182 /* 0x190 */ int unk_190; /* inferred */
183 /* 0x194 */ char pad_194[0x418]; /* maybe part of unk_190[0x107]? */
184 /* 0x5AC */ int unk_5AC; /* inferred */
185 /* 0x5B0 */ int unk_5B0; /* inferred */
186}; /* size = 0x5B4 */
187
189 /* +0 */ u8 x0[0x18];
190 /* +18 */ unsigned int x18;
191 /* +1C */ unsigned int x1C;
192 /* +20 */ u8 x20[0x2C - 0x20];
193 /* +2C */ unsigned int x2C;
194 /* +30 */ unsigned int x30;
195 /* +34 */ u8 x34[0x38 - 0x34];
196 /* +38 */ float x38;
197 /* +3C */ u8 x3C[0x4C - 0x3C];
198 /* +4C */ float x4C;
199 /* +50 */ u8 x50[0x58 - 0x50];
200 /* +58 */ float x58;
201 /* +5C */ float x5C;
202 /* +60 */ float x60;
203 /* +64 */ float x64;
204 /* +68 */ float x68;
205 /* +6C */ float x6C;
206 /* +70 */ unsigned int x70;
207 /* +74 */ unsigned int x74;
208 /* +78 */ float x78;
209 /* +7C */ unsigned int x7C;
210 /* +80 */ unsigned int x80;
211 /* +84 */ float x84;
212 /* +88 */ unsigned int x88;
213 /* +8C */ unsigned int x8C;
214 /* +90 */ unsigned int x90;
215 /* +94 */ unsigned int x94;
216 /* +98 */ float x98;
217 /* +9C */ u8 x9C[0xA0 - 0x9C];
218 /* +A0 */ float xA0;
219 /* +A4 */ unsigned int xA4;
220 /* +A8 */ unsigned int xA8;
221 /* +AC */ unsigned int xAC;
222 /* +B0 */ unsigned int xB0;
223 /* +B4 */ unsigned int xB4;
224 /* +B8 */ unsigned int xB8;
225 /* +BC */ unsigned int xBC;
226 /* +C0 */ u8 xC0[0xC4 - 0xC0];
227 /* +C4 */ unsigned int xC4;
228 /* +C8 */ unsigned int xC8;
229 /* +CC */ u8 xCC[0xE0 - 0xCC];
230 /* +E0 */ unsigned int xE0;
231 /* +E4 */ UNK_T xE4;
232 /* +E8 */ UNK_T xE8;
233 /* +EC */ int xEC;
234 /* +E8 */ u8 xF0[0x118 - 0xF0];
235 /* +118 */ unsigned int x118;
236 /* +11C */ float x11C;
237 /* +120 */ int x120;
238 /* +124 */ unsigned int x124;
239 /* +128 */ int x128;
240 /* +12C */ int x12C;
241 /* +130 */ unsigned int x130;
242 /* +134 */ unsigned int x134;
243 /* +138 */ u8 x138[0x144 - 0x138];
244 /* +144 */ unsigned int x144;
245 /* +148 */ unsigned int x148;
246 /* +14C */ unsigned int x14C;
247 /* +150 */ unsigned int x150;
248 /* +154 */ unsigned int x154;
249 /* +158 */ unsigned int x158;
250 /* +15C */ unsigned int x15C;
251 /* +160 */ u8 x160[0x164 - 0x160];
252 /* +164 */ unsigned int x164;
253 /* +168 */ unsigned int x168;
254 /* +16C */ unsigned int x16C;
255 /* +170 */ unsigned int x170;
256 /* +174 */ unsigned int x174;
257 /* +178 */ unsigned int x178;
258 /* +17C */ u8 x17C[0x180 - 0x17C];
259 /* +180 */ float x180;
260}; // UNKNOWN SIZE
261
262#endif
#define UNK_T
Definition placeholder.h:32
#define STATIC_ASSERT(cond)
Definition platform.h:110
int enum_t
The underlying type of an enum, used as a placeholder.
Definition platform.h:9
Definition types.dox:24
int x710[39]
Definition types.h:59
u16 attack_instance
Definition types.dox:30
int xCB8
Definition types.h:81
float xC9C
Definition types.h:74
int xCA4
Definition types.h:76
ft_800898B4_t xCC0
Definition types.h:83
float xC64
Definition types.h:65
unsigned int xCAC
Definition types.h:78
int current_index
Definition types.h:48
u8 x8C0[0x904 - 0x8C0]
Definition types.h:62
float xC60
Definition types.h:64
int x5C4[0xA]
Definition types.h:55
int xCEC
Definition types.h:90
int x674[39]
Definition types.h:58
float xC6C
Definition types.h:67
unsigned int x904[215]
Definition types.h:63
int x7AC[39]
Definition types.h:60
float xCDC
Definition types.h:86
float xC74
Definition types.h:69
struct StaleMoveTable::@270 StaleMoves[10]
pl_800386D8_t total_attack_count_struct
Definition types.h:53
unsigned int xCA8
Definition types.h:77
int xCB0
Definition types.h:79
float xC78[6]
Definition types.h:70
float xC98
Definition types.h:73
int xCD8
Definition types.h:85
int x848[30]
Definition types.h:61
int xCE4
Definition types.h:88
int xCF0
Definition types.h:91
u16 move_id
Definition types.dox:29
int xCE8
Definition types.h:89
int x5EC
Definition types.h:56
int xCB4
Definition types.h:80
u8 x5F0[0x674 - 0x5F0]
Definition types.h:57
float xCE0
Definition types.h:87
int xC68
Definition types.h:66
UnkPlBonusBits xCBC
Definition types.h:82
float xCA0
Definition types.h:75
u16 xCD4
Definition types.h:84
u8 x414[0x5C4 - 0x414]
Definition types.h:54
int xC94
Definition types.h:72
unsigned int xC90
Definition types.h:71
float xC70
Definition types.h:68
Definition types.h:1045
Definition types.h:1058
Definition types.dox:8
u8 b5
Definition types.dox:18
s32 internal_id
Definition types.dox:9
u8 b7
Definition types.dox:20
u8 b2
Definition types.dox:15
u8 b4
Definition types.dox:17
u8 b3
Definition types.dox:16
u8 b0
Definition types.dox:13
u8 has_transformation
Definition types.dox:14
u8 slot
Definition types.dox:10
enum_t unk8
Definition types.dox:11
u8 b6
Definition types.dox:19
Definition types.h:29
int total_attack_count
Definition types.h:30
u8 x1B0[0x358 - 0x1B0]
Definition types.h:41
int x198
Definition types.h:36
int x358
Definition types.h:42
int x19C
Definition types.h:37
int xCC
Definition types.h:32
int x194
Definition types.h:35
int xD0
Definition types.h:33
int x1AC
Definition types.h:40
u8 xD4[0x194 - 0xD4]
Definition types.h:34
u8 x4[0xCC - 0x4]
Definition types.h:31
u8 x1A0[0x1A8 - 0x1A0]
Definition types.h:38
int x1A8
Definition types.h:39
u8 x35C[0x3E8 - 0x35C]
Definition types.h:43
unsigned int x3E8 UNK_SIZE_ARRAY
Definition types.h:44
Definition types.h:180
int unk_5B0
Definition types.h:185
char pad_194[0x418]
Definition types.h:183
int unk_190
Definition types.h:182
char pad_0[0x190]
Definition types.h:181
int unk_5AC
Definition types.h:184
Definition types.h:188
float x84
Definition types.h:211
int x128
Definition types.h:239
unsigned int x94
Definition types.h:215
unsigned int x158
Definition types.h:249
float x5C
Definition types.h:201
u8 x17C[0x180 - 0x17C]
Definition types.h:258
unsigned int x70
Definition types.h:206
unsigned int x88
Definition types.h:212
float x38
Definition types.h:196
UNK_T xE8
Definition types.h:232
unsigned int x118
Definition types.h:235
u8 x160[0x164 - 0x160]
Definition types.h:251
int x120
Definition types.h:237
u8 x20[0x2C - 0x20]
Definition types.h:192
u8 x50[0x58 - 0x50]
Definition types.h:199
unsigned int x8C
Definition types.h:213
unsigned int x148
Definition types.h:245
unsigned int x74
Definition types.h:207
unsigned int xE0
Definition types.h:230
unsigned int x174
Definition types.h:256
u8 x9C[0xA0 - 0x9C]
Definition types.h:217
u8 x3C[0x4C - 0x3C]
Definition types.h:197
unsigned int x30
Definition types.h:194
unsigned int xA4
Definition types.h:219
unsigned int x2C
Definition types.h:193
UNK_T xE4
Definition types.h:231
unsigned int x144
Definition types.h:244
unsigned int x18
Definition types.h:190
float x180
Definition types.h:259
unsigned int x14C
Definition types.h:246
unsigned int xB0
Definition types.h:222
float xA0
Definition types.h:218
unsigned int x168
Definition types.h:253
int x12C
Definition types.h:240
unsigned int x124
Definition types.h:238
unsigned int x80
Definition types.h:210
float x60
Definition types.h:202
float x58
Definition types.h:200
unsigned int x15C
Definition types.h:250
u8 xCC[0xE0 - 0xCC]
Definition types.h:229
float x98
Definition types.h:216
unsigned int xC8
Definition types.h:228
unsigned int xAC
Definition types.h:221
u8 x138[0x144 - 0x138]
Definition types.h:243
unsigned int xC4
Definition types.h:227
unsigned int x1C
Definition types.h:191
unsigned int xBC
Definition types.h:225
unsigned int xB8
Definition types.h:224
float x64
Definition types.h:203
u8 x0[0x18]
Definition types.h:189
unsigned int x7C
Definition types.h:209
unsigned int x150
Definition types.h:247
unsigned int x178
Definition types.h:257
unsigned int x134
Definition types.h:242
float x6C
Definition types.h:205
float x68
Definition types.h:204
unsigned int xA8
Definition types.h:220
u8 x34[0x38 - 0x34]
Definition types.h:195
unsigned int x90
Definition types.h:214
unsigned int x170
Definition types.h:255
unsigned int x164
Definition types.h:252
float x78
Definition types.h:208
u8 xC0[0xC4 - 0xC0]
Definition types.h:226
unsigned int x130
Definition types.h:241
unsigned int xB4
Definition types.h:223
unsigned int x154
Definition types.h:248
int xEC
Definition types.h:233
unsigned int x16C
Definition types.h:254
float x4C
Definition types.h:198
float x11C
Definition types.h:236
u8 xF0[0x118 - 0xF0]
Definition types.h:234
Definition types.h:95
unsigned int xD54
Definition types.h:121
unsigned int xD48
Definition types.h:118
int xCF4
Definition types.h:97
int xD68
Definition types.h:126
int xDB0
Definition types.h:144
u8 xDD0_value
Definition types.h:153
int xDC4
Definition types.h:149
float xCF8
Definition types.h:98
float xD74
Definition types.h:129
unsigned int xD4C
Definition types.h:119
u8 bit0
Definition types.h:155
float xD94
Definition types.h:137
unsigned long xD60
Definition types.h:124
u8 bit4
Definition types.h:159
int xD24
Definition types.h:109
int xD90
Definition types.h:136
float xD78
Definition types.h:130
int xDA4
Definition types.h:141
float xDC0
Definition types.h:148
u8 bit6
Definition types.h:161
unsigned int xD58
Definition types.h:122
int xD14
Definition types.h:105
unsigned int xD40
Definition types.h:116
u8 bit7
Definition types.h:162
u8 xDD1_value
Definition types.h:166
u8 bit5
Definition types.h:160
int xDCC
Definition types.h:151
int xDAC
Definition types.h:143
int xD2C
Definition types.h:111
float xD80
Definition types.h:132
u8 bit1
Definition types.h:156
unsigned int xD04
Definition types.h:101
int xD70
Definition types.h:128
union pl_StaleMoveTableExt_t::@275 xDD1
int xDC8
Definition types.h:150
float xD8C
Definition types.h:135
StaleMoveTable x0_staleMoveTable
Definition types.h:96
u8 bit3
Definition types.h:158
union pl_StaleMoveTableExt_t::@274 xDD0
float xD84
Definition types.h:133
int xD3C
Definition types.h:115
unsigned int xD18
Definition types.h:106
unsigned int xD50
Definition types.h:120
int xD30
Definition types.h:112
int xDA8
Definition types.h:142
int xD10
Definition types.h:104
int xD00
Definition types.h:100
int xD20
Definition types.h:108
int xD28
Definition types.h:110
int xD64
Definition types.h:125
int xDB8
Definition types.h:146
int xD34
Definition types.h:113
int xD1C
Definition types.h:107
int xD38
Definition types.h:114
int xD9C
Definition types.h:139
int xDB4
Definition types.h:145
int xD6C
Definition types.h:127
unsigned int xD44
Definition types.h:117
float xD88
Definition types.h:134
int xDA0
Definition types.h:140
unsigned int xD5C
Definition types.h:123
unsigned int xD08
Definition types.h:102
u8 bit2
Definition types.h:157
int xD98
Definition types.h:138
unsigned int xD0C
Definition types.h:103
float xD7C
Definition types.h:131
int xCFC
Definition types.h:99
int xDBC
Definition types.h:147