benilla-re systems structs docs

s_nextSectionIndexTable

global · objectlayer

Address
0x465760 · 127 bytes, up to 0x4657de
Type
uint8_t[127]
Meaning
Maps a type mask minus 3 to its case in 0x465748
Confidence
verified, proof one
Finding
objectlayer/fields#field-counts-and-sections

Finding: Field counts and sections in objectlayer: fields

A type's fields are its sections in hierarchy order: object fields 0 to 5; then item 6 to 47 and container 48 to 121; or unit 6 to 187 and player 188 to 1281; or game object 6 to 25, dynamic object 6 to 15, corpse 6 to 37. Each section's end is a cumulative count in 0xb4143c, and a section's byte offset in the array is 0, 0x18 for every class section after the object's, 0xc0 for the container's and 0x2f0 for the player's. Another player has only the first 486 fields.

The derivation is in the doc.