public unsafe static long $Invoke4(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(ArmoryUtils.GetShardsRequiredForNextUpgrade((CurrentPlayer)GCHandledObjects.GCHandleToObject(*args), (EquipmentUpgradeCatalog)GCHandledObjects.GCHandleToObject(args[1]), (EquipmentVO)GCHandledObjects.GCHandleToObject(args[2])))); }