cudgelled one's brain