REDIVIVUS

Proposals / #1251

Mac Skills_SrvDoFunc_029_ThunderStorm: BOOL __cdecl SrvDoFunc (pGame, pUnit, eSkill, nSkillLvl)

checked · by KierTaylor · submitted 2026-11-06

This is a SrvDoFunc table entry (DATA ref from 0x003c7b30). The Mac body reads [EBP+8] pGame, [EBP+0xc] pUnit, [EBP+0x10] eSkill and [EBP+0x14] nSkillLvl (e.g. at 0x00271541..0x00271556 all four are forwarded together) and ends in a plain RET with a BOOL in EAX. This is the same prototype as the other applied Mac SrvDoFunc entries (#1188) and the Windows twin 0x005ca4d0.

Changes 1, applied together

  1. Set prototype mac 0x00271298

    signatureundefined Skills_SrvDoFunc_029_ThunderStorm(void)→BOOL Skills_SrvDoFunc_029_ThunderStorm(D2GameStrc* pGame, D2UnitStrc* pUnit, eD2Skills eSkill, int32_t nSkillLvl)
    conventionunknown→__cdecl