I can tell you this without pictures. The 3" PVC is most likely vent for lower floors. You CANNOT just connect the attic bathroom drainage into this. You are either going to need to revent everything below or drop a stack down for the attic bathroom. You cannot "wet vent" from floor to floor. Every fixture is going to need to be vented and trapped (correctly).
I will post back again after the pictures are here.