Any ideas?

This roof had these square things all over it. More behind me in the pic. They look like vents that were sealed off. No clues inside the home, ceiling has been completely re-finished. The roof is in poor condition so will be getting a thumbs down from me, but I can’t for the life of me imagine what they once were. Any ideas??? Thanks.

Looks like old pitch boxes for electrical conduit and A/C split systems