Co-written by a former BOPE officer , it is , for instance , a riposte to the duplicitous liberalism of movies such as City of God , which purport to examine slum life in the favelas but are equally hopped up on guns and violence .