benilla-re systems structs docs

ObjectInitFields

function · objectlayer · orchestration

Address
0x466320 · 45 bytes, up to 0x46634c
Signature
void __fastcall (CGObject_C *object, CDataStore *msg, uint32_t guidLow, uint32_t guidHigh, uint32_t type)
Meaning
Stores a new object's type and writes its first values
Confidence
verified, proof two
Finding
objectlayer/update#creating-an-object

Finding: Creating an object in objectlayer: update

The create pass looks the GUID up, reactivating it when it was released (manager). An existing object is updated by 0x466350: a unit applies the block's movement through 0x5ff070, with whether it is the active player; any other type reads and drops the movement fields. Its values are then written (Writing the values). A new object is allocated for its type, its field array zeroed, its type id and mask stored, its values written, and its class constructor run with the time and the movement block; it then joins the manager's object list.

The derivation is in the doc.

Callers 1

Callees 2

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