Mac SKILL_HandleTeleportLanding: __cdecl void (D2UnitStrc * pUnit) (from Windows twin)
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
Set prototype
mac 0x00088881signatureundefined SKILL_HandleTeleportLanding(void)→void SKILL_HandleTeleportLanding(D2UnitStrc * pUnit)conventionunknown→__cdecl