benilla-re systems structs docs

NextFieldSection

function · objectlayer · primitive

Address
0x4656e0 · 104 bytes, up to 0x465747
Signature
uint32_t __fastcall (CGObject_C *object, uint32_t section)
Meaning
Returns the section after a section in the object's class chain, or 8
Confidence
verified, proof one
Finding
objectlayer/fields#field-counts-and-sections
Test
objectlayer::descriptor_section_difftest

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.

Callers 2

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.