I'm thinking that maybe the problem could be in the cabin but I could be wrong about that. As Rich pointed out the problem could be core damage due to water intrusion under the hinge tabernacle. This is more of a common occurrence with these boats including my 222. Only, on my 222 I can see the bolts sticking down from the tabernacle inside my cabin. I have a fabric headline. Anytime I had a leak coming in from around the threads of those bolts I've either was able to find a small wet spot on my V birth, or I would suddenly awaken one rainy night by drops of water on my forehead.
Now this may not be the case on the O'Day 25 or 26 so I'm told. You may have a leak at the tabernacle and never know it. So what is the solution and how can you seal this particular area after you have made your repair?
I went to this site for that solution.
http://forums.macgregor.sailboatowners.com/showthread.php?t=117172 Countersinking the holes in the fiberglass and using Butyl Tape for this particular project was what I chose to do.
One important thing to keep in mind before you start digging away at the core is this:
The Tabernacle needs to be placed back in the exact spot on the cabin top as you see it right now. It would behoove you to mark up some reference points that will allow you to do so.
To be perfectly honest with you I've never had to do a repair like this thank the good Lord for small favors, but I've done almost everything else being a frugal Geezer who has always worked on boats in his yard. All you need to do is plan the project, get the materials, and get her done.
In the words of my favorite frontier hero Davy Crockett, "Be sure you're right, and then go ahead."