1#ifndef MELEE_LB_TYPES_H
2#define MELEE_LB_TYPES_H
10#include <dolphin/card.h>
11#include <dolphin/gx.h>
12#include <dolphin/mtx.h>
153typedef struct _ECBFlagStruct {
167typedef struct _itECB {
174typedef struct _ftECB {
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
HurtHeight
Definition forward.h:79
HurtCapsuleState
Definition forward.h:33
HitCapsuleState
Definition forward.h:70
#define UNK_T
Definition placeholder.h:32
int x0_bone_id
Definition types.h:128
float x10_size
Definition types.h:130
Vec3 x4_offset
Definition types.h:129
DynamicsDesc dyn_desc
Definition types.h:540
enum_t bone_id
Definition types.h:539
u32 x48
Definition types.h:194
s32 x38
Definition types.h:190
float x10C_f32
Definition types.h:215
float x124
Definition types.h:221
ftECB x64_ecb
Definition types.h:201
Vec3 cur_topn
Definition types.h:183
Vec3 prev_topn
Definition types.h:185
SurfaceData right_wall
Definition types.h:230
HSD_JObj * x10C_joint[6]
Definition types.h:211
float x5C
Definition types.h:199
Vec3 cur_topn_correct
Definition types.h:184
float x128
Definition types.h:222
HSD_JObj * x108_joint
Definition types.h:210
float x60
Definition types.h:200
ftECB xA4_ecbCurrCorrect
Definition types.h:203
HSD_GObj * x0_gobj
Definition types.h:182
ftECB xE4_ecb
Definition types.h:205
int ledge_id_unk0
Definition types.h:192
ftECB x84_ecb
Definition types.h:202
float x108_f32
Definition types.h:214
s32 x3C
Definition types.h:191
int ledge_id_unk1
Definition types.h:193
Vec3 x140
Definition types.h:228
float x58
Definition types.h:198
u32 x130_flags
Definition types.h:224
SurfaceData ceiling
Definition types.h:232
float x12C
Definition types.h:223
SurfaceData left_wall
Definition types.h:231
float x118_f32
Definition types.h:218
s32 x104
Definition types.h:207
s32 prev_env_flags
Definition types.h:226
Vec3 x28_vec
Definition types.h:186
s32 env_flags
Definition types.h:225
s16 x36
Definition types.h:189
u32 x4C
Definition types.h:195
float x114_f32
Definition types.h:217
float x110_f32
Definition types.h:216
float x54
Definition types.h:197
ECBFlagStruct x35_flags
Definition types.h:188
SurfaceData floor
Definition types.h:229
s32 x13C
Definition types.h:227
float x50
Definition types.h:196
ECBFlagStruct x34_flags
Definition types.h:187
ftECB xC4_ecb
Definition types.h:204
int x0
Definition types.h:349
u8 x4[0x7B - 0x4]
Definition types.h:350
u8 x7B
Definition types.h:351
f32 x6C_lightblend_blue
Definition types.h:411
union ColorOverlay_x8_t * x8_ptr1
Definition types.h:383
s32 x24
Definition types.h:390
s32 * x10_ptr2
Definition types.h:385
f32 x60_light_alpha
Definition types.h:408
u8 x7C_flag7
Definition types.h:421
f32 x48_colorblend_blue
Definition types.h:402
f32 x5C_light_blue
Definition types.h:407
u8 x7C_flag8
Definition types.h:422
s32 x0_timer
Definition types.h:381
f32 x58_light_green
Definition types.h:406
GXColor x2C_hex
Definition types.h:395
s32 x20
Definition types.h:389
f32 x78_light_rot_yz
Definition types.h:414
f32 x70_lightblend_alpha
Definition types.h:412
f32 x68_lightblend_green
Definition types.h:410
f32 x38_color_blue
Definition types.h:398
f32 x74_light_rot_x
Definition types.h:413
u8 x7C_flag5
Definition types.h:419
f32 x54_light_red
Definition types.h:405
GXColor x50_light_color
Definition types.h:404
u8 x7C_flag2
Definition types.h:416
u8 x7C_color_enable
Definition types.h:415
u8 x7C_light_enable
Definition types.h:417
f32 x34_color_green
Definition types.h:397
f32 x64_lightblend_red
Definition types.h:409
f32 x4C_colorblend_alpha
Definition types.h:403
s32 * x18_alloc
Definition types.h:387
s32 x4_pri
Definition types.h:382
s32 x14
Definition types.h:386
enum_t i
Definition types.h:392
union ColorOverlay::@253 x28_colanim
s32 xC_loop
Definition types.h:384
f32 x3C_color_alpha
Definition types.h:399
struct ColorOverlay_UnkInner * ptr
Definition types.h:393
u8 x7C_flag6
Definition types.h:420
f32 x30_color_red
Definition types.h:396
u8 x7C_flag4
Definition types.h:418
s32 x1c
Definition types.h:388
f32 x44_colorblend_green
Definition types.h:401
f32 x40_colorblend_red
Definition types.h:400
u32 opcode
Definition types.h:790
u32 loop_count_dup
Definition types.h:818
u32 value
Definition types.h:572
s32 i0
Definition types.h:770
u16 rangeX
Definition types.h:811
u32 loop_count
Definition types.h:815
u8 unk0
Bits 0~5.
Definition types.h:624
u8 unk1
Bit 6.
Definition types.h:625
u32 useUnkBone
Definition types.h:794
u32 * ptr[1]
Definition types.h:568
u32 boneId
Definition types.h:791
s16 offsetX
Definition types.h:806
s32 unk1
Bits 7~31.
Definition types.h:613
u32 b
Definition types.h:769
u16 rangeY
Definition types.h:810
u32 unk2
Bits 14~31.
Definition types.h:599
s16 offsetY
Definition types.h:803
u32 id
Definition types.h:592
u32 code
Bits 0~5.
Definition types.h:571
u32 disabled
Definition types.h:728
s32 i1
Definition types.h:771
u32 element
Definition types.h:751
f32 timer
Definition types.h:565
s32 damage_amount
Definition types.h:685
u16 rangeZ
Definition types.h:807
u32 sfx_kind
Definition types.h:753
u32 hit_x28
Definition types.h:747
u32 unk0
Bits 6~7.
Definition types.h:603
s32 unk4
Definition types.h:677
union CmdUnion * ptr
Definition types.h:586
u32 destroyOnStateChange
Definition types.h:793
u32 hit_idx
Bits 6~31.
Definition types.h:609
s32 unk0
Bits 0~6.
Definition types.h:612
u16 unk0
Bits 0~5.
Definition types.h:616
u32 sfx_severity
Definition types.h:752
u32 param_2
Definition types.h:594
u32 unk1
Bits 6~13.
Definition types.h:598
u32 state
Definition types.h:724
union CmdUnion * event_return[3]
Definition types.h:816
f32 frame_count
Definition types.h:566
u32 x
Definition types.h:583
s32 unk2
Definition types.h:637
u32 bone_idx
Definition types.h:723
u32 hit_x2C
Definition types.h:750
u32 hit_x24
Definition types.h:746
int unk0
Definition types.h:632
s32 f
Definition types.h:772
u32 param_1
Definition types.h:593
u32 gfxID
Definition types.h:798
u32 unkFloat
Definition types.h:799
s32 unk3
Definition types.h:676
union CommandInfo::@254::CmdUnion * u
u32 idx
Definition types.h:702
u16 unk1
Bits 6~13.
Definition types.h:617
u32 unk_x18
Definition types.h:819
u32 useCommonBoneIDs
Definition types.h:792
s16 offsetZ
Definition types.h:802
u32 unk3
Definition types.h:638
u32 type
Definition types.h:713
struct DynamicsData * next
Definition types.h:528
union PolymorphicDesc desc
Definition types.h:527
Vec3 pos
Definition types.dox:5
struct DynamicsData * data
Definition types.h:533
unsigned int count
Definition types.h:534
u8 b7
Definition types.h:158
u8 b6
Definition types.h:157
u8 b5
Definition types.h:156
u8 b0
Definition types.h:154
u8 b1234
Definition types.h:155
HurtCapsule capsule
Definition types.h:107
HurtHeight height
Definition types.h:108
bool is_grabbable
Definition types.h:109
void * unk
Definition types.h:458
u8 unk5
Definition types.h:460
u8 unk4
Definition types.h:459
size_t size
Definition types.h:238
struct HSD_AllocEntry * next
Definition types.h:236
u32 * addr
Definition types.h:237
was using this to try and fix some matches, unsuccessfully
Definition gobj.h:26
float coll_distance
Definition types.h:77
u8 x42_b7
Definition types.h:61
u16 x41_b5
Definition types.h:51
u16 x40_b1
Definition types.h:46
int sfx_severity
Definition types.h:43
u8 x42_b5
Definition types.h:59
u8 x44
Definition types.h:70
u8 x43_b3
Definition types.h:65
u8 x42_b4
Definition types.h:58
HitVictim victims_1[12]
Definition types.h:78
u8 x45
Definition types.h:71
u16 x40_b2
Definition types.h:47
u8 x42_b6
Definition types.h:60
u32 unk_count
Definition types.h:33
u8 x42_b0
Definition types.h:54
u16 x40_b0
Definition types.h:45
u8 x43_b0
Definition types.h:62
float damage
Definition types.h:34
u16 x40_b4
Definition types.h:49
u32 x24
Definition types.h:38
u32 x28
Definition types.h:39
u32 x4
Definition types.h:32
enum_t sfx_kind
Definition types.h:44
u16 x41_b4
Definition types.h:50
u8 x42_b2
Definition types.h:56
Vec3 x4C
Definition types.h:74
int kb_angle
Definition types.h:37
u8 x43_b2
Definition types.h:64
u32 element
Definition types.h:41
u32 x2C
Definition types.h:40
int x34
Definition types.h:42
u8 hit_grabbed_victim_only
Definition types.h:82
u16 x41_b6
Definition types.h:52
u8 x42_b3
Definition types.h:57
u8 x43_b7
Definition types.h:69
Vec3 x58
Definition types.h:75
Vec3 hurt_coll_pos
Definition types.h:76
Vec3 b_offset
Definition types.h:35
u16 x41_b7
Definition types.h:53
u8 x43_b6
Definition types.h:68
u8 x43_b1
Definition types.h:63
u16 x40_b3
Definition types.h:48
HitCapsuleState state
Definition types.h:31
u8 x46[0x48 - 0x46]
Definition types.h:72
HSD_GObj * owner
Definition types.h:81
float scale
Definition types.h:36
u8 x43_b5
Definition types.h:67
u8 x42_b1
Definition types.h:55
u8 x43_b4
Definition types.h:66
HSD_JObj * jobj
Definition types.h:73
HitVictim victims_2[12]
Definition types.h:79
Vec3 offset
Definition types.h:21
Vec3 pos
Definition types.h:20
u8 skip_update_pos
Follows attach bone position if toggled OFF.
Definition types.h:18
float size
Definition types.h:22
HSD_JObj * bone
Definition types.h:15
UNK_T victim
Definition types.h:26
u32 x4
Definition types.h:27
Vec3 b_offset
Definition types.h:90
Vec3 b_pos
Definition types.h:102
u8 x24_b6
Definition types.h:99
Vec3 a_offset
Definition types.h:89
int bone_idx
Definition types.h:103
u8 x24_b4
Definition types.h:97
u8 x24_b1
Definition types.h:94
float scale
Definition types.h:91
HurtCapsuleState state
Definition types.h:88
HSD_JObj * bone
Definition types.h:92
Vec3 a_pos
Definition types.h:101
u8 x24_b5
Definition types.h:98
u8 x24_b3
Definition types.h:96
u8 skip_update_pos
Definition types.h:93
u8 x24_b7
Definition types.h:100
u8 x24_b2
Definition types.h:95
u8 x0_b2
Definition types.h:825
HSD_Shadow * shadow
Definition types.h:831
u8 x0_b4
Definition types.h:827
u8 x0_b6
Definition types.h:829
u8 x0_b0
Definition types.h:823
u8 x0_b3
Definition types.h:826
u8 x0_b1
Definition types.h:824
u8 x0_b5
Definition types.h:828
u8 x0_b7
Definition types.h:830
u32 char_id
Definition types.h:242
u8 color
Definition types.h:243
u8 x5
Definition types.h:244
u8 major_id
Definition types.h:270
u32 stage_id
Definition types.h:274
PreloadCacheSceneEntry entries[8]
Definition types.h:275
u8 field2_0x9
Definition types.h:271
u8 field3_0xa
Definition types.h:272
u8 field4_0xb
Definition types.h:273
struct PreloadCacheScene::GameCache game_cache
u32 is_heap_persistent[2]
Definition types.h:268
s32 major_scene_changes
Definition types.h:277
PreloadCacheScene scene
Definition types.h:282
PreloadCacheScene new_scene
Definition types.h:283
UNK_T x974
Definition types.h:287
PreloadEntry entries[80]
Definition types.h:284
int preloaded
Definition types.h:286
s32 persistent_heaps
Definition types.h:281
s32 persistent_heap
Definition types.h:285
s8 load_state
Definition types.h:251
s32 effect_index
Definition types.h:261
HSD_AllocEntry * archive
Definition types.h:260
u8 field9_0xb
Definition types.h:257
s16 load_score
Definition types.h:255
u8 unknown004
Definition types.h:252
s16 entry_num
Definition types.h:254
u8 field5_0x5
Definition types.h:253
u32 size
Definition types.h:258
s8 state
Definition types.h:248
HSD_AllocEntry * raw_data
Definition types.h:259
s8 type
Definition types.h:249
s8 heap
Definition types.h:250
u8 field8_0xa
Definition types.h:256
u8 x20_behavior
Definition types.h:124
u32 x0_bone_id
Definition types.h:115
Vec3 x8_offset
Definition types.h:117
float x14_size
Definition types.h:118
float x1C_speed_mul
Definition types.h:120
float x18_damage_mul
Definition types.h:119
s32 x4_max_damage
Definition types.h:116
Vec3 pos
Definition types.h:135
u8 flags
Definition types.h:139
int bone
Definition types.h:134
float dmg_mul
Definition types.h:137
float vel_mul
Definition types.h:138
float radius
Definition types.h:136
Vec3 normal
Definition types.h:164
u32 unk
Definition types.h:163
int index
Definition types.h:162
HSD_JObj * jobj
Definition types.h:513
Vec2 top
Definition types.h:175
Vec2 right
Definition types.h:177
Vec2 left
Definition types.h:178
Vec2 bottom
Definition types.h:176
f32 top
Definition types.h:168
f32 bottom
Definition types.h:169
f32 right
Definition types.h:170
f32 left
Definition types.h:171
Vec3 x8
Definition types.h:560
float x0
Definition types.h:558
Vec3 x14
Definition types.h:561
float x4
Definition types.h:559
s32 unk5
Definition types.h:148
void * callback1
Definition types.h:150
s32 unk4
Definition types.h:147
s32 unk1
Definition types.h:144
s32 unk3
Definition types.h:146
s32 unk2
Definition types.h:145
void * callback0
Definition types.h:149
s32 unk0
Definition types.h:143
f32 unk_0
Definition types.h:488
int unk_80
Definition types.h:506
f32 unk_8C
Definition types.h:509
f32 unk_2C
Definition types.h:499
f32 unk_18
Definition types.h:494
int unk_7C
Definition types.h:505
s32 unk_30
Definition types.h:500
s32 unk_34
Definition types.h:501
f32 unk_C
Definition types.h:491
f32 unk_4
Definition types.h:489
s32 unk_24
Definition types.h:497
f32 unk_10
Definition types.h:492
f32 unk_88
Definition types.h:508
int unk_78
Definition types.h:504
f32 unk_38
Definition types.h:502
char pad_3C[0x78 - 0x3C]
Definition types.h:503
s32 unk_1C
Definition types.h:495
s32 unk_28
Definition types.h:498
s32 unk_8
Definition types.h:490
f32 unk_84
Definition types.h:507
s32 unk_20
Definition types.h:496
f32 unk_14
Definition types.h:493
s32 unk_C
Definition types.h:468
s32 unk_14
Definition types.h:470
f32 unk_24
Definition types.h:474
s32 unk_28
Definition types.h:475
f32 unk_38
Definition types.h:479
s32 unk_8
Definition types.h:467
f32 unk_4
Definition types.h:466
s32 unk_20
Definition types.h:473
f32 unk_18
Definition types.h:471
f32 unk_34
Definition types.h:478
s32 unk_2C
Definition types.h:476
s32 unk_1C
Definition types.h:472
s32 unk_30
Definition types.h:477
s32 unk_10
Definition types.h:469
f32 unk_0
Definition types.h:465
struct lb_00F9_UnkDesc1Inner array[2]
Definition types.h:484
char pad_0[0x94]
Definition types.h:544
struct lb_80011A50_t * next
Definition types.h:441
u8 x1
Definition types.h:428
s8 x3
Definition types.h:430
f32 x24
Definition types.h:437
f32 x10
Definition types.h:432
f32 x18
Definition types.h:434
int unk_angle_int
Definition types.h:440
int unk_count0
Definition types.h:438
u8 x0
Definition types.h:427
f32 unk_scale
Definition types.h:436
f32 x1C
Definition types.h:435
s8 x2
Definition types.h:429
f32 x14
Definition types.h:433
f32 unk_angle_float
Definition types.h:439
Vec3 x4
Definition types.h:431
char pad_0[0x11]
Definition types.h:291
int x18
Definition types.h:295
s8 x11
Definition types.h:292
s8 x12
Definition types.h:293
char pad_13[0x18 - 0x13]
Definition types.h:294
Vec3 xC
Definition types.h:446
Vec3 x0
Definition types.h:445
float unk_y
Definition types.h:452
float unk_x
Definition types.h:451
Vec3 x8
Definition types.h:453
s32 unk_0
Definition types.h:299
s32 unk_4
Definition types.h:300
char x19[7]
Definition types.h:341
char * xC
Definition types.h:338
char x10[0x20]
Definition types.h:339
u8 unk20[0x1C]
Definition types.h:342
int x0
Definition types.h:335
int x4
Definition types.h:336
u8 x18
Definition types.h:340
UNK_T x8
Definition types.h:337
UNK_T work_area
Definition types.h:305
s32 memsize
Definition types.h:322
const char * unk_14
Definition types.h:310
int * unk_24
Definition types.h:314
s32 unk_34
Definition types.h:319
UNK_T lib_area
Definition types.h:306
s32 unk_18
Definition types.h:311
char x2F[4]
Definition types.h:318
int chan
Definition types.h:307
s32 unk_80
Definition types.h:321
struct lb_80432A68_t::CardTask task_array[11]
s32 unk_1C
Definition types.h:312
volatile int xF4[9]
Definition types.h:330
struct lb_80432A68_38_t unk_38[9]
Definition types.h:320
u8 pad_AC[0xD0 - 0xAC]
Definition types.h:328
UNK_T unk_C
Definition types.h:308
char x2E
Definition types.h:317
s32 unused_files
Definition types.h:325
int x8AC
Definition types.h:344
int * unk_28
Definition types.h:315
void(* x50C)(int)
Definition types.h:333
const char * unk_10
Definition types.h:309
u8 pad_500[0x50C - 0xF4 - 9 *4]
Definition types.h:332
s32 unused_bytes
Definition types.h:324
s32 sectorsize
Definition types.h:323
s32 unk_A8
Definition types.h:327
char x2C[2]
Definition types.h:316
UNK_T unk_20
Definition types.h:313
CARDFileInfo file_info
Definition types.h:326
int xD0[9]
Definition types.h:329
char pad_0[0xBE00]
Definition types.h:548
char pad_0[0x1C0]
Definition types.h:553
u32 unk
Definition types.h:374
u32 light_enable
Definition types.h:368
GXColor light_color
Definition types.h:355
struct ColorOverlay_x8_t::@251 light_rot2
u32 x0_0
Definition types.h:362
u32 x0_7
Definition types.h:369
s32 unk
Definition types.h:357
u32 timer
Definition types.h:375
u32 x0_2
Definition types.h:364
u32 x0_1
Definition types.h:363
struct ColorOverlay_x8_t::@250 light_rot1
s32 x
Definition types.h:358
u32 x0_4
Definition types.h:366
s32 yz
Definition types.h:359
u32 x0_5
Definition types.h:367
u32 x0_3
Definition types.h:365
struct ftDynamics_UnkDesc ft_unk
Definition types.h:520
struct HurtCapsule hurt
Definition types.h:522
struct lb_00F9_UnkDesc1 lb_unk1
Definition types.h:519
u8 _[0x90]
Definition types.h:517
struct AbsorbDesc absorb
Definition types.h:521
struct lb_00F9_UnkDesc0 lb_unk0
Definition types.h:518