benilla-re systems structs docs

GetDataBaseOffset

function · objectlayer · orchestration

Address
0x465690 · 33 bytes, up to 0x4656b0
Signature
uint32_t __fastcall (uint32_t section)
Meaning
Returns a section's byte offset in the field array: 0, 0x18, 0xc0 or 0x2f0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
objectlayer/fields#field-counts-and-sections
Test
objectlayer::updateblock_stride_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 3

Callees 0

None by a direct call or jump.

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