SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_LB_TYPES_H
2#define MELEE_LB_TYPES_H
3
4#include <placeholder.h>
5#include <platform.h>
6
7#include <melee/gr/forward.h>
8#include <melee/lb/forward.h> // IWYU pragma: export
10
11#include <dolphin/card.h>
12#include <dolphin/gx.h>
13#include <dolphin/mtx.h>
14
15struct HitResult {
17
20
21 Vec3 pos;
22 Vec3 offset;
23 float size;
24};
25
26struct HitVictim {
28 u32 x4;
29};
30
31struct HitCapsule {
33 /* +4 */ u32 x4;
34 /* +8 */ u32 unk_count;
35 /* +C */ float damage;
36 /* +10 */ Vec3 b_offset;
37 /* +1C */ float scale;
38 /* +20 */ int kb_angle;
39 /* +24 */ u32 x24;
40 /* +28 */ u32 x28;
41 /* +2C */ u32 x2C;
42 /* +30 */ u32 element;
43 /* +34 */ int x34;
44 /* +38 */ int sfx_severity;
45 /* +3C */ enum_t sfx_kind;
46 /* +40 */ u16 x40_b0 : 1;
47 /* +40 */ u16 x40_b1 : 1;
48 /* +40 */ u16 x40_b2 : 1;
49 /* +40 */ u16 x40_b3 : 1;
50 /* +40 */ u16 x40_b4 : 8;
51 /* +41:4 */ u16 x41_b4 : 1;
52 /* +41:5 */ u16 x41_b5 : 1;
53 /* +41:6 */ u16 x41_b6 : 1;
54 /* +41:7 */ u16 x41_b7 : 1;
55 /* +42:0 */ u8 x42_b0 : 1;
56 /* +42:1 */ u8 x42_b1 : 1;
57 /* +42:2 */ u8 x42_b2 : 1;
58 /* +42:3 */ u8 x42_b3 : 1;
59 /* +42:4 */ u8 x42_b4 : 1;
60 /* +42:5 */ u8 x42_b5 : 1;
61 /* +42:6 */ u8 x42_b6 : 1;
62 /* +42:7 */ u8 x42_b7 : 1;
63 /* +43:0 */ u8 x43_b0 : 1;
64 /* +43:1 */ u8 x43_b1 : 1;
65 /* +43:2 */ u8 x43_b2 : 1;
66 /* +43:3 */ u8 x43_b3 : 1;
67 /* +43:4 */ u8 x43_b4 : 1;
68 /* +43:5 */ u8 x43_b5 : 1;
69 /* +43:6 */ u8 x43_b6 : 1;
70 /* +43:7 */ u8 x43_b7 : 1;
71 /* +44 */ u8 x44; // victims_1 count
72 /* +45 */ u8 x45; // victims_2 count
73 /* +46 */ u8 x46[0x48 - 0x46];
74 /* +48 */ HSD_JObj* jobj;
75 /* +4C */ Vec3 x4C;
76 /* +58 */ Vec3 x58;
77 /* +64 */ Vec3 hurt_coll_pos;
78 /* +70 */ float coll_distance;
79 /* +74 */ HitVictim victims_1[12];
80 /* +D4 */ HitVictim victims_2[12];
81 /* +134 */ union {
84 };
85};
86STATIC_ASSERT(sizeof(HitCapsule) == 0x138);
87
92 float scale;
93 HSD_JObj* bone; // 0x20
95 u8 x24_b1 : 1; // 0x24 0x40
96 u8 x24_b2 : 1; // 0x24 0x20
97 u8 x24_b3 : 1; // 0x24 0x10
98 u8 x24_b4 : 1; // 0x24 0x08
99 u8 x24_b5 : 1; // 0x24 0x04
100 u8 x24_b6 : 1; // 0x24 0x02
101 u8 x24_b7 : 1; // 0x24 0x01
102 Vec3 a_pos;
103 Vec3 b_pos;
104 int bone_idx; // 0x40
105};
106
109 HurtHeight height; // 0x44. 0 = low, 1 = mid, 2 = high
110 bool is_grabbable; // 0x48
111};
112
114
127
129 /* +0 */ int x0_bone_id;
130 /* +4 */ Vec3 x4_offset;
131 /* +10 */ float x10_size;
132};
133
135 int bone;
136 Vec3 pos;
137 float radius;
138 float dmg_mul;
139 float vel_mul;
140 u8 flags : 8;
141};
142
144 s32 unk0; // x00
145 s32 unk1; // x04
146 s32 unk2; // x08
147 s32 unk3; // x08
148 s32 unk4; // x10
149 s32 unk5; // x14
150 void* callback0; // x1C
151 void* callback1; // x20
152};
153
154typedef struct _ECBFlagStruct {
155 u8 b0 : 1;
156 u8 b1234 : 4;
157 u8 b5 : 1;
158 u8 b6 : 1;
159 u8 b7 : 1;
161
162typedef struct SurfaceData {
163 int index;
164 u32 flags;
165 Vec3 normal;
167
168typedef struct _itECB {
169 f32 top;
171 f32 right;
172 f32 left;
173} itECB;
174
175typedef struct _ftECB {
176 Vec2 top;
177 Vec2 bottom;
178 Vec2 right;
179 Vec2 left;
180} ftECB;
181
182struct CollData {
183 /* fp+6F0 */ HSD_GObj* x0_gobj;
184 /* fp+6F4 */ Vec3 cur_pos;
185 /* fp+700 */ Vec3 cur_pos_correct;
186 /* fp+70C */ Vec3 prev_pos;
187 /* fp+718 */ Vec3 x28_vec;
190 /* fp+726 */ s16 facing_dir;
191 /* fp+728 */ s32 x38;
192 /* fp+72C */ s32 x3C;
193 /* fp+730 */ int ledge_id_unk0;
194 /* fp+734 */ int ledge_id_unk1;
195 /* fp+738 */ u32 x48_joint_id;
196 /* fp+73C */ u32 x4C_joint_id;
197 /* fp+740 */ float x50;
198 /* fp+744 */ float ledge_snap_x;
199 /* fp+748 */ float ledge_snap_y;
200 /* fp+74C */ float ledge_snap_height;
201 /* fp+750 */ float x60;
202 /* fp+754 */ ftECB x64_ecb;
203 /* fp+774 */ ftECB x84_ecb;
205 /* fp+7B4 */ ftECB xC4_ecb;
206 /* fp+7D4 */ ftECB xE4_ecb;
208 /* fp+7F4 */ s32 x104;
209 /* fp+7F8 */ union {
210 /* fp+7F8 */ struct {
211 /* fp+7F8 */ HSD_JObj* x108_joint;
212 /* fp+7FC */ HSD_JObj* x10C_joint[6];
213 };
214 /* fp+7F8 */ struct {
215 /* fp+7F8 */ float x108_f32;
216 /* fp+7FC */ float x10C_f32;
217 /* fp+800 */ float x110_f32;
218 /* fp+804 */ float x114_f32;
219 /* fp+808 */ float x118_f32;
220 };
221 };
222 /* fp+814 */ float x124;
223 /* fp+818 */ float x128;
224 /* fp+81C */ float x12C;
225 /* fp+820 */ u32 x130_flags;
226 /* fp+824 */ s32 env_flags;
227 /* fp+828 */ s32 prev_env_flags;
228 /* fp+82C */ s32 x13C;
229 /* fp+830 */ Vec3 x140;
230 /* fp+83C */ SurfaceData floor;
232 /* fp+864 */ SurfaceData left_wall;
233 /* fp+878 */ SurfaceData ceiling;
234};
235
238 u32* addr;
239 size_t size;
240};
241
247
264
277
287
289 /* +0 */ char pad_0[0x11];
290 /* +11 */ s8 x11;
291 /* +12 */ s8 x12;
292 /* +13 */ char pad_13[0x18 - 0x13];
293 /* +18 */ int x18;
294};
295
297 /* 0x0 */ s32 unk_0;
298 /* 0x4 */ s32 unk_4;
299};
300STATIC_ASSERT(sizeof(struct lb_80432A68_38_t) == 0x8);
301
303 /* 0x000 */ UNK_T work_area;
304 /* 0x004 */ UNK_T lib_area;
305 /* 0x008 */ int chan;
306 /* 0x00C */ UNK_T unk_C;
307 /* 0x010 */ const char* unk_10;
308 /* 0x014 */ const char* unk_14;
309 /* 0x018 */ s32 unk_18;
310 /* 0x01C */ s32 unk_1C;
311 /* 0x020 */ UNK_T unk_20;
312 /* 0x024 */ int* unk_24;
313 /* 0x028 */ int* unk_28;
314 /* 0x02C */ char x2C[2];
315 /* 0x02C */ char x2E;
316 /* 0x02C */ char x2F[4];
317 /* 0x034 */ s32 unk_34;
318 /* 0x038 */ struct lb_80432A68_38_t unk_38[9];
319 /* 0x080 */ s32 unk_80;
320 /* 0x084 */ s32 memsize;
321 /* 0x088 */ s32 sectorsize;
322 /* 0x08C */ s32 unused_bytes;
323 /* 0x090 */ s32 unused_files;
324 /* 0x094 */ CARDFileInfo file_info;
325 /* 0x0A8 */ s32 unk_A8;
326 /* 0x098 */ u8 pad_AC[0xD0 - 0xAC]; /* maybe part of unk_80[0x123]? */
327 /* 0x0A8 */ int xD0[9];
328 /* 0x0A8 */ volatile int xF4[9];
329 /* 0x098 */ u8
330 pad_500[0x50C - 0xF4 - 9 * 4]; /* maybe part of unk_80[0x123]? */
331 /* 0x50C */ void (*x50C)(int);
332 /* 0x510 */ struct CardTask {
333 int x0;
334 int x4;
336 char* xC;
337 char x10[0x20];
338 u8 x18;
339 char x19[7];
340 u8 unk20[0x1C];
342 /* 0x8AC */ int x8AC;
343}; /* size = 0x8B0 */
344STATIC_ASSERT(sizeof(struct lb_80432A68_t) == 0x8B0);
345
347 /* +0 */ int x0;
348 /* +0 */ u8 x4[0x7B - 0x4];
349 /* +7B */ u8 x7B;
350};
351
353 GXColor light_color;
354 struct {
355 s32 unk : 6;
356 s32 x : 13;
357 s32 yz : 13;
359 struct {
360 u32 x0_0 : 1;
361 u32 x0_1 : 1;
362 u32 x0_2 : 1;
363 u32 x0_3 : 1;
364 u32 x0_4 : 1;
365 u32 x0_5 : 1;
367 u32 x0_7 : 1;
368 s32 x : 12;
369 s32 yz : 12;
371 struct {
372 u32 unk : 6;
373 u32 timer : 26;
375};
376STATIC_ASSERT(sizeof(union ColorOverlay_x8_t) == 0x4);
377
379 s32 x0_timer; // 0x0
380 s32 x4_pri; // 0x4 this colanims priority, lower = will persist
382 s32 xC_loop; // 0xc
383 s32* x10_ptr2; // 0x10
384 s32 x14; // 0x14
385 s32* x18_alloc; // 0x18
386 s32 x1c; // 0x1c
387 s32 x20; // 0x20
388 s32 x24; // 0x24
389 union {
392 } x28_colanim; // 0x28, id for the color animation in effect
393 GXColor x2C_hex; // 0x2C
394 f32 x30_color_red; // 0x30
395 f32 x34_color_green; // 0x34
396 f32 x38_color_blue; // 0x38
397 f32 x3C_color_alpha; // 0x3C
402 GXColor x50_light_color; // 0x50
403 f32 x54_light_red; // 0x54
404 f32 x58_light_green; // 0x58
405 f32 x5C_light_blue; // 0x5C
406 f32 x60_light_alpha; // 0x60
411 f32 x74_light_rot_x; // 0x74
412 f32 x78_light_rot_yz; // 0x78
413 u8 x7C_color_enable : 1; // 0x7c, 0x80
414 u8 x7C_flag2 : 1; // 0x7c, 0x40
415 u8 x7C_light_enable : 1; // 0x7c, 0x20
416 u8 x7C_flag4 : 1; // 0x7c, 0x10
417 u8 x7C_flag5 : 1; // 0x7c, 0x08
418 u8 x7C_flag6 : 1; // 0x7c, 0x04
419 u8 x7C_flag7 : 1; // 0x7c, 0x02
420 u8 x7C_flag8 : 1; // 0x7c, 0x01
421};
422STATIC_ASSERT(sizeof(struct ColorOverlay) == 0x80);
423
425 /* +0 */ u8 x0;
426 /* +1 */ u8 x1;
427 /* +2 */ s8 x2;
428 /* +3 */ s8 x3;
429 /* +4 */ Vec3 x4;
430 /* +10 */ f32 x10;
431 /* +14 */ f32 x14;
432 /* +18 */ f32 x18;
433 /* +1C */ f32 x1C;
434 /* +20 */ f32 unk_scale;
435 /* +24 */ f32 x24;
436 /* +28 */ int unk_count0;
437 /* +2C */ f32 unk_angle_float;
438 /* +30 */ int unk_angle_int;
439 /* +34 */ struct lb_80011A50_t* next;
440};
441
443 /* +0 */ Vec3 x0;
444 /* +C */ Vec3 xC;
445};
446STATIC_ASSERT(sizeof(struct lb_80014638_arg0_t) == 0x18);
447
449 /* +0 */ float unk_x;
450 /* +4 */ float unk_y;
451 /* +8 */ Vec3 x8;
452};
453STATIC_ASSERT(sizeof(struct lb_80014638_arg1_t) == 0x14);
454
456 void* unk;
459};
461
463 /* 0x00 */ f32 unk_0;
464 /* 0x04 */ f32 unk_4; /* inferred */
465 /* 0x08 */ s32 unk_8; /* inferred */
466 /* 0x0C */ s32 unk_C; /* inferred */
467 /* 0x10 */ s32 unk_10; /* inferred */
468 /* 0x14 */ s32 unk_14; /* inferred */
469 /* 0x18 */ f32 unk_18; /* inferred */
470 /* 0x1C */ s32 unk_1C; /* inferred */
471 /* 0x20 */ s32 unk_20; /* inferred */
472 /* 0x24 */ f32 unk_24; /* inferred */
473 /* 0x28 */ s32 unk_28; /* inferred */
474 /* 0x2C */ s32 unk_2C; /* inferred */
475 /* 0x30 */ s32 unk_30; /* inferred */
476 /* 0x34 */ f32 unk_34; /* inferred */
477 /* 0x38 */ f32 unk_38; /* inferred */
478};
479STATIC_ASSERT(sizeof(struct lb_00F9_UnkDesc1Inner) == 0x3C);
480
484
486 /* 0x00 */ f32 unk_0;
487 /* 0x04 */ f32 unk_4;
488 /* 0x08 */ s32 unk_8;
489 /* 0x0C */ f32 unk_C;
490 /* 0x10 */ f32 unk_10;
491 /* 0x14 */ f32 unk_14;
492 /* 0x18 */ f32 unk_18;
493 /* 0x1C */ s32 unk_1C;
494 /* 0x20 */ s32 unk_20;
495 /* 0x24 */ s32 unk_24;
496 /* 0x28 */ s32 unk_28;
497 /* 0x2C */ f32 unk_2C;
498 /* 0x30 */ s32 unk_30;
499 /* 0x34 */ s32 unk_34;
500 /* 0x38 */ f32 unk_38;
501 char pad_3C[0x78 - 0x3C];
508};
509
513
522STATIC_ASSERT(sizeof(union PolymorphicDesc) == 0x90);
523
526 /* 0x90 */ struct DynamicsData* next;
527}; /* size = 0x94 */
528STATIC_ASSERT(sizeof(struct DynamicsData) == 0x94);
529
530struct DynamicsDesc {
531 /* +0 */ struct DynamicsData* data;
532 /* +4 */ unsigned int count;
533 /* +8 */ Vec3 pos;
534};
535
540
542 char pad_0[0x94];
543};
544
546 /* +0 */ char pad_0[0xBE00];
547};
548STATIC_ASSERT(sizeof(struct lb_804D63A0_t) == 0xBE00);
549
551 /* +0 */ char pad_0[0x1C0];
552};
553STATIC_ASSERT(sizeof(struct lb_804D63A8_t) == 0x1C0);
554
556 float x0;
557 float x4;
558 Vec3 x8;
559 Vec3 x14;
560};
561
563 f32 timer; // 0x00
564 f32 frame_count; // 0x04
565 union {
566 u32* ptr[1];
567 union CmdUnion {
568 struct {
569 u32 code : 6;
570 u32 value : 26;
572 struct {
573 u32 code : 6;
574 u32 value : 26;
576 struct {
577 u32 code : 6;
578 u32 value : 26;
580 struct {
581 u32 x;
582 } Command_04_2;
583 struct {
584 union CmdUnion* ptr;
586 struct {
587 union CmdUnion* ptr;
589 struct {
590 u32 id : 6;
591 u32 param_1 : 8;
592 u32 param_2 : 18;
594 struct {
595 u32 code : 6;
596 u32 unk1 : 8;
597 u32 unk2 : 18;
599 struct {
600 u32 code : 6;
601 u32 unk0 : 2;
602 u32 unk1 : 4;
603 u32 unk2 : 1;
604 } unk1;
605 struct {
606 u32 code : 6;
607 u32 hit_idx : 26;
608 } unk2;
609 struct {
610 s32 unk0 : 7;
611 s32 unk1 : 25;
612 } unk3;
613 struct {
614 u16 unk0 : 6;
615 u16 unk1 : 8;
617 struct {
618 s32 unk0 : 14;
619 s32 unk1 : 18;
620 } unk5;
621 struct {
622 u8 unk0 : 6;
623 u8 unk1 : 1;
624 } unk6;
625 struct {
626 u32 unk0 : 6;
627 u32 unk1 : 26;
628 } unk7;
629 struct {
630 int unk0;
632 struct {
633 s32 unk0 : 6;
634 s32 unk1 : 7;
635 s32 unk2 : 7;
636 u32 unk3 : 12;
637 } part_anim;
638 struct {
639 s32 unk0 : 6;
640 u32 unk1 : 13;
641 u32 unk2 : 13;
642 } unk9;
643 struct {
644 s32 unk0 : 6;
645 u32 unk1 : 1;
646 u32 unk2 : 12;
647 u32 unk3 : 13;
649 struct {
650 s32 unk0 : 6;
651 u32 unk1 : 26;
652 } unk11;
653 struct {
654 u32 unk0 : 6;
655 u32 unk1 : 2;
656 u32 unk2 : 10;
657 u32 unk3 : 14;
658 } unk12;
659 struct {
660 u32 unk0 : 6;
661 u32 unk1 : 8;
662 u32 unk2 : 18;
663 } unk13;
664 struct {
665 u32 unk0 : 6;
666 u32 unk1 : 8;
668 struct {
669 u32 unk0 : 6;
670 u32 unk1 : 26;
671 } unk15;
672 struct {
673 u32 unk0 : 6;
674 s32 unk3 : 1;
675 s32 unk4 : 25;
676 } unk16;
677 struct {
678 u32 unk0 : 6;
679 s32 unk1 : 26;
680 } unk17;
681 struct {
682 u32 unk0 : 6;
685 struct {
686 u32 unk0 : 6;
687 u32 unk1 : 26;
688 } unk19;
689 struct {
690 u32 unk0 : 6;
691 u32 unk1 : 26;
693 struct {
694 u32 unk0 : 6;
695 u32 unk1 : 1;
696 u32 unk2 : 8;
697 } unk21;
698 struct {
699 u32 code : 6;
700 u32 idx : 3;
701 u32 value : 23;
702 } set_hitbox_damage;
703 struct {
704 u32 code : 6;
705 u32 idx : 3;
706 u32 value : 23;
707 } set_hitbox_scale;
708 struct {
709 u32 code : 6;
710 u32 idx : 24;
711 u32 type : 1;
712 u32 value : 1;
713 } unk22;
714 struct {
715 u32 code : 6;
716 u32 idx : 2;
717 u32 value : 24;
718 } set_cmd_var;
719 struct {
720 u32 code : 6;
721 u32 bone_idx : 8;
722 u32 state : 18;
723 } set_hurt_state;
724 struct {
725 u32 code : 6;
726 u32 disabled : 26;
727 } unk23;
728 struct {
729 u32 code : 6;
730 u32 unk0 : 26;
732 struct {
733 u32 code : 6;
734 s32 unk0 : 7;
735 s32 unk1 : 19;
736 } unk25;
737 struct {
738 u32 code : 6;
739 u32 idx : 3;
740 u32 unk0 : 23;
741 } unk26_0;
742 struct {
743 u32 unk0 : 9;
744 u32 hit_x24 : 9;
745 u32 hit_x28 : 9;
746 } unk26_1;
747 struct {
748 u32 hit_x2C : 9;
749 u32 element : 4;
751 u32 sfx_kind : 4;
752 } unk26_2;
753 struct {
754 u32 code : 6;
755 u32 value : 26;
756 } unk27;
757 struct {
758 u32 code : 6;
759 u32 value : 26;
761 struct {
762 u32 code : 6;
763 u32 value : 26;
764 } unk29;
765 struct {
766 u32 code : 6;
767 u32 b : 1;
768 s32 i0 : 7;
769 s32 i1 : 7;
770 s32 f : 11;
772 struct {
773 u32 code : 6;
774 u32 unk0 : 10;
775 u32 unk1 : 16;
776 } unk31;
777 struct {
778 u32 code : 6;
779 u32 unk0 : 13;
780 u32 unk1 : 13;
781 } unk32;
782 struct {
783 u32 code : 6;
784 u32 unk0 : 13;
785 u32 unk1 : 13;
786 } unk33;
787 struct {
788 u32 opcode : 6;
789 u32 boneId : 8;
792 u32 useUnkBone : 1;
793 u32 unk1 : 15;
794 } test1;
795 struct {
796 u32 gfxID : 16;
797 u32 unkFloat : 16;
798 } test2;
799 struct {
800 s16 offsetZ : 16;
801 s16 offsetY : 16;
802 } test3;
803 struct {
804 s16 offsetX : 16;
805 u16 rangeZ : 16;
806 } test4;
807 struct {
808 u16 rangeY : 16;
809 u16 rangeX : 16;
810 } test5;
811 }* u;
812 };
813 u32 loop_count; // 0x0C
814 union CmdUnion*
815 event_return[3]; // 0x10 - Array Size is purely made-up for now
816 u32 loop_count_dup; // 0x14
817 u32 unk_x18; // 0x18
818};
819
820struct LbShadow {
821 u8 x0_b0 : 1;
822 u8 x0_b1 : 1;
823 u8 x0_b2 : 1;
824 u8 x0_b3 : 1;
825 u8 x0_b4 : 1;
826 u8 x0_b5 : 1;
827 u8 x0_b6 : 1;
828 u8 x0_b7 : 1;
830};
831
832#endif
int unk0
Definition grbattle.c:67
int unk4
Definition grbattle.c:68
s32 unk30
Definition grflatzone.c:76
s32 unk10
Definition grflatzone.c:68
s32 unk24
Definition grflatzone.c:73
s32 unk8
Definition grflatzone.c:66
s32 unk14
Definition grflatzone.c:69
s32 unk20
Definition grflatzone.c:72
f32 unk28
Definition grflatzone.c:74
s32 unk18
Definition grflatzone.c:70
void Command_05(CommandInfo *info)
Definition lbcommand.c:57
void Command_03(CommandInfo *info)
SetLoop.
Definition lbcommand.c:34
void Command_00(CommandInfo *info)
Reset.
Definition lbcommand.c:14
void Command_02(CommandInfo *info)
AsynchronousTimer.
Definition lbcommand.c:27
void Command_07(CommandInfo *info)
Goto.
Definition lbcommand.c:71
void Command_09(CommandInfo *info)
Definition lbcommand.c:84
InternalStageId
Definition forward.h:44
HurtHeight
Definition forward.h:79
HurtCapsuleState
Definition forward.h:33
HitCapsuleState
Definition forward.h:70
#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.h:128
int x0_bone_id
Definition types.h:129
float x10_size
Definition types.h:131
Vec3 x4_offset
Definition types.h:130
Definition types.h:536
DynamicsDesc dyn_desc
Definition types.h:538
enum_t bone_id
Definition types.h:537
Definition types.h:182
s32 x38
Definition types.h:191
float x10C_f32
Definition types.h:216
float x124
Definition types.h:222
ftECB x64_ecb
Definition types.h:202
float ledge_snap_height
Definition types.h:200
SurfaceData right_wall
Definition types.h:231
HSD_JObj * x10C_joint[6]
Definition types.h:212
float x128
Definition types.h:223
HSD_JObj * x108_joint
Definition types.h:211
float x60
Definition types.h:201
Vec3 cur_pos
Definition types.h:184
ftECB xA4_ecbCurrCorrect
Definition types.h:204
HSD_GObj * x0_gobj
Definition types.h:183
ftECB xE4_ecb
Definition types.h:206
int ledge_id_unk0
Definition types.h:193
ftECB x84_ecb
Definition types.h:203
float x108_f32
Definition types.h:215
s32 x3C
Definition types.h:192
int ledge_id_unk1
Definition types.h:194
Vec3 prev_pos
Definition types.h:186
Vec3 x140
Definition types.h:229
u32 x130_flags
Definition types.h:225
SurfaceData ceiling
Definition types.h:233
float x12C
Definition types.h:224
SurfaceData left_wall
Definition types.h:232
float x118_f32
Definition types.h:219
s32 x104
Definition types.h:208
s32 prev_env_flags
Definition types.h:227
Vec3 x28_vec
Definition types.h:187
s16 facing_dir
Definition types.h:190
s32 env_flags
Definition types.h:226
float x114_f32
Definition types.h:218
float x110_f32
Definition types.h:217
float ledge_snap_y
Definition types.h:199
Vec3 cur_pos_correct
Definition types.h:185
ECBFlagStruct x35_flags
Definition types.h:189
SurfaceData floor
Definition types.h:230
s32 x13C
Definition types.h:228
float x50
Definition types.h:197
u32 x4C_joint_id
Definition types.h:196
ECBFlagStruct x34_flags
Definition types.h:188
float ledge_snap_x
Definition types.h:198
u32 x48_joint_id
Definition types.h:195
ftECB xC4_ecb
Definition types.h:205
Definition types.h:346
int x0
Definition types.h:347
u8 x4[0x7B - 0x4]
Definition types.h:348
u8 x7B
Definition types.h:349
Definition types.h:378
f32 x6C_lightblend_blue
Definition types.h:409
union ColorOverlay_x8_t * x8_ptr1
Definition types.h:381
union ColorOverlay::@259 x28_colanim
s32 x24
Definition types.h:388
s32 * x10_ptr2
Definition types.h:383
f32 x60_light_alpha
Definition types.h:406
u8 x7C_flag7
Definition types.h:419
f32 x48_colorblend_blue
Definition types.h:400
f32 x5C_light_blue
Definition types.h:405
u8 x7C_flag8
Definition types.h:420
s32 x0_timer
Definition types.h:379
f32 x58_light_green
Definition types.h:404
GXColor x2C_hex
Definition types.h:393
s32 x20
Definition types.h:387
f32 x78_light_rot_yz
Definition types.h:412
f32 x70_lightblend_alpha
Definition types.h:410
f32 x68_lightblend_green
Definition types.h:408
f32 x38_color_blue
Definition types.h:396
f32 x74_light_rot_x
Definition types.h:411
u8 x7C_flag5
Definition types.h:417
f32 x54_light_red
Definition types.h:403
GXColor x50_light_color
Definition types.h:402
u8 x7C_flag2
Definition types.h:414
u8 x7C_color_enable
Definition types.h:413
u8 x7C_light_enable
Definition types.h:415
f32 x34_color_green
Definition types.h:395
f32 x64_lightblend_red
Definition types.h:407
f32 x4C_colorblend_alpha
Definition types.h:401
s32 * x18_alloc
Definition types.h:385
s32 x4_pri
Definition types.h:380
s32 x14
Definition types.h:384
enum_t i
Definition types.h:390
s32 xC_loop
Definition types.h:382
f32 x3C_color_alpha
Definition types.h:397
struct ColorOverlay_UnkInner * ptr
Definition types.h:391
u8 x7C_flag6
Definition types.h:418
f32 x30_color_red
Definition types.h:394
u8 x7C_flag4
Definition types.h:416
s32 x1c
Definition types.h:386
f32 x44_colorblend_green
Definition types.h:399
f32 x40_colorblend_red
Definition types.h:398
Definition types.h:562
u32 opcode
Definition types.h:788
u32 loop_count_dup
Definition types.h:816
u32 value
Definition types.h:570
s32 i0
Definition types.h:768
u16 rangeX
Definition types.h:809
u32 loop_count
Definition types.h:813
u8 unk0
Bits 0~5.
Definition types.h:622
u8 unk1
Bit 6.
Definition types.h:623
u32 useUnkBone
Definition types.h:792
u32 * ptr[1]
Definition types.h:566
u32 boneId
Definition types.h:789
s16 offsetX
Definition types.h:804
s32 unk1
Bits 7~31.
Definition types.h:611
u32 b
Definition types.h:767
u16 rangeY
Definition types.h:808
u32 unk2
Bits 14~31.
Definition types.h:597
s16 offsetY
Definition types.h:801
u32 id
Definition types.h:590
u32 code
Bits 0~5.
Definition types.h:569
u32 disabled
Definition types.h:726
s32 i1
Definition types.h:769
u32 element
Definition types.h:749
f32 timer
Definition types.h:563
s32 damage_amount
Definition types.h:683
u16 rangeZ
Definition types.h:805
u32 sfx_kind
Definition types.h:751
u32 hit_x28
Definition types.h:745
u32 unk0
Bits 6~7.
Definition types.h:601
s32 unk4
Definition types.h:675
union CmdUnion * ptr
Definition types.h:584
union CommandInfo::@260::CmdUnion * u
u32 destroyOnStateChange
Definition types.h:791
u32 hit_idx
Bits 6~31.
Definition types.h:607
s32 unk0
Bits 0~6.
Definition types.h:610
u16 unk0
Bits 0~5.
Definition types.h:614
u32 sfx_severity
Definition types.h:750
u32 param_2
Definition types.h:592
u32 unk1
Bits 6~13.
Definition types.h:596
u32 state
Definition types.h:722
union CmdUnion * event_return[3]
Definition types.h:814
f32 frame_count
Definition types.h:564
u32 x
Definition types.h:581
s32 unk2
Definition types.h:635
u32 bone_idx
Definition types.h:721
u32 hit_x2C
Definition types.h:748
u32 hit_x24
Definition types.h:744
int unk0
Definition types.h:630
s32 f
Definition types.h:770
u32 param_1
Definition types.h:591
u32 gfxID
Definition types.h:796
u32 unkFloat
Definition types.h:797
s32 unk3
Definition types.h:674
u32 idx
Definition types.h:700
u16 unk1
Bits 6~13.
Definition types.h:615
u32 unk_x18
Definition types.h:817
u32 useCommonBoneIDs
Definition types.h:790
s16 offsetZ
Definition types.h:800
u32 unk3
Definition types.h:636
u32 type
Definition types.h:711
Definition types.h:524
struct DynamicsData * next
Definition types.h:526
union PolymorphicDesc desc
Definition types.h:525
Definition types.dox:1
Vec3 pos
Definition types.dox:5
struct DynamicsData * data
Definition types.h:531
unsigned int count
Definition types.h:532
Definition types.h:154
u8 b7
Definition types.h:159
u8 b6
Definition types.h:158
u8 b5
Definition types.h:157
u8 b0
Definition types.h:155
u8 b1234
Definition types.h:156
Definition types.h:107
HurtCapsule capsule
Definition types.h:108
HurtHeight height
Definition types.h:109
bool is_grabbable
Definition types.h:110
Definition types.h:455
void * unk
Definition types.h:456
u8 unk5
Definition types.h:458
u8 unk4
Definition types.h:457
Definition types.h:236
size_t size
Definition types.h:239
struct HSD_AllocEntry * next
Definition types.h:237
u32 * addr
Definition types.h:238
was using this to try and fix some matches, unsuccessfully
Definition gobj.h:26
Definition jobj.h:107
Definition shadow.h:16
Definition types.h:31
float coll_distance
Definition types.h:78
u8 x42_b7
Definition types.h:62
u16 x41_b5
Definition types.h:52
u16 x40_b1
Definition types.h:47
int sfx_severity
Definition types.h:44
u8 x42_b5
Definition types.h:60
u8 x44
Definition types.h:71
u8 x43_b3
Definition types.h:66
u8 x42_b4
Definition types.h:59
HitVictim victims_1[12]
Definition types.h:79
u8 x45
Definition types.h:72
u16 x40_b2
Definition types.h:48
u8 x42_b6
Definition types.h:61
u32 unk_count
Definition types.h:34
u8 x42_b0
Definition types.h:55
u16 x40_b0
Definition types.h:46
u8 x43_b0
Definition types.h:63
float damage
Definition types.h:35
u16 x40_b4
Definition types.h:50
u32 x24
Definition types.h:39
u32 x28
Definition types.h:40
u32 x4
Definition types.h:33
enum_t sfx_kind
Definition types.h:45
u16 x41_b4
Definition types.h:51
u8 x42_b2
Definition types.h:57
Vec3 x4C
Definition types.h:75
int kb_angle
Definition types.h:38
u8 x43_b2
Definition types.h:65
u32 element
Definition types.h:42
u32 x2C
Definition types.h:41
int x34
Definition types.h:43
u8 hit_grabbed_victim_only
Definition types.h:83
u16 x41_b6
Definition types.h:53
u8 x42_b3
Definition types.h:58
u8 x43_b7
Definition types.h:70
Vec3 x58
Definition types.h:76
Vec3 hurt_coll_pos
Definition types.h:77
Vec3 b_offset
Definition types.h:36
u16 x41_b7
Definition types.h:54
u8 x43_b6
Definition types.h:69
u8 x43_b1
Definition types.h:64
u16 x40_b3
Definition types.h:49
HitCapsuleState state
Definition types.h:32
u8 x46[0x48 - 0x46]
Definition types.h:73
HSD_GObj * owner
Definition types.h:82
float scale
Definition types.h:37
u8 x43_b5
Definition types.h:68
u8 x42_b1
Definition types.h:56
u8 x43_b4
Definition types.h:67
HSD_JObj * jobj
Definition types.h:74
HitVictim victims_2[12]
Definition types.h:80
Definition types.h:15
Vec3 offset
Definition types.h:22
Vec3 pos
Definition types.h:21
u8 skip_update_pos
Follows attach bone position if toggled OFF.
Definition types.h:19
float size
Definition types.h:23
HSD_JObj * bone
Definition types.h:16
Definition types.h:26
UNK_T victim
Definition types.h:27
u32 x4
Definition types.h:28
Definition types.h:88
Vec3 b_offset
Definition types.h:91
Vec3 b_pos
Definition types.h:103
u8 x24_b6
Definition types.h:100
Vec3 a_offset
Definition types.h:90
int bone_idx
Definition types.h:104
u8 x24_b4
Definition types.h:98
u8 x24_b1
Definition types.h:95
float scale
Definition types.h:92
HurtCapsuleState state
Definition types.h:89
HSD_JObj * bone
Definition types.h:93
Vec3 a_pos
Definition types.h:102
u8 x24_b5
Definition types.h:99
u8 x24_b3
Definition types.h:97
u8 skip_update_pos
Definition types.h:94
u8 x24_b7
Definition types.h:101
u8 x24_b2
Definition types.h:96
Definition types.h:820
u8 x0_b2
Definition types.h:823
HSD_Shadow * shadow
Definition types.h:829
u8 x0_b4
Definition types.h:825
u8 x0_b6
Definition types.h:827
u8 x0_b0
Definition types.h:821
u8 x0_b3
Definition types.h:824
u8 x0_b1
Definition types.h:822
u8 x0_b5
Definition types.h:826
u8 x0_b7
Definition types.h:828
Definition types.h:242
int char_id
Definition types.h:243
u8 color
Definition types.h:244
u8 x5
Definition types.h:245
Definition types.h:267
u8 major_id
Definition types.h:268
InternalStageId stage_id
Definition types.h:272
PreloadCacheSceneEntry entries[8]
Definition types.h:273
u8 field2_0x9
Definition types.h:269
u8 field3_0xa
Definition types.h:270
u8 field4_0xb
Definition types.h:271
Definition types.h:265
struct PreloadCacheScene::GameCache game_cache
s32 major_scene_changes
Definition types.h:275
bool is_heap_persistent[2]
Definition types.h:266
Definition types.h:278
PreloadCacheScene scene
Definition types.h:280
PreloadCacheScene new_scene
Definition types.h:281
UNK_T x974
Definition types.h:285
PreloadEntry entries[80]
Definition types.h:282
int preloaded
Definition types.h:284
s32 persistent_heaps
Definition types.h:279
s32 persistent_heap
Definition types.h:283
Definition types.h:248
s8 load_state
Definition types.h:252
s32 effect_index
Definition types.h:262
HSD_AllocEntry * archive
Definition types.h:261
u8 field9_0xb
Definition types.h:258
s16 load_score
Definition types.h:256
u8 unknown004
Definition types.h:253
s16 entry_num
Definition types.h:255
u8 field5_0x5
Definition types.h:254
u32 size
Definition types.h:259
s8 state
Definition types.h:249
HSD_AllocEntry * raw_data
Definition types.h:260
s8 type
Definition types.h:250
s8 heap
Definition types.h:251
u8 field8_0xa
Definition types.h:257
Definition types.h:115
u8 x20_behavior
Definition types.h:125
u32 x0_bone_id
Definition types.h:116
Vec3 x8_offset
Definition types.h:118
float x14_size
Definition types.h:119
float x1C_speed_mul
Definition types.h:121
float x18_damage_mul
Definition types.h:120
s32 x4_max_damage
Definition types.h:117
Definition types.h:134
Vec3 pos
Definition types.h:136
u8 flags
Definition types.h:140
int bone
Definition types.h:135
float dmg_mul
Definition types.h:138
float vel_mul
Definition types.h:139
float radius
Definition types.h:137
Definition types.h:162
Vec3 normal
Definition types.h:165
u32 flags
Definition types.h:164
int index
Definition types.h:163
Definition types.h:510
HSD_JObj * jobj
Definition types.h:511
Definition types.h:175
Vec2 top
Definition types.h:176
Vec2 right
Definition types.h:178
Vec2 left
Definition types.h:179
Vec2 bottom
Definition types.h:177
Definition types.h:168
f32 top
Definition types.h:169
f32 bottom
Definition types.h:170
f32 right
Definition types.h:171
f32 left
Definition types.h:172
Definition types.h:555
Vec3 x8
Definition types.h:558
float x0
Definition types.h:556
Vec3 x14
Definition types.h:559
float x4
Definition types.h:557
Definition types.h:143
s32 unk5
Definition types.h:149
void * callback1
Definition types.h:151
s32 unk4
Definition types.h:148
s32 unk1
Definition types.h:145
s32 unk3
Definition types.h:147
s32 unk2
Definition types.h:146
void * callback0
Definition types.h:150
s32 unk0
Definition types.h:144
Definition types.h:485
f32 unk_0
Definition types.h:486
int unk_80
Definition types.h:504
f32 unk_8C
Definition types.h:507
f32 unk_2C
Definition types.h:497
f32 unk_18
Definition types.h:492
int unk_7C
Definition types.h:503
s32 unk_30
Definition types.h:498
s32 unk_34
Definition types.h:499
f32 unk_C
Definition types.h:489
f32 unk_4
Definition types.h:487
s32 unk_24
Definition types.h:495
f32 unk_10
Definition types.h:490
f32 unk_88
Definition types.h:506
int unk_78
Definition types.h:502
f32 unk_38
Definition types.h:500
char pad_3C[0x78 - 0x3C]
Definition types.h:501
s32 unk_1C
Definition types.h:493
s32 unk_28
Definition types.h:496
s32 unk_8
Definition types.h:488
f32 unk_84
Definition types.h:505
s32 unk_20
Definition types.h:494
f32 unk_14
Definition types.h:491
Definition types.h:462
s32 unk_C
Definition types.h:466
s32 unk_14
Definition types.h:468
f32 unk_24
Definition types.h:472
s32 unk_28
Definition types.h:473
f32 unk_38
Definition types.h:477
s32 unk_8
Definition types.h:465
f32 unk_4
Definition types.h:464
s32 unk_20
Definition types.h:471
f32 unk_18
Definition types.h:469
f32 unk_34
Definition types.h:476
s32 unk_2C
Definition types.h:474
s32 unk_1C
Definition types.h:470
s32 unk_30
Definition types.h:475
s32 unk_10
Definition types.h:467
f32 unk_0
Definition types.h:463
Definition types.h:481
struct lb_00F9_UnkDesc1Inner array[2]
Definition types.h:482
Definition types.h:541
char pad_0[0x94]
Definition types.h:542
Definition types.h:424
struct lb_80011A50_t * next
Definition types.h:439
u8 x1
Definition types.h:426
s8 x3
Definition types.h:428
f32 x24
Definition types.h:435
f32 x10
Definition types.h:430
f32 x18
Definition types.h:432
int unk_angle_int
Definition types.h:438
int unk_count0
Definition types.h:436
u8 x0
Definition types.h:425
f32 unk_scale
Definition types.h:434
f32 x1C
Definition types.h:433
s8 x2
Definition types.h:427
f32 x14
Definition types.h:431
f32 unk_angle_float
Definition types.h:437
Vec3 x4
Definition types.h:429
Definition types.h:288
char pad_0[0x11]
Definition types.h:289
int x18
Definition types.h:293
s8 x11
Definition types.h:290
s8 x12
Definition types.h:291
char pad_13[0x18 - 0x13]
Definition types.h:292
Definition types.h:442
Vec3 xC
Definition types.h:444
Vec3 x0
Definition types.h:443
Definition types.h:448
float unk_y
Definition types.h:450
float unk_x
Definition types.h:449
Vec3 x8
Definition types.h:451
Definition types.h:296
s32 unk_0
Definition types.h:297
s32 unk_4
Definition types.h:298
Definition types.h:332
char x19[7]
Definition types.h:339
char * xC
Definition types.h:336
char x10[0x20]
Definition types.h:337
u8 unk20[0x1C]
Definition types.h:340
int x0
Definition types.h:333
int x4
Definition types.h:334
u8 x18
Definition types.h:338
UNK_T x8
Definition types.h:335
Definition types.h:302
UNK_T work_area
Definition types.h:303
s32 memsize
Definition types.h:320
const char * unk_14
Definition types.h:308
int * unk_24
Definition types.h:312
s32 unk_34
Definition types.h:317
UNK_T lib_area
Definition types.h:304
s32 unk_18
Definition types.h:309
char x2F[4]
Definition types.h:316
int chan
Definition types.h:305
s32 unk_80
Definition types.h:319
struct lb_80432A68_t::CardTask task_array[11]
s32 unk_1C
Definition types.h:310
volatile int xF4[9]
Definition types.h:328
struct lb_80432A68_38_t unk_38[9]
Definition types.h:318
u8 pad_AC[0xD0 - 0xAC]
Definition types.h:326
UNK_T unk_C
Definition types.h:306
char x2E
Definition types.h:315
s32 unused_files
Definition types.h:323
int x8AC
Definition types.h:342
int * unk_28
Definition types.h:313
void(* x50C)(int)
Definition types.h:331
const char * unk_10
Definition types.h:307
u8 pad_500[0x50C - 0xF4 - 9 *4]
Definition types.h:330
s32 unused_bytes
Definition types.h:322
s32 sectorsize
Definition types.h:321
s32 unk_A8
Definition types.h:325
char x2C[2]
Definition types.h:314
UNK_T unk_20
Definition types.h:311
CARDFileInfo file_info
Definition types.h:324
int xD0[9]
Definition types.h:327
Definition types.h:545
char pad_0[0xBE00]
Definition types.h:546
Definition types.h:550
char pad_0[0x1C0]
Definition types.h:551
Definition types.h:352
u32 unk
Definition types.h:372
u32 light_enable
Definition types.h:366
GXColor light_color
Definition types.h:353
u32 x0_0
Definition types.h:360
u32 x0_7
Definition types.h:367
s32 unk
Definition types.h:355
u32 timer
Definition types.h:373
struct ColorOverlay_x8_t::@257 light_rot2
u32 x0_2
Definition types.h:362
u32 x0_1
Definition types.h:361
s32 x
Definition types.h:356
u32 x0_4
Definition types.h:364
s32 yz
Definition types.h:357
struct ColorOverlay_x8_t::@256 light_rot1
u32 x0_5
Definition types.h:365
u32 x0_3
Definition types.h:363
Definition types.h:514
struct ftDynamics_UnkDesc ft_unk
Definition types.h:518
struct HurtCapsule hurt
Definition types.h:520
struct lb_00F9_UnkDesc1 lb_unk1
Definition types.h:517
u8 _[0x90]
Definition types.h:515
struct AbsorbDesc absorb
Definition types.h:519
struct lb_00F9_UnkDesc0 lb_unk0
Definition types.h:516