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 <Runtime/platform.h>
5
6#include <melee/pl/forward.h>
7
8#include <melee/ft/types.h>
9
25
45
47 /* +0 */ u32 total;
50 /* +198 */ u32 aerials_count;
51 /* +19C */ u32 specials_count;
52 /* +1A0 */ u32
54 /* +1A4 */ u32 x1A4_count;
55 /* +1A8 */ u32 x1A8;
56};
57
59 /* +0 */ struct plAttackStats attacks;
60 /* +1AC */ struct plAttackStats hits;
62 // the pattern for plAttackStats... but pl_800386D8 directly references
63 // x3E8. it doesnt really make sense that it would split the enum at
64 // StatsAttack_KbSpecialNMt
80 /* +568 */ u32 x568;
81 /* +56C */ u32 x56C;
82 /* +570 */ u32 x570;
83 /* +574 */ u32 x574;
84 /* +578 */ u32 x578;
85 /* +57C */ u32 x57C;
86 /* +580 */ u32 x580;
87 /* +584 */ u32 x584;
88 /* +588 */ u32 x588;
89 /* +58C */ u32 x58C;
90 /* +590 */ u32 x590;
91 /* +594 */ u32 x594;
92 /* +598 */ u32 x598[8];
93 /* +5B8 */ u8 x5B8[4];
94 /* +5BC */ u8 x5BC_b0 : 1;
95 /* +5BC */ u8 x5BC_b1 : 1;
96 /* +5BC */ u8 x5BC_b2 : 1;
97 /* +5BC */ u8 x5BC_b3 : 1;
98};
99
100struct pl_x8C0_t {
101 int x0;
107};
108
109struct pl_x8D8_t {
110 int x0;
116};
117
133
136
138 /* +0 */ int current_index;
144 /* +5EC */ struct pl_x5EC_t x5EC;
146 /* +710 */ int x710[Pl_ItemLog_Terminate];
147 /* +7AC */ int x7AC[Pl_ItemLog_Terminate];
148 /* +848 */ int x848[30];
149 /* +8C0 */ struct pl_x8C0_t x8C0;
150 /* +8D8 */ struct pl_x8D8_t x8D8;
151 /* +904 */ unsigned int x904[215];
152 /* +C60 */ float xC60;
153 /* +C64 */ float xC64;
154 /* +C68 */ int xC68;
155 /* +C6C */ float xC6C;
156 /* +C70 */ float xC70;
157 /* +C74 */ float xC74;
158 /* +C78 */ float xC78[6];
159 /* +C90 */ unsigned int xC90;
160 /* +C94 */ int xC94;
161 /* +C98 */ float xC98;
162 /* +C9C */ float xC9C;
163 /* +CA0 */ float xCA0;
164 /* +CA4 */ int xCA4;
165 /* +CA8 */ unsigned int xCA8;
166 /* +CAC */ unsigned int xCAC;
167 /* +CB0 */ int xCB0;
168 /* +CB4 */ int xCB4;
169 /* +CB8 */ int xCB8;
170 /* +CBC */ union Struct2070 xCBC;
171 /* +CC0 */ ft_800898B4_t xCC0;
172 /* +CD4 */ u16 xCD4;
173 /* +CD8 */ int xCD8;
174 /* +CDC */ float xCDC;
175 /* +CE0 */ float xCE0;
176 /* +CE4 */ u32 xCE4;
177 /* +CE8 */ u32 xCE8;
178 /* +CEC */ int xCEC;
179 /* +CF0 */ int xCF0;
180};
182
185 /* +CF4 */ int xCF4;
186 /* +CF8 */ float xCF8;
187 /* +CFC */ int xCFC;
188 /* +D00 */ int xD00;
189 /* +D04 */ unsigned int xD04;
190 /* +D08 */ unsigned int xD08;
191 /* +D0C */ unsigned int xD0C;
192 /* +D10 */ int xD10;
193 /* +D14 */ u32 xD14;
194 /* +D18 */ unsigned int xD18;
195 /* +D1C */ u32 xD1C;
196 /* +D20 */ u32 xD20;
197 /* +D24 */ u32 xD24;
198 /* +D28 */ u32 xD28;
199 /* +D2C */ u32 xD2C;
200 /* +D30 */ u32 xD30;
201 /* +D34 */ int xD34;
202 /* +D38 */ u32 xD38;
203 /* +D3C */ u32 xD3C;
204 /* +D40 */ unsigned int xD40;
205 /* +D44 */ unsigned int xD44;
206 /* +D48 */ unsigned int xD48;
207 /* +D4C */ unsigned int xD4C;
208 /* +D50 */ unsigned int xD50;
209 /* +D54 */ unsigned int xD54;
210 /* +D58 */ unsigned int xD58;
211 /* +D5C */ unsigned int xD5C;
212 /* +D60 */ u32 xD60;
213 /* +D64 */ int xD64;
214 /* +D68 */ int xD68;
215 /* +D6C */ int xD6C;
216 /* +D70 */ int xD70;
217 /* +D74 */ float xD74;
218 /* +D78 */ float xD78;
219 /* +D7C */ float xD7C;
220 /* +D80 */ float xD80;
221 /* +D84 */ float xD84;
222 /* +D88 */ float xD88;
223 /* +D8C */ float xD8C;
224 /* +D90 */ int xD90;
225 /* +D94 */ float xD94;
226 /* +D98 */ int xD98;
227 /* +D9C */ int xD9C;
228 /* +DA0 */ int xDA0;
229 /* +DA4 */ int xDA4;
230 /* +DA8 */ int xDA8;
231 /* +DAC */ int xDAC;
232 /* +DB0 */ int xDB0;
233 /* +DB4 */ int xDB4;
234 /* +DB8 */ int xDB8;
235 /* +DBC */ int xDBC;
236 /* +DC0 */ float xDC0;
237 /* +DC4 */ int xDC4;
238 /* +DC8 */ int xDC8;
239 /* +DCC */ int xDCC;
266}; // UNKNOWN SIZE
267
269 /* 0x000 */ char pad_0[0x190];
270 /* 0x190 */ int unk_190; /* inferred */
271 /* 0x194 */ char pad_194[0x418]; /* maybe part of unk_190[0x107]? */
272 /* 0x5AC */ int unk_5AC; /* inferred */
273 /* 0x5B0 */ int unk_5B0; /* inferred */
274}; /* size = 0x5B4 */
275
277 /* +0 */ float x0;
278 /* +4 */ int x4;
279 /* +8 */ float x8;
280 /* +C */ u32 xC;
281 /* +10 */ float x10;
282 /* +14 */ float x14;
283 /* +18 */ unsigned int x18;
284 /* +1C */ unsigned int x1C;
285 /* +20 */ float x20;
286 /* +24 */ int x24;
287 /* +28 */ float x28;
288 /* +2C */ unsigned int x2C;
289 /* +30 */ unsigned int x30;
290 /* +34 */ float x34;
291 /* +38 */ float x38;
292 /* +3C */ u32 x3C;
293 /* +40 */ u32 x40;
294 /* +44 */ float x44;
295 /* +48 */ float x48;
296 /* +4C */ float x4C;
297 /* +50 */ u32 x50;
298 /* +54 */ u32 x54;
299 /* +58 */ float x58;
300 /* +5C */ float x5C;
301 /* +60 */ float x60;
302 /* +64 */ float x64;
303 /* +68 */ float x68;
304 /* +6C */ float x6C;
305 /* +70 */ unsigned int x70;
306 /* +74 */ unsigned int x74;
307 /* +78 */ float x78;
308 /* +7C */ unsigned int x7C;
309 /* +80 */ unsigned int x80;
310 /* +84 */ float x84;
311 /* +88 */ unsigned int x88;
312 /* +8C */ unsigned int x8C;
313 /* +90 */ unsigned int x90;
314 /* +94 */ unsigned int x94;
315 /* +98 */ float x98;
316 /* +9C */ float x9C;
317 /* +A0 */ float xA0;
318 /* +A4 */ unsigned int xA4;
319 /* +A8 */ unsigned int xA8;
320 /* +AC */ unsigned int xAC;
321 /* +B0 */ unsigned int xB0;
322 /* +B4 */ unsigned int xB4;
323 /* +B8 */ unsigned int xB8;
324 /* +BC */ unsigned int xBC;
325 /* +C0 */ u8 xC0[0xC4 - 0xC0];
326 /* +C4 */ unsigned int xC4;
327 /* +C8 */ unsigned int xC8;
328 /* +CC */ float xCC;
329 /* +D0 */ float xD0;
330 /* +D4 */ float xD4;
331 /* +D8 */ float xD8;
332 /* +DC */ u32 xDC;
333 /* +E0 */ unsigned int xE0;
334 /* +E4 */ unsigned int xE4;
335 /* +E8 */ float xE8;
336 /* +EC */ int xEC;
337 /* +F0 */ u32 xF0;
338 /* +F4 */ float xF4;
339 /* +F8 */ float xF8;
340 /* +FC */ float xFC;
341 /* +100 */ float x100;
342 /* +104 */ float x104;
343 /* +108 */ int x108;
344 /* +10C */ float x10C;
345 /* +110 */ int x110;
346 /* +114 */ float x114;
347 /* +118 */ unsigned int x118;
348 /* +11C */ float x11C;
349 /* +120 */ int x120;
350 /* +124 */ unsigned int x124;
351 /* +128 */ int x128;
352 /* +12C */ int x12C;
353 /* +130 */ unsigned int x130;
354 /* +134 */ unsigned int x134;
355 /* +138 */ u32 x138;
356 /* +13C */ unsigned int x13C;
357 /* +140 */ unsigned int x140;
358 /* +144 */ unsigned int x144;
359 /* +148 */ unsigned int x148;
360 /* +14C */ unsigned int x14C;
361 /* +150 */ unsigned int x150;
362 /* +154 */ unsigned int x154;
363 /* +158 */ unsigned int x158;
364 /* +15C */ unsigned int x15C;
365 /* +160 */ float x160;
366 /* +164 */ unsigned int x164;
367 /* +168 */ unsigned int x168;
368 /* +16C */ unsigned int x16C;
369 /* +170 */ unsigned int x170;
370 /* +174 */ unsigned int x174;
371 /* +178 */ unsigned int x178;
372 /* +17C */ int x17C;
373 /* +180 */ float x180;
374}; // UNKNOWN SIZE
375
376#endif
unsigned int u32
Definition types.h:13
signed char s8
Definition types.h:4
signed short int s16
Definition types.h:6
float f32
Definition types.h:18
unsigned short int u16
Definition types.h:7
unsigned char u8
Definition types.h:5
FighterKind
Definition forward.h:98
@ Pl_ItemLog_Terminate
Definition forward.h:171
@ StatsAttack_Count
Definition forward.h:120
#define ASSERT_SIZE(expr, size)
Definition platform.h:127
int enum_t
The underlying type of an enum, used as a placeholder.
Definition platform.h:29
u16 attack_instance
Definition types.h:141
Definition types.h:137
int xCB8
Definition types.h:169
float xC9C
Definition types.h:162
struct StaleMoveTable::StaleMoveTable_StaleMoves StaleMoves[10]
plActionStats total_attack_count_struct
Definition types.h:143
int xCA4
Definition types.h:164
ft_800898B4_t xCC0
Definition types.h:171
struct pl_x8D8_t x8D8
Definition types.h:150
union Struct2070 xCBC
Definition types.h:170
int x7AC[Pl_ItemLog_Terminate]
Definition types.h:147
float xC64
Definition types.h:153
unsigned int xCAC
Definition types.h:166
int current_index
Definition types.h:138
float xC60
Definition types.h:152
int xCEC
Definition types.h:178
float xC6C
Definition types.h:155
unsigned int x904[215]
Definition types.h:151
u32 xCE4
Definition types.h:176
float xCDC
Definition types.h:174
float xC74
Definition types.h:157
unsigned int xCA8
Definition types.h:165
int xCB0
Definition types.h:167
struct pl_x5EC_t x5EC
Definition types.h:144
struct pl_x8C0_t x8C0
Definition types.h:149
float xC78[6]
Definition types.h:158
float xC98
Definition types.h:161
int xCD8
Definition types.h:173
int x848[30]
Definition types.h:148
int xCF0
Definition types.h:179
int xCB4
Definition types.h:168
float xCE0
Definition types.h:175
int xC68
Definition types.h:154
float xCA0
Definition types.h:163
u32 xCE8
Definition types.h:177
u16 xCD4
Definition types.h:172
int xC94
Definition types.h:160
int x710[Pl_ItemLog_Terminate]
Definition types.h:146
unsigned int xC90
Definition types.h:159
float xC70
Definition types.h:156
u32 x674[Pl_ItemLog_Terminate]
Definition types.h:145
Definition types.h:1411
Definition types.h:58
u8 x504[StatsAttack_Count]
indexed by Struct2070::x2073
Definition types.h:79
u32 x578
Definition types.h:84
u32 x590
Definition types.h:90
u32 x580
Definition types.h:86
u32 x588
Definition types.h:88
u32 x574
Definition types.h:83
u8 x5B8[4]
Definition types.h:93
union plActionStats::plActionStats_x358 x358
u32 x570
Definition types.h:82
u32 x58C
Definition types.h:89
u8 x5BC_b3
Definition types.h:97
u8 x5BC_b0
Definition types.h:94
struct plAttackStats hits
Definition types.h:60
struct plAttackStats attacks
Definition types.h:59
u32 x57C
Definition types.h:85
u8 x5BC_b2
Definition types.h:96
u32 x594
Definition types.h:91
u32 x598[8]
Definition types.h:92
u32 x568
Definition types.h:80
u32 x584
Definition types.h:87
u8 x5BC_b1
Definition types.h:95
u32 x56C
Definition types.h:81
Definition types.h:34
u8 b6
Definition types.h:41
u8 b0
Definition types.h:35
u8 b5
Definition types.h:40
u8 b2
Definition types.h:37
u8 b4
Definition types.h:39
u8 has_transformation
Definition types.h:36
u8 b7
Definition types.h:42
u8 b3
Definition types.h:38
Definition types.h:30
struct plAllocInfo2::plAllocInfo2_xC xC
FighterKind internal_id
Definition types.h:31
u8 slot
Definition types.h:32
enum_t unk8
Definition types.h:33
Definition types.h:14
u8 b3
Definition types.h:18
u8 b0
Definition types.h:15
u8 b4
Definition types.h:19
u8 has_transformation
Definition types.h:16
u8 b5
Definition types.h:20
u8 b6
Definition types.h:21
u8 b7
Definition types.h:22
u8 b2
Definition types.h:17
Definition types.h:10
u8 slot
Definition types.h:12
FighterKind internal_id
Definition types.h:11
s8 x5
Definition types.h:13
struct plAllocInfo::plAllocInfo_x6 x6
Definition types.h:46
u32 by_attack_counts[StatsAttack_Count]
Definition types.h:48
u32 x1A4_count
increments on down specials?
Definition types.h:54
u32 aerials_count
Definition types.h:50
u32 total
Definition types.h:47
u32 x1A8
Definition types.h:55
u32 specials_count
Definition types.h:51
u32 thrown_item_count
Definition types.h:49
u32 x1A0_count
increments on most attacks, but not down special?
Definition types.h:53
Definition types.h:268
int unk_5B0
Definition types.h:273
char pad_194[0x418]
Definition types.h:271
int unk_190
Definition types.h:270
char pad_0[0x190]
Definition types.h:269
int unk_5AC
Definition types.h:272
Definition types.h:276
float x84
Definition types.h:310
unsigned int x140
Definition types.h:357
float xE8
Definition types.h:335
int x128
Definition types.h:351
unsigned int x94
Definition types.h:314
u32 x54
Definition types.h:298
unsigned int x158
Definition types.h:363
float x20
Definition types.h:285
float x5C
Definition types.h:300
float xF8
Definition types.h:339
float x10
Definition types.h:281
unsigned int x70
Definition types.h:305
unsigned int x88
Definition types.h:311
float x114
Definition types.h:346
float x38
Definition types.h:291
unsigned int x118
Definition types.h:347
int x120
Definition types.h:349
unsigned int x8C
Definition types.h:312
unsigned int x148
Definition types.h:359
unsigned int x74
Definition types.h:306
int x110
Definition types.h:345
float x28
Definition types.h:287
unsigned int xE0
Definition types.h:333
unsigned int x174
Definition types.h:370
u32 xDC
Definition types.h:332
float x44
Definition types.h:294
float xFC
Definition types.h:340
unsigned int x30
Definition types.h:289
u32 x138
Definition types.h:355
u32 x3C
Definition types.h:292
float x160
Definition types.h:365
unsigned int xA4
Definition types.h:318
int x108
Definition types.h:343
unsigned int x2C
Definition types.h:288
float xCC
Definition types.h:328
float xD0
Definition types.h:329
float x14
Definition types.h:282
unsigned int x144
Definition types.h:358
unsigned int x18
Definition types.h:283
float x180
Definition types.h:373
unsigned int x14C
Definition types.h:360
unsigned int xB0
Definition types.h:321
float x100
Definition types.h:341
float xA0
Definition types.h:317
float x0
Definition types.h:277
float x104
Definition types.h:342
u32 x50
Definition types.h:297
unsigned int x168
Definition types.h:367
float xD8
Definition types.h:331
u32 x40
Definition types.h:293
int x12C
Definition types.h:352
unsigned int x124
Definition types.h:350
float xF4
Definition types.h:338
float xD4
Definition types.h:330
unsigned int xE4
Definition types.h:334
unsigned int x80
Definition types.h:309
float x60
Definition types.h:301
float x58
Definition types.h:299
unsigned int x15C
Definition types.h:364
float x9C
Definition types.h:316
float x8
Definition types.h:279
float x98
Definition types.h:315
unsigned int xC8
Definition types.h:327
u32 xC
Definition types.h:280
unsigned int xAC
Definition types.h:320
unsigned int xC4
Definition types.h:326
unsigned int x1C
Definition types.h:284
unsigned int xBC
Definition types.h:324
unsigned int xB8
Definition types.h:323
float x64
Definition types.h:302
int x24
Definition types.h:286
unsigned int x7C
Definition types.h:308
int x17C
Definition types.h:372
unsigned int x150
Definition types.h:361
unsigned int x178
Definition types.h:371
unsigned int x134
Definition types.h:354
float x6C
Definition types.h:304
float x68
Definition types.h:303
unsigned int xA8
Definition types.h:319
unsigned int x90
Definition types.h:313
unsigned int x170
Definition types.h:369
unsigned int x164
Definition types.h:366
float x48
Definition types.h:295
float x78
Definition types.h:307
u8 xC0[0xC4 - 0xC0]
Definition types.h:325
unsigned int x130
Definition types.h:353
float x34
Definition types.h:290
unsigned int x13C
Definition types.h:356
unsigned int xB4
Definition types.h:322
unsigned int x154
Definition types.h:362
int xEC
Definition types.h:336
int x4
Definition types.h:278
unsigned int x16C
Definition types.h:368
float x4C
Definition types.h:296
float x10C
Definition types.h:344
float x11C
Definition types.h:348
u32 xF0
Definition types.h:337
Definition types.h:183
unsigned int xD54
Definition types.h:209
unsigned int xD48
Definition types.h:206
int xCF4
Definition types.h:185
int xD68
Definition types.h:214
int xDB0
Definition types.h:232
int xDC4
Definition types.h:237
float xCF8
Definition types.h:186
float xD74
Definition types.h:217
unsigned int xD4C
Definition types.h:207
float xD94
Definition types.h:225
int xD90
Definition types.h:224
float xD78
Definition types.h:218
int xDA4
Definition types.h:229
u32 xD30
Definition types.h:200
float xDC0
Definition types.h:236
unsigned int xD58
Definition types.h:210
u32 xD20
Definition types.h:196
unsigned int xD40
Definition types.h:204
union pl_StaleMoveTableExt_t::pl_StaleMoveTableExt_t_xDD0 xDD0
int xDCC
Definition types.h:239
int xDAC
Definition types.h:231
float xD80
Definition types.h:220
u32 xD28
Definition types.h:198
u32 xD38
Definition types.h:202
unsigned int xD04
Definition types.h:189
int xD70
Definition types.h:216
int xDC8
Definition types.h:238
float xD8C
Definition types.h:223
u32 xD3C
Definition types.h:203
union pl_StaleMoveTableExt_t::pl_StaleMoveTableExt_t_xDD1 xDD1
StaleMoveTable x0_staleMoveTable
Definition types.h:184
u32 xD60
Definition types.h:212
float xD84
Definition types.h:221
unsigned int xD18
Definition types.h:194
unsigned int xD50
Definition types.h:208
u32 xD24
Definition types.h:197
int xDA8
Definition types.h:230
int xD10
Definition types.h:192
int xD00
Definition types.h:188
int xD64
Definition types.h:213
u32 xD1C
Definition types.h:195
int xDB8
Definition types.h:234
int xD34
Definition types.h:201
int xD9C
Definition types.h:227
int xDB4
Definition types.h:233
int xD6C
Definition types.h:215
unsigned int xD44
Definition types.h:205
u32 xD14
Definition types.h:193
float xD88
Definition types.h:222
int xDA0
Definition types.h:228
u32 xD2C
Definition types.h:199
unsigned int xD5C
Definition types.h:211
unsigned int xD08
Definition types.h:190
int xD98
Definition types.h:226
unsigned int xD0C
Definition types.h:191
float xD7C
Definition types.h:219
int xCFC
Definition types.h:187
int xDBC
Definition types.h:235
Definition types.h:123
float x0
combo damage?
Definition types.h:124
u16 x6
Definition types.h:126
s16 x8
Definition types.h:127
s16 x4
Definition types.h:125
int xC
Definition types.h:128
u16 x12_b0
Definition types.h:130
s16 x10
Definition types.h:129
Definition types.h:118
struct pl_x5EC_t::pl_x5EC_t_x10 x10[6]
f32 x4
Definition types.h:120
u32 x8
Definition types.h:121
u32 xC
Definition types.h:122
u8 x0
player slot
Definition types.h:119
Definition types.h:102
u16 x0
Definition types.h:103
u8 x3_b0
Definition types.h:105
u8 x2
Definition types.h:104
Definition types.h:100
int x0
Definition types.h:101
struct pl_x8C0_t::pl_x8C0_t_x4 x4[5]
Definition types.h:111
u32 x0
Definition types.h:112
u8 x4_b1
Definition types.h:114
u8 x4_b0
Definition types.h:113
Definition types.h:109
int x0
Definition types.h:110
struct pl_x8D8_t::pl_x8D8_t_x4 x4[5]
Definition types.h:1221
struct plActionStats::plActionStats_x358::plActionStats_x358_x0 x0
struct plAttackStats x358_hits
Definition types.h:66
struct pl_StaleMoveTableExt_t::pl_StaleMoveTableExt_t_xDD0::pl_StaleMoveTableExt_t_xDD0_x0 x0
struct pl_StaleMoveTableExt_t::pl_StaleMoveTableExt_t_xDD1::pl_StaleMoveTableExt_t_xDD1_x0 x0