benilla-re systems structs docs

CreatureCacheRemove

function · dbcache · unreached

Address
0x556ff0 · 281 bytes, up to 0x557108
Meaning
Removes a creature node by key; nothing references it
Confidence
inferred
Finding
dbcache/overview#cache-objects-and-nodes

Finding: Cache objects and nodes in dbcache: overview

A cache object holds: the vtable at +0; the all-nodes list, header +4 (link offset 0xc, head +8, tail +0xc); a growth counter +0x10; a bucket array +0x1c of mask + 1 12-byte list headers; the mask +0x24 (−1 until the first node); the tag +0x28; the file name +0x2c; the query opcode +0x30; a dword +0x34; the owner flag +0x38; the persist flag +0x39. A node holds its key at +0, the hash link +4, the all-nodes link +0xc, the record from +0x18, a key copy +0x4c, a valid byte +0x50, a callback list header +0x54 and a dispatching byte +0x61. The hash is key & mask.

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.