benilla-re systems structs docs

CDataStore::FetchWrite

function · base

Address
0x417c30 · 79 bytes, up to 0x417c7e
Meaning
Grows a plain data store's buffer to the write's end rounded up to 256 bytes; returns 1
Confidence
verified, proof one
Finding
net/messages#data-store-writes
Test
net::datastore_heap

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 0

None by a direct call or jump.

Callees 1

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