benilla-re systems structs docs

SpliceWatchers

function · objectlayer · primitive

Address
0x465970 · 270 bytes, up to 0x465a7d
Signature
uint32_t __fastcall (void *list, void *pending)
Meaning
Moves a field's watchers onto the pending list, each with a countdown of the dwords it spans
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 2

Callees 0

None by a direct call or jump.

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