Unless I'm somehow wrong, there is no way he had a double hip replacement. There are many things you can have done in surgeries on the 'hips', which is a hugely broad term. He could have had surgery on any structure, cartilage, tendon, bone, labrum, etc. He is young, the only way his hips are bilaterally in a state of total degeneration is if it was a congenital condition that somehow was not caught, and he lived with and is now seriously affecting him.
If he expects to play, it is a functional surgery.
If he expects to play, it is a functional surgery.