Private investigator Patrick Kenzie (Casey Affleck) and his partner/girlfriend Angie Gennaro (Michelle Monaghan) witness a televised plea by a woman named Helene McCready (Amy Ryan) for the return of her missing daughter Amanda, who was abducted with her favorite doll "Mirabelle". Patrick and Angie are then hired by the child's aunt Beatrice (Amy Madigan) to find Amanda and discover that Helene and her boyfriend "Skinny Ray" (Sean Malone) had recently stolen money from Cheese (Edi Gathegi), a local Haitian drug lord. After Ray is murdered, Patrick and Angie join the police detectives Remy Bressant (Ed Harris) and Nick Poole (John Ashton) with investigating the case and assist in arranging the trade of money for the return of Amanda. Captain Jack Doyle (Morgan Freeman) reads Patrick a telephone transcript of the drug lord setting up an exchange for Amanda. The exchange at a nearby quarry in Quincy is botched and it is believed Amanda drowned; her doll is found in the quarry and returned to Helene. Doyle, whose own daughter was killed years before, takes responsibility for the death and goes into early retirement. Two months later, a seven year old boy is abducted in Everett and Patrick receives information that the boy was taken by a known child molester. After entering the suspect's house and finding evidence of the abducted boy, Patrick returns with Remy and Nick to rescue him. They are seen by the residents and Nick is shot. Patrick enters the house during the shootout and finds one of the residents dead. He retreats into the child molester's room, where he finds the boy's dead body; he then shoots the child molester in the back of the head in a fit of rage. Nick later dies of his wounds. Trying to alleviate Patrick's guilt over the events at the house, Remy unthinkingly confides that he once planted evidence on someone with the help of "Skinny Ray" whom he had initially told Patrick he didn't know. After Nick's funeral, Patrick speaks to a police officer, who tells him that Remy had been asking about the drug lord's stolen money before the drug lord knew it was missing. Patrick then questions Beatrice's husband Lionel (Titus Welliver) in a bar and pieces together that Lionel and Remy had conspired to stage a fake kidnapping in order to take the drug money for themselves and to take Amanda from her neglectful mother's care. At that point, Remy (trying to cover for his earlier mistake) enters the bar, while wearing a latex mask and holding a shotgun, and stages a robbery. He points the shotgun at Lionel's head, but the bartender shoots Remy twice in the back. Remy flees and is pursued by Patrick to the rooftop of a nearby building, where he dies. Patrick is questioned by the police about Remy's death and learns that the police never had a phone transcript like the one that Doyle had read to him prior to the botched exchange. Patrick and Angie drive to Doyle's home, where Patrick finds Amanda living with Doyle and his wife; Doyle was part of the phony kidnapping all along. Patrick threatens to call the authorities, but Doyle attempts to convince him that Amanda is better off living with them than with her mother, and that is reason enough not to get involved. Patrick leaves and discusses the choices with Angie, who says she will leave him if he calls the police, since she also believes Amanda is much better off with the Doyles. In the next scene, the police arrive, Doyle is arrested, Amanda is returned to her mother amidst heavy publicity, and Patrick and Angie break up. Patrick later visits Amanda as Helene is about to leave on a date with someone she met during the publicity over her daughter's disappearance. Helene informs Patrick that Beatrice has been forbidden to visit and is upset about her husband's arrest. Helene has no babysitter for Amanda and when asked, she tells Patrick that Helene's friend, Dottie (Jill Quigg) will watch her, even though she has yet to ask Dottie herself. Patrick volunteers to watch Amanda, who is holding her
Output: Where was Amanda found?