sonatas had a 4g63, at least the older ones did. A friedn had one and when we rebuilt the head the parts were common with a 6 bolt. that is unless the actual valves were the same all years or the hyundai had a different head mounted to a 7 bolt bottom.
You would need to be a lot of investigating to see what is actually in that car.