SSBM Decomp
Loading...
Searching...
No Matches
it_26B1.h
Go to the documentation of this file.
1#ifndef GALE01_26B1D4
2#define GALE01_26B1D4
3
4#include <platform.h>
5
6#include "it/forward.h"
7#include "lb/forward.h"
9#include <baselib/forward.h>
10
11#include "ft/types.h"
12
13/* 26B1D4 */ float it_8026B1D4(Item_GObj* gobj, HitCapsule* itemHitboxUnk);
14/* 26B294 */ void it_8026B294(Item_GObj* gobj, Vec3* pos);
15/* 26B2B4 */ enum_t it_8026B2B4(Item_GObj* gobj);
16/* 26B2D8 */ bool it_8026B2D8(Item_GObj* gobj);
17/* 26B300 */ s32 itGetKind(Item_GObj* gobj);
18/* 26B30C */ enum_t it_8026B30C(Item_GObj* gobj);
19/* 26B320 */ enum_t it_8026B320(Item_GObj* gobj);
20/* 26B334 */ float it_8026B334(Item_GObj* gobj);
21/* 26B344 */ void it_8026B344(Item_GObj* gobj, Vec3* pos);
22/* 26B378 */ float it_8026B378(Item_GObj* gobj);
23/* 26B384 */ float it_8026B384(Item_GObj* gobj);
24/* 26B390 */ void it_8026B390(Item_GObj* gobj);
25/* 26B3A8 */ void it_8026B3A8(Item_GObj* gobj);
26/* 26B3C0 */ int it_8026B3C0(ItemKind kind);
27/* 26B3F8 */ void it_8026B3F8(Article* article, s32 kind);
28/* 26B40C */ void it_8026B40C(Article* article, s32 kind);
29/* 26B424 */ float it_8026B424(s32 damage);
30/* 26B47C */ s32 it_8026B47C(Item_GObj* gobj);
31/* 26B4F0 */ bool it_8026B4F0(Item_GObj* gobj);
32/* 26B54C */ float it_8026B54C(Item_GObj* gobj);
33/* 26B560 */ float it_8026B560(Item_GObj* gobj);
34/* 26B574 */ float it_8026B574(Item_GObj* gobj);
35/* 26B588 */ s32 it_8026B588(void);
36/* 26B594 */ bool it_8026B594(Item_GObj* gobj);
37/* 26B5E4 */ HSD_GObj* it_8026B5E4(Vec3* vector, Vec3* vector2,
38 Item_GObj* gobj);
39/* 26B634 */ HSD_GObj* it_8026B634(Vec3* vector, Vec3* vector2,
40 Item_GObj* gobj);
41/* 26B684 */ float it_8026B684(Vec3* pos);
42/* 26B6A8 */ float it_8026B6A8(Vec3* pos, HSD_GObj* arg);
43/* 26B6C8 */ bool it_8026B6C8(Item_GObj* gobj);
44/* 26B718 */ void it_8026B718(Item_GObj* gobj, float hitlagFrames);
45/* 26B724 */ void it_8026B724(Item_GObj* gobj);
46/* 26B73C */ void it_8026B73C(Item_GObj* gobj);
47/* 26B774 */ bool it_8026B774(Item_GObj* gobj, u8 arg1);
48/* 26B7A4 */ s32 it_8026B7A4(Item_GObj* gobj);
49/* 26B7B0 */ u8 it_8026B7B0(Item_GObj* gobj);
50/* 26B7BC */ s32 it_8026B7BC(Item_GObj* gobj);
51/* 26B7CC */ s32 it_8026B7CC(Item_GObj* gobj);
52/* 26B7D8 */ s32 it_8026B7D8(void);
53/* 26B7E0 */ s32 it_8026B7E0(void);
54/* 26B7E8 */ s32 it_8026B7E8(Item_GObj* gobj);
55/* 26B7F8 */ void it_8026B7F8(Item_GObj* gobj);
56/* 26B894 */ bool it_8026B894(Item_GObj* gobj, HSD_GObj* referenced_gobj);
57/* 26B924 */ s32 it_8026B924(Item_GObj* gobj);
58/* 26B960 */ float it_8026B960(Item_GObj* gobj);
59/* 26B9A8 */ void it_8026B9A8(Item_GObj* gobj, HSD_GObj* arg1,
60 Fighter_Part arg2);
61/* 26BAE8 */ void it_8026BAE8(Item_GObj* gobj, float scale_mul);
62/* 26BB20 */ void it_8026BB20(Item_GObj* gobj);
63/* 26BB44 */ void it_8026BB44(Item_GObj* gobj);
64/* 26BB68 */ void it_8026BB68(Item_GObj* gobj, Vec3* pos);
65/* 26BB88 */ void it_8026BB88(Item_GObj* gobj, Vec3* pos);
66/* 26BBCC */ void it_8026BBCC(Item_GObj* gobj, Vec3* pos);
67/* 26BC14 */ void it_8026BC14(Item_GObj* gobj);
68/* 26BC68 */ bool it_8026BC68(Item_GObj* gobj);
69/* 26BC78 */ HSD_GObj* it_8026BC78(Item_GObj* gobj);
70/* 26BC84 */ bool it_8026BC84(Item_GObj* gobj);
71/* 26BC90 */ void it_8026BC90(Item_GObj* gobj, Vec3* pos);
72/* 26BCF4 */ void it_8026BCF4(Item_GObj* gobj);
73/* 26BD0C */ void it_8026BD0C(Item_GObj* gobj);
74/* 26BD24 */ void it_8026BD24(Item_GObj* gobj);
75/* 26BD3C */ void it_8026BD3C(Item_GObj* gobj);
76/* 26BD54 */ void it_8026BD54(Item_GObj* gobj);
77/* 26BD6C */ void it_8026BD6C(Item_GObj* gobj);
78/* 26BD84 */ void it_8026BD84(Item_GObj* gobj);
79/* 26BD9C */ void it_8026BD9C(Item_GObj* gobj);
80/* 26BDB4 */ void it_8026BDB4(Item_GObj* gobj);
81/* 26BDCC */ void it_8026BDCC(Item_GObj* gobj);
82/* 26BE28 */ void it_8026BE28(Item_GObj* gobj);
83/* 26BE84 */ HSD_GObj* it_8026BE84(BobOmbRain* bobOmbRain);
84/* 26C100 */ CollData* it_8026C100(Item_GObj* gobj);
85/* 26C16C */ void it_8026C16C(Item_GObj* gobj, bool isHeadless);
86/* 26C1B4 */ bool it_8026C1B4(Item_GObj* gobj);
87/* 26C1D4 */ u32 it_8026C1D4(void);
88/* 26C1E8 */ bool it_8026C1E8(Item_GObj* gobj);
89/* 26C220 */ void it_8026C220(Item_GObj* gobj, HSD_GObj* arg1);
90/* 26C258 */ HSD_GObj* it_8026C258(Vec3* vector, float facingDir);
91/* 26C334 */ void it_8026C334(Item_GObj* gobj, Vec3* pos);
92/* 26C368 */ void it_8026C368(Item_GObj* gobj);
93/* 26C3FC */ void it_8026C3FC(void);
94/* 26C42C */ void it_8026C42C(void);
95
96#endif
void it_8026BD84(Item_GObj *gobj)
Sets #Item::xDCD_flag::bits::b4 of gobj.
Definition it_26B1.c:853
void it_8026B73C(Item_GObj *gobj)
Toggle bits in 0xDC8 word.
Definition it_26B1.c:422
float it_8026B424(s32 damage)
Item Damage Math.
Definition it_26B1.c:199
float it_8026B960(Item_GObj *gobj)
Return float result of item kind and state checks.
Definition it_26B1.c:575
void it_8026B3F8(Article *article, s32 kind)
Store Item article pointer to table.
Definition it_26B1.c:187
s32 it_8026B588(void)
Get unknown integer from itCommonData.
Definition it_26B1.c:276
void it_8026BD3C(Item_GObj *gobj)
Sets #Item::xDCC_flag::bits::b3 of gobj.
Definition it_26B1.c:832
void it_8026B294(Item_GObj *gobj, Vec3 *pos)
Copy Item position vector.
Definition it_26B1.c:73
HSD_GObj * it_8026B5E4(Vec3 *vector, Vec3 *vector2, Item_GObj *gobj)
Unknown item camera check?
Definition it_26B1.c:303
float it_8026B560(Item_GObj *gobj)
Identical to it_8026B54C but likely using a different itAttributes struct.
Definition it_26B1.c:258
void it_8026BD6C(Item_GObj *gobj)
Sets #Item::xDCD_flag::bits::b3 of gobj.
Definition it_26B1.c:846
void it_8026BC90(Item_GObj *gobj, Vec3 *pos)
Unknown item ECB / position update.
Definition it_26B1.c:799
s32 it_8026B7D8(void)
Get unknown var from global data.
Definition it_26B1.c:471
float it_8026B378(Item_GObj *gobj)
Return item's X-Axis grab range?
Definition it_26B1.c:139
void it_8026C220(Item_GObj *gobj, HSD_GObj *arg1)
Get item owner's port number.
Definition it_26B1.c:1135
bool it_8026C1E8(Item_GObj *gobj)
Check if item has grabbed a GObj?
Definition it_26B1.c:1121
HSD_GObj * it_8026C258(Vec3 *vector, float facingDir)
Find the closest item to the given position?
Definition it_26B1.c:1144
bool it_8026C1B4(Item_GObj *gobj)
Check if item has a hitbox.
Definition it_26B1.c:1109
void it_8026BD24(Item_GObj *gobj)
Sets #Item::xDD0_flag::bits::b3 of gobj.
Definition it_26B1.c:825
void it_8026BD9C(Item_GObj *gobj)
Sets #Item::xDC8_word::flags::x1A of gobj.
Definition it_26B1.c:860
void it_8026C3FC(void)
Toggle bit 3 of 0xDC8 ON for all active item GObjs?
Definition it_26B1.c:1223
enum_t it_8026B320(Item_GObj *gobj)
Return item hold kind.
Definition it_26B1.c:116
s32 it_8026B7A4(Item_GObj *gobj)
Get Item State ID.
Definition it_26B1.c:446
float it_8026B54C(Item_GObj *gobj)
Get unknown float from 0x0 of item's special attributes.
Definition it_26B1.c:248
enum_t it_8026B30C(Item_GObj *gobj)
Return flag from Item Attributes.
Definition it_26B1.c:109
bool it_8026B6C8(Item_GObj *gobj)
Check if item is a stage item?
Definition it_26B1.c:386
void it_8026C368(Item_GObj *gobj)
Run bomb item explosion callbacks.
Definition it_26B1.c:1191
bool it_8026B4F0(Item_GObj *gobj)
Check if item is a healing item.
Definition it_26B1.c:230
void it_8026BCF4(Item_GObj *gobj)
Unsets #Item::xDCD_flag::bits::b2 of gobj.
Definition it_26B1.c:811
void it_8026C42C(void)
Toggle bits in 0xDC8 for all active item GObjs?
Definition it_26B1.c:1232
void it_8026C334(Item_GObj *gobj, Vec3 *pos)
Unknown item position / ECB update.
Definition it_26B1.c:1179
bool it_8026B2D8(Item_GObj *gobj)
Check if item is heavy again?
Definition it_26B1.c:93
bool it_8026B894(Item_GObj *gobj, HSD_GObj *referenced_gobj)
Remove all GObj interaction references from item.
Definition it_26B1.c:516
void it_8026B724(Item_GObj *gobj)
Toggle bit 3 of 0xDC8 word ON.
Definition it_26B1.c:416
s32 it_8026B924(Item_GObj *gobj)
Return result of unk item check.
Definition it_26B1.c:551
s32 it_8026B47C(Item_GObj *gobj)
Get heal value of healing items.
Definition it_26B1.c:207
s32 it_8026B7BC(Item_GObj *gobj)
Get flag 0x14 of 0xDC8 word.
Definition it_26B1.c:458
void it_8026B7F8(Item_GObj *gobj)
Remove item from player on death?
Definition it_26B1.c:498
bool it_8026B594(Item_GObj *gobj)
Check if item can fire projectiles.
Definition it_26B1.c:282
void it_8026BC14(Item_GObj *gobj)
Check if item owner is a fighter + decrement hitlag.
Definition it_26B1.c:767
bool it_8026BC68(Item_GObj *gobj)
Return bit 0 of 0xDD0.
Definition it_26B1.c:776
HSD_GObj * it_8026BC78(Item_GObj *gobj)
Get item owner.
Definition it_26B1.c:783
void it_8026BB68(Item_GObj *gobj, Vec3 *pos)
Adjust item's position to fp bone.
Definition it_26B1.c:725
void it_8026B344(Item_GObj *gobj, Vec3 *pos)
Unknown item position math, related to velocity?
Definition it_26B1.c:128
void it_8026B718(Item_GObj *gobj, float hitlagFrames)
Set item's hitlag frames.
Definition it_26B1.c:409
bool it_8026B774(Item_GObj *gobj, u8 arg1)
Bitwise operations in 0xDC8 word.
Definition it_26B1.c:435
void it_8026BBCC(Item_GObj *gobj, Vec3 *pos)
Adjust item's ECB position?
Definition it_26B1.c:747
float it_8026B334(Item_GObj *gobj)
Return item damage multiplier.
Definition it_26B1.c:122
void it_8026BD0C(Item_GObj *gobj)
Sets #Item::xDCD_flag::bits::b2 of gobj.
Definition it_26B1.c:818
void it_8026BD54(Item_GObj *gobj)
Unsets #Item::xDCC_flag::bits::b3 of gobj.
Definition it_26B1.c:839
s32 itGetKind(Item_GObj *gobj)
Get Item ID.
Definition it_26B1.c:102
void it_8026BB44(Item_GObj *gobj)
Set JObj flags on item model.
Definition it_26B1.c:717
float it_8026B6A8(Vec3 *pos, HSD_GObj *arg)
Get facing direction of fighter (?) with variable argument.
Definition it_26B1.c:381
void it_8026BDB4(Item_GObj *gobj)
Toggle 0x1A of 0xDC8 word OFF.
Definition it_26B1.c:867
void it_8026B3A8(Item_GObj *gobj)
Toggle item flag 0x15 in 0xDC8 word OFF.
Definition it_26B1.c:159
void it_8026BDCC(Item_GObj *gobj)
Toggles several item flags.
Definition it_26B1.c:874
void it_8026BB20(Item_GObj *gobj)
Clear JObj flags on item model.
Definition it_26B1.c:711
void it_8026B40C(Article *article, s32 kind)
Store Stage Item article pointer to table.
Definition it_26B1.c:193
void it_8026B390(Item_GObj *gobj)
Toggle item flag 0x15 in 0xDC8 word ON.
Definition it_26B1.c:151
bool it_8026BC84(Item_GObj *gobj)
Get item attack kind.
Definition it_26B1.c:790
HSD_GObj * it_8026B634(Vec3 *vector, Vec3 *vector2, Item_GObj *gobj)
Unknown item camera check 2?
Definition it_26B1.c:363
s32 it_8026B7E8(Item_GObj *gobj)
Get bit 1 of 0xDC8 word.
Definition it_26B1.c:483
u8 it_8026B7B0(Item_GObj *gobj)
Get Item Team ID.
Definition it_26B1.c:452
float it_8026B384(Item_GObj *gobj)
Return item's Y-Axis grab range?
Definition it_26B1.c:145
float it_8026B574(Item_GObj *gobj)
Get unknown float from 0x4 of item's special attributes.
Definition it_26B1.c:267
s32 it_8026B7CC(Item_GObj *gobj)
Get 0x1C of Item - something to do with stale moves?
Definition it_26B1.c:464
s32 it_8026B7E0(void)
Get unknown var from global data.
Definition it_26B1.c:478
int it_8026B3C0(ItemKind kind)
Count item entities of identical kind?
Definition it_26B1.c:167
float it_8026B684(Vec3 *pos)
Get facing direction of fighter (?) with NULL.
Definition it_26B1.c:373
void it_8026BB88(Item_GObj *gobj, Vec3 *pos)
Adjust item's position based on ECB?
Definition it_26B1.c:731
void it_8026BAE8(Item_GObj *gobj, float scale_mul)
Multiply item's scale.
Definition it_26B1.c:697
void it_8026C16C(Item_GObj *gobj, bool isHeadless)
Check if Hammer item's head should break off.
Definition it_26B1.c:1095
HSD_GObj * it_8026BE84(BobOmbRain *bobOmbRain)
Bob-Omb Rain Switch.
Definition it_26B1.c:933
enum_t it_8026B2B4(Item_GObj *gobj)
Check if item is heavy.
Definition it_26B1.c:82
float it_8026B1D4(Item_GObj *gobj, HitCapsule *itemHitboxUnk)
Apply Item Damage.
Definition it_26B1.c:55
CollData * it_8026C100(Item_GObj *gobj)
Get item's CollData pointer.
Definition it_26B1.c:1077
u32 it_8026C1D4(void)
Get unknown var from r13 pointer.
Definition it_26B1.c:1114
void it_8026B9A8(Item_GObj *gobj, HSD_GObj *arg1, Fighter_Part arg2)
Transfer item on character transformation (Zelda <-> Sheik)
Definition it_26B1.c:641
void it_8026BE28(Item_GObj *gobj)
Toggle several item flags. The inverse of it_8026BDCC.
Definition it_26B1.c:904
Fighter_Part
Definition forward.h:233
ItemKind
Definition forward.h:85
unsigned long u32
An unsigned 32-bit integer.
Definition platform.h:26
int enum_t
The underlying type of an enum, used as a placeholder.
Definition platform.h:74
signed long s32
A signed 32-bit integer.
Definition platform.h:14
unsigned char u8
An unsigned 8-bit integer.
Definition platform.h:20
Definition types.h:183
Definition types.h:605
Definition types.h:203
Definition gobj.h:25
Definition types.h:45
Definition types.h:13