benilla-re systems structs docs

CVarCommandHandler

function · cvar · orchestration

Address
0x63dde0 · 80 bytes, up to 0x63de2f
Signature
uint32_t __fastcall (const char *name, const char *args)
Meaning
Writes the value of the setting named by the command, or sets it from the arguments
Confidence
verified, proof two
Finding
cvar/registry#commands-of-the-registry

Finding: Commands of the registry in cvar: registry

Every record has a command of its own name (handler 0x63dde0). With no argument it writes CVar "<name>" is "<value>"; with one it runs Set(argument, 1, 1, 0, 1), so a typed value also fills an empty reset slot. Four commands in category 5 come with the registry: set <name> <value> sets an existing record or creates a script-hidden one; cvar_reset restores one record, or with no argument every record after writing Resetting all cvars; cvar_default restores one record; both write No such cvar "<name>" in class 3 for an unknown name; cvarlist writes every record as "<name>" is "<value>" with (default "<d>") or (reset "<r>") appended when they differ.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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