question: Who is the author of the source material for the 1992 American legal drama film directed by Rob Reiner in which Cuba Gooding Jr. appeared?
answer: Aaron Sorkin
context: Title: Firelight (2012 film)
  Passage: Firelight is a 2012 made-for-television film drama, which first aired on ABC.  The film was directed by Darnell Martin and starred Cuba Gooding Jr. and Q'orianka Kilcher.  It told the story of a group of inmates at a facility for female juvenile delinquents who find a new lease on life by becoming volunteer firefighters.  Several critics responded to the film favorably and Gooding won the NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special for his performance.
  Title: Red Tails
  Passage: Red Tails is a 2012 American war film directed by Anthony Hemingway in his feature film directorial debut, and starring Terrence Howard and Cuba Gooding Jr. The film is about the Tuskegee Airmen, a group of African-American United States Army Air Forces (USAAF) servicemen during World War II.  The characters in the film are fictional, although based on real individuals.  The film was produced by Lucasfilm and released by 20th Century Fox.  This was Cuba Gooding Jr.'s first theatrically released film in five years since his starring role in 2007's "Daddy Day Camp".
  Title: Judgement (1992 film)
  Passage: Judgement (also known under the title "Hitz") is a 1992 drama film written and directed by William Sachs.  Beside many known actors (including Cuba Gooding Jr. in his first feature film role), it also features appearances by actual gang members from Los Angeles.  Due to its realism, Father Greg Boyle has used the film to show at-risk youths the dangers of gang life.
  Title: Dirty (film)
  Passage: Dirty is a 2005 American crime drama film directed by Chris Fisher.  The film stars Cuba Gooding Jr. and Clifton Collins, Jr. The film was released in the United States on November 9, 2005.
  Title: Men of Honor
  Passage: Men of Honor (released in the UK and Ireland as Men of Honour) is a 2000 drama film, starring Robert De Niro and Cuba Gooding Jr. The film was directed by George Tillman, Jr. It is inspired by the true story of Master Chief Petty Officer Carl Brashear, the first African American master diver in the United States Navy.
  Title: Cuba Gooding Jr.
  Passage: Cuba M. Gooding Jr. (born January 2, 1968) is an American actor.  He gained his breakthrough role as Tre Styles in "Boyz n the Hood" (1991); he appeared in "A Few Good Men" (1992), "The Tuskegee Airmen" (1995), "Outbreak" (1995) and "Jerry Maguire" (1996), for which he won the Academy Award for Best Supporting Actor.  He gained later attention for his roles as Carl Brashear in "Men of Honor", and in Michael Bay's WWII epic "Pearl Harbor" (2001) as Doris Miller.  His other notable films include "As Good as It Gets" (1997), "American Gangster" (2007), "Lee Daniels' The Butler" (2013), and "Selma" (2014), playing civil rights attorney Fred Gray.  In 2016, he portrayed O.J. Simpson in the FX drama series "", and co-starred in the sixth season of the FX anthology series "American Horror Story", subtitled "".
  Title: What Dreams May Come (film)
  Passage: What Dreams May Come is a 1998 American fantasy drama film, starring Robin Williams and Cuba Gooding Jr. The film is based on the 1978 novel of the same name by Richard Matheson, and was directed by Vincent Ward.  It won the Academy Award for Best Visual Effects and the Art Directors Guild Award for Excellence in Production Design.  It was also nominated for the Academy Award for Best Art Direction.  The title is from a line in "Hamlet"' s "To be, or not to be" soliloquy.
  Title: Ticking Clock
  Passage: Ticking Clock is a 2011 American action film directed by Ernie Barbarash, and starring Cuba Gooding Jr. and Neal McDonough.  The film was released on direct-to-DVD in the United States on January 4, 2011.  This is the second film between Cuba Gooding, Jr. and Ernie Barbarash, they both previously in 2009's "Hardwired".
  Title: A Few Good Men
  Passage: A Few Good Men is a 1992 American legal drama film directed by Rob Reiner and starring Tom Cruise, Jack Nicholson, and Demi Moore, with Kevin Bacon, Kevin Pollak, Wolfgang Bodison, James Marshall, J. T. Walsh and Kiefer Sutherland in supporting roles.  It was adapted for the screen by Aaron Sorkin from his play of the same name but includes contributions by William Goldman.  The film revolves around the court-martial of two U.S. Marines charged with the murder of a fellow Marine and the tribulations of their lawyers as they prepare a case to defend their clients.
  Title: End Game (2006 film)
  Passage: End Game is a 2006 American action film written and directed by Andy Cheng, and starring Cuba Gooding Jr. as Secret Service agent Alex Thomas, who is shot in the hand while unsuccessfully trying to protect the President (Jack Scalia) from an assassin's bullet.  Later, with the help of a persistent newspaper reporter named Kate Crawford (Angie Harmon), he uncovers a vast conspiracy behind what initially appeared to be a lone gunman.  The film co-stars James Woods, Burt Reynolds, and Anne Archer.  This film was originally set to be shown in cinemas by MGM in 2005, but was delayed by the takeover from Sony and eventually sent direct-to-DVD.
citations: Cuba Gooding Jr. A Few Good Men