Hail damage that is not fixed should not effect you getting a pass with VIV only when you go to get insurance. The vehicle was only a wrie off because it was uneconomical to reapir. Have a look on the vicroads website under VIV and that will give you all the info you will need.