SSBM Decomp
Loading...
Searching...
No Matches
sobjlib.h
Go to the documentation of this file.
1#ifndef SYSDOLPHIN_BASELIB_SOBJLIB_H
2#define SYSDOLPHIN_BASELIB_SOBJLIB_H
3
4#include "platform.h"
5
6#include <placeholder.h>
7
9
10#include <dolphin/gx/GXStruct.h>
12
15
16typedef struct HSD_SObjDesc {
17 /* 0x00 */ HSD_ImageDesc* image;
18 /* 0x04 */ struct _HSD_Tlut* tlut;
20STATIC_ASSERT(sizeof(struct HSD_SObjDesc) == 0x8);
21
23typedef struct HSD_SObjDesc2 {
24 /* 0x00 */ struct HSD_SObjDesc desc;
25 /* 0x08 */ HSD_ImageDesc* image2;
27STATIC_ASSERT(sizeof(struct HSD_SObjDesc2) == 0xC);
28
29struct HSD_SObj {
30 /* 0x00 */ void* x0;
31 /* 0x04 */ HSD_SObj* next;
32 /* 0x08 */ HSD_SObj* prev;
33 /* 0x0C */ HSD_GObj* gobj;
34 /* 0x10 */ f32 x10;
35 /* 0x14 */ f32 x14;
36 /* 0x18 */ f32 x18;
37 /* 0x1C */ f32 x1C;
38 /* 0x20 */ f32 x20;
39 /* 0x24 */ f32 x24;
40 /* 0x28 */ f32 x28;
41 /* 0x2C */ f32 x2C;
42 /* 0x30 */ f32 x30;
43 /* 0x34 */ u16 x34;
44 /* 0x36 */ u16 x36;
45 /* 0x38 */ union {
47 struct {
52 };
53 };
54 /* 0x3C */ union {
56 struct {
61 };
62 };
63 /* 0x40 */ u32 x40;
64 /* 0x44 */ u8 x44;
65 /* 0x48 */ u32 x48;
66 /* 0x4C */ void (*x4C_callback)(HSD_SObj*);
67 /* 0x50 */ GXTexObj x50_texobj;
69 /* 0x7C */ GXTexObj x7C_texobj;
70};
71
73
74/* 3A44A4 */ void HSD_SObjLib_803A44A4(void);
75/* 3A44D4 */ void HSD_SObjLib_803A44D4(HSD_GObj*, HSD_SObj*, u8);
76/* 3A466C */ void HSD_SObjLib_803A466C(HSD_SObj*);
77/* 3A4740 */ void HSD_SObjLib_803A4740(HSD_SObj*);
80 u8);
81/* 3A49E0 */ void HSD_SObjLib_803A49E0(HSD_GObj*, int);
82/* 3A4A68 */ void HSD_SObjLib_803A4A68(HSD_SObj*);
83/* 3A54EC */ void HSD_SObjLib_803A54EC(HSD_GObj*, int);
84/* 3A55DC */ void HSD_SObjLib_803A55DC(HSD_GObj*, u16, u16, int);
85
86#endif
GXTexWrapMode
Definition GXEnum.h:174
unsigned long u32
Definition types.h:9
float f32
Definition types.h:13
unsigned short int u16
Definition types.h:7
unsigned char u8
Definition hsd_3B2B.h:2
#define STATIC_ASSERT(cond)
Definition platform.h:132
GObjFuncs HSD_SObjLib_8040C3A4
Definition sobjlib.c:25
u8 HSD_SObjLib_804D7960
Definition sobjlib.c:20
void HSD_SObjLib_803A54EC(HSD_GObj *, int)
Definition sobjlib.c:546
HSD_SObj * HSD_SObjLib_803A477C(HSD_GObj *, HSD_SObjDesc *, GXTexWrapMode, GXTexWrapMode, u8, u8)
Definition sobjlib.c:150
void HSD_SObjLib_803A44D4(HSD_GObj *, HSD_SObj *, u8)
Definition sobjlib.c:38
void HSD_SObjLib_803A4A68(HSD_SObj *)
Definition sobjlib.c:249
void HSD_SObjLib_803A55DC(HSD_GObj *, u16, u16, int)
Definition sobjlib.c:570
void HSD_SObjLib_803A44A4(void)
Definition sobjlib.c:33
HSD_SObj HSD_SObj_803A477C_t
Definition sobjlib.h:72
void HSD_SObjLib_803A4740(HSD_SObj *)
Definition sobjlib.c:134
void HSD_SObjLib_803A466C(HSD_SObj *)
Definition sobjlib.c:99
void HSD_SObjLib_803A49E0(HSD_GObj *, int)
Definition sobjlib.c:229
Definition gobj.h:47
Definition GXStruct.h:29
Definition GXStruct.h:39
Definition GXStruct.h:54
Definition gobj.h:24
Definition tobj.h:205
Definition sobjlib.h:23
HSD_ImageDesc * image2
Definition sobjlib.h:25
struct HSD_SObjDesc desc
Definition sobjlib.h:24
Definition sobjlib.h:16
HSD_ImageDesc * image
Definition sobjlib.h:17
struct _HSD_Tlut * tlut
Definition sobjlib.h:18
Definition sobjlib.h:29
f32 x20
Definition sobjlib.h:38
u8 x44
Definition sobjlib.h:64
f32 x18
Definition sobjlib.h:36
f32 x2C
Definition sobjlib.h:41
GXColor x3C_color
Definition sobjlib.h:55
HSD_GObj * gobj
Definition sobjlib.h:33
u8 x39
Definition sobjlib.h:49
f32 x14
Definition sobjlib.h:35
u8 x38
Definition sobjlib.h:48
GXTexObj x7C_texobj
Definition sobjlib.h:69
HSD_SObj * next
Definition sobjlib.h:31
u16 x36
Definition sobjlib.h:44
u8 x3A
Definition sobjlib.h:50
f32 x1C
Definition sobjlib.h:37
f32 x10
Definition sobjlib.h:34
u32 x48
Definition sobjlib.h:65
void(* x4C_callback)(HSD_SObj *)
Definition sobjlib.h:66
u8 x3F
Definition sobjlib.h:60
u8 x3D
Definition sobjlib.h:58
u32 x40
Definition sobjlib.h:63
void * x0
Definition sobjlib.h:30
GXTlutObj x70_tlutobj
Definition sobjlib.h:68
HSD_SObj * prev
Definition sobjlib.h:32
u8 x3E
Definition sobjlib.h:59
u8 x3B
Definition sobjlib.h:51
GXTexObj x50_texobj
Definition sobjlib.h:67
f32 x28
Definition sobjlib.h:40
u16 x34
Definition sobjlib.h:43
GXColor x38_color
Definition sobjlib.h:46
f32 x24
Definition sobjlib.h:39
u8 x3C
Definition sobjlib.h:57
f32 x30
Definition sobjlib.h:42