REDIVIVUS

Proposals / #1552

Mac ReleaseCapture: BOOL __cdecl (void) Win32 shim

checked · by KierTaylor · submitted 2026-11-08

This is the Mac Win32-shim ReleaseCapture. It reads no args. If there is thread state, it clears its +0x91c capture window and sends WM_CAPTURECHANGED 0x215 to the old one (SendMessage 0x000295f5). It returns ESI: 1 when thread state exists, else 0 (MOV EAX,ESI at 0x00030caa). This matches Win32 BOOL ReleaseCapture(void).

Changes 1, applied together

  1. Set prototype mac 0x00030c56

    signatureundefined ReleaseCapture(void)→BOOL ReleaseCapture(void)
    conventionunknown→__cdecl