Swiss director Ben Hibon, who helmed the animated sequence in “Harry Potter and the Deathly Hallows: Part 1,” has been tapped to direct fantasy action thriller “Pan” for Social Capital Films and Energy Entertainment.

Project is based on Ben Magid’s script, originally acquired in 2006 by New Line as a vehicle for Guillermo del Toro to direct. The film puts a dark spin on J.M. Barrie’s “Peter Pan,” with Captain Hook as a haunted former police detective in pursuit of a childlike kidnapper.

Christopher Tuffin, Martin Shore and Brooklyn Weaver are producing; Renee Tab and Tarik Heitmann exec produce. Casting is under way for a European shoot next fall.

“Ben Hibon is a true visionary whose directorial talents will entertain and surprise audiences of all ages for decades to come,” Tuffin said. Tuffin and Shore recently financed and exec produced the Halle Berry-Olivier Martinez thriller “Dark Tide.”

Producer David Heyman selected Hibon to supervise the four-minute animated sequence — which has received strong critical support — in “Deathly Hallows” to illustrate the Deathly Hallows origin story. The sequence was produced at post-production house Framestore London.

Hibon’s previous animation directing credits include the short “Codehunters,” which premiered at the 2006 MTV Asia Awards and has been shown at more than 50 film festivals, as well as the videogames “Heavenly Sword” and “Killer 7.”

Hibon, along with his producing partners Tab and Heitmann, also recently optioned the novel “Worldshaker,” by Richard Harland, and plans to direct the feature film adaption of the coming-of-age steampunk novel, set in a roving city during the Victorian era.

Hibon is repped by WME and managed by Heitmann Entertainment and Artist Talent Management.