Make the brigadeiro in the pan, leave it to roll up (when it is coming off the bottom of the pan) let it cool with a plastic in contact.
After the brigadeiro dough is cold, make bigger balls, open and put the cookie inside and close, cover with the sprinkles and it's ready.
It can be made with coconut brigadeiro, or with any other flavoring.