Type Mac SOUND_LocalizeSoundPath as void __fastcc (char*, char*)
Register function: ECX -> ESI is the output path buffer (first arg of both sprintf calls at 0x0005d9af/0x0005d9f3, then checked with 0x0005da71), EDX -> EBX is the file name (last %s arg). No stack args, plain RET; both callers in ExitGamePlayCutScene pass two stack buffers in ECX/EDX and ignore EAX (0x0005d853 calls on). Windows twin 0x00482e30 is void with confusing names (szFormat, pszOutPath, pTmp), so these are named by role.
Changes 1, applied together
Set prototype
mac 0x0005d961signatureundefined SOUND_LocalizeSoundPath(void)→void SOUND_LocalizeSoundPath(char* szOutPath, char* szFileName)conventionunknown→__fastcc