Mac FindPartyControlSub: D2UnitPartyControlSub* __fastcc (D2GameStrc* pGame ECX, int16_t nPartyId DX)
Resubmit of #1254 (approved, then stale because __fastcall is not defined on Mac), now with __fastcc. ECX = pGame (+0x1d2c party control), DX = party id compared with each sub's +0 word. It returns the sub in EAX with a plain RET. Caller PARTY_AddUnitToParty 0x00276a95 uses EAX. Windows twin 0x00540290.
Changes 1, applied together
Set prototype
mac 0x00276c1esignatureundefined FindPartyControlSub(void)→D2UnitPartyControlSub* FindPartyControlSub(D2GameStrc* pGame, int16_t nPartyId)conventionunknown→__fastcc