Could Insulin Resistance Cause Low T?

what if i eat 1800 calories in one sitting before bed (healthy) containing 75 sugar 200 carbs 50 fats and rest protein. could this be a potential reason to lower test and hormones?