REDIVIVUS

Proposals / #1431

Mac CHATDLG_GetInputArgument: void __fastcc (char* szOut ECX, int32_t nMaxLen EDX)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1320 (approved, then stale because __fastcall is not defined on Mac), now with __fastcc. ECX -> ESI = output buffer, EDX -> EDI = its size. It copies the text after the first space of the chat input. Both callers (0x002d2a08, 0x002d2b02) pass ECX=LEA local and EDX=0x11 and ignore EAX.

Changes 1, applied together

  1. Set prototype mac 0x002d45de

    signatureundefined CHATDLG_GetInputArgument(void)→void CHATDLG_GetInputArgument(char* szOut, int32_t nMaxLen)
    conventionunknown→__fastcc