REDIVIVUS

Proposals / #1443

Mac DAMAGE_RemoveObjectAtSameCoords: void __fastcc (D2UnitStrc* pUnit ECX, int32_t nClassId EDX)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1258 (approved, then stale because __fastcall is not defined on Mac), now with __fastcc. ECX -> EDI = pUnit, EDX = object class id. There are no stack reads and it ends in a plain RET. Caller SERVER_KillMonster 0x0027eaf6 (EDX=0x23b). Windows twin 0x0057cc30.

Changes 1, applied together

  1. Set prototype mac 0x0027eb03

    signatureundefined DAMAGE_RemoveObjectAtSameCoords(void)→void DAMAGE_RemoveObjectAtSameCoords(D2UnitStrc* pUnit, int32_t nClassId)
    conventionunknown→__fastcc