benilla-re systems structs docs

LoadBindingFiles

function · ui · orchestration

Address
0x4b62b0 · 89 bytes, up to 0x4b6308
Meaning
Loads the default binding file into set 0 and registers the reader 0x4b6240 for the two cache kinds
Confidence
verified, proof one
Finding
ui/keybindings#binding-files

Finding: Binding files in ui: key bindings

Bindings are read from three files. Set 0 is read from WTF\DefaultBindings.wtf; set 1 from bindings-cache.wtf under the account folder and set 2 from bindings-cache.wtf under the character folder, the account-data kinds 2 and 3. Each file is text with one line per key, bind <key> <command>, ended by a carriage return and line feed. Loading empties the set, then takes each line whose first five characters are bind (any case), reads the key up to the next space (31 characters at most) and the rest of the line as the command, and stores them through the same routine as SetBinding, so a key the validator refuses is dropped. A line is cut to 127 characters.

The derivation is in the doc.

Callers 1

Callees 4

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