benilla-re systems structs docs

Md5NameAllocNode

function · minimap · orchestration

Address
0x6db040 · 182 bytes, up to 0x6db0f5
Signature
void * __thiscall (void *this, void *bucket, uint32_t extra, uint32_t flags)
Meaning
Allocates a zeroed catalog record and links it first in the bucket
Confidence
verified, proof one
Finding
minimap/overview#containers

Finding: Containers in minimap: overview

The catalog and the pointer arrays are the hash table and list templates of cvar/containers. The table 0xcea628 (vtable 0x811720, link offset 0xc, bucket vector 0xcea63c to 0xcea648, mask 0xcea64c) holds MINIMAPMD5NAME records. Each function below has the same code as the twin named (console/commands#table-twins).

this filetwindoes
0x6dafd00x63e2b0frees a record (slot 0), unlinking its links first
0x6db0400x63e2e0allocates a record 0x40 bytes long and links it first in the bucket (slot 1)
0x6db1000x63e3a0clears the table (slot 3)
0x6db1c00x63e460deleting destructor (slot 2)
0x6db4000x63e560empties a bucket and its terminator
0x6db5000x63e5f0frees the bucket vector
0x6db5d00x63e520unlinks a link
0x6db6100x63e6d0returns an object's link
0x6db6300x63e6f0links a node
0x6db7f00x63ed80resolves the next link's back slot
0x6db8200x63e9f0doubles the buckets when a chain is long

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.