benilla-re systems structs docs

ParseBindingSet

function · ui · primitive

Address
0x4b6140 · 246 bytes, up to 0x4b6235
Meaning
Empties a binding set and fills it from binding file text
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 2

Callees 4

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