benilla-re systems structs docs

0x595be0

function · gx · primitive

Address
0x595be0 · 35 bytes, up to 0x595c02
Meaning
Hands out the cursor image at +0x2890 with a pitch of 0x80 for a texture update
Confidence
verified, proof one
Finding
gx/slots#cursor

Finding: Cursor in gx: the device's virtual slots

The cursor is the 32 by 32 image at +0x2890 with its hot spot at +0x2888, +0x288c. It is a hardware cursor when the format's hardware cursor byte (+5) is set and the device reports colour cursors (+0x300); OpenGL never does. Otherwise the base draws it at each present while it is shown (+0x2880, 1 at construction) and the pointer is inside the draw rectangle: a 32 by 32 textured quad whose top left is the pointer minus the hot spot, which Direct3D moves half a pixel left and up. A hardware cursor gets its image at the present after the hot spot is set: the 32 rows go into its surface and to SetCursorProperties.

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.