Question: where does team magma go after their hideout?
Answer: After finishing everything in the Hideout, the player is free to move onto Route 124 which was previously blocked by a Grunt trying to train his Wailmer. Route 124 connects to Mossdeep City.