For an unguarded corner 3 it is much closer to 50%, and it's even better than that if you have numbers and a good chance at being able to get the offensive long rebound.
That said, the dunk is usually the better idea, unless you are behind double digits.