Match a variety of functions, identify a struct type and some related variables, regenerated some mips_to_c code (#129)

* Meaningful commit message

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>

* Identify another struct and array

Regenerated a lot of mips_to_c code based on these identifications

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
Tyler McGavran
2022-01-03 02:07:24 -05:00
committed by GitHub
parent 5fbfc21512
commit c3def3e91f
15 changed files with 231 additions and 342 deletions
+11
View File
@@ -481,4 +481,15 @@ typedef struct {
/* 0x06 */ u16 alpha;
} RGBA16; // size = 0x08
typedef struct {
/* 0x00 */ segment_address_t textureData;
/**
* Its hard to tell what exactly what this is meant to be,
* but it appears to be used as some sort of offset/index from the address stored in D_8018D9B0.
* This value is (roughly) the sum of (width * height) of the
* textures in all the previous entries in D_8018E118
*/
/* 0x04 */ s32 offset;
} struct_8018E118_entry; // size = 0x08
#endif