Mac ITEMMODE_GetSocketCount: uint32_t __fastcc (D2UnitStrc* pUnit, D2UnitStrc* pUnit2) prototype
Mac 0x001c0c03 is "undefined (void)", convention unknown. Entry: ESI=ECX and EBX=EDX, both passed as item arguments (with index EDI 0..2) to the item affix getters 0x0016fa3d / 0x0016fac7 / 0x0016fa86 and compared pairwise; no [EBP+n] reads; returns 0/1 from [EBP-0x14] in EAX. Caller ITEMMODE_ValidateSocketedItems loads ECX=EDI and EDX=[EBP+0x10] with no stack args, then TEST EAX,EAX (0x001c0bb4-0x001c0bbe). Same two values as Windows twin 0x0055f5d0 uint32_t (D2UnitStrc* pUnit, D2UnitStrc* pUnit2).
Changes 1, applied together
Set prototype
mac 0x001c0c03signatureundefined ITEMMODE_GetSocketCount(void)→uint32_t ITEMMODE_GetSocketCount(D2UnitStrc * pUnit, D2UnitStrc * pUnit2)conventionunknown→__fastcc