mirror of
https://github.com/izzy2lost/Starship.git
synced 2026-07-05 15:19:42 -07:00
sf_hud functions (#22)
* decompile func_80093310 * decompile func_8008AC54 * func_80094BBC * func_80094BBC & func_80094954 &func_800933D8 * fix? * fix2 ? * fix3 (finally) * remove commented asm * decompile func_800869A0 * correction
This commit is contained in:
@@ -132,6 +132,7 @@ void func_80040CDC(void);
|
||||
|
||||
u8 func_80058F14(u8 arg0, u8 arg1);
|
||||
void func_80059498(void);
|
||||
void func_8005980C(f32 arg0);
|
||||
void func_80057D00(void);
|
||||
|
||||
void func_80060FBC(u8*, f32*);
|
||||
@@ -149,6 +150,7 @@ void func_80084688(s32, s32);
|
||||
void func_800857DC(f32, f32, f32, f32);
|
||||
void func_80085890(f32, f32, f32, f32);
|
||||
void func_80086664(f32, f32);
|
||||
void func_800869A0(f32 arg0, f32 arg1, s32 k, f32 arg3, s32 arg4, s32 arg5);
|
||||
void func_80087530(f32, f32, s32);
|
||||
void func_8008865C(void);
|
||||
void func_8008B5B0(f32 x, f32 y);
|
||||
|
||||
+36
-4
@@ -119,7 +119,10 @@ typedef struct {
|
||||
typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x000 */ char pad_0[0xC];
|
||||
/* 0x00C */ f32 unk_00C;
|
||||
/* 0x010 */ char pad_010[0x64];
|
||||
/* 0x010 */ char pad_010[0x48];
|
||||
/* 0x058 */ f32 unk_058;
|
||||
/* 0x05C */ f32 unk_05C;
|
||||
/* 0x060 */ char pad_060[0x14];
|
||||
/* 0x074 */ f32 unk_074;
|
||||
/* 0x078 */ f32 unk_078;
|
||||
/* 0x07C */ f32 unk_07C;
|
||||
@@ -129,7 +132,9 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x138 */ f32 unk_138;
|
||||
/* 0x13C */ char pad_13C[0x8C];
|
||||
/* 0x1C8 */ s32 unk_1C8;
|
||||
/* 0x1CC */ char pad_1CC[0x44];
|
||||
/* 0x1CC */ char pad_1CC[0x4];
|
||||
/* 0x1D0 */ s32 unk_1D0;
|
||||
/* 0x1D4 */ char pad_1D4[0x3C];
|
||||
/* 0x210 */ s32 unk_210;
|
||||
/* 0x214 */ char pad_214[0x10];
|
||||
/* 0x224 */ s32 unk_224;
|
||||
@@ -145,9 +150,14 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x2C0 */ char pad_2C0[0x220];
|
||||
} UnkStruct_D_80178280; // size = 0x4E0
|
||||
|
||||
typedef struct {
|
||||
/**
|
||||
* func_800612B8 does a mem_cpy of size 0x24
|
||||
* sugesting this to be an individual
|
||||
* struct of that size
|
||||
*/
|
||||
typedef struct UnkStruct_90A00_1C {
|
||||
char unk0[0x24];
|
||||
} UnkStruct_90A00_1C;
|
||||
} UnkStruct_90A00_1C; // size 0x24
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ ElementType1 unk_000;
|
||||
@@ -194,4 +204,26 @@ typedef struct {
|
||||
/* 0x18C */ Vec3f unk_18C[30];
|
||||
} UnkStruct_func_80090A00;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ ElementType1 unk_00;
|
||||
/* 0x1C */ UnkStruct_90A00_1C unk_1C;
|
||||
/* 0x40 */ char pad_40[0x4];
|
||||
/* 0x44 */ s16 unk_44;
|
||||
/* 0x46 */ s16 unk_46;
|
||||
/* 0x48 */ s16 unk_48;
|
||||
/* 0x4A */ s16 unk_4A;
|
||||
/* 0x4C */ char pad_4C[0x2];
|
||||
/* 0x4E */ s16 unk_4E;
|
||||
/* 0x50 */ char pad_50[0x4];
|
||||
/* 0x54 */ f32 unk_54;
|
||||
/* 0x58 */ f32 unk_58;
|
||||
/* 0x5C */ f32 unk_5C;
|
||||
/* 0x60 */ char pad_60[0xC];
|
||||
/* 0x6C */ f32 unk_6C;
|
||||
/* 0x70 */ f32 unk_70;
|
||||
/* 0x74 */ char pad_74[0xC];
|
||||
/* 0x80 */ f32 unk_80[1]; // unknown size
|
||||
/* 0x84 */ char pad_84[0x8];
|
||||
} UnkStruct_func_80094BBC; // size 0x8C
|
||||
|
||||
#endif
|
||||
|
||||
@@ -230,6 +230,7 @@ extern u8 D_80161A90[];
|
||||
extern s16 D_80161AA0[];
|
||||
extern UnkStruct_func_80090A00 D_80163FE0[60];
|
||||
extern UnkStruct_D_8016F110 D_8016F110[];
|
||||
extern UnkStruct_func_80094BBC D_80173754[100]; // size intued by func_800933D8 loop
|
||||
extern UnkStruct_D_80175A10 D_80175A10[];
|
||||
extern s32 D_801774F8;
|
||||
extern s32 D_80177820;
|
||||
@@ -430,6 +431,7 @@ extern u16 D_1012988[];
|
||||
extern u8 D_10129C0[];
|
||||
extern u16 D_1013090[];
|
||||
extern Gfx D_1015510[];
|
||||
extern Gfx D_1023750[];
|
||||
extern Gfx D_1024230[];
|
||||
extern Gfx D_1024830[];
|
||||
extern u8 D_1024A58[];
|
||||
@@ -484,6 +486,16 @@ extern u8 D_5000380[];
|
||||
extern u8 D_5000400[];
|
||||
extern u8 D_5000480[];
|
||||
extern s32 D_50077B0;
|
||||
extern u8 D_5009F60[];
|
||||
extern u8 D_500A050[];
|
||||
extern u8 D_500A140[];
|
||||
extern u8 D_500A230[];
|
||||
extern u8 D_500A320[];
|
||||
extern u8 D_500A410[];
|
||||
extern u8 D_500A500[];
|
||||
extern u8 D_500A5F0[];
|
||||
extern u8 D_500A6E0[];
|
||||
extern u8 D_500A7D0[];
|
||||
|
||||
extern Gfx D_6004570[];
|
||||
extern Gfx D_D0098B0[];
|
||||
|
||||
Reference in New Issue
Block a user