1#ifndef MELEE_LB_TYPES_H
2#define MELEE_LB_TYPES_H
11#include <dolphin/card.h>
12#include <dolphin/gx.h>
13#include <dolphin/mtx.h>
154typedef struct _ECBFlagStruct {
168typedef struct _itECB {
175typedef 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
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
int x0_bone_id
Definition types.h:129
float x10_size
Definition types.h:131
Vec3 x4_offset
Definition types.h:130
DynamicsDesc dyn_desc
Definition types.h:538
enum_t bone_id
Definition types.h:537
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
int x0
Definition types.h:347
u8 x4[0x7B - 0x4]
Definition types.h:348
u8 x7B
Definition types.h:349
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
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
struct DynamicsData * next
Definition types.h:526
union PolymorphicDesc desc
Definition types.h:525
Vec3 pos
Definition types.dox:5
struct DynamicsData * data
Definition types.h:531
unsigned int count
Definition types.h:532
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
HurtCapsule capsule
Definition types.h:108
HurtHeight height
Definition types.h:109
bool is_grabbable
Definition types.h:110
void * unk
Definition types.h:456
u8 unk5
Definition types.h:458
u8 unk4
Definition types.h:457
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
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
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
UNK_T victim
Definition types.h:27
u32 x4
Definition types.h:28
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
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
int char_id
Definition types.h:243
u8 color
Definition types.h:244
u8 x5
Definition types.h:245
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
struct PreloadCacheScene::GameCache game_cache
s32 major_scene_changes
Definition types.h:275
bool is_heap_persistent[2]
Definition types.h:266
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
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
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
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
Vec3 normal
Definition types.h:165
u32 flags
Definition types.h:164
int index
Definition types.h:163
HSD_JObj * jobj
Definition types.h:511
Vec2 top
Definition types.h:176
Vec2 right
Definition types.h:178
Vec2 left
Definition types.h:179
Vec2 bottom
Definition types.h:177
f32 top
Definition types.h:169
f32 bottom
Definition types.h:170
f32 right
Definition types.h:171
f32 left
Definition types.h:172
Vec3 x8
Definition types.h:558
float x0
Definition types.h:556
Vec3 x14
Definition types.h:559
float x4
Definition types.h:557
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
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
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
struct lb_00F9_UnkDesc1Inner array[2]
Definition types.h:482
char pad_0[0x94]
Definition types.h:542
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
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
Vec3 xC
Definition types.h:444
Vec3 x0
Definition types.h:443
float unk_y
Definition types.h:450
float unk_x
Definition types.h:449
Vec3 x8
Definition types.h:451
s32 unk_0
Definition types.h:297
s32 unk_4
Definition types.h:298
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
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
char pad_0[0xBE00]
Definition types.h:546
char pad_0[0x1C0]
Definition types.h:551
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
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