REDIVIVUS

Proposals / #1540

Mac OutputDebugString: void __cdecl (char* szText) Win32 shim

checked · by KierTaylor · submitted 2026-11-08

This is the Mac Win32-shim OutputDebugString(A): an empty body (PUSH EBP/MOV/POP/RET) with no reads. Its 12 callers pass one string arg, e.g. SErrDisplayError 0x00010210 stores [ESP]=LEA of a local text buffer and then overwrites ECX/EAX without reading the result. This matches Win32 void OutputDebugStringA(LPCSTR).

Changes 1, applied together

  1. Set prototype mac 0x0002d178

    signatureundefined OutputDebugString(void)→void OutputDebugString(char* szText)
    conventionunknown→__cdecl