I believe the sentence should read: "You wouldn't think...talk to animals."
The closing quotation marks are missing in your transcription of the text. At this point the boy has just expressed/revealed his thoughts. This is what he reasoned(thought) ...as he hurried up the hall...
I hope this helps you to understand it better.
- For Teachers