2005 don't mean fresh corolla but recondition. No doubt Corolla X's performance is great, but i was you and have to spend money on a car which don't have resale value, then i might look for other options then Corolla X 2005 Model. Otherwise will go for a Car, which has resale value, parts, free maintenance/service from toyota, easily insured, luxuries, and most important good design i.e. GLI or Atlas.
but yes if you really want to buy a Japanese car then check other option as well. Toyota is not the whole world 
Ps: i am not against Toyota, infact i own three Toyota's brand