REDIVIVUS

Proposals / #1434

Mac COMCALLBACK_AddUserToChannelList: void __fastcc (pChannelUser, szUsername, pRawData, nStatusFlags)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1315 (approved, then stale because __fastcall is not defined on Mac), now with __fastcc. ECX -> ESI = pChannelUser, EDX -> EDI = username, [EBP+8] = raw stat data, [EBP+0xc] = status flags. Caller 0x002d75c8. Windows twin 0x00447fd0.

Changes 1, applied together

  1. Set prototype mac 0x002d5e02

    signatureundefined COMCALLBACK_AddUserToChannelList(void)→void COMCALLBACK_AddUserToChannelList(D2ChannelUserStrc* pChannelUser, char* szUsername, byte* pRawData, uint32_t nStatusFlags)
    conventionunknown→__fastcc