not the HG can be repaired and all will be good? If not sure, an engine replace might be a better option since either way the engine has to be pulled. No fun to repair the engine, re-install it and then find continuing issues...
Overheated engines can have more damage than just a warped cylinder head.