REDIVIVUS

Proposals / #1435

Mac STRING_GetStringLength: char* __fastcc (char* szDest ECX, char* szText EDX, uint32_t* pTotalLength)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1309 (approved, then stale because __fastcall is not defined on Mac), now with __fastcc. ECX -> ESI = destination, EDX -> EDI = source, [EBP+8] = pointer to the running length. It returns szDest+strlen+1. Caller 0x002cd1ef. Windows twin 0x0044a170.

Changes 1, applied together

  1. Set prototype mac 0x002cd117

    signatureundefined STRING_GetStringLength(void)→char* STRING_GetStringLength(char* szDest, char* szText, uint32_t* pTotalLength)
    conventionunknown→__fastcc