diff --git a/extra/010 Editor/helldivers2_meshinfo.bt b/extra/010 Editor/helldivers2_meshinfo.bt index 6335a72..e26bb49 100644 --- a/extra/010 Editor/helldivers2_meshinfo.bt +++ b/extra/010 Editor/helldivers2_meshinfo.bt @@ -131,6 +131,8 @@ struct meshinfo_t { uint32_t count ; uint32_t offsets[count] ; + // Appears correct, yet also incorrect. + // Fits perfectly between themselves, but when count is >1, the end of the structure is misaligned. local uint32 i; for (i = 0; i < count; i++) { FSeek(startof(this) + offsets[i]); @@ -142,7 +144,7 @@ struct meshinfo_t { uint32_t count ; uint32_t offsets[count] ; - uint32_t size ; + uint32_t offset ; local uint32 i; for (i = 0; i < count; i++) { @@ -155,20 +157,13 @@ struct meshinfo_t { uint32_t data[count] ; } __unk; } + + FSeek(startof(this) + offset); + float __unk_float[7]; + uint32_t __unk; + float __unk; + uint32_t __unk; } __unk00data; - - float __unk; - float __unk; - float __unk; - float __unk; - - float __unk; - float __unk; - float __unk; - uint32_t __unk ; - - float __unk; - uint32_t __unk ; }; } __unk0; }