SetCursorClientPos
function · core · host
- Address
0x42ce50· 70 bytes, up to0x42ce95- Signature
void __fastcall (int32_t x, int32_t y)- Meaning
- Moves the cursor to a client point and saves it
- Confidence
- verified, proof one
- Finding
- core/input#mouse-modes
Finding: Mouse modes in core: window input
In relative mode the OS cursor is held at a fixed point, half the window rectangle's right and
bottom in screen coordinates, which is the window's centre only when the window sits at the screen's
origin: every move queues the offset from that point and puts the cursor back. Leaving relative mode
puts the cursor back where it was last seen in client coordinates. 0x420600 writes the current
cursor position, as fractions passed through the interface's scaling 0x41ad80.
The derivation is in the doc.
Callers 2
- ClientPointToFractions core
- SetCursorFromFractions core
Callees 2
- SaveCursorPoint core
- OsGuiGetWindow os
Calls and jumps by a bare address, from tables/calls.tsv.