CInputControl::ArmClick
function · input · orchestration
- Address
0x514810· 38 bytes, up to0x514835- Signature
void __thiscall (CInputControl *this, uint32_t mode)- Meaning
- Stores a click mode, a nonzero one only while no primary is held, and picks the object under the cursor for it
- 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 4
- Script::TurnOrActionStart input
- Script::CameraOrSelectOrMoveStart input
- Script::MouselookStart input
- Script::MouselookStop input
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.