benilla-re systems structs docs

CopyWatchedFields

function · objectlayer · orchestration

Address
0x4667a0 · 142 bytes, up to 0x46682d
Signature
void __fastcall (void *list, CGObject_C *object)
Meaning
Copies the current bytes of each watcher's range into the object's watch copy
Confidence
verified, proof one
Finding
objectlayer/fields#when-a-watcher-runs

Finding: When a watcher runs in objectlayer: fields

During a values block's create pass, before writing, the client copies the current bytes of every watcher covering a sent field into the copy array. During the notify pass it walks the fields again; for each sent field (every field, when the create notify asks for it, update) each watcher covering it whose watched bytes now differ from the copy is called once, with ecx the range's byte offset in its section, edx its length, and on the stack the GUID low and high dwords, a pointer to the old bytes in the copy, and the registered argument. Unchanged ranges call nothing.

The derivation is in the doc.

Callers 1

Callees 2

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