Exported CalcHookSize from Core unit