REDIVIVUS

Proposals / #1290

Mac SSTR_StringLength: int __cdecl (char* szText)

checked · by KierTaylor · submitted 2026-11-06

The Mac body reads only [EBP+8] (szText), counts bytes until NUL into EAX and returns it with a plain RET. The caller ANIMDATA_GetRecordByNameHash 0x00139f04 compares EAX with 9 right after the call. Matches the Windows twin 0x006c9a38 (int; char* szText).

Changes 1, applied together

  1. Set prototype mac 0x002b7202

    signatureundefined SSTR_StringLength(void)→int SSTR_StringLength(char* szText)
    conventionunknown→__cdecl