Yeah I think you’re right.
The numbers I’ve been able to find are:
4-5% of gross sales as franchise fee
8-12% of gross sales as rent (McDonald’s corporate is often the landlord)
I.e., 12-20% of gross sales are going to McDonald’s.