Mac SKILLNEC_CorpseTarget_ValidateAndScheduleEvent: uint32_t __cdecl (pUnit, void* pSkillData)
Callback passed by address from Skills_SrvDoFunc_059_CastCorpseSkill (LEA at 0x002635c8). The Mac body reads [EBP+8] (pUnit, the 3rd arg to the validator and the 1st to the event scheduler) and [EBP+0xc] (the skill-data block: +0 pGame, +4, +0x10 flag, +0x14, +0x18 frame offset added to pGame+0xa8). It ends in a plain RET. It deliberately returns 0 (XOR EAX,EAX when validation fails) or 1 (MOV EAX,1 after scheduling). The Windows twin 0x005c3b30 does the same (ECX pUnit, EDX pSkillData, explicit EAX 0/1). Arg names and order follow Windows.
Changes 1, applied together
Set prototype
mac 0x00263650signatureundefined SKILLNEC_CorpseTarget_ValidateAndScheduleEvent(void)→uint32_t SKILLNEC_CorpseTarget_ValidateAndScheduleEvent(D2UnitStrc* pUnit, void* pSkillData)conventionunknown→__cdecl