benilla-re systems structs docs

s_md5Table

global · minimap

Address
0xcea628 · 40 bytes, up to 0xcea64f
Type
uint32_t[10]
Meaning
Holds the catalog table object: vtable, list, chain counter, bucket vector and mask
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.