Mac SetCapture: void* __cdecl (void* pWindow) Win32 shim
This is the Mac Win32-shim SetCapture. [EBP+8] = the new capture window, stored to the thread state +0x91c. The old one (ESI) gets WM_CAPTURECHANGED 0x215 via SendMessage 0x000295f5 (lParam = the new window) if it differs. It returns the previous capture window (MOV EAX,ESI at 0x00030c4e). This matches Win32 HWND SetCapture(HWND); it is typed void* because HWND is not in the Mac DB.
Changes 1, applied together
Set prototype
mac 0x00030c00signatureundefined SetCapture(void)→void* SetCapture(void* pWindow)conventionunknown→__cdecl