On the social cognitive mechanisms leading to violence