Formerly known as Arms and the Dudes, the first trailer for War Dogs starring Miles Teller and Jonah Hill has arrived, teasing a slight change of pace for The Hangover director Todd Phillips — well, not so slight. It’s still a fairly rowdy and absurd comedy with a crude streak, but this one is based on an unbelievable true story.

Based on Guy Lawson’s 2011 Rolling Stone article, War Dogs stars Teller and Hill as two young stoners and self-described “bottom-feeders” who snag a major government contract to arm the military in Afghanistan:

Based on a true story, “War Dogs” follows two friends in their early 20s (Hill and Teller) living in Miami Beach during the Iraq War who exploit a little-known government initiative that allows small businesses to bid on U.S. Military contracts. Starting small, they begin raking in big money and are living the high life. But the pair gets in over their heads when they land a 300 million dollar deal to arm the Afghan Military—a deal that puts them in business with some very shady people, not the least of which turns out to be the U.S. Government.

Phillips co-wrote the script with Stephen Chin and Jason Smilovic. War Dogs also stars Ana de Armas (Knock Knock) and Barry Livingston, and hits theaters on August 19.

More From ScreenCrush