Jamie Foxx and Taron Egerton are starring in a 2018