Stir cream of mushroom soup, sour cream, Cheddar cheese, corn flakes, and butter together in a bowl. Fold hash brown potatoes into the soup mixture; pour into a 9x13-inch baking dish.
Bake in preheated oven until golden brown on top, about 50 minutes.