Green’s Dictionary of Slang

confess the corn v.

also confess the cob
[for ety. see acknowledge the corn v.]

(orig. US) to admit an error; thus confession n., a tutorial.

[US]Spirit of the Times (Phila.) 16 Mar. n.p.: Your honor, I confesses the corn. I was royally drunk.
Paige Dow’s Sermons IV 127: He might as well have confessed the cob [DA].
[US]M.H. Boulware Jive and Sl. n.p.: Confession ... Conference with teacher.