Unknown, perhaps originally Dublin slang. According to Green’s Dictionary of Slang, may be a euphemism for bollocks.
Practice speaking and memorizing "banjax" and many other words and sentences in English.