Decompile tex0f172e8c

This commit is contained in:
Ryan Dwyer
2022-02-18 12:22:56 +10:00
parent cd1d146bad
commit 56347c6e09
5 changed files with 55 additions and 77 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ s32 func0f172554(u8 *arg0, s32 width, s32 height, u8 *arg3, u8 *arg4, s32 arg5,
void func0f1729f8(u8 *arg0, s32 width, s32 height, s32 format);
void func0f172b5c(u8 *arg0, s32 width, s32 arg2, s32 arg3, s32 chansize);
void func0f172e70(s32 *arg0, void *arg1, s32 arg2);
struct texloadthing *func0f172e8c(s32 texturenum, struct texturething *arg1);
struct texloadthing *tex0f172e8c(s32 texturenum, struct texturething *arg1);
s32 func0f172f44(struct texturething *arg0);
s32 func0f172f54(s32 *arg0);
void texLoadFromDisplayList(Gfx *gdl, struct texturething *arg1, s32 arg2);
+8 -13
View File
@@ -6757,31 +6757,26 @@ struct awardmetrics {
};
struct texturething {
struct texloadthing *unk00; // void * - same as unk0c
struct texloadthing *unk00;
struct texloadthing *unk04;
struct texloadthing *unk08; // texturenum
struct texloadthing *unk0c; // void * - same as unk00
struct texloadthing *unk08;
struct texloadthing *unk0c;
};
struct texloadthing {
u16 texturenum : 12;
u16 unk00_0c : 4;
void *unk04;
u32 unk04;
u8 width;
u8 height;
u8 unk0a;
u8 unk0b_00 : 3;
u8 gbiformat : 3;
u8 unk0b_06 : 2;
union {
u32 unk0c;
struct {
u32 unk0c_00 : 2;
u32 unk0c_02 : 1;
u32 unk0c_03 : 1;
u32 unk0c_04 : 24;
};
};
u32 unk0c_00 : 2;
u32 unk0c_02 : 1;
u32 unk0c_03 : 1;
u32 unk0c_04 : 24;
};
struct texcacheitem {