Mac PARTY_DisbandParty: void __cdecl (D2GameStrc* pGame, int16_t nPartyId)
The Mac body reads [EBP+8] (pGame; its party control is walked) and the word at [EBP+0xc] (MOVZX EBX, word ptr [EBP+0xc], compared with each sub's word at +0 to find the party). It ends in a plain RET with no return. The only caller (PARTY_RemoveUnitFromParty 0x00276d9b) stores [ESP]=ESI (pGame) and [ESP+4]=EDI (party id) and ignores EAX. Matches the Windows twin 0x00540220 (pGame, int16_t nPartyId, void).
Changes 1, applied together
Set prototype
mac 0x00276929signatureundefined PARTY_DisbandParty(void)→void PARTY_DisbandParty(D2GameStrc* pGame, int16_t nPartyId)conventionunknown→__cdecl