REDIVIVUS

Proposals / #1560

Mac IKsPropertySet_Set: int32_t __cdecl 7-arg (pPropSet, pGuid, dwPropId, pInstance, ...) shim

checked · by KierTaylor · submitted 2026-11-08

This is the Mac EAX property-set shim. The body ignores its args and returns XOR EAX,EAX (S_OK). Its 17 callers store seven args, e.g. SOUND_ApplyEAXEnvironment 0x002e7872: [ESP]=the property set, [ESP+4]=GUID pointer, [ESP+8]=0xb (property id), [ESP+0xc]=0 instance data, [ESP+0x10]=0 instance length, [ESP+0x14]=the value pointer, [ESP+0x18]=4 (data length). This is the flattened form of IKsPropertySet::Set(this, REFGUID, ULONG, LPVOID, ULONG, LPVOID, ULONG).

Changes 1, applied together

  1. Set prototype mac 0x00033a1c

    signatureundefined IKsPropertySet_Set(void)→int32_t IKsPropertySet_Set(void* pPropSet, void* pGuid, uint32_t dwPropId, void* pInstanceData, uint32_t nInstanceLength, void* pPropertyData, uint32_t nDataLength)
    conventionunknown→__cdecl