0x10a set-cursor-virtual
Opcode 0x10a (266), input. Investigated by OME, with high confidence (from investigation).
(x)(y) - convert AGE virtual-screen coordinates to client/screen coordinates and move the OS cursor.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | virtual x | g-int, l-int | read |
| 2 | virtual y | l-int | read |
In the port
OME’s port implements it. It never waits: a wait parks the engine until input, a sleep, a transition, a dialog or a movie ends. What it can do with control besides waiting:
falls: it returns to the next instruction
OME derives these facts from the port’s handler (its tools/opcode_flow.py), and they over-approximate: a fact some path can reach is given.
By build
Whether each build’s scripts use it, as OME’s survey of the game’s scripts saw them, and how many evidence items name the build.
| Build | Game | Used by its scripts | Evidence |
|---|---|---|---|
4.24J (SYS4422) | Himegari Dungeon Meister | yes | 1 |
4.33G (SYS4433) | Kamidori Alchemy Meister | yes | — |
4.38D (SYS4438) | Soukoku no Arterial | yes | — |
Evidence
- native-re on SYS4422, high confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (
vm-map/opcodes.toml opcode 0x10a): Ghidra /v2: op_0x10a_set_cursor_virtual@0x421590 maps virtual coordinates through the active VirtualFullScreen geometry and calls USER32 SetCursorPos. BUNKI@0x2b6 and SBUNKI@0x289 test G[0x3238], compute the default choice point, and call 0x10a when menu cursor auto-move is enabled; their disabled branches retain the physical position through 0x109. SC0000 also alternates the cursor by one vertical pixel after state-changing ADV button clicks. Windows answers SetCursorPos with a WM_MOUSEMOVE at the new point, and that message is what re-tests the hotspot hit (after op 0x7c cleared it on the hide-window path); engine_main_tick_with_exception_policy pumps messages every third iteration, before the callback's ret re-runs the wait (native-driven 2026-11-05, with the driver posting that WM_MOUSEMOVE). The port's op 0x10a moves its pointer through the same move path.