E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
Cock your Hat (To).
To set your hat more on one side of the head than on the other; to look knowing and pert. Soldiers cock their caps over the left side to look smart. (See COCKED HAT.)