d_a_bk work

This commit is contained in:
LagoLunatic
2023-12-24 23:54:12 -05:00
parent 25f4f1d38e
commit ee8c09de92
6 changed files with 346 additions and 27 deletions
@@ -8,10 +8,12 @@ inline u32 getBdlFlag_MaterialType(u32 i_flags) {
return i_flags & 0x3000;
}
// Actual struct name unknown
struct J3DModelBlock {
/* 0x00 */ u32 mBlockType;
/* 0x04 */ u32 mBlockSize;
// Fake inline
const J3DModelBlock* getNext() const {
return reinterpret_cast<const J3DModelBlock*>(reinterpret_cast<const u8*>(this) + mBlockSize);
}