Does it matter if it's horizontal or bottom? Presumably if it's horizontal I can just add a 90 degree pipe connector?
if you can get one with a bottom outlet pan that fits straight into that socket, it will work correctly as designed, with no elbows, flexes or pipe changes needed
it will also project into the room less, which in my case was important, though it may not matter to you.
your next job is to find a BO pan with a wall-to-pipe distance near enough to yours.