a Warner Brothers Pictures presentation in association with Village Roadshow Pictures, a Heyday Films/Zanuck Company production ; produced by David Hayman, Richard D. Zanuck ; screenplay by Nicholas Stoller and Jarrad Paul and Andrew Mogel ; directed by Peyton Reed.