REDIVIVUS

Proposals / #1608

Mac MACCURSOR_SetCursorPos: bool __cdecl (int32_t nX, int32_t nY)

checked · by KierTaylor · submitted 2026-11-08

There are two cdecl stack args. [EBP+8] and [EBP+0xc] are forwarded unchanged to the installed set-cursor hook, loaded from global 0x003f4954 and called (CALL EAX at 0x00036a24). It returns the hook's bool, or false if no hook is set (MOVZX EAX,AL). It is the display-driver counterpart of MACCURSOR_GetCursorPos and is reached from SetCursorPos(int x, int y).

Changes 1, applied together

  1. Set prototype mac 0x00036a01

    signatureundefined MACCURSOR_SetCursorPos(void)→bool MACCURSOR_SetCursorPos(int32_t nX, int32_t nY)
    conventionunknown→__cdecl