Carrey starred in the film Batman Forever .
This is Carrey 's first role in a suspense thriller since he played a supporting part in The Dead Pool ( 1988 ) , the last installment of the Dirty Harry series .
The Number 23