benilla-re systems structs docs

Script::GetCurrentBindingSet

function · ui · orchestration

Address
0x4b8200 · 28 bytes, up to 0x4b821b
Signature
int __fastcall (lua_State *L)
Meaning
Returns the current binding set number
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/keybindings#binding-sets

Finding: Binding sets in ui: key bindings

GetCurrentBindingSet returns the number at +0xd0 of the manager. The live set is 3. LoadBindings(set) for a set below 3, negative ones included, copies that set into the live set; SaveBindings(set) for set 1 or 2 stores the number at +0xd0 and copies the live set into it, and into set 2 as well when the set is 1; any other argument raises its usage text. A copy marks its target in the bit mask at +0xd4 and, for the live set, signals UPDATE_BINDINGS (386).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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