benilla-re systems structs docs

s_commandTable

global · console

Address
0xc4f848 · 40 bytes, up to 0xc4f86f
Type
uint32_t[10]
Meaning
Holds the command table object: vtable, list, chain counter, bucket vector and mask
Confidence
verified, proof one
Finding
console/commands#command-records

Finding: Command records in console: commands

A command is a 0x24-byte record under the tag CONSOLECOMMAND: the hash of its name at +0, the bucket link at +4, the list link at +0xc, the name pointer at +0x14 (the caller's pointer, not a copy), the handler at +0x18, the help pointer at +0x1c (0 for none) and the category at +0x20. The table object is the hash table of cvar/containers#hash-table-object at 0xc4f848, with the vtable 0x80e268 and the list link offset 0xc. It starts empty, with mask −1. Records are linked first in their bucket and last in the list, so the list runs in registration order.

The derivation is in the doc.