Mac GFX_AsyncLoadUnitSprites: __fastcc (D2UnitStrc * pUnit, int nAnimMode, int32_t nAsyncBlockId)
Mac body: ECX (EBX) is the unit (flag byte +0xc8 bit 8, +0x60 class id, passed first to the state-transform and COF lookups); EDX (EDI) is passed alongside it as the animation mode to those lookups (0x00069005, 0x00069029, 0x0006903d); [EBP+8] is the async block handed to the async loader (0x000692b8..0x000692c6, 0x00069347); returns the gfx-info pointer. Windows twin GFX_AsyncLoadUnitSprites 0x0046fb60 is D2GfxInfoUnkStrc * (int32_t nAsyncBlockId, D2UnitStrc * pUnit, int nAnimMode); Mac order is unit, mode, block.
Changes 1, applied together
Set prototype
mac 0x00068fa1signatureundefined GFX_AsyncLoadUnitSprites(void)→D2GfxInfoUnkStrc * GFX_AsyncLoadUnitSprites(D2UnitStrc * pUnit, int nAnimMode, int32_t nAsyncBlockId)conventionunknown→__fastcc