Mac IDirectSound_SetCooperativeLevel: int32_t __cdecl (pDirectSound, pWindow, dwLevel) shim
This is the Mac DirectSound shim. The body ignores its args and returns XOR EAX,EAX (S_OK). The caller SOUND_InitDirectSound 0x002e72b6 stores three args, [ESP]=the DirectSound object (EDI), [ESP+4]=the window from 0x002b5b6d and [ESP+8]=2 (DSSCL_PRIORITY), then tests the HRESULT (TEST EAX,EAX / JS). This is the flattened form of IDirectSound::SetCooperativeLevel(this, HWND, DWORD).
Changes 1, applied together
Set prototype
mac 0x000330c0signatureundefined IDirectSound_SetCooperativeLevel(void)→int32_t IDirectSound_SetCooperativeLevel(void* pDirectSound, void* pWindow, uint32_t dwLevel)conventionunknown→__cdecl