// File: Unreality3D[P]Unreality3D/indie-studio/source/MapGenerator/MapGenerator.cpp
// Function: Map::draw_angles()
void		Map::draw_angles()
{
  for (size_t i = 1;i < _map.size() - 1;i++)
    {
      for (size_t x = 1;x < _map[i].length()- 1;x++)
	{
	  if (_map[i][x] == '|' && _map[i][x + 1] == 'O')
	    _map[i][x] = 'X';
	  else if (_map[i][x] == '|' && _map[i][x - 1] == 'O')
	    _map[i][x] = 'X';
	  else if (_map[i][x] == '-' && _map[i + 1][x] == 'O')
	    _map[i][x] = 'X';
	  else if (_map[i][x] == '-' && _map[i - 1][x] == 'O')
	    _map[i][x] = 'X';
	}
    }
  for (size_t i = 1;i < _map.size() - 1;i++)
    {
      for (size_t x = 1;x < _map[i].length()- 1;x++)
  	{
  	  if (_map[i][x] == '|' && _map[i + 1][x] == ' ')
  	    _map[i][x] = 'X';
  	  else if (_map[i][x] == '|' && _map[i - 1][x] == ' ')
  	    _map[i][x] = 'X';
  	  else if (_map[i][x] == '-' && _map[i][x + 1] == ' ')
  	    _map[i][x] = 'X';
  	  else if (_map[i][x] == '-' && _map[i][x - 1] == ' ')
  	    _map[i][x] = 'X';
  	}
    }
  for (size_t i = 1;i < _map.size() - 1;i++)
    {
      for (size_t x = 1;x < _map[i].length()- 1;x++)
  	{
  	  if (_map[i][x] == '.' && _map[i + 1][x] == '|')
  	    _map[i][x] = 'X';
  	  else if (_map[i][x] == '.' && _map[i - 1][x] == '|')
  	    _map[i][x] = 'X';
  	  else if (_map[i][x] == '.' && _map[i][x + 1] == '-')
  	    _map[i][x] = 'X';
  	  else if (_map[i][x] == '.' && _map[i][x - 1] == '-')
  	    _map[i][x] = 'X';
  	}
    }
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x38(%rsp)
movq $0x1, 0x68(%rsp)
movq 0x38(%rsp), %rdi
movq 0x68(%rsp), %rax
movq %rax, 0x30(%rsp)
addq $0x58, %rdi
callq 0x6a70
movq %rax, %rcx
movq 0x30(%rsp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x8524
movq $0x1, 0x60(%rsp)
movq 0x38(%rsp), %rdi
movq 0x60(%rsp), %rax
movq %rax, 0x28(%rsp)
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
callq 0x67c0
movq %rax, %rcx
movq 0x28(%rsp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x850f
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x7c, %eax
jne 0x8388
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
addq $0x1, %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x4f, %eax
jne 0x8388
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x84fa
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x7c, %eax
jne 0x8404
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
subq $0x1, %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x4f, %eax
jne 0x8404
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x84f8
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x847d
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
addq $0x1, %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x4f, %eax
jne 0x847d
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x84f6
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x84f4
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
subq $0x1, %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x4f, %eax
jne 0x84f4
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x68(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x60(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x84f6
jmp 0x84f8
jmp 0x84fa
jmp 0x84fc
movq 0x60(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x60(%rsp)
jmp 0x82d2
jmp 0x8511
movq 0x68(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x68(%rsp)
jmp 0x829c
movq $0x1, 0x58(%rsp)
movq 0x38(%rsp), %rdi
movq 0x58(%rsp), %rax
movq %rax, 0x20(%rsp)
addq $0x58, %rdi
callq 0x6a70
movq %rax, %rcx
movq 0x20(%rsp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x87b5
movq $0x1, 0x50(%rsp)
movq 0x38(%rsp), %rdi
movq 0x50(%rsp), %rax
movq %rax, 0x18(%rsp)
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
callq 0x67c0
movq %rax, %rcx
movq 0x18(%rsp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x87a0
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x7c, %eax
jne 0x8619
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
addq $0x1, %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x8619
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x878b
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x7c, %eax
jne 0x8695
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
subq $0x1, %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x8695
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x8789
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x870e
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
addq $0x1, %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x870e
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x8787
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x8785
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
subq $0x1, %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x8785
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x58(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x50(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x8787
jmp 0x8789
jmp 0x878b
jmp 0x878d
movq 0x50(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x50(%rsp)
jmp 0x8563
jmp 0x87a2
movq 0x58(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x58(%rsp)
jmp 0x852d
movq $0x1, 0x48(%rsp)
movq 0x38(%rsp), %rdi
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
addq $0x58, %rdi
callq 0x6a70
movq %rax, %rcx
movq 0x10(%rsp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x8a46
movq $0x1, 0x40(%rsp)
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rax
movq %rax, 0x8(%rsp)
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
callq 0x67c0
movq %rax, %rcx
movq 0x8(%rsp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x8a31
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x88aa
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
addq $0x1, %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x7c, %eax
jne 0x88aa
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x8a1c
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x8926
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
subq $0x1, %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x7c, %eax
jne 0x8926
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x8a1a
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x899f
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
addq $0x1, %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x899f
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x8a18
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x8a16
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
subq $0x1, %rsi
callq 0x6b10
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x8a16
movq 0x38(%rsp), %rdi
addq $0x58, %rdi
movq 0x48(%rsp), %rsi
callq 0x6a90
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x6b10
movb $0x58, (%rax)
jmp 0x8a18
jmp 0x8a1a
jmp 0x8a1c
jmp 0x8a1e
movq 0x40(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x40(%rsp)
jmp 0x87f4
jmp 0x8a33
movq 0x48(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x48(%rsp)
jmp 0x87be
addq $0x78, %rsp
retq
nopl (%rax,%rax)