he walked for what felt like hours , but was probably only another thirty minutes , twisting and turning through the forest , over painfully dead branches and rocks , up and over the crest of ridges .