Rictusempra Shortcut
At the part with many ledges you have to jump on, just jump on the rail in front of you. Jump as far as you can, and if you make it, you will land on the last ledge. That saved some time!
If you need more help, we've got more Harry Potter and the Chamber of Secrets cheats and also check out all of the answers for this game