Ox carts, stage coaches and large trucks have sold front axles, modern
cars have independently sprung front wheels and linkages to aim them in
the drivers' preferred direction. Any number of these suspension parts
could be deformed and therefore MUST be REPLACED - not straightened and
reinstalled. If the unibody is deformed that's a whole other matter.
Don't jump to conclusions about the car being "totaled". Have a
competent body shop estimate its repair cost and give you a list of the
parts to be replaced. And when you have that list come back with a
specific question or two.