Etymology
Today it means: In a cocky manner. Full definition →
From cocky + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.