To puzzle or confound. I have queered the old full bottom; i.e. I have puzzled the judge. To queer one’s ogles among bruisers; to darken one’s day lights.
Definition taken from The 1811 Dictionary of the Vulgar Tongue, originally by Francis Grose.
Queer As Dick’s Hatband * Queer WedgesNathan Bailey's 1736 Dictionary of canting and thieving slang
John S. Farmer's collection of canting songs and slang rhymes