Limestone itself is not used in any sort of cooking, but quicklime is, and quicklime is made from superheated limestone. By soaking dry maize kernels in the caustic, alkaline quicklime, the outer shell would dissolve, creating hominy. This process is called nixtamalization. The hominy could then be pounded into flour, making masa, used for tortillas.
Nixtamalization can be accomplished with many alkaline materials. Lye, which is derived from wood ashes, is used to make modern hominy.