Dictionary.com
Thesaurus.com
had twigged
  • past perfect of twig.