benilla-re systems structs docs

ObjectApplyValues

function · objectlayer · primitive

Address
0x466590 · 516 bytes, up to 0x466793
Signature
void __fastcall (CGObject_C *object, CDataStore *msg, uint32_t guidLow, uint32_t guidHigh, uint8_t create, uint8_t clear)
Meaning
Writes a values block into an object's field array, copying watched fields first on an update
Confidence
verified, proof one
Finding
objectlayer/update#writing-the-values
Test
objectlayer::apply_update_fields_difftest

Finding: Writing the values in objectlayer: update

The create pass writes each sent value straight into the field array, [object+0x8] + 4i, as a raw dword. For an update of an existing object (flag 0) it first copies the current bytes of any watched field into the object's watch copy, so the notify pass can compare (fields). With the clearing flag, every unsent field below the count is written 0. A values block for an object the manager does not know, live or released, is skipped.

The derivation is in the doc.

Callers 3

Callees 11

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