Question: which movie starring Jeremy Irvine is based on the novel Before I Die?
Answer: 2007 novel "Before I Die"