SSBM Decomp
Loading...
Searching...
No Matches
itspawn.c File Reference
#include "it/itspawn.h"
#include "db/db.h"
#include "ef/efsync.h"
#include "gm/gm_unsplit.h"
#include "gr/ground.h"
#include "gr/stage.h"
#include "it/it_26B1.h"
#include "it/it_2725.h"
#include "it/it_3F14.h"
#include "it/item.h"
#include "mp/mpcoll.h"
#include <baselib/gobj.h>
#include <baselib/gobjproc.h>
#include <baselib/memory.h>
#include <baselib/random.h>

Functions

u64 __shr2u (u32, u32, s32)
void it_8026C47C (struct it_8026C47C_arg0_t *arg_struct)
s32 it_8026C530 (s32 arg0, ItemPickTable *arg1, s32 arg2, s32 arg3)
int it_8026C65C (ItemPickTable *arg_struct)
 argument is definitely size 0x10
bool it_8026C704 (void)
ItemKind it_8026C75C (ItemPickTable *arg_struct)
 Decides item kind for spawned items - not sure in which context (i.e from pokeballs, from capsules, thin air, etc.).
void fn_8026C88C (HSD_GObj *gobj)
void it_8026CA4C (ItemPickTable *alloc, s32 *arg1, u64 arg2, s32 arg3, f32 arg4)
bool it_8026CB3C (Vec3 *vec)
void it_8026CB9C (s32 *counts, u64 mask, f32 weight)
 Builds some structs for items.
void it_8026CD50 (s32 *arg0, u64 arg1, f32 arg2)
void it_8026CF04 (void)
 Builds the monster-item weighted-pick table (it_804A0E60).
void it_8026D018 (void)
bool it_8026D258 (Vec3 *pos, ItemKind kind)
 Spawn item of specified kind at specified position (but no z-offset).
bool it_8026D324 (ItemKind kind)
bool it_8026D3CC (void)

Function Documentation

◆ __shr2u()

u64 __shr2u ( u32 ,
u32 ,
s32  )
extern

◆ it_8026C47C()

void it_8026C47C ( struct it_8026C47C_arg0_t * arg_struct)

◆ it_8026C530()

s32 it_8026C530 ( s32 arg0,
ItemPickTable * arg1,
s32 arg2,
s32 arg3 )

◆ it_8026C65C()

int it_8026C65C ( ItemPickTable * arg_struct)

argument is definitely size 0x10

◆ it_8026C704()

bool it_8026C704 ( void )

◆ it_8026C75C()

ItemKind it_8026C75C ( ItemPickTable * arg_struct)

Decides item kind for spawned items - not sure in which context (i.e from pokeballs, from capsules, thin air, etc.).

◆ fn_8026C88C()

void fn_8026C88C ( HSD_GObj * gobj)

◆ it_8026CA4C()

void it_8026CA4C ( ItemPickTable * alloc,
s32 * arg1,
u64 arg2,
s32 arg3,
f32 arg4 )

◆ it_8026CB3C()

bool it_8026CB3C ( Vec3 * vec)

◆ it_8026CB9C()

void it_8026CB9C ( s32 * counts,
u64 mask,
f32 weight )

Builds some structs for items.

◆ it_8026CD50()

void it_8026CD50 ( s32 * arg0,
u64 arg1,
f32 arg2 )

◆ it_8026CF04()

void it_8026CF04 ( void )

Builds the monster-item weighted-pick table (it_804A0E60).

◆ it_8026D018()

void it_8026D018 ( void )

◆ it_8026D258()

bool it_8026D258 ( Vec3 * pos,
ItemKind kind )

Spawn item of specified kind at specified position (but no z-offset).

◆ it_8026D324()

bool it_8026D324 ( ItemKind kind)

◆ it_8026D3CC()

bool it_8026D3CC ( void )