A general rule of thumb is that a movie studio spends at least as much on prints and advertising ("P&A") as it does on production costs for the movie itself. That is to say, if the movie cost $35M to make, Sony sunk another $35M or more into P&A. So it would need to earn more than $70M to break even (more than that, because everyone's taking points off the top-line gross, plus profit-sharing with theaters and distributors, etc.). Is it possible that Sony could earn that much on this sort of movie, given its notoriety? Maybe, maybe not. Notoriety alone can rarely get you to $70M. (It's possible, but unlikely.) To stand a better chance, your movie also needs to be halfway decent.
Once again, I have no idea if this movie is good or bad. Just saying this for the sake of explanation.