SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_FT_CHARA_FTCOMMON_TYPES_H
2#define MELEE_FT_CHARA_FTCOMMON_TYPES_H
3
4#include <platform.h>
5#include <placeholder.h>
6
7#include "ft/forward.h"
8#include "ftCommon/forward.h" // IWYU pragma: export
9#include "ftKirby/forward.h"
10#include "it/forward.h"
11
12#include <dolphin/mtx/types.h>
13
15 /* +0 */ float top;
16 /* +4 */ float bottom;
17 /* +8 */ Vec2 left;
18 /* +10 */ Vec2 right;
19};
20
27
29 struct {
30 /* fp+2340 */ UNK_T x0;
31 /* fp+2344 */ UNK_T x4;
32 /* fp+2348 */ UNK_T x8;
33 /* fp+234C */ UNK_T xC;
34 /* fp+2350 */ UNK_T x10;
35 /* fp+2354 */ float x14;
36 /* fp+2358 */ float x18;
37 /* fp+235C */ float x1C;
38 /* fp+2360 */ float x20;
39 /* fp+2364 */ float x24;
40 /* fp+2368 */ Vec3 x28;
41 /* fp+2374 */ Vec3 x34;
42 /* fp+2380 */ Vec3 x40;
43 /* fp+238C */ Vec3 x4C;
44 /* fp+2398 */ Vec3 x58;
46 struct {
47 /* fp+2340 */ float x0;
48 /* fp+2344 */ FtMotionId msid;
49 /* fp+2348 */ float slow_anim_frame;
50 /* fp+234C */ float middle_anim_frame;
51 /* fp+2350 */ float fast_anim_frame;
52 /* fp+2354 */ float slow_anim_rate;
53 /* fp+2358 */ float middle_anim_rate;
54 /* fp+235C */ float fast_anim_rate;
55 /* fp+2360 */ float accel_mul;
57 struct {
58 /* fp+2340 */ u8 pad_x0[12];
59 /* fp+234C */ float accel_mul;
61 struct {
62 /* fp+2340 */ bool x0;
64 struct {
65 /* fp+2340 */ int x0;
67 struct {
68 /* fp+2340 */ bool x0;
70 struct {
71 /* fp+2340 */ float x0;
72 /* fp+2344 */ int x4;
73 /* fp+2348 */ int x8;
74 /* fp+234C */ UNK_T xC;
75 /* fp+2350 */ UNK_T x10;
76 /* fp+2354 */ float x14;
77 /* fp+2358 */ u8 x18;
78 /* fp+2359 */ u8 x19;
79 /* fp+235A */ u8 x1A;
80 /* fp+235B */ u8 x1B;
82 struct {
83 /* fp+2340 */ s8 x0;
84 /* fp+2341 */ s8 x1;
85 /* fp+2342 */ s8 x2;
86 /* fp+2343 */ s8 x3;
87 /* fp+2344 */ float x4;
88 /* fp+2348 */ ftCollisionBox x8;
90 struct {
91 /* fp+2340 */ float x0;
93 struct {
94 /* fp+2340 */ float x0;
95 /* fp+2344 */ float x4;
96 /* fp+2348 */ float x8;
97 /* fp+234C */ bool xC;
98 /* fp+2350 */ float x10;
99 /* fp+2354 */ float x14;
100 /* fp+2358 */ float x18;
101 /* fp+235C */ int x1C;
102 /* fp+2360 */ int x20;
103 /* fp+2364 */ int x24;
104 /* fp+2368 */ UNK_T x28;
105 /* fp+236C */ float x2C;
107 struct {
108 /* fp+2340 */ bool x0; // itemget action is heavy type?
110 struct {
111 /* fp+2340 */ float facing_dir;
112 /* fp+2344 */ float x4;
113 /* fp+2348 */ int x8;
114 /* fp+234C */ int xC;
115 /* fp+2350 */ float x10;
116 /* fp+2354 */ int x14;
117 /* fp+2358 */ UNK_T x18;
118 /* fp+235C */ UNK_T x1C;
119 /* fp+2360 */ int x20;
121 struct {
122 /* fp+2340 */ int unk_timer;
123 /* fp+2344 */ float anim_spd;
124 /* fp+2348 */ Vec3 x8;
126 struct {
127 /* fp+2340 */ int x0;
128 /* fp+2344 */ float x4;
129 /* fp+2348 */ float x8;
130 /* fp+234C */ int xC;
131 /* fp+2350 */ bool x10;
132 /* fp+2354 */ float x14;
133 /* fp+2358 */ bool allow_interrupt;
135 struct {
136 /* fp+2340 */ bool x0;
137 /* fp+2344 */ float x4;
138 /* fp+2348 */ bool x8;
140 struct {
141 /* fp+2340 */ float x0;
143 struct {
144 /* fp+2340 */ bool x0;
145 /* fp+2344 */ bool x4;
147 struct {
148 /* fp+2340 */ int timer;
149 /* fp+2344 */ Vec3 self_vel;
151 struct {
152 /* fp+2340 */ float x0;
153 /* fp+2344 */ float anim_start;
155 struct {
156 /* fp+2340 */ bool x0;
157 /* fp+2344 */ float x4;
159 struct {
164 /* fp+2340 */ int ledge_id;
165 /* fp+2344 */ float x4;
166 /* fp+2348 */ bool x8;
168 struct {
169 /* fp+2340 */ bool x0;
171 struct {
172 /* fp+2340 */ bool x0;
174 struct {
175 /* fp+2340 */ int x0;
176 /* fp+2344 */ int x4;
177 /* fp+2348 */ float x8;
179 struct {
180 /* fp+2340 */ float x0;
181 /* fp+2344 */ int x4;
183 struct {
184 /* fp+2340 */ float x0;
186 struct {
187 /* fp+2340 */ ftCo_GObj* x0;
188 /* fp+2344 */ bool x4;
189 /* fp+2348 */ float x8;
190 /* fp+234C */ float xC;
191 /* fp+2350 */ float x10;
192 /* fp+2354 */ float x14;
193 /* fp+2358 */ Vec3 x18;
194 /* fp+2364 */ Vec3 scale;
196 struct {
197 /* fp+2340 */ bool x0;
198 /* fp+2344 */ UNK_T x4;
199 /* fp+2348 */ float x8;
200 /* fp+234C */ float xC;
201 /* fp+2350 */ float x10;
203 struct {
204 /* fp+2340 */ Vec2 pos_offset;
205 /* fp+2348 */ Vec2 x8;
206 /* fp+2350 */ Vec2 x10;
207 /* fp+2358 */ bool x18;
208 /* fp+235C */ UNK_T x1C;
209 /* fp+2360 */ UNK_T x20;
210 /* fp+2364 */ UNK_T x24;
211 /* fp+2368 */ UNK_T x28;
212 /* fp+236C */ Vec3 scale;
214 struct {
215 /* fp+2340 */ ftKb_GObj* thrower_gobj;
216 /* fp+2344 */ float x4;
217 /* fp+2348 */ float x8;
218 /* fp+234C */ float xC;
219 /* fp+2350 */ float x10;
220 /* fp+2354 */ bool x14;
221 union {
222 u8 x18;
223 struct {
224 /* fp+2358:0 */ u8 x18_b0 : 1;
225 /* fp+2358:1 */ u8 x18_b1 : 1;
226 /* fp+2358:2 */ u8 x18_b2 : 1;
227 /* fp+2358:3 */ u8 x18_b3 : 1;
228 /* fp+2358:4 */ u8 x18_b4 : 1;
229 /* fp+2358:5 */ u8 x18_b5 : 1;
230 /* fp+2358:6 */ u8 x18_b6 : 1;
231 /* fp+2358:7 */ u8 x18_b7 : 1;
232 };
233 };
234 /* fp+235C */ Vec3 scale;
237 struct {
238 /* fp+2340 */ int x0;
239 /* fp+2344 */ ftCollisionBox coll_box;
240 /* fp+235C */ float x1C;
241 /* fp+2360 */ enum_t x20;
242 /* fp+2364 */ Vec3 translate;
244 struct {
245 /* fp+2340 */ float x0;
247 struct {
248 /* fp+2340 */ int timer;
249 /* fp+2344 */ int x4;
250 /* fp+2348 */ bool x8;
251 /* fp+234C */ int vel_y_exponent;
253 struct {
254 /* fp+2340 */ int x0;
255 /* fp+2344 */ float x4;
257 struct {
258 /* fp+2340 */ float x0;
260 struct {
261 /* fp+2340 */ Vec3 cur_pos;
262 /* fp+234C */ Vec3 self_vel;
263 /* fp+2358 */ float facing_dir;
264 /* fp+235C */ int x1C;
265 /* fp+2360 */ ftCollisionBox ecb;
267 struct {
268 /* fp+2340 */ int x0;
269 /* fp+2344 */ int x4;
270 /* fp+2344 */ float x8;
272 struct {
273 /* fp+2340 */ int x0;
274 /* fp+2344 */ int x4;
275 /* fp+2348 */ float x8;
277 struct {
278 /* fp+2340 */ UNK_T x0;
279 /* fp+2344 */ float x4;
281 struct {
282 /* fp+2340 */ Item_GObj* x0;
284 struct {
285 /* fp+2340 */ bool timer;
287 struct {
288 /* fp+2340 */ Item_GObj* x0;
290 struct {
291 /* fp+2340 */ HSD_GObjEvent x0;
292 /* fp+2344 */ HSD_GObjEvent x4;
293 /* fp+2348 */ int x8;
295 struct {
296 /* fp+2340 */ HSD_GObjEvent x0;
298 struct {
299 /* fp+2340 */ u8 pad_x0[0x6c - 0x40];
300 /* fp+236C */ int x6C;
301 /* fp+2370 */ int x70;
303 struct {
304 /* fp+2340 */ u8 pad_x0[0x6c - 0x40];
305 /* fp+236C */ int x6C;
306 /* fp+2370 */ int x70;
308 struct {
309 /* fp+2340 */ void* x40;
310 /* fp+2344 */ u8 pad_x44[0x6c - 0x44];
311 /* fp+236C */ int x6C;
312 /* fp+2370 */ int x70;
313 /* fp+2374 */ void* x74;
315 struct {
316 /* fp+2340 */ int x40;
318 struct {
319 /* fp+2340 */ int x40;
320 /* fp+2344 */ int x44;
321 /* fp+2348 */ u8 pad_x48[0x68 - 0x48];
322 /* fp+2368 */ int x68;
324};
325
326#endif
Fighter_GObj ftCo_GObj
Definition forward.h:10
enum_t FtMotionId
Definition forward.h:12
Fighter_Part
Definition forward.h:233
#define UNK_T
signed char s8
A signed 8-bit integer.
Definition platform.h:8
int enum_t
The underlying type of an enum, used as a placeholder.
Definition platform.h:74
unsigned char u8
An unsigned 8-bit integer.
Definition platform.h:20
Definition gobj.h:25
Definition types.h:21
Fighter_Part parts[3]
Definition types.h:22
Vec3 vec2
Definition types.h:24
float scale
Definition types.h:25
Vec3 vec1
Definition types.h:23
Definition types.h:9
Definition types.h:13
Definition types.h:14
float bottom
Definition types.h:16
Vec2 right
Definition types.h:18
Vec2 left
Definition types.h:17
float top
Definition types.h:15
void(* HSD_GObjEvent)(HSD_GObj *gobj)
Definition forward.h:104
Definition types.h:28
struct ftCommon_MotionVars::@69 unk_800D3680
struct ftCommon_MotionVars::@27 attackdash
Vec3 cur_pos
Definition types.h:261
UNK_T x4
Definition types.h:31
float anim_start
Definition types.h:153
struct ftCommon_MotionVars::@42 pass
float slow_anim_frame
Definition types.h:49
float fast_anim_rate
Definition types.h:54
bool x4
Definition types.h:145
int x14
Definition types.h:116
struct ftCommon_MotionVars::@36 fallspecial
bool timer
Definition types.h:285
Vec3 x34
Definition types.h:41
struct ftCommon_MotionVars::@61 hammerlanding
float facing_dir
Definition types.h:111
struct ftCommon_MotionVars::@40 escapeair
UNK_T x0
Definition types.h:30
int vel_y_exponent
Definition types.h:251
float middle_anim_frame
Definition types.h:50
float xC
Definition types.h:190
struct ftCommon_MotionVars::@43 cliff
ftKb_GObj * thrower_gobj
Definition types.h:215
u8 x18_b6
Definition types.h:230
Vec2 x8
Definition types.h:205
float x2C
Definition types.h:105
Vec3 x18
Definition types.h:193
int x70
Definition types.h:301
u8 x1B
Definition types.h:80
Item_GObj * x0
Definition types.h:282
Vec2 pos_offset
Definition types.h:204
struct ftCommon_MotionVars::@45 cargoturn
u8 x19
Definition types.h:78
ftCollisionBox ecb
Definition types.h:265
int x20
Definition types.h:102
struct ftCommon_MotionVars::@59 jumpb
UNK_T x18
Definition types.h:117
u8 pad_x48[0x68 - 0x48]
Definition types.h:321
void * x40
Definition types.h:309
float accel_mul
Definition types.h:55
int ledge_id
Used to check against opponent's Fighter::213C while they're occupying a ledge within grab range.
Definition types.h:164
struct ftCommon_MotionVars::@52 thrownkirby
int unk_timer
Definition types.h:122
struct ftCommon_MotionVars::@50 capturekoopa
struct ftCommon_MotionVars::@62 captureleadead
int x68
Definition types.h:322
struct ftCommon_MotionVars::@39 escape
struct ftCommon_MotionVars::@38 downwait
float x0
Definition types.h:47
Vec3 x58
Definition types.h:44
struct ftCommon_MotionVars::@46 cargokneebend
enum_t x20
Definition types.h:241
int x0
Definition types.h:65
struct ftCommon_MotionVars::@56 aircatchhit
bool x18
Definition types.h:207
struct ftCommon_MotionVars::@44 cliffjump
Vec3 x28
Definition types.h:40
float x10
Definition types.h:98
struct ftCommon_MotionVars::@64 capturelikelike
struct ftCommon_MotionVars::@23 common
int x24
Definition types.h:103
UNK_T x10
Definition types.h:34
struct ftCommon_MotionVars::@30 damageice
UNK_T x28
Definition types.h:104
struct ftCommon_MotionVars::@34 itemthrow
struct ftCommon_MotionVars::@54 buryjump
struct ftCommon_MotionVars::@57 aircatch
struct ftCommon_MotionVars::@63 entry
struct ftCommon_MotionVars::@32 guard
Vec3 translate
Definition types.h:242
s8 x3
Definition types.h:86
int x4
Definition types.h:72
int timer
Definition types.h:148
int x40
Definition types.h:316
UNK_T x24
Definition types.h:210
void * x74
Definition types.h:313
ftCo_GObj * x0
Definition types.h:187
UNK_T x8
Definition types.h:32
float x24
Definition types.h:39
s8 x2
Definition types.h:85
bool allow_interrupt
Definition types.h:133
u8 pad_x0[12]
Definition types.h:58
s8 x1
Definition types.h:84
UNK_T x20
Definition types.h:209
struct ftCommon_MotionVars::@66 unk_800D2890
float anim_spd
Definition types.h:123
int x8
Definition types.h:73
struct ftCommon_MotionVars::@55 passivewall
struct ftCommon_MotionVars::@60 hammerkneebend
struct ftCommon_MotionVars::@58 warpstar
int x6C
Definition types.h:300
u8 x18_b2
Definition types.h:226
bool x8
Definition types.h:138
int x1C
Definition types.h:101
float fast_anim_frame
Definition types.h:51
struct ftCommon_MotionVars::@28 attacklw3
ftCollisionBox coll_box
Definition types.h:235
HSD_GObjEvent x0
Definition types.h:291
struct ftCommon_MotionVars::@31 damageicejump
float x4
Definition types.h:87
struct ftCommon_MotionVars::@53 bury
struct ftCommon_MotionVars::@49 yoshiegg
Vec3 scale
Definition types.h:194
ftCollisionBox x8
Definition types.h:88
struct ftCommon_MotionVars::@70 unk_deadleft
u8 x1A
Definition types.h:79
struct ftCommon_MotionVars::@71 unk_deadup
float x1C
Definition types.h:37
struct ftCommon_MotionVars::@51 capturekirby
struct ftCommon_MotionVars::@48 downdamage
struct ftCommon_MotionVars::@65 mushroom
Vec3 self_vel
Definition types.h:149
struct ftCommon_MotionVars::@41 rebound
u8 x18_b5
Definition types.h:229
u8 x18_b4
Definition types.h:228
u8 x18_b1
Definition types.h:225
Vec3 x4C
Definition types.h:43
bool x0
Definition types.h:62
float middle_anim_rate
Definition types.h:53
float x20
Definition types.h:38
Vec2 x10
Definition types.h:206
bool xC
Definition types.h:97
bool x10
Definition types.h:131
float x14
Definition types.h:35
struct ftCommon_MotionVars::@67 unk_800D331C
bool x14
Definition types.h:220
struct ftCommon_MotionVars::@35 itemthrow4
int xC
Definition types.h:114
HSD_GObjEvent x4
Definition types.h:292
int x44
Definition types.h:320
struct ftCommon_MotionVars::@37 lift
struct ftCommon_MotionVars::@25 turnrun
Vec3 x40
Definition types.h:42
float slow_anim_rate
Definition types.h:52
Vec3 x8
Definition types.h:124
FtMotionId msid
Definition types.h:48
float x18
Definition types.h:36
struct ftCommon_MotionVars::@24 walk
UNK_T xC
Definition types.h:33
struct ftCommon_MotionVars::@26 attack1
u8 pad_x44[0x6c - 0x44]
Definition types.h:310
struct ftCommon_MotionVars::@29 damage
float x8
Definition types.h:96
u8 x18_b3
Definition types.h:227
u8 x18
Definition types.h:77
struct ftCommon_MotionVars::@47 shouldered
s8 x0
Definition types.h:83
UNK_T x1C
Definition types.h:118
u8 x18_b7
Definition types.h:231
u8 x18_b0
Definition types.h:224
struct ftCommon_MotionVars::@33 itemget
struct ftCommon_MotionVars::@68 unk_800D34E0