My wc actually empties straight down, into a soil stack, hence i’m not sure how to best plug into it wirhout moving or raising my wc. As to the pipe going up to the vent, no idea what it is, but right behind the wall where it starts is my bathtub drain, could it be the vent for it?