Mac MACCURSOR_GetCursorPos: bool __cdecl (int32_t* pX, int32_t* pY)
There are two cdecl stack args. [EBP+8] and [EBP+0xc] are forwarded unchanged to the installed cursor-proc hook (CALL EAX at 0x000369b4). It returns the hook's bool, or false if no hook is set (MOVZX EAX,AL). It is called through the display-driver table slot +0x4c: GetCursorPos 0x00024c08 stores [ESP]=&pt.x, [ESP+4]=&pt.y and uses AL (MOVZX EAX,AL).
Changes 1, applied together
Set prototype
mac 0x00036991signatureundefined MACCURSOR_GetCursorPos(void)→bool MACCURSOR_GetCursorPos(int32_t* pX, int32_t* pY)conventionunknown→__cdecl