Thank you all for the responses. It seems that the passenger side a pillar is slightly tweaked, judging from the door fitment but only by a couple mm. So it could probably be bent back into shape without fatiguing the metal.
As for details of the crash I was driving in the rain going about 45 locked the brakes up trying to make a turn and slid off the road. I managed to decelerate most of the way before I went off but since there was a hill the tires caught in the mud and gravity pretty much flipped it. Luckily most of the weight landed on the roof instead of the hood and the inner fenders are undamaged as far as I can tell the splitter I had on the front seems to have taken most of the damage to the undercarriage as well. Mechanically it's pretty good apart from the combustion chambers filling with oil.