benilla-re systems structs docs

GameObjectCacheReceive

function · dbcache · orchestration

Address
0x5588e0 · 471 bytes, up to 0x558ab6
Signature
void __thiscall (void *this, CDataStore *stream, bool single)
Meaning
Reads game object records from a response into the cache and runs their callbacks, status 0 for a refusal
Confidence
verified, proof two
Finding
dbcache/clones#game-object-records-received

Finding: Game object records received in dbcache: per-cache code

0x5588e0(msg, single) is the game object cache's Receive. Its one caller, the handler for opcode 0x5f, passes single 1: the response is one record and no count byte. The record opens with its key; a top bit set refuses the key without it. A refusal for a key with a node sets the dispatching byte +0xa9, unlinks the node, runs its callbacks with status 0, clears the byte and frees the node through vtable slot 0; without a node it does nothing. An accepted key finds or makes the node, decodes the record into node + 0x18, sets the valid byte +0x98 and the key copy +0x94, and runs the callbacks with status 1, dispatching byte set, and frees them.

The derivation is in the doc.

Callers 1

Callees 8

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