Script::TurnOrActionStart
function · input · orchestration
- Address
0x514120· 54 bytes, up to0x514155- Signature
int __fastcall (lua_State *L)- Meaning
- Arms click mode 2 and presses command bit 0x1, when 0x494a50(0) allows
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 4
- CheckActivePlayer ui
- GetInputControl input
- CInputControl::ArmClick input
- CInputControl::SetCommands input
Calls and jumps by a bare address, from tables/calls.tsv.