REDIVIVUS

Proposals / #1467

Mac SStrHashHT: int __cdecl (char* szText)

checked · by KierTaylor · submitted 2026-11-08

There is one cdecl stack arg, [EBP+8] (the string; the first byte is tested at 0x0001cfdb and each char is case-folded into a 0x400 local buffer). There are no register args. It runs Jenkins lookup2 mixing (golden ratio 0x9e3779b9) and the final mix leaves the hash in EAX (0x0001d29e) under a stack-guard check. Same as Windows twin 0x00414150 int SStrHashHT(byte* pszText); it is named szText because the checker refuses psz.

Changes 1, applied together

  1. Set prototype mac 0x0001cfaf

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