What a thread of elucidations!
I think have heard this expression on the BBC tv show, "Hustle" used as one of Q's postings said, i.e. crooked, illegal.
Never heard it growing up except someone getting bent out of shape...meaning pissed (US) off, upset, angry.