You're referring to "The Hangover Part III"!
As the guys try to evade Marshall and his goons, they embark on a series of misadventures, including a wild night in San Francisco. Along the way, they also try to help Alan deal with the impending death of his grandmother. Hangover 3 Filmyzilla
The film picks up where the second installment left off, with Phil Wenneck (Bradley Cooper), Stu Price (Ed Helms), Alan Garner (Zach Galifianakis), and Doug Billings (Justin Bartha) dealing with the aftermath of their wild adventures. The gang is still reeling from the events of the previous film, and they're trying to get their lives back on track. You're referring to "The Hangover Part III"
However, their plans are disrupted when they discover that Marshall (John Goodman), the notorious gangster, is after them. Marshall wants revenge for the death of his son, Jack (Zak Galifianakis), who was killed by the group in the previous film. The film picks up where the second installment