The 2010 had a stuck injector under full boost while spraying meth... afterwards the car had a nasty bottom end knock...
But in short the car was going to need the following this year..
PTU: It was starting to leak..most likely needed to be replaced.
Motor: See first comment.. was going to need a rebuild or replacement
Turbos: both were leaking substantially, and needed replacement
Torque Converter: It was burned relatively badly, it would no longer lock under WOT in third gear and beyond.
VCT Sensor: It was flaky and needed to be serviced or there was an electric gremlin somewhere.
I could handle the replacing the torque converter, Turbos, and PTU.. that wasn't a big deal.. but when the motor crapped the bed, and the dealer still offered $12K for it, I couldn't turn that down. The dealer never asked about running condition, nor did they even test drive it. They bought it as is, but with the stipulation I left all the performance parts on it...
In any event, it was ultimately cheaper for me to get into the newer 2016 w/ 7K miles with CPO Warranty at the price they were offering for it at $27K plus my trade in, than it was to replace all the needed parts.