REDIVIVUS

Proposals / #1491

Mac SMsgGetDefaultWindow: void* __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

There are no register or stack argument reads. The body is MOV EAX,[global default window] / RET (0x00018f49), the same global SMSG_DeleteWindow clears. The caller SErrDisplayError 0x000105f1 keeps EAX (MOV ESI,EAX; TEST ESI,ESI) as the owner window. It is typed void* because HWND is not in the Mac DB.

Changes 1, applied together

  1. Set prototype mac 0x00018f40

    signatureundefined SMsgGetDefaultWindow(void)→void* SMsgGetDefaultWindow(void)
    conventionunknown→__cdecl