benilla-re systems structs docs

CreatureCacheReceive

function · dbcache · orchestration

Address
0x556e20 · 449 bytes, up to 0x556fe0
Signature
void __thiscall (void *this, CDataStore *stream, bool single)
Meaning
Reads records from a response into the Creature cache and runs the callbacks
Confidence
verified, proof two
Finding
dbcache/overview#receiving-a-record

Finding: Receiving a record in dbcache: overview

Receive reads, for each record, the key as a dword. A key with its top bit set is a refusal: the bit is cleared, the node's callbacks run with status 0, and the node is freed. Otherwise the node is found or created, T::Read decodes the record into it, the valid byte +0x50 is set, the callbacks run with status 1 and are freed, and the dispatching byte +0x61 is set during the run and cleared after.

The derivation is in the doc.

Callers 1

Callees 8

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