This sentence is copy from a book :
When they'd reached the top, they went to see Atoll Reef.
they'd = they would
After " would " , using "bare infinitive"
So, it should be " reach "
Why this sentence using "reached" ?