REDIVIVUS

Proposals / #1498

Mac SERR_WriteLogTextCRLF: void __fastcc (void* hFile ECX, char* szText EDX)

checked · by KierTaylor · submitted 2026-11-08

ECX -> [EBP-0x1c] = the log file handle, passed as [ESP] to WriteFile 0x00021fc6 at 0x00010ea0. EDX -> EDI = the text (strlen 0x0030b420, then copied with LF expanded to CRLF into an alloca buffer of 2*len+0x11). There are no stack args. Plain RET after the stack-guard compare; EAX is only that compare's value. Callers: WriteErrorLog 0x00010ae4 / 0x00010b24.

Changes 1, applied together

  1. Set prototype mac 0x00010e19

    signatureundefined SERR_WriteLogTextCRLF(void)→void SERR_WriteLogTextCRLF(void* hFile, char* szText)
    conventionunknown→__fastcc