To help other help you, here's some nomenclature:
The latches are usually on the edge opposite the hinge. One or both may have a key lock. Their purpose is to keep the door from opening when latched. A non locking one shown below-

The gas strut assemblies are the things that keep the door from closing. They consist of a strut, charged with gas pressure and they work like a spring. This does the lifting. There are two mounting brackets at the end, generally with ball ends to allow freedom of movement. An example of the assembly is below:

Guessing you mean the mounting points for the gas support struts pulled out / broke off? Thats what happened with one of mine, the screws pulled out and the upper bracket was no longer attached to the door. Upper bracket was similar to what this person has cradled in their hand:

The screws were anchored in the thin sheet metal that was over the foam core of the door, and pulled out.
Lucky for me, the other one still holds, and I dont use that hatch much. But when I do fix that area, I plan on removing the door, taking off the inner skin and replacing foam with wood in the area where the struts mount. This will give a firm anchor for the screws, unlike the thin metal and foam.