Question: Phil Hay was a screenwriter on which film starring Ryan Reynolds, based on a screenplay adapted from a comic book?

Context articles: Chaos Theory (film)
Phil Hay (screenwriter)
The Nines
School of Life
R.I.P.D.
Waiting... (film)
Definitely, Maybe
The Change-Up
Rob McKittrick
Just Friends

Chaos Theory is a 2008 comedy-drama film starring Ryan Reynolds, Emily Mortimer, and Stuart Townsend.
 The film was directed by Marcos Siega, written by Daniel Taplitz and Kathy Gori, and was shot in Vancouver, British Columbia, Canada.
Phil Hay is an American screenwriter.
 His credits include "Æon Flux", "Clash of the Titans", "R.I.P.D." and "Ride Along".
 All of his film screenwriting work has been with writing partner Matt Manfredi.
 In 2002, Hay and Manfredi directed the film "Bug", with Manfredi being credited as the sole screenwriter of the film.
The Nines (stylized as The NIN9S) is a 2007 science fiction psychological thriller film written and directed by John August and starring Ryan Reynolds, Hope Davis, Melissa McCarthy, and Elle Fanning.
 The film debuted at the 2007 Sundance Film Festival, and made $63,165 in the U.S. box office through October 11, 2007.
School of Life is a 2005 made-for-television comedy-drama film starring Ryan Reynolds about a teacher who moves to a town and shakes the old school ways up a bit.
R.I.P.D. is a 2013 American 3D supernatural action comedy film starring Jeff Bridges and Ryan Reynolds.
 Robert Schwentke directed the film based on a screenplay adapted from the comic book "Rest in Peace Department" by Peter M. Lenkov.
 The film also stars Kevin Bacon, Mary-Louise Parker, Stéphanie Szostak, and Marisa Miller.
Waiting... is a 2005 American workplace comedy film starring Ryan Reynolds, Anna Faris, and Justin Long.
 It was written and directed by Rob McKittrick.
 McKittrick wrote the screenplay while working as a waiter.
 The film is the first effort by McKittrick as a writer-director.
Definitely, Maybe is a 2008 romantic comedy-drama film written and directed by Adam Brooks, and starring Ryan Reynolds, Isla Fisher, Rachel Weisz, Elizabeth Banks, Abigail Breslin, and Kevin Kline.
 Set in New York City during the 1990s, the film is about a political consultant who tries to help his eleven-year-old daughter understand his impending divorce by telling her the story of his past romantic relationships and how he ended up marrying her mother.
 The film grossed $55 million worldwide.
The Change-Up is a 2011 American fantasy comedy film produced and directed by David Dobkin, written by Jon Lucas and Scott Moore, and starring Ryan Reynolds and Jason Bateman.
Rob McKittrick (born August 31, 1973) is an American filmmaker whose directorial debut was the 2005 independent film "Waiting...", starring Ryan Reynolds.
 He also wrote the sequel to the film, "Still Waiting..." (2009).
Just Friends is a 2005 American romantic comedy film directed by Roger Kumble, written by Adam 'Tex' Davis and starring Ryan Reynolds, Amy Smart, Anna Faris, Chris Klein and Christopher Marquette.
 The plot focuses on a formerly overweight high school nerd (Reynolds) who attempts to free himself from the friend zone after reconnecting with his lifelong crush and best friend (Smart) while visiting his hometown for Christmas.