Cheerfully has 2 different meanings across 1 category:
Adverb
in a cheerful manner
"he cheerfully agreed to do it"
In a cheerful manner.