Hoffman withdrew $1,200 from ATM hours before death

Philip Seymour Hoffman withdrew $1,200 in six installments from the D’Agostino grocery near his West Village pad Saturday night – just hours before he was found dead of an apparent heroin overdose.

“He withdrew cash from the ATM at the grocery store. Bank records show this,” a law enforcement source told The Post.

There were no surveillance cameras at the ATM at the D’Agostino at 790 Greenwich St. at Bethune Street – where Hoffman lived – and no witnesses have come forward to say whether Hoffman was alone or with others when he made the withdrawals, the source added.

Detectives are working to identify who sold Hoffman the fatal dose of heroin and where and when the purchase was made.

Cops found 50 full glassine envelopes of the narcotic – branded “Ace of Spades” and “Ace of Hearts” – along with 20 empty bags when they found the Oscar-winning actor’s body, with a needle still stuck in his arm.

They also found 20 used syringes, a bag of fresh syringes and a charred spoon in which he likely cooked up his final fix.

“He was apparently in the throes of a major heroin addiction,’’ a law-enforcement source said.

Hoffman got $1,600 out an ATM in this West Village market the night he died.Google Maps

The celebrity Web site TMZ reported that Hoffman was on a heroin bender six weeks before he died, and told pals he was a dead man if he didn’t get clean.

“If I don’t stop I know I’m gonna die,” he confided, a source told the Web site.

Hoffman would quit for a few days only to relapse, and an attempt to clean up by going to AA meetings failed.

Mimi O’Donnell, the mother of his three young children, recently gave him the boot from their Jane Street apartment because she didn’t want their children exposed to his drug use.

The troubled actor had battled addiction since he was in his early 20s.

Hoffman had said he was clean and sober for years until relapsing in 2012 and spending a short stint in rehab the following year.

Friends and acquaintances said that lately he often looked high and disheveled as he shambled through his West Village neighborhood.