benilla-re systems structs docs

CDataStore::PutCString

function · base

Address
0x418430 · 53 bytes, up to 0x418464
Meaning
Appends a C string and its NUL to a data store; a null string sets error 87
Confidence
verified, proof one
Name from
the community database (idb)
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 59

Callees 3

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