Egg sets the middle
More egg in the dough gives a firmer, more finished middle. Less egg leaves it looser.
This is the one place egg showed up as a real lever across the whole corpus, not chew or spread. Egg protein sets as the cookie heats, and more of it means the centre stops changing sooner. That is what "underdone in the middle" and "fully set" are, mechanically.

