CVar::Update
function · cvar · orchestration
- Address
0x63e060· 72 bytes, up to0x63e0a7- Signature
uint8_t __thiscall (CVar *this)- Meaning
- Applies a latched text through InternalSet and frees it
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- cvar/registry#setting-a-value
Finding: Setting a value in cvar: registry
Set(record, text, apply, setReset, setDefault, force) always returns 1. With apply 0 it is InternalSet. With apply 1 it first calls the callback as
fastcall(record, old value, text, argument); a false result drops the set. Then it counts the change. A latched record keeps the text in +0x38 and marks the config dirty; any other
runs InternalSet. That does nothing to a read-only record. With apply it stores the text, with its integer and float, only when SStrCmpI
finds it different from the value, so a change of case alone is ignored. It fills an empty reset or default slot when asked, and marks the config dirty when
something changed and force is set.
The derivation is in the doc.
Callers 1
- CommitDisplayCVars console
Callees 2
- CVar::InternalSet cvar
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.