You have two main types of cork on a sax - buffering corks and regulation corks.
In simple terms, buffering corks act like cushions between the keywork and the body and prevent the keys from clacking noisily against the body when you play the horn (as you figured out).
Regulation corks set the relationship between keys that act together (you press one key down, and another closes at the same time).
There's a bit of crossover, though. Buffering corks also regulate the height of the keys - and regulation corks also buffer any metal-to-metal contact between two keys.
All of these corks have to be set to a very specific thickness so that the keys sit at a comfortable and efficient height and that keys that are linked together work in perfect unison.
If you lose or otherwise damage a buffer cork it's likely to be more of an inconvenience than anything else - but if you lose/damage a regulation cork you could seriously affect the playability of the horn.
If a buffering cork falls off you probably won't run into too many problems if you simply stick it back in place. It might now be slightly thicker or thinner than it was before - but in most cases this will just mean the action feels a little clunkier than it did before.
If the same thing happens to a regulation cork the slight change in thickness when you glue it back on could mean that some notes will now be rather harder to play...or may not even work at all.
Having a professional replace buffering corks is a cheap job, but having regulation corks replaced requires rather more work.