REDIVIVUS

Proposals / #936

Mac SOUND_LocalizeSoundPath: __fastcc void (char * szOutPath, char * szSoundPath)

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

Mac body: ECX (ESI) is the sprintf destination (formatted with the language folder and the EDX string) and is then handed in ECX to the file-exists check; if that fails it is re-formatted with the fallback folder. EDX (EBX) is only used as the %s source path. No stack arguments, plain RET. Windows twin SOUND_LocalizeSoundPath 0x00482e30 is void (char * szFormat, char * pszOutPath, char * pTmp); the Mac build passes only the output buffer and the relative sound path.

Changes 1, applied together

  1. Set prototype mac 0x0005d961

    signatureundefined SOUND_LocalizeSoundPath(void)→void SOUND_LocalizeSoundPath(char * szOutPath, char * szSoundPath)
    conventionunknown→__fastcc