When buying a used 5.7 or 6.4 gen3 hemi, do you need the VIN or the engine computer that the engine came out of?

Anything else specific one should look at with a used Gen3? I’m thinking 2012 or later.


1972 Dodge Challenger