REDIVIVUS

Proposals / #1424

Mac SUNITPROXY_FreeInventoryItems: void __fastcc (D2GameStrc* pGame ECX, D2InventoryStrc* pInventory EDX)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1275 with the Mac register convention __fastcc, as the reviewer asked; parameters are unchanged. ECX = pGame, EDX = pInventory (passed to INVENTORY_GetFirstItem). There are no stack reads. Callers ignore EAX. Windows twin 0x00536510.

Changes 1, applied together

  1. Set prototype mac 0x0028c92d

    signatureundefined SUNITPROXY_FreeInventoryItems(void)→void SUNITPROXY_FreeInventoryItems(D2GameStrc* pGame, D2InventoryStrc* pInventory)
    conventionunknown→__fastcc