You'll have to post pictures (or email them to poolforum@gmail.com). Most return inlets that I've seen consist of a pipe stubbed through the gunite, with a female fitting on the end. Then, the return eyeball fitting is screwed into the pipe, after the pool is complete. Any flange would be under the fitting, and retained by it. If you have a different arrangement, appropriate repairs may be different.