public FastcallCalculatorDoubleHookTest()
 {
     _calculator       = new FastcallCalculator();
     _addFunction      = Wrapper.Create <FastcallCalculator.AddFunction>((long)_calculator.Add);
     _subtractFunction = Wrapper.Create <FastcallCalculator.SubtractFunction>((long)_calculator.Subtract);
     _divideFunction   = Wrapper.Create <FastcallCalculator.DivideFunction>((long)_calculator.Divide);
     _multiplyFunction = Wrapper.Create <FastcallCalculator.MultiplyFunction>((long)_calculator.Multiply);
 }
 public FastcallCalculatorHookTest()
 {
     _calculator       = new FastcallCalculator();
     _addFunction      = ReloadedHooks.Instance.CreateWrapper <FastcallCalculator.AddFunction>((long)_calculator.Add, out var addFunction);
     _subtractFunction = ReloadedHooks.Instance.CreateWrapper <FastcallCalculator.SubtractFunction>((long)_calculator.Subtract, out _);
     _divideFunction   = ReloadedHooks.Instance.CreateWrapper <FastcallCalculator.DivideFunction>((long)_calculator.Divide, out _);
     _multiplyFunction = ReloadedHooks.Instance.CreateWrapper <FastcallCalculator.MultiplyFunction>((long)_calculator.Multiply, out var mulFunction);
 }