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