[ Laptops & Notebooks ] Open Question : How much to repair an overheated cpu failure?

My HP DV4 laptop overheated and gave me a code that linked to CPU failure from overheating. How much in total do you think it would cost to repair that at a store? Or doing it myself.