SSBM Decomp
Loading...
Searching...
No Matches
Item Struct Reference

#include <types.h>

Data Structures

struct  ItemHitbox
struct  xB6C_t
union  Item_ItemVars

Data Fields

void * x0
HSD_GObjentity
s32 x8
enum_t spawn_kind
ItemKind kind
enum_t hold_kind
s32 x18
s32 x1C
u8 x20_team_id
u8 x21
u8 x22
u8 x23
enum_t msid
enum_t anim_id
f32 facing_dir
f32 init_facing_dir
f32 spin_spd
f32 scl
f32 x3C
Vec3 x40_vel
Vec3 pos
Vec3 x58_vec_unk
Vec3 x64_vec_unk2
Vec3 x70_nudge
Vec3 x7C
Vec3 x88
Vec3 x94
Vec3 xA0
Vec3 xAC_unk
ItemLogicTablexB8_itemLogicTable
ItemStateTablexBC_itemStateContainer
GroundOrAir ground_or_air
ArticlexC4_article_data
HSD_JointxC8_joint
ItemAttrxCC_item_attr
ItemStateDescxD0_itemStateDesc
Item_DynamicBones xD4_dynamicBones [24]
s32 x374_dynamicBonesNum
CollData x378_itemColl
s32 ecb_lock
HSD_GObjowner
 Item's current owner.
HSD_GObjx51C
CmSubjectx520_cameraBox
CommandInfo x524_cmd
ColorOverlay x548_colorOverlay
u8 x5C8
u8 x5C9
u8 x5CA
u8 x5CB
f32 x5CC_currentAnimFrame
f32 x5D0_animFrameSpeed
struct Item::ItemHitbox x5D4_hitboxes [4]
u32 xAC4_ignoreItemID
u8 xAC8_hurtboxNum
HurtCapsule xACC_itemHurtbox [2]
struct lb_80014638_arg1_t xB54
u8 xB68
u8 xB69
u8 xB6A
u8 xB6B
struct Item::xB6C_t xB6C_vars [2]
DynamicBoneTablexBBC_dynamicBoneTable
UNK_T xBC0
GXColor xBC4
ItemModStruct xBC8
Vec2 xBCC_unk
Vec2 xBD4_grabRange
itECB xBDC
itECB xBEC
itECB xBFC
itECB xC0C
itECB xC1C
s32 xC2C
s32 xC30
s32 xC34_damageDealt
s32 xC38
f32 xC3C
f32 xC40
f32 xC44
s32 xC48
s32 xC4C
s32 xC50
f32 xC54
Vec3 xC58
HSD_GObjxC64_reflectGObj
f32 xC68
f32 xC6C
f32 xC70
s32 xC74
Vec2 xC78
S32Vec2 xC80
s32 xC88
u16 xC8C
HSD_GObjxC90_absorbGObj
s32 xC94
f32 xC98
s32 xC9C
s32 xCA0
s32 xCA4
s32 xCA8
s32 xCAC_angle
s32 xCB0_source_ply
s32 xCB4
f32 xCB8_outDamageDirection
f32 xCBC_hitlagFrames
f32 xCC0
s32 xCC4
f32 xCC8_knockback
f32 xCCC_incDamageDirection
f32 xCD0
Vec3 xCD4
Vec3 xCE0
HSD_GObjxCEC_fighterGObj
HSD_GObjxCF0_itemGObj
HSD_GObjxCF4_fighterGObjUnk
HSD_GObjtoucher
 The entity that was detected by this item's inert hitbox.
HSD_GObjxCFC
HSD_GObjgrab_victim
 The entity that got grabbed by this item.
HSD_GObjatk_victim
 The entity that collided with this item's hitbox?
u8 xD08
u8 xD09
u8 xD0A
u8 xD0B
enum_t xD0C
f32 xD10
HSD_GObjPredicate animated
HSD_GObjEvent physics_updated
HSD_GObjPredicate collided
HSD_GObjEvent on_accessory
HSD_GObjPredicate touched
 Runs when an entity is detected by this item's inert hibox.
HSD_GObjEvent entered_hitlag
 Runs after applying hitlag in damage.
HSD_GObjEvent exited_hitlag
HSD_GObjPredicate jumped_on
 Runs when the item is jumped on.
HSD_GObjEvent grab_dealt
 When grabbing a fighter, run this function on self.
HSD_GObjInteraction grabbed_for_victim
 When grabbing a fighter, run this function on them.
f32 xD3C_spinSpeed
f32 xD40
f32 xD44_lifeTimer
f32 xD48_halfLifeTimer
int xD4C
u32 xD50_landNum
u32 xD54_throwNum
u32 xD58
u32 xD5C
enum_t destroy_type
enum_t sfx_unk1
enum_t sfx_unk2
s32 xD6C
s32 xD70
s32 xD74
s32 xD78
enum_t destroy_sfx
 SFX that plays when this item is destroyed.
s32 xD80
s32 xD84
s32 xD88_attackID
u16 xD8C_attack_instance
s16 xD8E
union Struct2070 xD90
Vec2 xD94
S32Vec2 xD9C
u32 xDA4_word
u16 xDA8_short
union { 
   UnkFlagStruct   xDAA_flag 
   u8   xDAA_byte 
}; 
u32 xDAC_itcmd_var0
u32 xDB0_itcmd_var1
u32 xDB4_itcmd_var2
u32 xDB8_itcmd_var3
union { 
   flag32   xDBC_itcmd_var4 
   u32   xDBC_itcmd_var4_word 
}; 
u32 xDC0
u32 xDC4
flag32 xDC8_word
struct { 
   u8   b0: 1 
   u8   b1: 1 
   u8   b2: 1 
   u8   b3: 1 
   u8   b4567: 4 
xDCC_flag
CameraBoxFlags xDCD_flag
UnkFlagStruct xDCE_flag
UnkFlagStruct xDCF_flag
UnkFlagStruct xDD0_flag
UnkFlagStruct xDD1_flag
UnkFlagStruct xDD2_flag
UnkFlagStruct xDD3_flag
union Item::Item_ItemVars xDD4_itemVar

Field Documentation

◆ x0

void* Item::x0

◆ entity

HSD_GObj* Item::entity
Offset
0x4.
Size
0x4 bytes.

◆ x8

s32 Item::x8

◆ spawn_kind

enum_t Item::spawn_kind
Offset
0xC.
Size
0x4 bytes.

◆ kind

ItemKind Item::kind
Offset
0x10.
Size
0x4 bytes.

◆ hold_kind

enum_t Item::hold_kind
Offset
0x14.
Size
0x4 bytes.

◆ x18

s32 Item::x18

◆ x1C

s32 Item::x1C

◆ x20_team_id

u8 Item::x20_team_id
Offset
0x20.
Size
0x1 byte.

◆ x21

u8 Item::x21

◆ x22

u8 Item::x22

◆ x23

u8 Item::x23

◆ msid

enum_t Item::msid
Offset
0x24.
Size
0x4 bytes.

◆ anim_id

enum_t Item::anim_id
Offset
0x28.
Size
0x4 bytes.

◆ facing_dir

f32 Item::facing_dir
Offset
0x2C.
Size
0x4 bytes.

◆ init_facing_dir

f32 Item::init_facing_dir
Offset
0x30.
Size
0x4 bytes.

◆ spin_spd

f32 Item::spin_spd
Offset
0x34.
Size
0x4 bytes.

◆ scl

f32 Item::scl
Offset
0x38.
Size
0x4 bytes.

◆ x3C

f32 Item::x3C
Offset
0x3C.
Size
0x4 bytes.

◆ x40_vel

Vec3 Item::x40_vel
Offset
0x40.
Size
0xC bytes.

◆ pos

Vec3 Item::pos
Offset
0x4C.
Size
0xC bytes.

◆ x58_vec_unk

Vec3 Item::x58_vec_unk
Offset
0x58.
Size
0xC bytes.

◆ x64_vec_unk2

Vec3 Item::x64_vec_unk2
Offset
0x64.
Size
0xC bytes.

◆ x70_nudge

Vec3 Item::x70_nudge
Offset
0x70.
Size
0xC bytes.

◆ x7C

Vec3 Item::x7C

◆ x88

Vec3 Item::x88

◆ x94

Vec3 Item::x94

◆ xA0

Vec3 Item::xA0

◆ xAC_unk

Vec3 Item::xAC_unk

◆ xB8_itemLogicTable

ItemLogicTable* Item::xB8_itemLogicTable

◆ xBC_itemStateContainer

ItemStateTable* Item::xBC_itemStateContainer

◆ ground_or_air

GroundOrAir Item::ground_or_air

◆ xC4_article_data

Article* Item::xC4_article_data

◆ xC8_joint

HSD_Joint* Item::xC8_joint

◆ xCC_item_attr

ItemAttr* Item::xCC_item_attr

◆ xD0_itemStateDesc

ItemStateDesc* Item::xD0_itemStateDesc

◆ xD4_dynamicBones

Item_DynamicBones Item::xD4_dynamicBones[24]

◆ x374_dynamicBonesNum

s32 Item::x374_dynamicBonesNum

◆ x378_itemColl

CollData Item::x378_itemColl

◆ ecb_lock

s32 Item::ecb_lock

◆ owner

HSD_GObj* Item::owner

Item's current owner.

Offset
0x518.
Size
0x4 bytes.

◆ x51C

HSD_GObj* Item::x51C

◆ x520_cameraBox

CmSubject* Item::x520_cameraBox

◆ x524_cmd

CommandInfo Item::x524_cmd

◆ x548_colorOverlay

ColorOverlay Item::x548_colorOverlay

◆ x5C8

u8 Item::x5C8

◆ x5C9

u8 Item::x5C9

◆ x5CA

u8 Item::x5CA

◆ x5CB

u8 Item::x5CB

◆ x5CC_currentAnimFrame

f32 Item::x5CC_currentAnimFrame

◆ x5D0_animFrameSpeed

f32 Item::x5D0_animFrameSpeed

◆ x5D4_hitboxes

struct Item::ItemHitbox Item::x5D4_hitboxes[4]

◆ xAC4_ignoreItemID

u32 Item::xAC4_ignoreItemID

◆ xAC8_hurtboxNum

u8 Item::xAC8_hurtboxNum

◆ xACC_itemHurtbox

HurtCapsule Item::xACC_itemHurtbox[2]

◆ xB54

struct lb_80014638_arg1_t Item::xB54

◆ xB68

u8 Item::xB68

◆ xB69

u8 Item::xB69

◆ xB6A

u8 Item::xB6A

◆ xB6B

u8 Item::xB6B

◆ xB6C_vars

struct Item::xB6C_t Item::xB6C_vars[2]

◆ xBBC_dynamicBoneTable

DynamicBoneTable* Item::xBBC_dynamicBoneTable

◆ xBC0

UNK_T Item::xBC0

◆ xBC4

GXColor Item::xBC4

◆ xBC8

ItemModStruct Item::xBC8

◆ xBCC_unk

Vec2 Item::xBCC_unk

◆ xBD4_grabRange

Vec2 Item::xBD4_grabRange

◆ xBDC

itECB Item::xBDC

◆ xBEC

itECB Item::xBEC

◆ xBFC

itECB Item::xBFC

◆ xC0C

itECB Item::xC0C

◆ xC1C

itECB Item::xC1C

◆ xC2C

s32 Item::xC2C

◆ xC30

s32 Item::xC30

◆ xC34_damageDealt

s32 Item::xC34_damageDealt

◆ xC38

s32 Item::xC38

◆ xC3C

f32 Item::xC3C

◆ xC40

f32 Item::xC40

◆ xC44

f32 Item::xC44

◆ xC48

s32 Item::xC48

◆ xC4C

s32 Item::xC4C

◆ xC50

s32 Item::xC50

◆ xC54

f32 Item::xC54

◆ xC58

Vec3 Item::xC58

◆ xC64_reflectGObj

HSD_GObj* Item::xC64_reflectGObj

◆ xC68

f32 Item::xC68

◆ xC6C

f32 Item::xC6C

◆ xC70

f32 Item::xC70

◆ xC74

s32 Item::xC74

◆ xC78

Vec2 Item::xC78

◆ xC80

S32Vec2 Item::xC80

◆ xC88

s32 Item::xC88

◆ xC8C

u16 Item::xC8C

◆ xC90_absorbGObj

HSD_GObj* Item::xC90_absorbGObj

◆ xC94

s32 Item::xC94

◆ xC98

f32 Item::xC98

◆ xC9C

s32 Item::xC9C

◆ xCA0

s32 Item::xCA0

◆ xCA4

s32 Item::xCA4

◆ xCA8

s32 Item::xCA8

◆ xCAC_angle

s32 Item::xCAC_angle

◆ xCB0_source_ply

s32 Item::xCB0_source_ply

◆ xCB4

s32 Item::xCB4

◆ xCB8_outDamageDirection

f32 Item::xCB8_outDamageDirection

◆ xCBC_hitlagFrames

f32 Item::xCBC_hitlagFrames

◆ xCC0

f32 Item::xCC0

◆ xCC4

s32 Item::xCC4

◆ xCC8_knockback

f32 Item::xCC8_knockback

◆ xCCC_incDamageDirection

f32 Item::xCCC_incDamageDirection

◆ xCD0

f32 Item::xCD0

◆ xCD4

Vec3 Item::xCD4

◆ xCE0

Vec3 Item::xCE0

◆ xCEC_fighterGObj

HSD_GObj* Item::xCEC_fighterGObj

◆ xCF0_itemGObj

HSD_GObj* Item::xCF0_itemGObj

◆ xCF4_fighterGObjUnk

HSD_GObj* Item::xCF4_fighterGObjUnk

◆ toucher

HSD_GObj* Item::toucher

The entity that was detected by this item's inert hitbox.

Offset
0xCF8.
Size
0x4 bytes.

◆ xCFC

HSD_GObj* Item::xCFC

◆ grab_victim

HSD_GObj* Item::grab_victim

The entity that got grabbed by this item.

Offset
0xD00.
Size
0x4 bytes.

◆ atk_victim

HSD_GObj* Item::atk_victim

The entity that collided with this item's hitbox?

Offset
0xD04.
Size
0x4 bytes.

◆ xD08

u8 Item::xD08

◆ xD09

u8 Item::xD09

◆ xD0A

u8 Item::xD0A

◆ xD0B

u8 Item::xD0B

◆ xD0C

enum_t Item::xD0C
Offset
0xD0C.
Size
0x4 bytes.

◆ xD10

f32 Item::xD10

◆ animated

HSD_GObjPredicate Item::animated
Offset
0xD14.
Size
0x4 bytes.

◆ physics_updated

HSD_GObjEvent Item::physics_updated
Offset
0xD18.
Size
0x4 bytes.

◆ collided

HSD_GObjPredicate Item::collided
Offset
0xD1C.
Size
0x4 bytes.

◆ on_accessory

HSD_GObjEvent Item::on_accessory
Offset
0xD20.
Size
0x4 bytes.
Todo
What does this mean?

◆ touched

HSD_GObjPredicate Item::touched

Runs when an entity is detected by this item's inert hibox.

Offset
0xD24.
Size
0x4 bytes.

◆ entered_hitlag

HSD_GObjEvent Item::entered_hitlag

Runs after applying hitlag in damage.

Offset
0xD28.
Size
0x4 bytes.
Todo
What function is 8026a62c?

◆ exited_hitlag

HSD_GObjEvent Item::exited_hitlag

◆ jumped_on

HSD_GObjPredicate Item::jumped_on

Runs when the item is jumped on.

Offset
0xD28.
Size
0x4 bytes.
Todo
What function is 80269bac?

◆ grab_dealt

HSD_GObjEvent Item::grab_dealt

When grabbing a fighter, run this function on self.

Offset
0xD34.
Size
0x4 bytes.

◆ grabbed_for_victim

HSD_GObjInteraction Item::grabbed_for_victim

When grabbing a fighter, run this function on them.

Offset
0xD38.
Size
0x4 bytes.

gobj0 - The victim of the grab.
gobj1 - This item's entity.

◆ xD3C_spinSpeed

f32 Item::xD3C_spinSpeed

◆ xD40

f32 Item::xD40

◆ xD44_lifeTimer

f32 Item::xD44_lifeTimer

◆ xD48_halfLifeTimer

f32 Item::xD48_halfLifeTimer

◆ xD4C

int Item::xD4C

◆ xD50_landNum

u32 Item::xD50_landNum

◆ xD54_throwNum

u32 Item::xD54_throwNum

◆ xD58

u32 Item::xD58

◆ xD5C

u32 Item::xD5C

◆ destroy_type

enum_t Item::destroy_type
Offset
0xD60.
Size
0x4 bytes.

◆ sfx_unk1

enum_t Item::sfx_unk1
Offset
0xD64.
Size
0x4 bytes.

◆ sfx_unk2

enum_t Item::sfx_unk2
Offset
0xD68.
Size
0x4 bytes.

◆ xD6C

s32 Item::xD6C

◆ xD70

s32 Item::xD70

◆ xD74

s32 Item::xD74

◆ xD78

s32 Item::xD78

◆ destroy_sfx

enum_t Item::destroy_sfx

SFX that plays when this item is destroyed.

Offset
0xD7C.
Size
0x4 bytes.

◆ xD80

s32 Item::xD80

◆ xD84

s32 Item::xD84

◆ xD88_attackID

s32 Item::xD88_attackID

◆ xD8C_attack_instance

u16 Item::xD8C_attack_instance

◆ xD8E

s16 Item::xD8E

◆ xD90

union Struct2070 Item::xD90

◆ xD94

Vec2 Item::xD94

◆ xD9C

S32Vec2 Item::xD9C

◆ xDA4_word

u32 Item::xDA4_word

◆ xDA8_short

u16 Item::xDA8_short

◆ xDAA_flag

UnkFlagStruct Item::xDAA_flag

◆ xDAA_byte

u8 Item::xDAA_byte

◆ [union]

union { ... } Item

◆ xDAC_itcmd_var0

u32 Item::xDAC_itcmd_var0

◆ xDB0_itcmd_var1

u32 Item::xDB0_itcmd_var1

◆ xDB4_itcmd_var2

u32 Item::xDB4_itcmd_var2

◆ xDB8_itcmd_var3

u32 Item::xDB8_itcmd_var3

◆ xDBC_itcmd_var4

flag32 Item::xDBC_itcmd_var4

◆ xDBC_itcmd_var4_word

u32 Item::xDBC_itcmd_var4_word

◆ [union]

union { ... } Item

◆ xDC0

u32 Item::xDC0

◆ xDC4

u32 Item::xDC4

◆ xDC8_word

flag32 Item::xDC8_word

◆ b0

u8 Item::b0

◆ b1

u8 Item::b1

◆ b2

u8 Item::b2

◆ b3

u8 Item::b3

◆ b4567

u8 Item::b4567

◆ [struct]

struct { ... } Item::xDCC_flag

◆ xDCD_flag

CameraBoxFlags Item::xDCD_flag

◆ xDCE_flag

UnkFlagStruct Item::xDCE_flag

◆ xDCF_flag

UnkFlagStruct Item::xDCF_flag

◆ xDD0_flag

UnkFlagStruct Item::xDD0_flag

◆ xDD1_flag

UnkFlagStruct Item::xDD1_flag

◆ xDD2_flag

UnkFlagStruct Item::xDD2_flag

◆ xDD3_flag

UnkFlagStruct Item::xDD3_flag

◆ xDD4_itemVar

union Item::Item_ItemVars Item::xDD4_itemVar

The documentation for this struct was generated from the following file: