I've actually had pretty good luck with Arby's, but I wonder if the ones in the middle of beef country are higher quality.
Even for franchises, the store makes a difference. I lived in a small city when Dominos did their re-brand, tried it, and it was legit good for chain pizza and it became our go-to for game night pizza above even a few local places (before we started to replace Pizza with other things)
I move to a different city, hadn't had Dominos in a while, order one up one with not super high expectations and its garbage. I figured "well, its been long enough, promotion QC has clearly just fallen off". I go to visit some friends back in the small city, they order some Dominos, and its still five-star quality.
you could have michelin star chefs in those kitchens, if the ingredients they get is shit and rotten to begin with you cant make anything from it.
Staff quality matters though. I had a relative who was on Red Lobster's "opener team" back in the day. He was good enough his manager recommended him to corporate, they sent a scout, and he was offered a position making nearly 10 times what he was making as a normal line cook traveling around the country to open Red Lobsters.
They had a full restaurant staff, at every position, even the fucking toilet moppers, and each one was the best the chain could find. They would send them out when a new restaurant was opened to make sure the first couple of weeks everything was flawless. They would train up the local crew and slowly step back, my relative was in charge of training cooks so he first in, last out. They'd also send them (usually not the toilet moppers, mostly kitchen crew) to restaurants that were "underperforming" to try to unfuck them.
And he told me something to the effect that the only way he'd ever eat any national chain was if it was within two weeks of the place opening because the openers would still be there.