CGxDevice::GetCursorPixels
function · gx · orchestration
- Address
0x595c30· 7 bytes, up to0x595c36- Signature
uint32_t * __thiscall (CGxDevice *this)- Meaning
- Returns the 32 by 32 cursor image
- Confidence
- verified, proof one
- Finding
- gx/slots#shader-and-cursor-slots
Finding: Shader and cursor slots in gx: the device's virtual slots
Shaders come from .bls files (Shader files); the cursor is a 32 by 32 image at +0x2890.
| slot | name | base | OpenGl | Direct3D | does |
|---|---|---|---|---|---|
+0xdc | LoadShaders | 0x595240 | 0x59eb30 | 0x5a0370 | finds or makes the shaders of a target and file, then builds their programs |
+0xe0 | ReleaseShader | 0x595520 | 0x59ebb0 | 0x5a03d0 | drops a reference; the last frees the program and the shader |
+0xe4 | SetShaderConstants | pure | 0x59ec00 | 0x5a0630 | sends constant registers of the vertex (0) or pixel (1) program |
+0xe8 | ReloadShader | pure | 0x59f070 | 0x5a0680 | rereads one shader from a named file and rebuilds its program |
+0xec | ShowCursor | 0x595c20 | base | 0x59a7b0 | stores whether the cursor is shown at +0x2880 |
+0xf0 | GetCursorPixels | 0x595c30 | base | base | returns the cursor's pixels, 32-bit ARGB rows of 0x80 bytes |
+0xf4 | SetCursorHotspot | 0x595c40 | base | 0x59a840 | stores the hot spot and marks the cursor image changed |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.