"cooking' means leaving it in a bin under saltwater with a circulation pump and no light for a while.
Personally, especially since I have a small tank, thus not likely to import large rocks, I don't cook new rock, nor ever have, except what sadly happened during the house move. From the start, I used uncured wonderful encrusted, creature-inhabited live rock with no troubles except a little algae and aiptasia, which I have handled.
When my live rock died during the move, i was so disheartened I just put it in, in a fit of temper, dripping with slime and dead things as it was.
my tank cycled within the week and has been great since. Enough life survived in the cracks adn crannies to give me back many of the species I thought I'd lost.
And what else survived this 'cooking'? One aiptasia and a sprig of caulerpa.