benilla-re systems structs docs

s_itemCacheVtable

global · dbcache

Address
0x80915c · 16 bytes, up to 0x80916b
Type
void *[4]
Meaning
Holds the item cache's vtable; slot 1 is the node allocator 0x55b250
Confidence
verified, proof two
Finding
dbcache/callbacks#item-node-allocation

Finding: Item node allocation in dbcache: callbacks

0x55b250(bucket, extra, flags) is slot 1 of the item cache's vtable, which the hash insert 0x56d610 calls for a key with no node. It allocates extra + 0x204 zeroed bytes (flags OR 8), clears the links, the record at +0x18 and the valid and dispatching bytes (+0x1f0, +0x201), builds the empty callback list at +0x1f4, links the node's hash link (node+4) at the tail of the bucket's list and returns the node.

The derivation is in the doc.