benilla-re systems structs docs

NameCacheConstruct

function · dbcache · orchestration

Address
0x55e6a0 · 218 bytes, up to 0x55e779
Signature
void __thiscall (void *this, uint32_t tag, const char *file, uint32_t opcode, uint32_t second, bool owner, bool persist)
Meaning
Constructs the Name cache: empty lists, mask -1, the file tag and name, opcode and flags
Confidence
verified, proof two
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 1

Callees 0

None by a direct call or jump.

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