I was just curious, did the struct change for DBC reading in 4.x? I wasn't able to find a thread on the matter.
When I view my Spell.DBC struct in memory, this is how it looks:
It would appear the row pointer is at 0xC (and when I view this pointer, it looks like a list of the rows like in 3.x).
Does anyone have an up to date struct? Here is the pre-4.x struct:
And full mac DBC dump for those that are interested: typedef enum ClientDBC{ AnimKitBoneSetAliasDBC =Code:typedef struct ClientDb { UInt32 _vtable; // 0x0 UInt32 isLoaded; // 0x4 UInt32 numRows; // 0x8 // 49379 UInt32 maxIndex; // 0xC // 74445 UInt32 minIndex; // 0x10 // 1 UInt32 stringTablePtr; // 0x14 UInt32 _vtable2; // 0x18 // array of row pointers after this... UInt32 row1; // 0x1C UInt32 row2; // 0x20 } ClientDb;
Thanks!