A problem that is not all that uncommon actually so we will attempt to guide you through it :
When the dog got behind the machine is is possible that it twisted the drain pipe from vertical to a 45 degree angle – so yes straighten it up.
It is also possible that it pulled the drain hose from the machine part the way out of the drain pipe – so put it all the way back in again (after you have straightened it up).
All of this is assuming that the drain pipe is still intact and not twisted under the floor and is not particially blocked with some obstruction or has been squashed 1/2 flat with a dog bite!!
Hope this helps.
Selgas Services Ltd
Craftsman Gasfitters, Plumbers, Electrical Service Technicians