re-forming himself he reached into the swirling shadow around him and pulled tom seldrick out of it , immediately putting an end to the shadow but not to the darkness - something else was the cause of that , he hoped it was something to do with the reality generator .