I am new to pool ownership, and trying to get a handle on getting my newly purchased home/pool up to par. The pool is about 8 years old, and in need much maintenance. The return inlet on the side of the gunnite pool+spa is brittle and cracking, and in need of replacement. I have searched everywhere but unable to find an equivalent product. It appears to be a glued slip fitting around a piece of PVC pipe at the edge of the gunnite, with some sort of bolt/valve deep within. Most fittings I have found online seem to be threaded on the end at the edge of the gunnite. Was this correctly installed, what type of fitting is this, and any advice on how to replace it correctly?

Thank you.
-Nick

Thank you.
-Nick