guestimate on parts to be replaced....
you could do this yourself
mag, duhhh
maybee an extractor, or ejector, could have messed up the charging handle, or the bolt body itself, you may need a gas tube, or gas rings, you will need to closely examine the bolt/carrier group, all parts, look for cracks in the cam pin area of the bolt and carrier, and replace the cam pin if it looks hammered, the firing pin may also have went south
if all looks well check and clean the bore, the chamber, and the barrel extension teeth for damage, use carb cleaner or some other aggressive type of solvent to remove all fouling, ect, you need to have it perfectly clean so you can see any deformaties
reassemble, and go through the first and second pages on this forum for troubleshooting, and function checks...
let us know how it goes... too bad you are not near me, i could fix it