Any damage and repair done on automobile is forever a repaired unit. Im not sure if you are doing your friend a favor by getting the car, mind you a 1 year old with replaced engine, the body work must have gone extensive repair and replacement. You probably will not get any problems in 9 mths - 1yr time, afterwhich the uncertainty level is high.
Personally, if you want to invest, "BTW owning a car is a losing investment, finacially", I believe you want sometime that has a resonable amount of reliability, that vechicle must be your tool not the other way. In the long run if the repair costs is going to shoot up, it will hurt the pocket a lot more. Having say all this if you have the money, nobody can stop you.
