Mac SOUND_LocalizeSoundPath: __fastcc void (char * szOutPath, char * szSoundPath)
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
Set prototype
mac 0x0005d961signatureundefined SOUND_LocalizeSoundPath(void)→void SOUND_LocalizeSoundPath(char * szOutPath, char * szSoundPath)conventionunknown→__fastcc