Someone who is very arrogant and assumes they know all the answers is an example of cocky.
Don't get too cocky, Darian.
It's fun, he said with a cocky grin.
Don't act like you're overly confident or cocky, but aim to please on all counts.
He likely could have talked his way into the jury's good graces, but he chose instead to be cocky and act deserving.
The problem for James came when he got a little too cocky and self-assured, and put too much trust in his alliance.