CharlieD
Chef Extraordinaire
Rubber mallet would not even scratch the surface of the cast iron pan. If you want to try, get one of those small gas tanks plumbers use. Heat up the pan really well, get a big hammer and try to pound out the flatness. You would also need straight age to be able to check what you are doing. Doubt it will help though.