benilla-re systems structs docs

GetBindingNameByOrdinal

function · ui · orchestration

Address
0x4b7c80 · 72 bytes, up to 0x4b7cc7
Signature
void __thiscall (void *this, uint32_t index, const char **out)
Meaning
Stores the name of the displayed command with an ordinal through out, leaving it for an unknown ordinal
Confidence
verified, proof one
Finding
ui/keybindings#binding-functions

Finding: Binding functions in ui: key bindings

Nine Lua functions come from the table at 0x846c88. GetNumBindings returns the count of displayed commands. GetBinding(index) returns the command name at that ordinal, then every key bound to it; hidden rows have no ordinal. GetBindingKey(command) returns every key of a command, none when it has none, except after a rebind to the same command (see Setting a binding). GetBindingAction(key) returns the command bound to exactly that key and the empty string, not nil, when none: it has no modifier fallback. RunBinding(command[, "up"]) runs the command by name as a press unless the second argument equals up, and returns nothing.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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