Sorry to hear about your past car problem! Fortunately, Hyundai’s build quality and reliability have increased drastically in recent years, and shocks are covered under the five-year, 60,000-mile basic Hyundai warranty. The warranty only comes into effect if the damage is the result of workmanship or a manufacturer defect.
If you damaged the shocks by hitting potholes, going off-road, or racing, your shocks would not be covered by the Hyundai warranty, as Hyundai would consider this normal wear and tear and not a defect. In a scenario where you can’t determine how the damage occurred, you may want to take your car to the dealership. The worst thing that can happen is that they deny your claim.