So the answer to your question is tricky and not entirely clear to me. Here's the exact wording from the IRC, operative for a single family residence in VA:
P3104.3 Vent Connection to Drainage System
A dry vent connecting to a horizontal drain shall connect above the centerline of the horizontal drain pipe.
P3104.4 Vertical Rise of Vent
A dry vent shall rise vertically to not less than 6 inches (152 mm) above the flood level rim of the highest trap or trapped fixture being vented.
UpCodes offers a consolidated resource of construction and building code grouped by jurisdiction
up.codes
Definition: [MP] VERTICAL PIPE. Any pipe or fitting that makes an angle of 45 degrees (0.79 rad) or more with the horizontal.
UpCodes offers a consolidated resource of construction and building code grouped by jurisdiction
up.codes
So P3104.3 says that if you start with your vent takeoff fitting (wye, combo or san-tee) on the horizontal, you have to roll it up so that the branch connection is "above centerline". I think that would typically be interpreted to mean looking down the barrel, the hole for the branch is entirely above centerline. I.e. you could fill the pipe up to centerline with water, and none of it would enter the vent. My understanding is that rolling any of those fittings up 45 degrees above horizontal would comply with that.
However, P3104.4 says that the vent shall rise vertically. That suggests that the first segment of pipe going into the vent takeoff fitting should be vertical, i.e. at least 45 degrees above level. That will be true for a san-tee or combo rolled 45 degrees, but not true for a wye rolled 45 degrees. The branch on such a wye is only 30 degrees above level, and it would take a 60 degree bend to turn to plumb.
Nonetheless, I understand using a wye rolled 45 degrees, a short pipe segment to get under a wall, and a 60 is commonly accepted as a vent takeoff. Given that you might think that using a combo rolled 30 degrees above horizontal and a 60 would be just as good, and hence OK. I'm not sure if it would comply with P3104.3; if it did, I wouldn't disagree but some inspectors might, expecting the vent takeoff to be rolled at least 45 degrees.
The upshot of the above is that it's not clear if 30 degrees above level is OK for the immediate vent takeoff or not. You might be better off using a wye rolled 45 degrees plus a 45 (rolled to stay 30 degrees above level, which will almost but not quite point you directly at the wall parallel to the drain; pointing directly at the wall would end up making a combo and your vent would be a full 45 degrees above level).
It might be best to sidestep the whole issue by jogging the WC drain closer to the wall for the vent takeoff, by rotating the closet bend 22.5 or 45 degrees and using a 22.5 or 45 degree elbow. Which depending on the joist locations and direction (if not on a slab), might be easy or hard to do. Then you could do your vent takeoff with a combo rolled 45 degrees (or a san-tee on its back if the combo doesn't fit).
Cheers, Wayne