Brie Larson is set to join the ensemble of Ben Wheatley’s next thriller “Free Fire.”

Luke Evans, Armie Hammer and Cillian Murphy also star. Larson is replacing Olivia Wilde, who had to drop out because of her schedule.

Sony Pictures Worldwide Acquisitions is handling distribution. Wheatley will write and direct.

“Free Fire” is set in 1978 in a deserted warehouse where a meeting between two gangs turns into a deadly shootout and all-out survival. Sources describe it in the vein of “Reservoir Dogs” with a new twist.

Protagonist Pictures will produce.

Following her breakout role in “21 Jump Street,” Larson has focused on more serious adult dramas rather than big budget tentpoles. She received rave reviews for her performance in “Short Term 12” and appeared opposite Mark Wahlberg in “The Gambler.”

She will jump back into comedy with Judd Apatow’s “Trainwreck,” which bows in July.

She can also be seen in A24 drama “Room,” that is based on the Emma Donoghue novel that has Lenny Abrahamson directing.

She is repped by WME and Authentic.