implement ModelDbPart::Read & ModelDbModel::Read (#620)

* implement ModelDbPart::Read & ModelDbModel::Read

* Update modeldb.cpp

* Minor style fixes

* Add comment about buffer overrun

* Use sizeof on var

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Misha
2024-03-03 17:15:24 -05:00
committed by GitHub
parent 01f07a323c
commit 7f5ad98749
2 changed files with 66 additions and 6 deletions

View File

@@ -93,8 +93,14 @@ public:
struct ModelDbModel {
MxResult Read(FILE* p_file);
char* m_modelName; // 0x00
undefined m_unk0x04[0x34]; // 0x04
char* m_modelName; // 0x00
undefined4 m_unk0x04; // 0x04
undefined4 m_unk0x08; // 0x08
char* m_presenterName; // 0x0c
undefined4 m_unk0x10[3]; // 0x10
undefined4 m_unk0x1c[3]; // 0x1c
undefined4 m_unk0x28[3]; // 0x28
undefined m_unk0x34; // 0x34
};
// SIZE 0x18