REDIVIVUS

Proposals / #907

Mac SKILL_HandleTeleportLanding: __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 [EBP+8] into ESI and uses it as a unit: dwUnitType at +0 (compared with 1, and bit-tested against 0x34), its dynamic path at +0x2c, and passes it to the room getter; no ECX/EDX input, plain RET. Windows twin SKILL_HandleTeleportLanding 0x004c8b80 is void (D2UnitStrc * pUnit).

Changes 1, applied together

  1. Set prototype mac 0x00088881

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