I don't know. It would always depend on the school.
But wait a minute? What would the grades be before the resits? If it was straight As, it would be stupid to resit just to get straight A*s unless an A* was a requirement for Oxbridge or something.
or would it be something like BBBB, and those A*s are obtained after resits?
Either way, many universities do not accept resits, so these universities would be completely off your list straight away. Then there are some that say it is a factor, then there are some that say it's not considered if there are less than a certain number of resits.