SetCursorShown
function · gx · orchestration
- Address
0x58b590· 18 bytes, up to0x58b5a1- Signature
void __fastcall (uint32_t shown)- Meaning
- Calls the device's slot +0xec with whether the cursor is shown
- Confidence
- verified, proof one
- Finding
- gx/facade#cursor-shown-flag
Finding: Cursor shown flag in gx: facade calls
0x58b590(shown) calls slot +0xec (ShowCursor, slots.md) with its argument. The base slot
0x595c20 stores the argument at +0x2880, so the last call decides and nothing counts hides;
the constructor stores 1. Direct3D's slot 0x59a7b0 stores it the same way and also passes it to
IDirect3DDevice9::ShowCursor when the hardware cursor is in use (+0x2884), the device is
ready (+0xf2c) and the pointer lies inside the client rectangle. Three callers hide the cursor:
the glue's HideCursor (0x46db70), BeginCinematicUI (0x48ed70) and CameraEnterFreelook
(0x50fe30). Five show it: the glue's ShowCursor (0x46db60), EndCinematic (0x48f080),
LeaveWorldUI (0x490a80), CameraLeaveFreelook (0x50fdd0) and CSimpleTop::SetCursor
(0x764d50), each time it is given a cursor texture.
The derivation is in the doc.
Callers 8
- Script::ShowCursor glue
- Script::HideCursor glue
- BeginCinematicUI ui
- EndCinematic ui
- LeaveWorldUI ui
- CameraLeaveFreelook uicamera
- CameraEnterFreelook uicamera
- CSimpleTop::SetCursor ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.