A couple of possibilities exist. It depends, I think, on how the tripod socket on the bottom of the camera is attached. Did it get yanked out, stripping threads? Or, is it a press fit and got yanked out. You could take a 1/4" bolt with a nut and thread this into the camera mount. When threaded all the way till it stops, then run the nut up to it and holding the bolt with a pliers, tighten the nut. Then you can gently pull on it to see if there is any play. You could try pushing on it to see if it goes back in.
You might also try backing it out to see if the mount unscrews. If so, maybe you can screw it in.
If you have a way to contact the camera makers tech department, maybe they will tell you this info.
Just be gentle and don't make its worse.
Maybe someone with camera repair will chime in.