So I'm in the middle of a bathroom remodel and I was having problem removing some damaged flooring around the toilet flange and ended up taking a reciprocating saw to the lip of the flange to make it easier. I thought i would just replace the whole thing so it wouldn't be a big deal. Turns out under the flooring is a series of elbows butted together so there is nowhere I can cut and replace an elbow. Is there anyway to salvage this toilet flange so I don't have to remove and redo everything pictured (the other side of the Y leads to another toilet in an adjacent bathroom)? It's a 3in drain pipe. I'm wondering if it would be possible to set a 4in flange right on top (after cleaning up the rim) or if there is some other product that will do essentially the same thing.
-edit- having problems uploading pictures from my phone. The top of the flange is basically gone. It is plastic.
-edit2- added pics finally