Mac Skills_SrvStFunc_20_IsGroundItemForIronGolem: BOOL __cdecl SrvStFunc (pGame, pUnit, eSkill, nSkillLvl)
This is a SrvStFunc table entry (DATA ref from 0x003c79a0, like the other SrvStFn slots), so it is called through the cdecl SrvStFunc type with 4 args. The body reads [EBP+8] pGame and [EBP+0xc] pUnit to get the target, checks that the target is an item (type 4) on the ground (mode 3), and returns 0/1 in EAX through ESI. Matches the Windows twin 0x005c32a0 (BOOL, pGame, pUnit, eSkill, nSkillLvl).
Changes 1, applied together
Set prototype
mac 0x00262998signatureundefined Skills_SrvStFunc_20_IsGroundItemForIronGolem(void)→BOOL Skills_SrvStFunc_20_IsGroundItemForIronGolem(D2GameStrc* pGame, D2UnitStrc* pUnit, eD2Skills eSkill, int32_t nSkillLvl)conventionunknown→__cdecl