REDIVIVUS

Proposals / #894

Mac CLIENT_BossDeath_Andariel: __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], storing it as both owner and source unit in a zeroed 0x5c-byte missile/skill argument block (missile 0x133) before the create call; plain RET. Windows twin CLIENT_BossDeath_Andariel 0x0046ba50 is void (D2UnitStrc * pUnit).

Changes 1, applied together

  1. Set prototype mac 0x0007f69f

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