REDIVIVUS

Proposals / #896

Mac CLIENT_BossDeath_Mephisto: __cdecl void (D2UnitStrc * pUnit) (from Windows twin)

applied · by KierTaylor · submitted 2026-11-02, applied 2026-11-02

Ghidra vmac 111 · 3c6740e

Mac body reads only [EBP+8] (into EBX), storing it as both owner and source unit in a zeroed 0x5c-byte missile argument block (missile 0x12b) before the create call, then sets the missile's frame count (0x4b); plain RET. Windows twin CLIENT_BossDeath_Mephisto 0x0046b9a0 is void (D2UnitStrc * pUnit).

Changes 1, applied together

  1. Set prototype mac 0x0007f5de

    signatureundefined CLIENT_BossDeath_Mephisto(void)→void CLIENT_BossDeath_Mephisto(D2UnitStrc * pUnit)
    conventionunknown→__cdecl