Captain Underpants: The First Epic Movie (Captain Underpants)
Captain Underpants: The First Epic Movie was written by Nicholas Stoller, who includes funny stuff that will appeal to kids -- the name Professor Poopypants likely makes it unnecessary to explain further -- as well as humour aimed at adults.