benilla-re systems structs docs

CBindings::LookupAction

function · ui · primitive

Address
0x4b7da0 · 172 bytes, up to 0x4b7e4b
Signature
const char * __thiscall (CBindings *this, const char *chord)
Meaning
Returns the command bound to exactly the chord in the live set, or 0 for no chord or an empty set
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 2

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