Jamie Foxx plays hero in real life