// File: nickgammon[P]tinymudserver/commands.cpp
// Function: DoDirection(tPlayer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void DoDirection (tPlayer * p, const string & sArgs)
  {
  // get current room (throws exception if not there)
  tRoom * r = FindRoom (p->room);

  // find the exit
 tExitMap::const_iterator exititer = r->exits.find (sArgs);    

  if (exititer == r->exits.end ())
    throw runtime_error ("You cannot go that way.");

  // move player
  PlayerToRoom (p, exititer->second,
                "You go " + sArgs + "\n",
                p->playername + " goes " + sArgs + "\n",
                p->playername + " enters.\n");
  
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
addq $0xd4, %rdi
callq 0x1bbb0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0x20, %rdi
movq -0x10(%rbp), %rsi
callq 0x13860
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0xf640
movq -0x18(%rbp), %rdi
addq $0x20, %rdi
callq 0xf490
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xf640
leaq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x13890
testb $0x1, %al
jne 0x10a4a
jmp 0x10aa6
movl $0x10, %edi
callq 0x4250
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x110(%rbp)
leaq 0xb933(%rip), %rsi      # 0x1c39b
callq 0x41c0
jmp 0x10a6f
movq -0x110(%rbp), %rdi
movq 0x18573(%rip), %rsi     # 0x28ff0
movq 0x18534(%rip), %rdx     # 0x28fb8
callq 0x46a0
movq -0x110(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
callq 0x4350
jmp 0x10c7d
movq -0x8(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x138c0
addq $0x20, %rax
movq %rax, -0x120(%rbp)
movq -0x10(%rbp), %rdx
leaq 0xb8e3(%rip), %rsi      # 0x1c3b3
leaq -0x88(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x13750
movq -0x118(%rbp), %rsi
leaq 0xb5e3(%rip), %rdx      # 0x1c0d4
leaq -0x68(%rbp), %rdi
callq 0xc6c0
jmp 0x10afc
movq -0x8(%rbp), %rsi
addq $0x90, %rsi
leaq 0xb8ad(%rip), %rdx      # 0x1c3bb
leaq -0xe8(%rbp), %rdi
callq 0x138e0
jmp 0x10b1c
movq -0x10(%rbp), %rdx
leaq -0xc8(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x8c40
jmp 0x10b35
leaq 0xb598(%rip), %rdx      # 0x1c0d4
leaq -0xa8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0xc6c0
jmp 0x10b51
movq -0x8(%rbp), %rsi
addq $0x90, %rsi
leaq 0xb85f(%rip), %rdx      # 0x1c3c2
leaq -0x108(%rbp), %rdi
callq 0x138e0
jmp 0x10b71
movq -0x120(%rbp), %rsi
movq -0x128(%rbp), %rdi
leaq -0x68(%rbp), %rdx
leaq -0xa8(%rbp), %rcx
leaq -0x108(%rbp), %r8
callq 0x108d0
jmp 0x10b98
leaq -0x108(%rbp), %rdi
callq 0x47d8
leaq -0xa8(%rbp), %rdi
callq 0x47d8
leaq -0xc8(%rbp), %rdi
callq 0x47d8
leaq -0xe8(%rbp), %rdi
callq 0x47d8
leaq -0x68(%rbp), %rdi
callq 0x47d8
leaq -0x88(%rbp), %rdi
callq 0x47d8
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x10c71
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x10c68
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x10c5c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x10c50
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x10c44
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x47d8
leaq -0xa8(%rbp), %rdi
callq 0x47d8
leaq -0xc8(%rbp), %rdi
callq 0x47d8
leaq -0xe8(%rbp), %rdi
callq 0x47d8
leaq -0x68(%rbp), %rdi
callq 0x47d8
leaq -0x88(%rbp), %rdi
callq 0x47d8
movq -0x40(%rbp), %rdi
callq 0x46d0
nopw %cs:(%rax,%rax)