benilla-re systems structs docs

CDataStore::Set8

function · base

Address
0x417cd0 · 78 bytes, up to 0x417d1d
Meaning
Writes a byte at a given position of a data store, its size unchanged
Confidence
verified, proof one
Finding
net/messages#data-store-writes
Test
net::datastore_heap, net::datastore_inline, net::datastore_window

Finding: Data store writes in net: messages

Each write of n bytes at a position (the size for Put, an argument for Set) asks vtable slot 3 to move the window when the position is below the window or its end past it, ignores the answer, stores, and a Put adds n to the size. The plain store's slot 3 (0x417c30) makes the buffer the end rounded up to 256 bytes; the network store's (0x5bc6c0) starts in 1,024 bytes of its own at +0x18 and grows to exactly the end. PutArray writes chunks of at most the window. PutFloat passes the value through fld and fstp, so a signalling NaN is stored quiet. A null source with a nonzero count sets error 87.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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