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 */ float x0;
31 /* fp+2344 */ FtMotionId msid;
32 /* fp+2348 */ float slow_anim_frame;
33 /* fp+234C */ float middle_anim_frame;
34 /* fp+2350 */ float fast_anim_frame;
35 /* fp+2354 */ float slow_anim_rate;
36 /* fp+2358 */ float middle_anim_rate;
37 /* fp+235C */ float fast_anim_rate;
38 /* fp+2360 */ float accel_mul;
40 struct {
41 /* fp+2340 */ bool x0;
43 struct {
44 /* fp+2340 */ int x0;
46 struct {
47 /* fp+2340 */ bool x0;
49 struct {
50 /* fp+2340 */ float x0;
51 /* fp+2344 */ int x4;
52 /* fp+2348 */ int x8;
53 /* fp+234C */ UNK_T xC;
54 /* fp+2350 */ UNK_T x10;
55 /* fp+2354 */ float x14;
56 /* fp+2358 */ u8 x18;
57 /* fp+2359 */ u8 x19;
58 /* fp+235A */ u8 x1A;
59 /* fp+235B */ u8 x1B;
61 struct {
62 /* fp+2340 */ s8 x0;
63 /* fp+2341 */ s8 x1;
64 /* fp+2342 */ s8 x2;
65 /* fp+2343 */ s8 x3;
66 /* fp+2344 */ float x4;
67 /* fp+2348 */ ftCollisionBox x8;
69 struct {
70 /* fp+2340 */ float x0;
72 struct {
73 /* fp+2340 */ float x0;
74 /* fp+2344 */ float x4;
75 /* fp+2348 */ float x8;
76 /* fp+234C */ bool xC;
77 /* fp+2350 */ float x10;
78 /* fp+2354 */ float x14;
79 /* fp+2358 */ float x18;
80 /* fp+235C */ int x1C;
81 /* fp+2360 */ int x20;
82 /* fp+2364 */ int x24;
83 /* fp+2368 */ UNK_T x28;
84 /* fp+236C */ float x2C;
86 struct {
87 /* fp+2340 */ bool x0; // itemget action is heavy type?
89 struct {
90 /* fp+2340 */ float facing_dir;
91 /* fp+2344 */ float x4;
92 /* fp+2348 */ int x8;
93 /* fp+234C */ int xC;
94 /* fp+2350 */ float x10;
95 /* fp+2354 */ int x14;
96 /* fp+2358 */ UNK_T x18;
97 /* fp+235C */ UNK_T x1C;
98 /* fp+2360 */ int x20;
100 struct {
101 /* fp+2340 */ int unk_timer;
102 /* fp+2344 */ float anim_spd;
103 /* fp+2348 */ Vec3 x8;
105 struct {
106 /* fp+2340 */ int x0;
107 /* fp+2344 */ float x4;
108 /* fp+2348 */ float x8;
109 /* fp+234C */ int xC;
110 /* fp+2350 */ bool x10;
111 /* fp+2354 */ float x14;
112 /* fp+2358 */ bool allow_interrupt;
114 struct {
115 /* fp+2340 */ bool x0;
116 /* fp+2344 */ float x4;
117 /* fp+2348 */ bool x8;
119 struct {
120 /* fp+2340 */ float x0;
122 struct {
123 /* fp+2340 */ bool x0;
124 /* fp+2344 */ bool x4;
126 struct {
127 /* fp+2340 */ int timer;
128 /* fp+2344 */ Vec3 self_vel;
130 struct {
131 /* fp+2340 */ float x0;
132 /* fp+2344 */ float anim_start;
134 struct {
135 /* fp+2340 */ bool x0;
136 /* fp+2344 */ float x4;
138 struct {
143 /* fp+2340 */ int ledge_id;
144 /* fp+2344 */ float x4;
145 /* fp+2348 */ bool x8;
147 struct {
148 /* fp+2340 */ bool x0;
150 struct {
151 /* fp+2340 */ bool x0;
153 struct {
154 /* fp+2340 */ int x0;
155 /* fp+2344 */ int x4;
156 /* fp+2348 */ float x8;
158 struct {
159 /* fp+2340 */ float x0;
160 /* fp+2344 */ int x4;
162 struct {
163 /* fp+2340 */ float x0;
165 struct {
166 /* fp+2340 */ ftCo_GObj* x0;
167 /* fp+2344 */ bool x4;
168 /* fp+2348 */ float x8;
169 /* fp+234C */ float xC;
170 /* fp+2350 */ float x10;
171 /* fp+2354 */ float x14;
172 /* fp+2358 */ Vec3 x18;
173 /* fp+2364 */ Vec3 scale;
175 struct {
176 /* fp+2340 */ bool x0;
177 /* fp+2344 */ UNK_T x4;
178 /* fp+2348 */ float x8;
179 /* fp+234C */ float xC;
180 /* fp+2350 */ float x10;
182 struct {
183 /* fp+2340 */ Vec2 pos_offset;
184 /* fp+2348 */ Vec2 x8;
185 /* fp+2350 */ Vec2 x10;
186 /* fp+2358 */ bool x18;
187 /* fp+235C */ UNK_T x1C;
188 /* fp+2360 */ UNK_T x20;
189 /* fp+2364 */ UNK_T x24;
190 /* fp+2368 */ UNK_T x28;
191 /* fp+236C */ Vec3 scale;
193 struct {
194 /* fp+2340 */ ftKb_GObj* thrower_gobj;
195 /* fp+2344 */ float x4;
196 /* fp+2348 */ float x8;
197 /* fp+234C */ float xC;
198 /* fp+2350 */ float x10;
199 /* fp+2354 */ bool x14;
200 union {
201 u8 x18;
202 struct {
203 /* fp+2358:0 */ u8 x18_b0 : 1;
204 /* fp+2358:1 */ u8 x18_b1 : 1;
205 /* fp+2358:2 */ u8 x18_b2 : 1;
206 /* fp+2358:3 */ u8 x18_b3 : 1;
207 /* fp+2358:4 */ u8 x18_b4 : 1;
208 /* fp+2358:5 */ u8 x18_b5 : 1;
209 /* fp+2358:6 */ u8 x18_b6 : 1;
210 /* fp+2358:7 */ u8 x18_b7 : 1;
211 };
212 };
213 /* fp+235C */ Vec3 scale;
216 struct {
217 /* fp+2340 */ int x0;
218 /* fp+2344 */ ftCollisionBox coll_box;
219 /* fp+235C */ float x1C;
220 /* fp+2360 */ enum_t x20;
221 /* fp+2364 */ Vec3 translate;
223 struct {
224 /* fp+2340 */ float x0;
226 struct {
227 /* fp+2340 */ int timer;
228 /* fp+2344 */ int x4;
229 /* fp+2348 */ bool x8;
230 /* fp+234C */ int vel_y_exponent;
232 struct {
233 /* fp+2340 */ int x0;
234 /* fp+2344 */ float x4;
236 struct {
237 /* fp+2340 */ float x0;
239 struct {
240 /* fp+2340 */ Vec3 cur_pos;
241 /* fp+234C */ Vec3 self_vel;
242 /* fp+2358 */ float facing_dir;
243 /* fp+235C */ int x1C;
244 /* fp+2360 */ ftCollisionBox ecb;
246 struct {
247 /* fp+2340 */ int x0;
248 /* fp+2344 */ int x4;
249 /* fp+2344 */ float x8;
251 struct {
252 /* fp+2340 */ int x0;
253 /* fp+2344 */ int x4;
254 /* fp+2348 */ float x8;
256 struct {
257 /* fp+2340 */ UNK_T x0;
258 /* fp+2344 */ float x4;
260 struct {
261 /* fp+2340 */ Item_GObj* x0;
263 struct {
264 /* fp+2340 */ bool timer;
266 struct {
267 /* fp+2340 */ Item_GObj* x0;
269};
270
271#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
Definition types.h:28
struct ftCommon_MotionVars::@36 downdamage
Vec3 cur_pos
Definition types.h:240
struct ftCommon_MotionVars::@27 escape
UNK_T x4
Definition types.h:177
float anim_start
Definition types.h:132
struct ftCommon_MotionVars::@17 damage
float slow_anim_frame
Definition types.h:32
float fast_anim_rate
Definition types.h:37
bool x4
Definition types.h:124
int x14
Definition types.h:95
bool timer
Definition types.h:264
float facing_dir
Definition types.h:90
UNK_T x0
Definition types.h:257
int vel_y_exponent
Definition types.h:230
float middle_anim_frame
Definition types.h:33
float xC
Definition types.h:169
ftKb_GObj * thrower_gobj
Definition types.h:194
u8 x18_b6
Definition types.h:209
struct ftCommon_MotionVars::@45 aircatch
Vec2 x8
Definition types.h:184
float x2C
Definition types.h:84
Vec3 x18
Definition types.h:172
u8 x1B
Definition types.h:59
Item_GObj * x0
Definition types.h:261
Vec2 pos_offset
Definition types.h:183
u8 x19
Definition types.h:57
struct ftCommon_MotionVars::@33 cargoturn
struct ftCommon_MotionVars::@35 shouldered
ftCollisionBox ecb
Definition types.h:244
int x20
Definition types.h:81
UNK_T x18
Definition types.h:96
struct ftCommon_MotionVars::@41 bury
struct ftCommon_MotionVars::@42 buryjump
float accel_mul
Definition types.h:38
int ledge_id
Used to check against opponent's Fighter::213C while they're occupying a ledge within grab range.
Definition types.h:143
int unk_timer
Definition types.h:101
struct ftCommon_MotionVars::@51 entry
struct ftCommon_MotionVars::@40 thrownkirby
float x0
Definition types.h:30
enum_t x20
Definition types.h:220
struct ftCommon_MotionVars::@26 downwait
int x0
Definition types.h:44
bool x18
Definition types.h:186
float x10
Definition types.h:77
struct ftCommon_MotionVars::@20 guard
int x24
Definition types.h:82
struct ftCommon_MotionVars::@52 capturelikelike
UNK_T x10
Definition types.h:54
struct ftCommon_MotionVars::@47 jumpb
UNK_T x28
Definition types.h:83
Vec3 translate
Definition types.h:221
s8 x3
Definition types.h:65
int x4
Definition types.h:51
int timer
Definition types.h:127
UNK_T x24
Definition types.h:189
struct ftCommon_MotionVars::@15 attackdash
ftCo_GObj * x0
Definition types.h:166
struct ftCommon_MotionVars::@39 capturekirby
struct ftCommon_MotionVars::@18 damageice
struct ftCommon_MotionVars::@34 cargokneebend
struct ftCommon_MotionVars::@43 passivewall
s8 x2
Definition types.h:64
bool allow_interrupt
Definition types.h:112
s8 x1
Definition types.h:63
UNK_T x20
Definition types.h:188
float anim_spd
Definition types.h:102
struct ftCommon_MotionVars::@44 aircatchhit
int x8
Definition types.h:52
u8 x18_b2
Definition types.h:205
struct ftCommon_MotionVars::@21 itemget
bool x8
Definition types.h:117
struct ftCommon_MotionVars::@23 itemthrow4
int x1C
Definition types.h:80
float fast_anim_frame
Definition types.h:34
ftCollisionBox coll_box
Definition types.h:214
float x4
Definition types.h:66
struct ftCommon_MotionVars::@24 fallspecial
struct ftCommon_MotionVars::@14 attack1
Vec3 scale
Definition types.h:173
ftCollisionBox x8
Definition types.h:67
struct ftCommon_MotionVars::@13 walk
u8 x1A
Definition types.h:58
struct ftCommon_MotionVars::@30 pass
struct ftCommon_MotionVars::@49 hammerlanding
float x1C
Definition types.h:219
Vec3 self_vel
Definition types.h:128
u8 x18_b5
Definition types.h:208
u8 x18_b4
Definition types.h:207
u8 x18_b1
Definition types.h:204
bool x0
Definition types.h:41
struct ftCommon_MotionVars::@37 yoshiegg
float middle_anim_rate
Definition types.h:36
Vec2 x10
Definition types.h:185
bool xC
Definition types.h:76
bool x10
Definition types.h:110
struct ftCommon_MotionVars::@25 lift
float x14
Definition types.h:55
bool x14
Definition types.h:199
struct ftCommon_MotionVars::@19 damageicejump
struct ftCommon_MotionVars::@50 captureleadead
struct ftCommon_MotionVars::@16 attacklw3
struct ftCommon_MotionVars::@46 warpstar
int xC
Definition types.h:93
float slow_anim_rate
Definition types.h:35
Vec3 x8
Definition types.h:103
FtMotionId msid
Definition types.h:31
float x18
Definition types.h:79
UNK_T xC
Definition types.h:53
float x8
Definition types.h:75
u8 x18_b3
Definition types.h:206
u8 x18
Definition types.h:56
struct ftCommon_MotionVars::@22 itemthrow
struct ftCommon_MotionVars::@48 hammerkneebend
struct ftCommon_MotionVars::@31 cliff
struct ftCommon_MotionVars::@32 cliffjump
struct ftCommon_MotionVars::@29 rebound
s8 x0
Definition types.h:62
UNK_T x1C
Definition types.h:97
u8 x18_b7
Definition types.h:210
u8 x18_b0
Definition types.h:203
struct ftCommon_MotionVars::@28 escapeair
struct ftCommon_MotionVars::@38 capturekoopa