Mac SOUNDSMP_SetMinDistance: void __cdecl (D2SoundSmpStrc* pSound, uint32_t dwMinDistance)
The Mac body reads [EBP+8] (pSound, halting on line 0x33a if NULL) and [EBP+0xc] (the value stored to pSound+0x3c), then a plain RET with no return. The caller is SOUND_PlaySoundWithPanning 0x00093d4b. Matches the Windows twin 0x00515a60 (pSound ECX, value EDX; void). The Windows second arg has the default name dwParam, so this one is named for its role.
Changes 1, applied together
Set prototype
mac 0x002e9579signatureundefined SOUNDSMP_SetMinDistance(void)→void SOUNDSMP_SetMinDistance(D2SoundSmpStrc* pSound, uint32_t dwMinDistance)conventionunknown→__cdecl