The last decade or so has been good for the raunchy sex comedy, dominated both in scope and style largely by Judd Apatow and his many collaborators. Indeed, it worked in The 40-Year-Old Virgin, and kept right on working in Forgetting Sarah Marshall and even Girls, as he, along with talents like Nicholas Stoller and Lena Dunham, mined that formula so as to have seemingly perfected it. Directed by Jake Kasdan (whose credits go all the way back to Freaks and Geeks), the film asks us, “What if, after making a sex tape to kickstart your cooled-off marriage, the tape wound up online? Kasdan, who last worked with stars Cameron Diaz and Jason Segel in 2011’s Bad Teacher, told The Verge he set out to create a comedy whose central problem seemed relatable and carried the promise of a big comic payoff.