BindingsDestroy
function · ui · orchestration
- Address
0x4b6100· 55 bytes, up to0x4b6136- Signature
void __cdecl (void)- Meaning
- Unregisters the bind command, destroys and frees the binding object and zeroes s_bindings
- Confidence
- verified, proof one
- Finding
- ui/keybindings#the-binding-object
Finding: The binding object in ui: key bindings
CGGameUI::Initialize (0x48fbf0) builds the binding object with 0x4b6050 (0x48feb0) and CGGameUI::Shutdown
(0x490bd0) destroys it with 0x4b6100 (0x490cb5). 0x4b6050 allocates 0xdc bytes with SMemAlloc, builds the
object with 0x4b6c50, stores it in s_bindings (0xb71290), 0 if the allocation failed, and registers the console
command bind (handler 0x4b60b0, category 5), object or not. 0x4b6100 unregisters bind, then destroys the
object with 0x4b6d90, frees it and zeroes s_bindings. 0x4b6050 does not test the old pointer; 0x4b6100 skips a null one.
The derivation is in the doc.
Callers 1
Callees 3
- 0x4b6d90 ui
- ConsoleCommandUnregister console
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.