SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_GM_TYPES_H
2#define MELEE_GM_TYPES_H
3
4#include <placeholder.h>
5#include <platform.h>
6
7#include "baselib/forward.h"
8
9#include "dolphin/types.h"
10
11#include <melee/ft/forward.h>
12#include <melee/gm/forward.h> // IWYU pragma: export
13#include <melee/gr/forward.h>
14#include <melee/pl/forward.h>
15#include <melee/sc/forward.h>
16
17#include <common_structs.h>
18#include <melee/mn/types.h>
19
21 u16 x0_0 : 1;
22 u16 x2;
23 int x4;
24};
25
27 /* 00 */ u32 x0;
28 /* 04 */ int x4;
29 /* 08 */ u32 x8;
30 /* 0C */ int xC;
31 /* 10 */ u32 ckind;
32 /* 14 */ u8 slot;
33 /* 15 */ u8 x15;
34 /* 16 */ u16 x16;
35 /* 18 */ u16 x18;
36};
37
38struct MinorScene {
39 /* 00 */ u8 idx;
40 /* 01 */ u8 preload;
41 /* 02 */ u16 flags;
42
43 /* 04 */ void (*Prep)(MinorScene*);
44 /* 08 */ void (*Decide)(MinorScene*);
45
47 /* 0C */ u8 class_id;
48 /* 10 */ void* load_data;
49 /* 14 */ void* leave_data;
51};
52
53struct MajorScene {
56
57 void (*Load)(void);
58 void (*Unload)(void);
59 void (*Init)(void);
60
62}; // 803DACA4
63
66
67 void (*OnFrame)(void);
68 void (*OnLoad)(void*);
69 void (*OnLeave)(void*);
70 void (*unk_func)(void);
71}; // 803DA920
72
81
91STATIC_ASSERT(sizeof(GameState) == 0x14);
92
93struct sceneData {
94 u32 a;
96};
97
98struct gmm_x1CB0 {
99 /* +0 */ u8 item_freq;
100 /* +1 */ u8 pad_x1[0x8 - 0x1];
101 /* +8 */ u64 item_mask;
102 /* +10 */ u8 rumble[4];
103 /* +14 */ u8 sound_balance;
104 /* +15 */ u8 deflicker;
105 /* +16 */ u8 saved_language; /* 0x1CC6 */
106 /* +18 */ u32 stage_mask;
107 /* +1C */ u8 padding_x16[0x1];
108};
109
111 /* 0x00 */ u16 fighter_kos[25];
112 /* 0x32 */ u8 padding_0x32[2];
113 /* 0x34 */ u16 sd_count;
114 /* 0x36 */ u8 padding_0x36[2];
115 /* 0x38 */ u32 attacks_hit;
116 /* 0x3C */ u32 attacks_total;
117 /* 0x40 */ s32 damage_dealt;
118 /* 0x44 */ s32 damage_taken;
120 /* 0x4C */ u16 peak_damage;
121 /* 0x4E */ u16 match_count;
122 /* 0x50 */ u16 victories;
123 /* 0x52 */ u16 losses;
124 /* 0x54 */ u32 play_time;
125 /* 0x58 */ u32 total_player_count;
126 /* 0x5C */ s32 walk_distance;
127 /* 0x60 */ s32 run_distance;
128 /* 0x64 */ s32 fall_distance;
129 /* 0x68 */ s32 peak_height;
131 /* 0x70 */ s32 coins_swiped;
132 /* 0x74 */ s32 coins_lost;
133 /* 0x78 */ s8 x78;
134 /* 0x79 */ s8 x79;
135 /* 0x7A */ UnkFlagStruct x7A;
136 /* 0x7B */ s8 x7B;
137 /* 0x7C */ struct {
138 u16 b0 : 1;
139 u16 b1 : 1;
140 u16 b2 : 1;
141 u16 b3 : 1;
142 u16 b4 : 1;
143 u16 b5 : 1;
144 u16 b6 : 1;
145 u16 b789 : 3;
146 u16 b10_to_12 : 3;
147 u16 b13_to_15 : 3;
148 s16 x7E;
157 u32 x94;
160 u16 xA0;
161 u16 xA2;
165};
166
168 /* 0x000 */ u16 vs_kos[120];
169 /* 0x0F0 */ u16 sd_count;
170 /* 0x0F2 */ u8 padding_0xF2[2];
171 /* 0x0F4 */ u32 attacks_hit;
172 /* 0x0F8 */ u32 attacks_total;
173 /* 0x0FC */ s32 damage_dealt;
174 /* 0x100 */ s32 damage_taken;
176 /* 0x108 */ u16 peak_damage;
177 /* 0x10A */ u16 match_count;
178 /* 0x10C */ u16 victories;
179 /* 0x10E */ u16 losses;
180 /* 0x110 */ u32 play_time;
181 /* 0x114 */ u32 total_player_count;
182 /* 0x118 */ s32 walk_distance;
183 /* 0x11C */ s32 run_distance;
184 /* 0x120 */ s32 fall_distance;
185 /* 0x124 */ s32 peak_height;
186 /* 0x128 */ s32 coins_collected;
187 /* 0x12C */ s32 coins_swiped;
188 /* 0x130 */ s32 coins_lost;
189 /* 0x134 */ u32 play_time_by_fighter[25];
190 /* 0x198 */ char namedata[8];
191 /* 0x1A0 */ s8 x1A0;
192 /* 0x1A1 */ u8 x1A1;
193 /* 0x1A2 */ s8 x1A2;
194 /* 0x1A3 */ u8 padding_x1A2;
195};
196
198 struct NameTagData inner[19];
199};
200
201struct GameRules {
202 /* 0x00 */ u8 force_main_menu;
203 /* 0x01 */ u8 bgm;
204 /* 0x02 */ u8 mode;
205 /* 0x03 */ u8 time_limit;
206 /* 0x04 */ u8 stock_count;
207 /* 0x05 */ u8 handicap;
208 /* 0x06 */ u8 damage_ratio;
209 /* 0x07 */ u8 unk_x7;
211 /* 0x09 */ u8 friendly_fire;
212 /* 0x0A */ u8 pause;
213 /* 0x0B */ u8 score_display;
214 /* 0x0C */ u8 unk_xc;
215 /* 0x0D */ u8 xD;
216 /* 0x0E */ u8 xE;
217 /* 0x0F */ u8 xF;
218 /* 0x10 */ u8 unk_x10;
219 /* 0x11 */ u8 x11;
220 /* 0x12 */ u8 x12;
221 /* 0x13 */ u8 x13;
222 /* 0x14 */ s32 unk_14; /* inferred */
223}; /* size = 0x18 */
224STATIC_ASSERT(sizeof(struct GameRules) == 0x18);
225
236
241
244 u32 x4;
246 u32 xC;
247 int x10;
248 u32 x14;
249 u16 x18[2];
250 u8 pad_x1C[0x4C - 0x1C];
252 u8 padding_x4C[0xB0 - 0x4C - 4 * 4];
253 s32 xB0[0x19];
254 int x114[0x19];
255};
256
257struct gmm_x1868 {
258 /* 0x0000 */ u16 x1868;
259 /* 0x0002 */ u16 x186A;
260 /* 0x0004 */ u8 x186C;
263 // perhaps features got removed from the unlock system? item switch comes
264 // to mind as plausible
265 /* 0x0005 */ char pad_5[3];
266 /* 0x0008 */ struct gmm_retval_ED98 unk_8;
267 /* 0x0028 */ struct gmm_retval_EDB0 unk_28;
268 /* 0x0030 */ struct gmm_retval_EDBC unk_30;
270 /* 0x01A8 +0 */ u32 x0;
271 /* 0x01AC +4 */ u8 x4;
272 /* 0x01AD +5 */ u8 x5;
273 /* 0x01AE +6 */ u8 x6;
275 /* 0x01B0 */ s32 x1A18;
276 /* 0x01B4 */ s32 x1A1C;
277 /* 0x01B8 */ s32 x1A20;
278 /* 0x01BC */ s32 x1A24;
279 /* 0x01C0 */ s32 x1A28;
280 /* 0x01C4 */ s32 x1A2C;
281 /* 0x01C8 */ s32 x1A30;
282 /* 0x01CC */ s32 x1A34;
283 /* 0x01D0 */ s32 x1A38;
284 /* 0x01D4 */ s32 x1A3C;
285 /* 0x01D8 */ s32 x1A40;
286 /* 0x01DC */ s32 x1A44;
287 /* 0x01E0 */ u32 x1A48;
288 /* 0x01E4 */ s32 x1A4C;
289 /* 0x01E8 */ s32 x1A50;
290 /* 0x01EC */ int x1A54;
291 /* 0x01F0 */ s32 x1A58;
292 /* 0x01F4 */ s32 x1A5C;
293 /* 0x01F8 */ s32 x1A60;
294 /* 0x01FC */ s32 x1A64;
295 /* 0x0200 */ s64 x1A68;
296 /* 0x0208 */ s32 x1A70[4];
297 /* 0x0218 */ u8 padding_x1A70[0xBC];
298 /* 0x02D4 */ u8 x1B3C;
299 /* 0x02D5 */ char pad_2D5[3]; /* maybe part of x1B3C[4]? */
300 /* 0x02D8 */ u32 x1B40[3];
301 /* 0x02E4 */ u32 x1B4C[3];
302 /* 0x02F0 */ u32 x1B58[3];
303 /* 0x02FC */ u8 padding_x1B58[0x1C];
304 /* 0x0318 */ u32 x1B80[4];
305 /* 0x0328 */ u8 padding_x1B80[0xF8];
306 /* 0x0420 */ u32 x1C88[3];
307 /* 0x042C */ u8 padding_x1C88[0x1C];
308 /* 0x0448 */ struct gmm_x1CB0 x1CB0;
309 /* 0x0468 */ s16 x1CD0;
310 /* 0x046A */ s16 x1CD2;
311 /* 0x046C */ s32 x1CD4;
312 /* 0x0470 */ u8 padding_x1CD4[0x254];
313 /* 0x06C4 */ struct FighterData x1F2C[0x19];
314 /* 0x1760 */ struct NameTagDataBank x2FF8[2];
315}; /* size = 0x55E8 */
316
317struct gmm_x0 {
318 /* 0x0000 */ u8 language;
319 /* 0x0001 */ u8 unk_1;
320 /* 0x0002 */ u8 unk_2;
321 /* 0x0003 */ char pad_3[0x36]; /* maybe part of x1[0x38]? */
322 /* 0x0039 */ u8 x39[0xB];
323 /* 0x0044 */ s32 unk_44;
324 /* 0x0048 */ char pad_48[0x24]; /* maybe part of x44[0xA]? */
325 /* 0x006C */ u32 unk_6C[4];
326 /* 0x007C */ char pad_7C[0x4A0]; /* maybe part of x6C[0x4B]? */
328 /* 0x0528 */ s8 c_kind;
329 /* 0x0529 */ u8 stocks;
330 /* 0x052A */ u8 color;
331 /* 0x052B */ u8 cpu_level;
332 /* 0x052C */ u8 x4;
333 /* 0x052D */ u8 x5;
335 struct EventData {
336 /* 0x0530 */ u8 x0;
337 /* 0x0531 */ u8 x1;
338 /* 0x0532 */ s8 x2;
339 /* 0x0533 */ u8 x3;
340 /* 0x0534 */ u8 x4;
341 /* 0x0535 */ u8 unk_535;
342 /* 0x0536 */ u8 x6;
343 /* 0x0537 */ u8 x7;
344 /* 0x0538 */ s8 x8;
345 /* 0x0539 */ s8 x9;
346 /* 0x053A */ s8 xA;
347 /* 0x053B */ u8 xB_0 : 1;
348 /* 0x053B */ u8 xB_1 : 1;
349 /* 0x053B */ u8 xB_2 : 1;
350 /* 0x053B */ u8 xB_3 : 1;
351 /* 0x053B */ u8 xB_4 : 1;
352 /* 0x053B */ u8 xB_5 : 1;
353 /* 0x053B */ u8 xB_6 : 1;
354 /* 0x053B */ u8 xB_7 : 1;
355 /* 0x053C */ int xC;
356 /* 0x0540 */ int x10;
357 /* 0x0544 */ int x14;
358 /* 0x0548 */ int x18;
359 /* 0x054C */ float x1C;
360 /* 0x0550 */ int x20;
361 /* 0x0554 */ int x24;
362 /* 0x0558 */ int x28;
363 /* 0x055C */ int x2C; // timer seconds
364 /* 0x0560 */ int x30;
365 /* 0x0564 */ int x34;
366 /* 0x0568 */ u8 x38;
367 /* 0x056C */ int x3C;
368 /* 0x0570 */ int x40;
369 /* 0x0574 */ s8 x44;
370 /* 0x0575 */ u8 x45;
371 /* 0x0578 */ InternalStageId x48;
372 /* 0x057C */ s8 x4C[4];
373 /* 0x0580 */ u8 x50[4];
375 /* 0x0584 */ s8 unk_584;
376 /* 0x0585 */ u8 unk_585;
377 /* 0x0586 */ u8 unk_586;
378 /* 0x0587 */ s8 unk_587;
380 /* 0x0588 */ s8 unk_588[4]; /* inferred */
381 /* 0x0590 */ char pad_58B[4]; /* inferred */
383 /* 0x0590 */ VsModeData unk_590;
384 /* 0x06D0 */ VsModeData unk_6D0;
385 /* 0x0810 */ VsModeData unk_810;
386 /* 0x0950 */ VsModeData unk_950;
387 /* 0x0A90 */ VsModeData unk_A90;
388 /* 0x0BD0 */ VsModeData unk_BD0;
389 /* 0x0D10 */ VsModeData unk_D10;
390 /* 0x0E50 */ VsModeData unk_E50;
391 /* 0x0F90 */ VsModeData unk_F90;
392 /* 0x10D0 */ VsModeData unk_10D0;
393 /* 0x1210 */ VsModeData unk_1210;
394 /* 0x1350 */ VsModeData unk_1350;
395 /* 0x1490 */ VsModeData unk_1490;
396 /* 0x15D0 */ char pad_15D0[0x1710 - 0x15D0];
397 /* 0x17C0 */ VsModeData unk_1710;
398 /* 0x1850 */ GameRules x1850;
399 /* 0x1898 */ struct gmm_x1868 thing;
400}; /* size = 0x6E80 */
401
407 u32 x8;
411 u8 padF[0x16 - 0xF];
413 u8 pad17[0x24 - 0x17];
414 struct {
416 u8 pad_x1[0xB];
417 } x24[1];
418 u8 pad30[0x58 - 0x30];
435 u8 pad3F0[0x44C - 0x3F0 - 0x58];
437 u8 x0[0x101];
438 int x104[0x101];
439 } x44C[6];
440};
441
443 /* +0:0 */ u8 x0_b0_b2 : 3;
444 /* +0:3 */ u8 x0_b3 : 1;
445 /* +0:4 */ u8 x0_b4 : 1;
446 /* +0:5 */ u8 x0_b5 : 1;
447 /* +0:6 */ u8 x0_b6 : 1;
448 /* +0:7 */ u8 x0_b7 : 1;
449 /* +1:0 */ u8 x1_b0 : 1;
450 /* +1:1 */ u8 x1_b1 : 1;
451 /* +1:2 */ u8 x1_b2 : 1;
452 /* +1:3 */ u8 x1_b3 : 1;
453 /* +1:4 */ u8 x1_b4 : 1;
454 /* +1:5 */ u8 x1_b5 : 1;
455 /* +1:6 */ u8 x1_b6 : 1;
456 /* +1:7 */ u8 x1_b7 : 1;
457 /* +2:0 */ u8 x2_b0 : 1;
458 /* +2:1 */ u8 x2_b1 : 1;
459 /* +2:2 */ u8 x2_b2 : 1;
460 /* +2:3 */ u8 x2_b3 : 1;
461 /* +2:4 */ u8 x2_b4 : 1;
462 /* +2:5 */ u8 x2_b5 : 1;
463 /* +2:6 */ u8 x2_b6 : 1;
464 /* +2:7 */ u8 x2_b7 : 1;
465};
466
468 /* 0x0000 */ u8 unk_0;
469 /* 0x0001 */ s8 pauser;
470 /* 0x0002 */ u8 pause_timer;
471 /* 0x0003 */ u8 unk_3;
472 /* 0x0004 */ u8 unk_4;
473 /* 0x0005 */ u8 hud_enabled;
474 /* 0x0006 */ u8 terminate_match;
475 /* 0x0007 */ u8 is_singleplayer;
476 /* 0x0008 */ u8 match_result;
477 /* 0x0009 */ u8 unk_9;
478 /* 0x000A */ u8 unk_A;
479 /* 0x000B */ u8 unk_B; // end graphic / SFX type
480 /* 0x000C */ u8 unk_C;
481 /* 0x000D */ u8 unk_D;
482 /* 0x000E */ u8 match_over;
483 /* 0x000F */ u8 unk_F;
484 /* 0x0010 */ s32 unk_10;
485 /* 0x0014 */ s32 unk_14;
486 /* 0x0018 */ u8 unk_18; /* maybe part of unk_14[4]? */
487 /* 0x001C */ u32* unk_1C;
488 /* 0x0020 */ u32* unk_20;
489 /* 0x0024 */ u32 frame_count;
490 /* 0x0028 */ u32 timer_seconds;
491 /* 0x002C */ u16 unk_2C;
492 /* 0x002E */ u16 unk_2E;
493 /* 0x0030 */ u8 unk_30;
494 /* 0x0034 */ f32 unk_34;
495 /* 0x0038 */ struct {
500 u8 x4_b0 : 1;
502 u8 x4_b2 : 1;
504 u8 x4_b4 : 1;
509 u16 x6;
514 u16 xC;
516 /* 0x0038 */ char pad_8C[0x24C - 0x8C]; /* maybe part of unk_34[0x925]? */
517 /* 0x024C */ struct lbl_8046B6A0_24C_t x24C;
518 /* 0x24C8 */ struct StartMeleeRules x24C8;
519}; /* size = 0x2528 */
520STATIC_ASSERT(sizeof(struct lbl_8046B6A0_t) == 0x2528);
521
526
528 /* +0 */ s16 x0;
529 /* +2 */ s16 x2;
530 /* +4 */ s32 x4;
531 /* +8 */ s32 x8;
532 /* +C */ s32 xC;
533 /* +10 */ s32 x10;
534 /* +14 */ s32 x14;
535 /* +18 */ s16 x18;
536 /* +1A */ s16 x1A;
537 /* +1C */ s16 x1C;
538 /* +1E */ s16 x1E;
539 /* +20 */ s32 x20;
540 /* +24 */ s32 x24;
541 /* +28 */ s32 x28;
542 /* +2C */ s32 x2C;
543 /* +30 */ s32 x30;
544 /* +34 */ s32 x34;
545 /* +38 */ s32 x38;
546 /* +3C */ s32 x3C;
547 /* +40 */ s32 x40;
548};
549
551 /* +0 */ u8 x0;
552 /* +1 */ u8 x1;
553 /* +2 */ u8 _1[0xC - 0x2];
554};
555STATIC_ASSERT(sizeof(struct gm_8017DB6C_arg0_t) == 0xC);
556
558 /* 00 */ bool x0;
559 /* 04 */ bool resetting;
560 /* 08 */ bool progressive;
561 /* 0C */ bool xC; // movie playback done, maybe?
562 /* 10 */ int x10, x14;
563};
564
566
567typedef struct gm_803DF94C_t {
568 void (*x0)(HSD_GObj*);
569 void (*x4)(int);
571
573 /* 0x00 */ int score;
574 /* 0x04 */ int subscore;
575 /* 0x08 */ u8 is_big_loser;
576 /* 0x09 */ u8 is_small_loser;
577 /* 0x0A */ u8 active;
578}; // padded to 0x0C
579STATIC_ASSERT(sizeof(struct MatchTeamData) == 0xC);
580
634STATIC_ASSERT(sizeof(struct MatchPlayerData) == 0xA8);
635
636struct MatchEnd {
637 /* 0x00 */ u32 x0;
638 /* 0x04 */ u8 result;
639 /* 0x05 */ u8 x5;
640 /* 0x06 */ u8 is_teams;
641 /* 0x07 */ u8 x7;
642 /* 0x08 */ u32 frame_count;
643 /* 0x0C */ u8 xC;
644 /* 0x0D */ u8 n_winners;
645 /* 0x0E */ u8 n_team_winners;
646 /* 0x0F */ u8 loser;
647 /* 0x10 */ u8 winners[6];
648 /* 0x16 */ u8 team_winners[5];
649 /* 0x1B */ struct MatchTeamData team_standings[5]; // 0xC * 5 = 0x3C
650 /* 0x58 */ struct MatchPlayerData player_standings[6]; // 0xA8 * 6 = 0x3F0
651 /* 0x448 */ u8 _x448[4]; // offset by 1 because of the previous struct
652 /* 0x44c */ struct UnkResultPlayerData {
653 u8 x0[0x100];
654 char pad_x100[0x508 - 0x100];
655 } x44C[4]; // 0x508 * 4 = 0x1420
656 /* 0x186C */ u8 pad_x186C[0x227C - 0x186C];
657};
658STATIC_ASSERT(sizeof(struct MatchEnd) == 0x227C);
659
666
674
675struct Unk1PData {
676 /* 00 */ s8 ckind;
677 /* 01 */ u8 color;
678 /* 02 */ u8 cpu_level;
679 /* 03 */ u8 slot;
680 /* 04 */ u8 x4;
681 /* 05 */ u8 stocks;
682 /* 06 */ u8 x6;
683 /* 07 */ u8 x7;
684 /* 08 */ u8 x8;
685 /* 09 */ u8 x9;
686 /* 0A */ u8 xA;
687 /* 0B */ u8 xB;
688 /* 0C */ struct Unk1PData_xC {
689 /* 0C */ u8 xC;
690 /* 0D */ u8 xD;
691 /* 0E */ u8 xE;
692 /* 0F */ u8 xF;
693 /* 10 */ u8 x10;
694 /* 11 */ u8 x11;
695 /* 12 */ u8 x12;
696 /* 13 */ u8 x13;
697 /* 14 */ u16 x14;
698 /* 18 */ int x18;
699 /* 1C */ int x1C;
700 /* 20 */ u32 x20;
702 /* 24 */ s8 ckind;
703 /* 25 */ u8 x1;
704 /* 26 */ u8 x2;
705 /* 27 */ u8 x3;
706 /* 28 */ int x4;
707 /* 2C */ int x8;
708 } x24[3];
709 } xC;
710};
711
713 /* 00 */ Unk1PData x0;
714 /* 48 */ UNK_T x48;
715 /* 4C */ u8 (*x4C)(u8, u8, u8);
716 /* 50 */ UNK_T x50;
717 /* 54 */ u8 (*x54)(u8, u8, u8);
718 /* 58 */ UNK_T x58;
719 /* 5C */ UNK_T x5C;
720 /* 60 */ UNK_T x60;
721 /* 64 */ float (*x64)(u8, u8);
722 /* 68 */ float (*x68)(u8, u8);
723 /* 6C */ UNK_T x6C;
724 /* 70 */ UNK_T x70;
725 /* 74 */ u8 x74;
726 /* 75 */ u8 x75;
727 /* 76 */ u8 x76;
728 /* 77 */ u8 x77;
729 /* 78 */ u8 x78;
730 /* 79 */ s8 pad_x79[0x7C - 0x79];
731 /* 7C */ u8 x7C;
732 /* 7D */ s8 pad_x7D[0x80 - 0x7D];
733};
734
736 /* +0 */ Unk1PData x0;
737 /* +48*/ UNK_T x48;
738 /* +4C*/ UNK_T x4C;
739 /* +50*/ UNK_T x50;
740 /* +54*/ UNK_T x54;
741 /* +58*/ u32 x58;
742 /* +5C*/ u32 _5C;
743 /* +60*/ u32 _60;
744 /* +64*/ UNK_T x64;
745 /* +68*/ UNK_T x68;
746 /* +6C*/ u32 _6C;
747 /* +70*/ u32 _70;
748 /* +74*/ u16 x74;
749 /* +76*/ u8 x76[24];
750 /* +8E*/ u8 x8E[2];
751 /* +90*/ u8 x90[4];
752 /* +94*/ u8 _94[0x9C - 0x94];
753 /* +9C*/ u32 x9C;
754};
755
813
814struct NameData {
815 // a lot of this is shared with a struct for character stats as well
816 /* x0F0 */ s32 self_destructs;
817 /* x0F4 */ s32 attacks_hit;
818 /* x0F8 */ s32 attacks_total;
819 /* x0FC */ s32 damage_given;
820 /* x100 */ s32 damage_taken;
822 /* x108 */ s16 peak_damage;
823 /* x10A */ s16 matches;
824 /* x10C */ s16 victories;
825 /* x10E */ s16 losses;
826 /* x110 */ s32 play_time; // in minutes
827 /* x114 */ s32 x114;
828 /* x118 */ s32 ground_distance; // in meters
829 /* x11C */ s32 jump_distance;
830 /* x120 */ s32 drop_distance;
832 /* x128 */ s32 coin_points;
833 /* x12C */ s32 swiped_coins;
834 /* x130 */ s32 lost_coins;
835
836 /* x1A1 */ bool rumble_toggle;
837 /* x198 */ void* x198; // some kind of text representation of the name
838};
839
841 u32* x0;
842 union {
843 struct {
847 };
849 };
850};
851
852struct TmVsData {
855 u32 char_id[4];
856 u32 color[4];
857};
858
860 /* +1 */ u8 x0;
861 /* +2 */ u8 x1;
862 /* +3 */ u8 x2;
863 /* +4 */ u8 x3;
864 /* +4 */ bool (*x4[2])(void);
865 /* +C */ UNK_T xC;
866 /* +20 */ u64 unk_20;
867 /* +28 */ u64 unk_28;
868 /* +30 */ void (*unk_30)(void);
869 /* +34 */ int unk_34;
870 /* +38 */ u8 unk_38_0 : 1;
871 /* +38 */ u8 unk_38_1 : 1;
872};
873STATIC_ASSERT(sizeof(struct gm_801677C0_s) == 0x30);
874
876 /* +0 */ u32 unk_0;
877 /* +4 */ u32 unk_4;
878 /* +8 */ u32 unk_8;
879 /* +C */ int unk_C;
880 /* +10 */ struct gm_801677C0_s unk_10;
881};
882STATIC_ASSERT(sizeof(struct gm_80479D58_t) == 0x40);
883
885 /* +00 */ u8 x0;
886 /* +01 */ u8 page;
887 /* +02 */ u16 x2;
888 /* +04 */ f32 scroll_offset;
890 /* +0C */ HSD_GObj* camera;
891 /* +10 */ HSD_Text* stats_text[3][10];
892 // /* +10 */ HSD_Text* stats_x10[10]; ///< these text arrays are the
893 // scrollable stats
894 // /* +3C */ HSD_Text* stats_x3C[10];
895 // /* +60 */ HSD_Text* stats_x60[10];
896 /* +88 */ HSD_Text* ko_count;
897 /* +8C */ HSD_Text* ko_time;
898 /* +90 */ HSD_JObj* jobjs[15];
899 /* +CC */ Vec3 stats_position;
900};
901
903 /* +00 */ u8 x0_0 : 1;
904 /* +00 */ u8 x0_1 : 1;
905 /* +00 */ u8 x0_2 : 1;
906 /* +00 */ u8 x0_3 : 1;
907 /* +00 */ u8 x0_4 : 1;
908 /* +00 */ u8 x0_5 : 1;
909 /* +00 */ u8 x0_6 : 1;
910 /* +00 */ u8 x0_7 : 1;
911
912 /* +01 */ u8 x1;
913 /* +02 */ u8 num_pages;
914 /* +03 */ char pad_03[0x4 - 0x3];
915 /* +04 */ u8 x4;
916 /* +05 */ u8 x5;
917 /* +06 */ u8 x6;
918 /* +08 */ s32 x8;
919 /* +0C */ f32 xC;
920 /* +10 */ SceneDesc* pnlsce;
921 /* +14 */ SceneDesc* flmsce;
922 /* +18 */ HSD_GObj* x18;
923 /* +1C */ HSD_CObj* cobj;
924 /* +20 */ HSD_JObj* x20;
925 /* +24 */ HSD_JObj* x24;
926 /* +28 */ HSD_JObj* x28;
927 /* +2C */ HSD_Text* x2C;
928 /* +30 */ HSD_JObj* x30;
929 /* +34 */ HSD_JObj* x34[6];
930 /* +4C */ Vec3 x4C[6];
931 /* +94 */ MatchEnd* x94;
932 /* +98 */ struct ResultsPlayerData player_data[6];
933};
934STATIC_ASSERT(sizeof(struct ResultsData) == 0x5A8);
935
938 u8 x1; // rule flags?
939 u16 x2;
940 u16 x4;
941 u16 x6;
944 s8 xA[3];
948};
949
951 u8 x0; // c_kind
952 u8 x1; // color
953 u8 x2; // stocks
955 u8 x4; // c_kind
958 u16 x8;
959};
960
965
968 /* +00 */ u8 menu_kind;
970 /* +02 */ u8
972 /* +03 */ s8 x3;
973};
974STATIC_ASSERT(sizeof(struct MenuEnterData) == 0x4);
975
978 /* +00 */ s8 pending_major;
979 /* +01 */ u8 _1[0x3];
980};
981STATIC_ASSERT(sizeof(struct MenuExitData) == 0x4);
982
983typedef struct gm_803DDEC8Struct {
993 u8 x2[0xC - 0x2];
994 void* xC;
996
997#endif
struct gmMainLib_8046B0F0_t gmMainLib_8046B0F0
Definition gmmain_lib.static.h:10
signed char s8
Definition hsd_3B2B.h:3
signed long s32
Definition hsd_3B2B.h:1
unsigned char u8
Definition hsd_3B2B.h:2
InternalStageId
Definition forward.h:45
Gm_PKind
Definition forward.h:13
#define UNK_T
Definition placeholder.h:31
#define STATIC_ASSERT(cond)
Definition platform.h:110
int bool
A signed integer used to contain boolean values.
Definition stdbool.h:8
Definition types.h:840
HSD_Text * bottom_text
Definition types.h:846
HSD_Text * slot_a
Definition types.h:844
u32 * x0
state? gets set on button presses in OnFrame
Definition types.h:841
HSD_Text * text[3]
Definition types.h:848
HSD_Text * slot_b
Definition types.h:845
Definition types.h:26
u32 ckind
Definition types.h:31
int xC
Definition types.h:30
u16 x18
Definition types.h:35
u16 x16
Definition types.h:34
u32 x0
Definition types.h:27
u8 slot
Definition types.h:32
u32 x8
Definition types.h:29
int x4
Definition types.h:28
u8 x15
Definition types.h:33
Definition types.h:110
s32 run_distance
Definition types.h:127
s32 damage_taken
Definition types.h:118
s32 x88
Definition types.h:154
UnkFlagStruct x7A
Definition types.h:135
u16 b10_to_12
stocks
Definition types.h:146
u16 xA0
Definition types.h:160
s32 walk_distance
Definition types.h:126
s32 coins_lost
Definition types.h:132
u16 losses
Definition types.h:123
s32 xA8
Definition types.h:163
s32 peak_height
Definition types.h:129
s32 damage_recovered
Definition types.h:119
u16 b0
Definition types.h:138
u16 b1
Definition types.h:139
u16 b6
Definition types.h:144
u16 peak_damage
Definition types.h:120
u16 b5
Definition types.h:143
s8 x83
Definition types.h:152
s8 x78
Definition types.h:133
s32 coins_collected
Definition types.h:130
u16 b2
Definition types.h:140
u32 total_player_count
Definition types.h:125
s32 x84
Definition types.h:153
u32 attacks_total
Definition types.h:116
u16 b3
Definition types.h:141
u32 x94
Definition types.h:157
s32 fall_distance
Definition types.h:128
s16 x7E
Definition types.h:148
u16 victories
Definition types.h:122
struct FighterData::@197 x7C
s8 x7B
Definition types.h:136
u16 xA2
Definition types.h:161
s32 coins_swiped
Definition types.h:131
u8 padding_0x36[2]
Definition types.h:114
s32 x98
Definition types.h:158
u8 x80
Definition types.h:149
u8 x82
Definition types.h:151
u16 b13_to_15
stocks
Definition types.h:147
u32 attacks_hit
Definition types.h:115
u8 padding_0x32[2]
Definition types.h:112
u16 b4
Definition types.h:142
u8 x81
Definition types.h:150
u16 fighter_kos[25]
Definition types.h:111
u16 sd_count
Definition types.h:113
s32 xA4
Definition types.h:162
u32 play_time
Definition types.h:124
s32 x9C
Definition types.h:159
u16 match_count
Definition types.h:121
s32 x8C
Definition types.h:155
u16 b789
stocks
Definition types.h:145
s32 damage_dealt
Definition types.h:117
s8 x79
Definition types.h:134
s32 x90
Definition types.h:156
Definition types.h:201
u8 handicap
Definition types.h:207
u8 unk_xc
Definition types.h:214
u8 mode
Definition types.h:204
u8 time_limit
Definition types.h:205
u8 x12
Definition types.h:220
u8 xE
Definition types.h:216
u8 friendly_fire
Definition types.h:211
u8 force_main_menu
Definition types.h:202
u8 damage_ratio
Definition types.h:208
u8 xF
Definition types.h:217
u8 unk_x10
Definition types.h:218
u8 bgm
Definition types.h:203
u8 pause
Definition types.h:212
u8 xD
Definition types.h:215
u8 x13
Definition types.h:221
u8 score_display
Definition types.h:213
u8 unk_x7
Definition types.h:209
u8 stock_time_limit
Definition types.h:210
s32 unk_14
Definition types.h:222
u8 stock_count
Definition types.h:206
u8 x11
Definition types.h:219
Definition types.h:82
SceneNums nums
Definition types.h:83
SceneNums nums2
Definition types.h:84
u8 x0D
Definition types.h:86
u8 x0F
Definition types.h:88
u8 pending
Definition types.h:85
u8 x0E
Definition types.h:87
Definition cobj.h:39
was using this to try and fix some matches, unsuccessfully
Definition gobj.h:26
Definition jobj.h:107
Definition sislib.h:47
Definition types.h:53
u8 preload
Definition types.h:54
void(* Unload)(void)
Definition types.h:58
void(* Init)(void)
Definition types.h:59
u8 idx
Definition types.h:55
void(* Load)(void)
Definition types.h:57
MinorScene * minor_scenes
Definition types.h:61
Definition types.h:652
u8 x0[0x100]
Definition types.h:653
char pad_x100[0x508 - 0x100]
Definition types.h:654
Definition types.h:636
u8 xC
Definition types.h:643
u8 n_winners
Definition types.h:644
u8 n_team_winners
Definition types.h:645
struct MatchTeamData team_standings[5]
Definition types.h:649
u8 _x448[4]
Definition types.h:651
u32 x0
timer
Definition types.h:637
u8 x5
Definition types.h:639
u32 frame_count
Definition types.h:642
u8 loser
Definition types.h:646
u8 is_teams
Definition types.h:640
u8 result
Definition types.h:638
u8 pad_x186C[0x227C - 0x186C]
Definition types.h:656
struct MatchEnd::UnkResultPlayerData x44C[4]
u8 x7
Definition types.h:641
struct MatchPlayerData player_standings[6]
Definition types.h:650
u8 winners[6]
Definition types.h:647
u8 team_winners[5]
Definition types.h:648
Definition types.h:660
MatchEnd match_end
Definition types.h:664
int x8
Definition types.h:663
int x0
Definition types.h:661
u32 x4
remaining time shown on timer, in frames
Definition types.h:662
Definition types.h:581
s32 x20
Definition types.h:600
u32 x88
Definition types.h:625
u32 x5C
Definition types.h:614
int x9C
Definition types.h:630
u16 kills[4]
Definition types.h:597
u8 x34
Definition types.h:605
int x24
Definition types.h:601
u16 percent
Definition types.h:595
u8 is_small_loser
Definition types.h:590
u8 x3_7
Definition types.h:587
s32 x1C
Definition types.h:599
u32 x7C
Definition types.h:622
u32 x78
Definition types.h:621
u32 x80
Definition types.h:623
u32 x58
Definition types.h:613
int score
Definition types.h:603
s8 character_kind
Definition types.h:583
u32 x84
Definition types.h:624
u32 x4C
Definition types.h:610
u8 x9
Definition types.h:593
s8 character_id
Definition types.h:584
u32 x64
Definition types.h:616
int xA0
Definition types.h:631
u16 x18
Definition types.h:598
u8 team
Definition types.h:591
u32 x48
Definition types.h:609
u16 self_destructs
Definition types.h:594
u8 x35_pad[0x40 - 0x35]
Definition types.h:606
u32 x28
Definition types.h:602
u8 x3
Definition types.h:585
u32 x90
Definition types.h:627
u32 x40
Definition types.h:607
u32 x54
Definition types.h:612
u32 x50
Definition types.h:611
u32 x8C
Definition types.h:626
u8 x4
Definition types.h:588
u32 x60
Definition types.h:615
u32 x98
Definition types.h:629
u32 x70
Definition types.h:619
u8 slot_type
Definition types.h:582
u32 x74
Definition types.h:620
u32 x94
Definition types.h:628
s8 stocks
Definition types.h:592
u16 xE
Definition types.h:596
u8 is_big_loser
Definition types.h:589
u8 x3_6
Definition types.h:586
u32 x68
Definition types.h:617
u32 xA4
Definition types.h:632
u32 x6C
Definition types.h:618
u32 x30
Definition types.h:604
u32 x44
Definition types.h:608
Definition types.h:572
u8 active
Definition types.h:577
u8 is_small_loser
Definition types.h:576
int score
Definition types.h:573
int subscore
Definition types.h:574
u8 is_big_loser
Definition types.h:575
data passed to OnLoad callback for MJ_MENU
Definition types.h:967
u8 menu_kind
will set the next menu kind
Definition types.h:968
u8 hovered_selection
will set the next hovered selection
Definition types.h:969
u8 load_assets
checks if the assets need to be loaded or not
Definition types.h:971
s8 x3
Definition types.h:972
data passed to OnLeave callback for MJ_MENU
Definition types.h:977
s8 pending_major
will set the next major scene
Definition types.h:978
u8 _1[0x3]
Definition types.h:979
Definition types.h:64
u8 class_id
Definition types.h:65
void(* OnLoad)(void *)
Definition types.h:68
void(* OnLeave)(void *)
Definition types.h:69
void(* OnFrame)(void)
Definition types.h:67
void(* unk_func)(void)
Definition types.h:70
Definition types.h:46
void * load_data
data passed to OnLoad callback
Definition types.h:48
void * leave_data
data passed to OnLeave callback
Definition types.h:49
u8 class_id
Definition types.h:47
Definition types.h:38
u8 idx
Definition types.h:39
struct MinorScene::MinorSceneInfo info
u16 flags
Definition types.h:41
void(* Prep)(MinorScene *)
Definition types.h:43
void(* Decide)(MinorScene *)
Definition types.h:44
u8 preload
Definition types.h:40
Definition types.h:814
s16 victories
Definition types.h:824
bool rumble_toggle
Definition types.h:836
s32 attacks_total
Definition types.h:818
s16 losses
Definition types.h:825
s32 lost_coins
Definition types.h:834
s32 damage_taken
Definition types.h:820
s32 flight_distance
Definition types.h:831
s16 matches
Definition types.h:823
s32 attacks_hit
Definition types.h:817
s32 damage_given
Definition types.h:819
void * x198
Definition types.h:837
s32 x114
Definition types.h:827
s32 swiped_coins
Definition types.h:833
s32 coin_points
Definition types.h:832
s32 damage_recovered
Definition types.h:821
s32 play_time
Definition types.h:826
s32 drop_distance
Definition types.h:830
s32 jump_distance
Definition types.h:829
s32 self_destructs
Definition types.h:816
s32 ground_distance
Definition types.h:828
s16 peak_damage
Definition types.h:822
Definition types.h:197
struct NameTagData inner[19]
Definition types.h:198
Definition types.h:167
u32 play_time
Definition types.h:180
u16 vs_kos[120]
Definition types.h:168
u16 sd_count
Definition types.h:169
char namedata[8]
Definition types.h:190
u8 padding_0xF2[2]
Definition types.h:170
s32 damage_taken
Definition types.h:174
s32 peak_height
Definition types.h:185
u16 peak_damage
Definition types.h:176
u16 victories
Definition types.h:178
s32 run_distance
Definition types.h:183
s32 coins_lost
Definition types.h:188
s32 fall_distance
Definition types.h:184
u8 x1A1
Definition types.h:192
s32 damage_recovered
Definition types.h:175
u16 losses
Definition types.h:179
s32 coins_swiped
Definition types.h:187
s8 x1A0
Definition types.h:191
s32 walk_distance
Definition types.h:182
s32 damage_dealt
Definition types.h:173
u8 padding_x1A2
Definition types.h:194
u16 match_count
Definition types.h:177
u32 play_time_by_fighter[25]
Definition types.h:189
u32 total_player_count
Definition types.h:181
u32 attacks_hit
Definition types.h:171
s8 x1A2
Definition types.h:193
s32 coins_collected
Definition types.h:186
u32 attacks_total
Definition types.h:172
Definition types.h:442
u8 x1_b5
Definition types.h:454
u8 x1_b3
Definition types.h:452
u8 x2_b4
Definition types.h:461
u8 x2_b2
Definition types.h:459
u8 x1_b1
Definition types.h:450
u8 x0_b4
Definition types.h:445
u8 x0_b6
Definition types.h:447
u8 x1_b2
Definition types.h:451
u8 x2_b6
Definition types.h:463
u8 x0_b3
Definition types.h:444
u8 x2_b1
Definition types.h:458
u8 x1_b0
Definition types.h:449
u8 x1_b4
Definition types.h:453
u8 x1_b7
Definition types.h:456
u8 x2_b5
Definition types.h:462
u8 x0_b7
Definition types.h:448
u8 x2_b3
Definition types.h:460
u8 x0_b0_b2
Definition types.h:443
u8 x2_b0
Definition types.h:457
u8 x0_b5
Definition types.h:446
u8 x1_b6
Definition types.h:455
u8 x2_b7
Definition types.h:464
Definition types.h:902
s32 x8
Definition types.h:918
char pad_03[0x4 - 0x3]
Definition types.h:914
Vec3 x4C[6]
Definition types.h:930
u8 x0_4
Definition types.h:907
f32 xC
Definition types.h:919
u8 x0_7
Definition types.h:910
HSD_JObj * x24
Definition types.h:925
HSD_GObj * x18
main proc?
Definition types.h:922
MatchEnd * x94
Definition types.h:931
u8 x5
team winner?
Definition types.h:916
HSD_JObj * x34[6]
Definition types.h:929
HSD_Text * x2C
Definition types.h:927
HSD_JObj * x30
Definition types.h:928
u8 x0_3
Definition types.h:906
u8 x0_5
Definition types.h:908
u8 x4
winner?
Definition types.h:915
struct ResultsPlayerData player_data[6]
Definition types.h:932
u8 x0_6
Definition types.h:909
u8 num_pages
Definition types.h:913
HSD_JObj * x20
winner logo?
Definition types.h:924
u8 x0_1
Definition types.h:904
u8 x6
also winner?
Definition types.h:917
HSD_JObj * x28
Definition types.h:926
u8 x0_2
Definition types.h:905
u8 x1
some sort of state
Definition types.h:912
SceneDesc * flmsce
Definition types.h:921
HSD_CObj * cobj
Definition types.h:923
u8 x0_0
Definition types.h:903
SceneDesc * pnlsce
Definition types.h:920
Definition types.h:667
int x4
Definition types.h:671
u8 x0_0
Definition types.h:668
MatchEnd match_end
Definition types.h:672
u8 x0_1
Definition types.h:669
u8 x1
Definition types.h:670
Definition types.h:884
f32 scroll_offset
Definition types.h:888
HSD_JObj * jobjs[15]
Definition types.h:898
HSD_GObj * fighter_gobj
Definition types.h:889
u16 x2
Definition types.h:887
HSD_Text * ko_time
Definition types.h:897
Vec3 stats_position
Definition types.h:899
u8 x0
flags
Definition types.h:885
u8 page
Definition types.h:886
HSD_Text * ko_count
Definition types.h:896
HSD_Text * stats_text[3][10]
3 pages with 10 entries?
Definition types.h:891
HSD_GObj * camera
Definition types.h:890
The basis of a rendered scene, like a stage, menu, or HUD overlay.
Definition types.h:26
Definition types.h:73
u8 prev_major
Definition types.h:76
u8 pending_minor
Definition types.h:79
u8 curr_major
Definition types.h:74
u8 prev_minor
Definition types.h:78
u8 pending_major
Definition types.h:75
u8 curr_minor
Definition types.h:77
Definition types.h:111
Definition types.h:777
u16 x9
Definition types.h:787
u8 x1
Definition types.h:779
u8 x0
Definition types.h:778
u8 x3
Definition types.h:781
u8 xC
Definition types.h:789
u8 pad_xE[0x11 - 0xE]
Definition types.h:791
u8 x6
Definition types.h:784
u8 x7
Definition types.h:785
u8 xB
Definition types.h:788
u8 xD
Definition types.h:790
u8 x2
Definition types.h:780
u8 x8
Definition types.h:786
u8 x4
Definition types.h:782
u8 x5
Definition types.h:783
Definition types.h:794
u8 x4
CPU level.
Definition types.h:799
u8 x1
CSSIconHud.
Definition types.h:796
u8 x3
color
Definition types.h:798
u16 x6
Definition types.h:801
u8 x5
Definition types.h:800
u8 x2
Definition types.h:797
u8 x0
slot type
Definition types.h:795
u8 pad_x4[0xA - 0x8]
Definition types.h:802
Definition types.h:756
u8 x2C
Definition types.h:768
HSD_Text * x500[6]
Definition types.h:807
u8 x2E
Definition types.h:770
HSD_Text * x4E8[6]
Definition types.h:806
u8 pad_x540[0x56B - 0x540]
Definition types.h:811
int cpu_level
Definition types.h:763
int hmn_cpu_count
Definition types.h:761
HSD_Text * x4E4
Definition types.h:805
int match_type
Definition types.h:758
u8 x2D
Definition types.h:769
u8 x2F
Definition types.h:771
int x20
Definition types.h:765
struct TmData::UnkSelections x4B8[4]
HSD_Text * x534[3]
Definition types.h:810
u8 pad_x524[0x534 - 0x524]
Definition types.h:809
int cur_option
Definition types.h:757
int entrants
Definition types.h:760
HSD_Text * x4E0
Definition types.h:804
u8 x30
Definition types.h:772
u8 x31
Definition types.h:773
int combatants
Definition types.h:759
int stage_selection_type
Definition types.h:762
int x24
Definition types.h:766
u8 _x1C[0x20 - 0x1C]
Definition types.h:764
u8 x32
Definition types.h:774
u8 x33
Definition types.h:775
HSD_Text * x518[3]
Definition types.h:808
u32 x28
stage id
Definition types.h:767
u8 pad_x158[0x4B8 - 0x158]
Definition types.h:793
u8 pad_x34[0x37 - 0x34]
Definition types.h:776
struct TmData::TmUnkMenuData x37[16]
Definition types.h:852
Gm_PKind slot_type[4]
Definition types.h:854
u32 color[4]
Definition types.h:856
u32 char_id[4]
Definition types.h:855
u32 stage_id
Definition types.h:853
int x4
Definition types.h:706
s8 ckind
Definition types.h:702
int x8
Definition types.h:707
Definition types.h:688
u8 xC
Definition types.h:689
u8 x12
Definition types.h:695
u8 xD
Definition types.h:690
u8 x13
Definition types.h:696
int x1C
Definition types.h:699
u8 xE
Definition types.h:691
u8 xF
Definition types.h:692
u32 x20
Definition types.h:700
u16 x14
Definition types.h:697
u8 x11
Definition types.h:694
struct Unk1PData::Unk1PData_xC::Unk1PData_x24 x24[3]
u8 x10
Definition types.h:693
int x18
Definition types.h:698
Definition types.h:675
u8 xA
Definition types.h:686
u8 stocks
Definition types.h:681
u8 x6
Definition types.h:682
u8 color
Definition types.h:677
u8 x8
Definition types.h:684
s8 ckind
Definition types.h:676
u8 xB
Definition types.h:687
u8 slot
Definition types.h:679
struct Unk1PData::Unk1PData_xC xC
u8 x4
EntryName Slot.
Definition types.h:680
u8 x9
Definition types.h:685
u8 cpu_level
Definition types.h:678
u8 x7
Definition types.h:683
Definition types.h:712
u8 x78
Definition types.h:729
UNK_T x60
Definition types.h:720
u8(* x4C)(u8, u8, u8)
Definition types.h:715
float(* x68)(u8, u8)
Definition types.h:722
s8 pad_x79[0x7C - 0x79]
Definition types.h:730
u8 x77
Definition types.h:728
UNK_T x6C
Definition types.h:723
UNK_T x70
Definition types.h:724
u8 x75
Definition types.h:726
UNK_T x50
Definition types.h:716
UNK_T x5C
Definition types.h:719
u8(* x54)(u8, u8, u8)
Definition types.h:717
u8 x76
Definition types.h:727
Unk1PData x0
Definition types.h:713
UNK_T x48
Definition types.h:714
s8 pad_x7D[0x80 - 0x7D]
Definition types.h:732
float(* x64)(u8, u8)
Definition types.h:721
u8 x74
Definition types.h:725
UNK_T x58
Definition types.h:718
u8 x7C
CharacterKind.
Definition types.h:731
Definition types.h:735
u16 x74
current percent
Definition types.h:748
u32 _70
Definition types.h:747
UNK_T x4C
Definition types.h:738
u8 x90[4]
Definition types.h:751
u32 x58
Definition types.h:741
UNK_T x48
Definition types.h:737
u8 x8E[2]
Definition types.h:750
u32 _5C
Definition types.h:742
u32 _60
Definition types.h:743
UNK_T x64
Definition types.h:744
Unk1PData x0
Definition types.h:736
UNK_T x68
Definition types.h:745
u32 _6C
Definition types.h:746
UNK_T x50
Definition types.h:739
u8 x76[24]
character id array
Definition types.h:749
u8 _94[0x9C - 0x94]
Definition types.h:752
u32 x9C
current time (frames)
Definition types.h:753
UNK_T x54
Definition types.h:740
Definition types.h:20
u16 x2
Definition types.h:22
int x4
Definition types.h:23
u16 x0_0
Definition types.h:21
Definition types.h:961
u8 x0
Definition types.h:962
u8 x1
Definition types.h:963
Definition types.h:204
Definition types.h:522
u8 hour
Definition types.h:524
u8 second
Definition types.h:524
u8 minute
Definition types.h:524
u8 day
Definition types.h:524
u16 year
Definition types.h:523
u8 month
Definition types.h:524
Definition types.h:527
s32 x30
Definition types.h:543
s32 x38
Definition types.h:545
s32 x24
Definition types.h:540
s16 x2
Definition types.h:529
s16 x1E
Definition types.h:538
s16 x0
Definition types.h:528
s16 x1C
Definition types.h:537
s32 x40
Definition types.h:547
s32 xC
Definition types.h:532
s16 x1A
Definition types.h:536
s32 x14
Definition types.h:534
s32 x8
Definition types.h:531
s32 x10
Definition types.h:533
s32 x3C
Definition types.h:546
s16 x18
Definition types.h:535
s32 x4
Definition types.h:530
s32 x2C
Definition types.h:542
s32 x28
Definition types.h:541
s32 x20
Definition types.h:539
s32 x34
Definition types.h:544
Definition types.h:557
int x10
Definition types.h:562
int x14
Definition types.h:562
bool xC
Definition types.h:561
bool x0
Definition types.h:558
bool progressive
true = progressive, false = interlaced
Definition types.h:560
bool resetting
reset switch pressed
Definition types.h:559
Definition types.h:859
u8 x2
Definition types.h:862
bool(* x4[2])(void)
Definition types.h:864
u8 x1
Definition types.h:861
UNK_T xC
Definition types.h:865
u8 x0
Definition types.h:860
u8 unk_38_0
Definition types.h:870
u64 unk_28
Definition types.h:867
void(* unk_30)(void)
Definition types.h:868
u8 unk_38_1
Definition types.h:871
u8 x3
Definition types.h:863
int unk_34
Definition types.h:869
u64 unk_20
Definition types.h:866
Definition types.h:550
u8 x1
Definition types.h:552
u8 x0
Definition types.h:551
u8 _1[0xC - 0x2]
Definition types.h:553
Definition types.h:983
u8 x1_b2
Definition types.h:987
u8 x1_b6
Definition types.h:991
u8 x2[0xC - 0x2]
Definition types.h:993
u8 x1_b3
Definition types.h:988
u8 x1_b1
Definition types.h:986
u8 x1_b0
Definition types.h:985
u8 x1_b7
Definition types.h:992
u8 x1_b5
Definition types.h:990
u8 x1_b4
Definition types.h:989
void * xC
Definition types.h:994
u8 x0
Definition types.h:984
Definition types.h:936
u8 x8
Definition types.h:942
u8 xD
Definition types.h:945
u16 x4
Definition types.h:940
u8 xE
Definition types.h:946
u8 x0
Definition types.h:937
u16 x2
Definition types.h:939
u8 x1
Definition types.h:938
s8 xA[3]
CharacterKind (opponents?)
Definition types.h:944
u8 xF
Definition types.h:947
u16 x6
Definition types.h:941
u8 x9
Definition types.h:943
Definition types.h:567
void(* x4)(int)
Definition types.h:569
void(* x0)(HSD_GObj *)
Definition types.h:568
Definition types.h:875
int unk_C
Definition types.h:879
u32 unk_8
Definition types.h:878
struct gm_801677C0_s unk_10
Definition types.h:880
u32 unk_4
Definition types.h:877
u32 unk_0
Definition types.h:876
Definition types.h:226
s32 x14
Definition types.h:232
s32 xC
Definition types.h:230
u32 x4
Definition types.h:228
u32 x0
Definition types.h:227
s32 x18
Definition types.h:233
s32 x10
Definition types.h:231
u8 padding[0x4]
Definition types.h:229
s32 x1C
Definition types.h:234
Definition types.h:237
s32 x0
Definition types.h:238
s32 x4
Definition types.h:239
Definition types.h:242
u8 padding_x4C[0xB0 - 0x4C - 4 *4]
Definition types.h:252
int x114[0x19]
Definition types.h:254
s32 x0
Definition types.h:243
int x10
Definition types.h:247
s32 x8
Definition types.h:245
u8 pad_x1C[0x4C - 0x1C]
Definition types.h:250
u32 x4
Definition types.h:244
s32 xB0[0x19]
Definition types.h:253
s32 x4C[4]
Definition types.h:251
u32 x14
Definition types.h:248
u16 x18[2]
Definition types.h:249
u32 xC
Definition types.h:246
Definition types.h:374
u8 unk_586
Definition types.h:377
s8 unk_584
Definition types.h:375
u8 unk_585
Definition types.h:376
s8 unk_587
Definition types.h:378
Definition types.h:335
u8 xB_4
Definition types.h:351
int x30
Definition types.h:364
s8 xA
Definition types.h:346
u8 xB_1
Definition types.h:348
int x10
Definition types.h:356
struct gmm_x0::EventData::gmm_x0_584_t unk_584
u8 x4
Definition types.h:340
char pad_58B[4]
Definition types.h:381
u8 xB_2
Definition types.h:349
int xC
Definition types.h:355
u8 x45
Definition types.h:370
float x1C
Definition types.h:359
int x40
Definition types.h:368
u8 xB_7
Definition types.h:354
u8 x1
Definition types.h:337
int x14
Definition types.h:357
u8 xB_6
Definition types.h:353
s8 x9
Definition types.h:345
s8 x8
Definition types.h:344
u8 xB_5
Definition types.h:352
int x24
Definition types.h:361
u8 x6
Definition types.h:342
s8 x2
Definition types.h:338
InternalStageId x48
Definition types.h:371
u8 x0
Definition types.h:336
u8 unk_535
Definition types.h:341
s8 x44
Definition types.h:369
int x34
Definition types.h:365
int x28
Definition types.h:362
u8 x3
Definition types.h:339
u8 xB_0
Definition types.h:347
int x2C
Definition types.h:363
int x3C
Definition types.h:367
u8 x7
Definition types.h:343
u8 x38
Definition types.h:366
s8 unk_588[4]
Definition types.h:380
u8 x50[4]
character color
Definition types.h:373
int x20
Definition types.h:360
u8 xB_3
Definition types.h:350
s8 x4C[4]
CharacterKind.
Definition types.h:372
int x18
Definition types.h:358
Definition types.h:327
u8 x4
nametag ID
Definition types.h:332
u8 cpu_level
Definition types.h:331
u8 x5
Definition types.h:333
u8 color
Definition types.h:330
s8 c_kind
Definition types.h:328
u8 stocks
Definition types.h:329
Definition types.h:317
u32 unk_6C[4]
Definition types.h:325
char pad_48[0x24]
Definition types.h:324
VsModeData unk_10D0
stamina melee
Definition types.h:392
GameRules x1850
Definition types.h:398
VsModeData unk_BD0
single button melee
Definition types.h:388
VsModeData unk_1210
slowmo melee
Definition types.h:393
VsModeData unk_F90
giant melee
Definition types.h:391
VsModeData unk_1710
opening movie?
Definition types.h:397
struct gmm_x0::gmm_x0_528_t unk_522
VsModeData unk_D10
training mode
Definition types.h:389
struct gmm_x1868 thing
Definition types.h:399
s32 unk_44
Definition types.h:323
char pad_3[0x36]
Definition types.h:321
VsModeData unk_590
VS melee.
Definition types.h:383
VsModeData unk_950
Definition types.h:386
VsModeData unk_1350
lightning melee
Definition types.h:394
VsModeData unk_E50
tiny melee
Definition types.h:390
VsModeData unk_810
invisible melee
Definition types.h:385
VsModeData unk_1490
multiman, 3/15 min, endless, cruel
Definition types.h:395
char pad_7C[0x4A0]
Definition types.h:326
VsModeData unk_6D0
super sudden death
Definition types.h:384
struct gmm_x0::EventData unk_530
u8 x39[0xB]
Definition types.h:322
u8 unk_1
Definition types.h:319
struct gmm_x0::gmm_x0_528_t unk_51C
struct gmm_x0::gmm_x0_528_t unk_528
u8 unk_2
Definition types.h:320
char pad_15D0[0x1710 - 0x15D0]
Definition types.h:396
VsModeData unk_A90
fixed camera mode
Definition types.h:387
u8 language
Definition types.h:318
Definition types.h:269
u32 x0
Definition types.h:270
u8 x5
Definition types.h:272
u8 x6
Definition types.h:273
u8 x4
true/false
Definition types.h:271
Definition types.h:257
u8 padding_x1C88[0x1C]
Definition types.h:307
s32 x1A2C
Definition types.h:280
s32 x1A3C
Definition types.h:284
s32 x1A34
Definition types.h:282
struct gmm_x1CB0 x1CB0
Definition types.h:308
struct gmm_retval_EDBC unk_30
Definition types.h:268
s32 x1A1C
Definition types.h:276
s32 x1A58
Definition types.h:291
s32 x1A44
Definition types.h:286
s32 x1A5C
Definition types.h:292
u8 padding_x1A70[0xBC]
Definition types.h:297
s32 x1A4C
Definition types.h:288
u32 x1B58[3]
Definition types.h:302
u32 x1B80[4]
Definition types.h:304
char pad_2D5[3]
Definition types.h:299
u8 padding_x1CD4[0x254]
Definition types.h:312
s32 x1A50
Definition types.h:289
s32 x1A30
Definition types.h:281
s16 x1CD0
Definition types.h:309
struct gmm_retval_ED98 unk_8
Definition types.h:266
struct NameTagDataBank x2FF8[2]
Definition types.h:314
s64 x1A68
Definition types.h:295
s32 x1A60
Definition types.h:293
int x1A54
Definition types.h:290
s32 x1A38
Definition types.h:283
s32 x1A70[4]
Definition types.h:296
s32 x1A28
Definition types.h:279
s32 x1A40
Definition types.h:285
u16 x1868
unlocked characters bitmask
Definition types.h:258
char pad_5[3]
Definition types.h:265
u32 x1C88[3]
Definition types.h:306
s16 x1CD2
Definition types.h:310
u8 x1B3C
Definition types.h:298
u8 padding_x1B58[0x1C]
Definition types.h:303
u8 x186C
unlocked features bitmask - score display/random stage etc...
Definition types.h:260
s32 x1A20
Definition types.h:277
s32 x1A64
Definition types.h:294
u32 x1B40[3]
Definition types.h:300
struct FighterData x1F2C[0x19]
Definition types.h:313
struct gmm_retval_EDB0 unk_28
Definition types.h:267
struct gmm_x1868::gmm_x1868_1A8_t unk_1A8
u32 x1B4C[3]
Definition types.h:301
u8 padding_x1B80[0xF8]
Definition types.h:305
s32 x1CD4
Definition types.h:311
u16 x186A
unlocked stages bitmask
Definition types.h:259
u32 x1A48
Definition types.h:287
s32 x1A18
Definition types.h:275
s32 x1A24
Definition types.h:278
Definition types.h:98
u8 padding_x16[0x1]
Definition types.h:107
u8 pad_x1[0x8 - 0x1]
Definition types.h:100
u8 saved_language
Definition types.h:105
u8 rumble[4]
Definition types.h:102
u8 sound_balance
Definition types.h:103
u32 stage_mask
Definition types.h:106
u8 deflicker
Definition types.h:104
u64 item_mask
Definition types.h:101
u8 item_freq
Definition types.h:99
int x104[0x101]
Definition types.h:438
u8 x0[0x101]
Definition types.h:437
u8 pad60[0xA8 - 0x30]
Definition types.h:433
u8 pad8[0x20 - 8]
Definition types.h:428
Definition types.h:402
u8 xC
Definition types.h:408
u8 pad_x1[0xB]
Definition types.h:416
UNK_T x0
Definition types.h:403
u8 xD
Definition types.h:409
u8 pad30[0x58 - 0x30]
Definition types.h:418
u8 is_teams
Definition types.h:406
u32 x8
Definition types.h:407
u8 pad3F0[0x44C - 0x3F0 - 0x58]
Definition types.h:435
u8 x16
Definition types.h:412
struct lbl_8046B6A0_24C_t::lbl_8046B6A0_24C_58_t x58[6]
struct lbl_8046B6A0_24C_t::lbl_8046B6A0_24C_44C_t x44C[6]
u8 xE
Definition types.h:410
u8 x5
match mode
Definition types.h:405
u8 x4
Definition types.h:404
struct lbl_8046B6A0_24C_t::@198 x24[1]
u8 x0
Definition types.h:415
u8 pad17[0x24 - 0x17]
Definition types.h:413
u8 padF[0x16 - 0xF]
Definition types.h:411
Definition types.h:467
s8 pauser
Definition types.h:469
u8 unk_F
Definition types.h:483
u8 x8
Definition types.h:510
s32 unk_10
Definition types.h:484
u8 x9
Definition types.h:511
u8 pause_timer
Definition types.h:470
u8 is_singleplayer
Definition types.h:475
u8 unk_C
Definition types.h:480
u8 x4_b4
Zelda/Sheik transforming on load.
Definition types.h:504
u8 hud_enabled
Definition types.h:473
u8 x1
Definition types.h:497
u8 unk_4
Definition types.h:472
u16 unk_2C
timer frames
Definition types.h:491
u8 unk_A
Definition types.h:478
u8 x4_b7
Definition types.h:507
u32 * unk_20
Definition types.h:488
u32 timer_seconds
Definition types.h:490
u8 respawn_timer
Definition types.h:512
u8 x4_b2
invisible
Definition types.h:502
u8 x0
CharacterKind.
Definition types.h:496
u16 x6
Definition types.h:509
u16 unk_2E
Definition types.h:492
struct StartMeleeRules x24C8
Definition types.h:518
u8 x5
Definition types.h:508
u8 match_result
Definition types.h:476
f32 unk_34
Definition types.h:494
u8 unk_B
Definition types.h:479
u8 x4_b5
Definition types.h:505
u8 unk_3
Definition types.h:471
u16 xC
Definition types.h:514
u8 unk_9
Definition types.h:477
char pad_8C[0x24C - 0x8C]
Definition types.h:516
u8 unk_30
Definition types.h:493
u8 unk_18
Definition types.h:486
s8 spawn_point
Definition types.h:499
u8 x4_b6
Definition types.h:506
u8 x4_b1
Definition types.h:501
u8 x4_b0
metal
Definition types.h:500
u8 x4_b3
Definition types.h:503
u8 match_over
Definition types.h:482
u32 frame_count
Definition types.h:489
u8 terminate_match
Definition types.h:474
u8 unk_0
Definition types.h:468
s32 unk_14
Definition types.h:485
struct lbl_8046B6A0_t::@199 FighterMatchInfo[6]
u8 xB
Definition types.h:513
struct lbl_8046B6A0_24C_t x24C
Definition types.h:517
u32 * unk_1C
Definition types.h:487
u8 slot_type
Definition types.h:498
u8 unk_D
Definition types.h:481
Definition types.h:950
u8 x4
Definition types.h:955
u8 x0
Definition types.h:951
u8 x3
Definition types.h:954
u8 x2
Definition types.h:953
u8 x5
Definition types.h:956
u8 x6
Definition types.h:957
u8 x1
Definition types.h:952
u16 x8
Definition types.h:958
Definition types.h:93
u32 a
Definition types.h:94
u8 scene_id
Definition types.h:95
Definition common_structs.h:75