Safemoon contract

Does anyone know which part of the code in safemoons contract is used to make sure distribution to holders works in pancakeswap?
Cheers

Your question is not necessarily bad but please use a descriptive title.