Regularization of the Roy equations with a smooth cutoff