REDIVIVUS

Proposals / #895

Mac CLIENT_BossDeath_BloodRaven: __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 EDI), storing it as both owner and source unit in zeroed 0x5c-byte missile argument blocks (missiles 0x11c, 0x128, ...) before each create call; plain RET. Windows twin CLIENT_BossDeath_BloodRaven 0x0046b680 is void (D2UnitStrc * pUnit).

Changes 1, applied together

  1. Set prototype mac 0x0007f236

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