REDIVIVUS

Proposals / #914

Mac GFX_HashTextureName: __fastcc uint32_t (char * szName) (from Windows twin)

applied · by KierTaylor · submitted 2026-11-02, applied 2026-11-02

Ghidra vmac 111 · 3c6740e

Mac body: ECX (ESI) goes to strlen (asserted < 8, line 0x79) and then to the string-hash call; the result is folded (x ^ x>>8 ^ x>>16, masked 0x1ff, ^ x>>24) and returned in EAX; no stack arguments, plain RET. The convention is already __fastcc but the signature is still (void). Windows twin GFX_HashTextureName 0x0046db90 is uint32_t (char * pArchive); szName is used because the argument is a string.

Changes 1, applied together

  1. Set prototype mac 0x000695f4

    signatureundefined GFX_HashTextureName(void)→uint32_t GFX_HashTextureName(char * szName)
    convention__fastcc