benilla-re systems structs docs

StepWatchers

function · objectlayer · primitive

Address
0x4657e0 · 105 bytes, up to 0x465848
Signature
void __thiscall (void *this)
Meaning
Counts each pending watcher down by one field and unlinks those that reach 0
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.