Green’s Dictionary of Slang

cock n.2

[abbr. SE Cockney]

1. [mid-16C+] a general term of address, esp. Cockney use.

2. a man.