apped (one's) wits about

understood, using (one's) mental faculties or intellectual powers.