benilla-re systems structs docs

UnregisterInputScriptFunctions

function · input · orchestration

Address
0x514370 · 27 bytes, up to 0x51438a
Signature
void __cdecl (void)
Meaning
Removes the 26 Lua functions of 0x8500b8
Confidence
verified, proof one
Finding
input#mouse-commands

Finding: Mouse commands in input

The binding table 0x8500b8 pairs each command's name with its handler. TurnOrActionStart (0x514120) arms click mode 2 and presses command bit 0x1; CameraOrSelectOrMoveStart (0x514190) arms click mode 1 and presses bit 0x2. Each does both only when 0x494a50(0), a check not read here, returns nonzero. Arming (0x514810) stores a nonzero mode only when no primary command, 0x1 or 0x2, is held, and then picks the world object under the cursor with 0x481f00; mode 0 is always stored. 0x515090 sends a press to 0x514840 and a release to 0x514b70. The 26 names are Lua functions: 0x514340 registers each pair of the table and 0x514370 removes them, from the game UI's own registration and removal (0x490250, 0x490ce0).

The derivation is in the doc.

Callers 1

Callees 1

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