LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::num2str(int, int)
t_string* t_string::num2str(int num, int base)
{
	t_string* num_str = new t_string();
	int divident = num;
	int residual = divident % base;

	do
	{
		num_str->concat_char((char)(residual + 48)); // Convert to ascii value.		
		divident = divident / base; // Shift right.
		residual = divident % base; // Compute the last digit.

		if(residual > 9)
		{
			printf("The residual greater than 9!\n");
		}
	}
	while(divident != 0);

	// Reverse the num string.
	num_str->revert();

	return(num_str);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movl %edi, %r14d
movl $0x8, %edi
callq 0x2180
movq %rax, %rbx
movl $0x10, %edi
callq 0x2180
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, (%rbx)
movl $0x1f4, 0x8(%rax)       # imm = 0x1F4
movl $0x1f7, %edi            # imm = 0x1F7
callq 0x2040
movq %rax, (%r15)
movl $0x0, 0xc(%r15)
movb $0x0, (%rax)
movl %r14d, %eax
cltd
idivl %ebp
movl %edx, %r12d
leaq 0x5d8d(%rip), %r15      # 0x2ea56
addb $0x30, %r12b
movsbl %r12b, %esi
movq %rbx, %rdi
callq 0x2724c
movl %r14d, %eax
cltd
idivl %ebp
movl %eax, %r14d
cltd
idivl %ebp
movl %edx, %r12d
cmpl $0xa, %edx
jl 0x28cf5
movq %r15, %rdi
callq 0x2280
testl %r14d, %r14d
jne 0x28cc9
movq %rbx, %rdi
callq 0x28d28
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2190
movq %r14, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::revert()
void t_string::revert()
{
	t_string* temp_buf = new t_string(this->str());
	int str_len = temp_buf->length();
	for(int i = 0; i < str_len; i++)
	{
		this->x(i) = temp_buf->x(str_len - i - 1);
	}

	delete(temp_buf);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x8, %edi
callq 0x2180
movq %rax, %rbx
movq (%r14), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq 0x2665c
movq (%rbx), %rax
movslq 0xc(%rax), %rax
testq %rax, %rax
jle 0x28d73
xorl %ecx, %ecx
movq (%rbx), %rdx
movq (%rdx), %rdx
movb -0x1(%rdx,%rax), %dl
movq (%r14), %rsi
movq (%rsi), %rsi
movb %dl, (%rsi,%rcx)
incq %rcx
decq %rax
jne 0x28d58
movq %rbx, %rdi
callq 0x27096
movl $0x8, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2190
movq %rax, %r14
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2190
movq %r14, %rdi
callq 0x22e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::revert(char*)
char* t_string::revert(char* string)
{
	char* reverted_string = t_string::copy_me_str(string);

	//t_string* temp_buf = new t_string(this->str());
	int str_len = t_string::string_length(string);
	for(int i = 0; i < str_len; i++)
	{
		reverted_string[i] = string[str_len - i - 1];
	}

	return(reverted_string);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x26db4
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
incl %ecx
cmpb $0x0, (%rbx,%rcx)
jne 0x28db6
testl %ecx, %ecx
jle 0x28ddf
movl %ecx, %ecx
leaq (%rbx,%rcx), %rdx
decq %rdx
xorl %esi, %esi
movb (%rdx), %dil
movb %dil, (%rax,%rsi)
incq %rsi
decq %rdx
cmpq %rsi, %rcx
jne 0x28dcd
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::compare_substrings_ci(char const*, char const*, int&)
bool t_string::compare_substrings_ci(const char* str, const char* sub_str, int& i_match)
{
	// Go over all the substring of str and search for sub_str.
	int i_max = (t_string::string_length(str) - t_string::string_length(sub_str) + 1);

	int l_sub = t_string::string_length(sub_str);
	for(int i = 0; i < i_max; i++)
	{
		char* cur_substr = t_string::substring(str, i, i+l_sub-1);

		if(cur_substr == NULL)
		{
			return(false);
		}

		if(t_string::compare_strings_ci(cur_substr, sub_str))
		{
			i_match = i;
			return(true);
		}

		delete [] cur_substr;

	} // i loop.

	return(false);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
xorl %ebx, %ebx
movl %ebx, %eax
incl %ebx
cmpb $0x0, (%rdi,%rax)
jne 0x28e37
xorl %eax, %eax
movl %eax, %ecx
incl %eax
cmpb $0x0, (%r14,%rcx)
jne 0x28e43
movl %ebx, %ecx
subl %eax, %ecx
incl %ecx
movl %ecx, 0x4(%rsp)
movl $0xfffffffe, %r12d      # imm = 0xFFFFFFFE
leal 0x2(%r12), %ecx
incl %r12d
cmpb $0x0, (%r14,%rcx)
jne 0x28e5e
xorl %r13d, %r13d
subl %eax, %ebx
js 0x28ec8
movq %rdx, 0x10(%rsp)
movb $0x1, %al
movq %rax, 0x8(%rsp)
leal (%r12,%r13), %edx
movq %rdi, %r15
movl %r13d, %esi
callq 0x27388
testq %rax, %rax
je 0x28ecc
movq %rax, %rbp
movq %rax, %rdi
movq %r14, %rsi
callq 0x27028
testb %al, %al
jne 0x28ed0
movq %rbp, %rdi
callq 0x2220
cmpl %ebx, %r13d
leal 0x1(%r13), %ecx
setl %al
movl %ecx, %r13d
cmpl %ecx, 0x4(%rsp)
movq %r15, %rdi
jne 0x28e7b
xorl %ecx, %ecx
jmp 0x28edf
xorl %eax, %eax
jmp 0x28edf
xorl %ecx, %ecx
jmp 0x28eda
movq 0x10(%rsp), %rax
movl %r13d, (%rax)
movb $0x1, %cl
movq 0x8(%rsp), %rax
andb %cl, %al
andb $0x1, %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::prefix_matches(char const*, char const*, bool)
bool t_string::prefix_matches(const char* str1, const char* str2, bool case_sensitive)
{
	int l_match = 0;
	int l1 = string_length(str1);
	int l2 = string_length(str2);
	if(l1 < l2)
	{
		l_match = l1;
	}
	else
	{
		l_match = l2;
	}

	for(int i_str = 0; i_str < l_match; i_str++)
	{
		if(case_sensitive)
		{
			if(str1[i_str] != str2[i_str])
			{
				return(false);
			}
		}
		else
		{
			if(toupper(str1[i_str]) != toupper(str2[i_str]))
			{
				return(false);
			}
		}
	}	

	return(true);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
incl %eax
cmpb $0x0, (%r15,%rax)
jne 0x28fc0
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
incl %r13d
cmpb $0x0, (%r14,%r13)
jne 0x28fcf
cmpl %r13d, %eax
movl %r13d, %ecx
cmovll %eax, %ecx
testl %ecx, %ecx
jle 0x29046
cmpl %r13d, %eax
cmovll %eax, %r13d
movl %ecx, %r12d
negq %r13
movl $0x1, %ebx
xorl %ebp, %ebp
movl %edx, (%rsp)
movsbl -0x1(%r15,%rbx), %edi
testb %dl, %dl
je 0x29010
cmpb -0x1(%r14,%rbx), %dil
je 0x2902d
jmp 0x29049
callq 0x2330
movl %eax, 0x4(%rsp)
movsbl -0x1(%r14,%rbx), %edi
callq 0x2330
movl (%rsp), %edx
cmpl %eax, 0x4(%rsp)
jne 0x29049
cmpq %r12, %rbx
setae %bpl
leaq (%rbx,%r13), %rax
incq %rax
incq %rbx
cmpq $0x1, %rax
jne 0x28ffd
jmp 0x29049
movb $0x1, %bpl
andb $0x1, %bpl
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::ends_with(char const*, char const*)
bool t_string::ends_with(const char* full_string, const char* sub_str)
{
	if(string_length(full_string) < string_length(sub_str))
	{
		return(false);
	}

	// Go over all the characters of the sub-string and check if they match to the end of the string.
	int i_str = string_length(full_string) - 1;
	unsigned int i_sub = string_length(sub_str) - 1;
	while(1)
	{
		if(sub_str[i_sub] != full_string[i_str])
		{
			return(false);
		}

		if(i_sub == 0)
		{
			return(true);
		}
		else
		{
			i_sub--;
		}

		i_str--;		
	} // i loop.

	return(true);
}

// Assembly:
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
incl %eax
cmpb $0x0, (%rdi,%rax)
jne 0x29063
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
incl %ecx
cmpb $0x0, (%rsi,%rcx)
jne 0x29070
cmpl %ecx, %eax
jge 0x2907f
xorl %eax, %eax
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
incl %eax
cmpb $0x0, (%rdi,%rax)
jne 0x29084
movl $0xfffffffe, %ecx       # imm = 0xFFFFFFFE
leal 0x2(%rcx), %edx
incl %ecx
cmpb $0x0, (%rsi,%rdx)
jne 0x29091
cltq
leaq (%rdi,%rax), %rdx
decq %rdx
movl %ecx, %eax
movb (%rsi,%rax), %dil
movb (%rdx), %r8b
cmpb %r8b, %dil
sete %al
addl $-0x1, %ecx
jae 0x290c1
decq %rdx
cmpb %r8b, %dil
je 0x290a5
retq
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::starts_with(char const*, char const*)
bool t_string::starts_with(const char* full_string, const char* sub_str)
{
	if(string_length(full_string) < string_length(sub_str))
	{
		return(false);
	}

	for(int i_str = 0; i_str < string_length(sub_str); i_str++)
	{
		if(full_string[i_str] != sub_str[i_str])
		{
			return(false);
		}
	}	

	return(true);
}

// Assembly:
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
incl %eax
cmpb $0x0, (%rdi,%rax)
jne 0x290c7
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
incl %ecx
cmpb $0x0, (%rsi,%rcx)
jne 0x290d4
cmpl %ecx, %eax
jge 0x290e3
xorl %eax, %eax
retq
xorl %ecx, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
incl %eax
cmpb $0x0, (%rsi,%rax)
jne 0x290ea
cltq
cmpq %rax, %rcx
setge %al
jge 0x2910b
movb (%rdi,%rcx), %dl
leaq 0x1(%rcx), %r8
cmpb (%rsi,%rcx), %dl
movq %r8, %rcx
je 0x290e5
retq
// File: /workspace/github_cpp_makefile_star2_O3/gersteinlab[P]MUSIC/src/ms_ansi_string.cpp
// Function: t_string::str2num(char const*, int)
int t_string::str2num(const char* num_str, int base)
{
    int num = 0;
    int extended_base = 1;
	//for(int i = (int)string_length(num_str)-1; i >= 0; i--)
	unsigned int i = string_length(num_str)-1;
	while(1)
    {
        int cur_digit = (int)num_str[i];
		if(cur_digit >= '0' && cur_digit <= '9')
					num += extended_base * (cur_digit - (int)'0');
		else if(cur_digit >= 'A' && cur_digit <= 'F')
				num += extended_base * (cur_digit - (int)'A' + 10);
		else if(cur_digit >= 'a' && cur_digit <= 'f')
			num += extended_base * (cur_digit - (int)'a' + 10);
		else
		{
			printf("Could not resolve character as number in %s for base %d\n", num_str, base);
			exit(0);
		}

		if(i == 0)
		{
			break;
		}
		else
		{
			i--;
		}

        //printf("%d = %d * (%d - %d)\n", num, extended_base, cur_digit, 48);
        extended_base *= base;
    }

    return(num);
}

// Assembly:
pushq %rax
movl %esi, %edx
movq %rdi, %rsi
xorl %eax, %eax
movl %eax, %ecx
incl %eax
cmpb $0x0, (%rsi,%rcx)
jne 0x29120
leal -0x2(%rax), %ecx
addq %rsi, %rcx
movl $0x1, %edi
movl $0x1, %r8d
subl %eax, %r8d
xorl %eax, %eax
movsbl (%rcx), %r9d
leal -0x30(%r9), %r11d
movl $0xffffffd0, %r10d      # imm = 0xFFFFFFD0
cmpb $0xa, %r11b
jb 0x29174
leal -0x41(%r9), %r11d
movl $0xffffffc9, %r10d      # imm = 0xFFFFFFC9
cmpb $0x6, %r11b
jb 0x29174
leal -0x61(%r9), %r11d
movl $0xffffffa9, %r10d      # imm = 0xFFFFFFA9
cmpb $0x6, %r11b
jae 0x2918b
addl %r9d, %r10d
imull %edi, %r10d
addl %r10d, %eax
imull %edx, %edi
decq %rcx
incl %r8d
jne 0x29140
popq %rcx
retq
leaq 0x588b(%rip), %rdi      # 0x2ea1d
xorl %eax, %eax
callq 0x2050
xorl %edi, %edi
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::PlayGame()
void Game::PlayGame()
{
  this->map_generator = MapGeneratorFactory::create(curr_difficulty);
  PrintPrepScreen();
  while (playing)
  {
    key = wgetch(game_win);
    playing = key == 'q' ? false : true;

    UpdatePlayerLoc();
    PrintGameFrame();
    PrintInfoFrame();
    napms(1);
  }

  UpdateHighScore();

  wrefresh(game_win);
  wrefresh(info_win);
  wclear(game_win);
  wclear(info_win);
  wrefresh(game_win);
  wrefresh(info_win);
  PrintEndScreen();
  endwin();
  delete map_generator;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x760(%rdi), %edi
callq 0x3644
movq %rax, 0x768(%rbx)
movq %rbx, %rdi
callq 0x26aa
cmpb $0x1, 0x770(%rbx)
jne 0x264b
movq (%rbx), %rdi
callq 0x2080
movl %eax, 0x780(%rbx)
cmpl $0x71, %eax
setne 0x770(%rbx)
movq %rbx, %rdi
callq 0x2a4e
movl 0x778(%rbx), %eax
movl 0x77c(%rbx), %ecx
leal (%rcx,%rax), %edx
cmpl $0x3d, %edx
jb 0x2620
movl $0x0, 0x77c(%rbx)
xorl %ecx, %ecx
addl %eax, %ecx
movl %ecx, 0x778(%rbx)
movq %rbx, %rdi
callq 0x2782
movq %rbx, %rdi
callq 0x281c
movl $0x1, %edi
callq 0x20e0
cmpb $0x0, 0x770(%rbx)
jne 0x25e0
movq %rbx, %rdi
callq 0x28d6
movq (%rbx), %rdi
callq 0x2190
movq 0x8(%rbx), %rdi
callq 0x2190
movq (%rbx), %rdi
callq 0x2130
movq 0x8(%rbx), %rdi
callq 0x2130
movq (%rbx), %rdi
callq 0x2190
movq 0x8(%rbx), %rdi
callq 0x2190
movq %rbx, %rdi
callq 0x2980
callq 0x21b0
movq 0x768(%rbx), %rdi
movl $0x8, %esi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2140
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::PrintPrepScreen()
void Game::PrintPrepScreen()
{
  char* mode;
  const char* kStartArt = R"ronmak(
   / __ \___  ____ _____/ __  __   / /_____     / __ \____  ____ _____/ _______  ______  / /
  / /_/ / _ \/ __ `/ __  / / / /  / __/ __ \   / /_/ / __ \/ __ `/ __  / ___/ / / / __ \/ /
 / _, _/  __/ /_/ / /_/ / /_/ /  / /_/ /_/ /  / _, _/ /_/ / /_/ / /_/ / /  / /_/ / / / /_/
/_/ |_|\___/\__,_/\__,_/\__, /   \__/\____/  /_/ |_|\____/\__,_/\__,_/_/   \__,_/_/ /_(_)
                       /____/
              )ronmak";
if(curr_difficulty == SettingsItem::kRegular)
{

  mode = R"ronmak(
    ______                    __  ___          __
   / ________ ________  __   /  |/  ____  ____/ ___
  / __/ / __ `/ ___/ / / /  / /|_/ / __ \/ __  / _ \
 / /___/ /_/ (__  / /_/ /  / /  / / /_/ / /_/ /  __/
/_____/\__,_/____/\__, /  /_/  /_/\____/\__,_/\___/
                 /____/
              )ronmak";
}
else
{
  mode = R"ronmak(
    __  __               __   __  ___          __
   / / / ____ __________/ /  /  |/  ____  ____/ ___
  / /_/ / __ `/ ___/ __  /  / /|_/ / __ \/ __  / _ \
 / __  / /_/ / /  / /_/ /  / /  / / /_/ / /_/ /  __/
/_/ /_/\__,_/_/   \__,_/  /_/  /_/\____/\__,_/\___/
              )ronmak";
}

  mvwprintw(art_win, 0, 0, "%s", kStartArt);
  mvwprintw(art_win, 10, 0, "%s", mode);
  wrefresh(art_win);
  napms(2000);
  wmove(art_win, 0, 0);
  wclrtobot(art_win);
  wrefresh(art_win);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x760(%rdi)
leaq 0x1b21(%rip), %rax      # 0x41e6
leaq 0x1c46(%rip), %r14      # 0x4312
cmoveq %rax, %r14
movq 0x10(%rdi), %rdi
leaq 0x1929(%rip), %r15      # 0x4004
leaq 0x1968(%rip), %r8       # 0x404a
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
xorl %eax, %eax
callq 0x2040
movq 0x10(%rbx), %rdi
movl $0xa, %esi
xorl %edx, %edx
movq %r15, %rcx
movq %r14, %r8
xorl %eax, %eax
callq 0x2040
movq 0x10(%rbx), %rdi
callq 0x2190
movl $0x7d0, %edi            # imm = 0x7D0
callq 0x20e0
movq 0x10(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2160
movq 0x10(%rbx), %rdi
callq 0x21c0
movq 0x10(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2190
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::UpdatePlayerLoc()
void Game::UpdatePlayerLoc()
{
  UpdatePlayerDeltas();

  if (player_locx + player_deltax >= kMenuWidth
      || player_locx + player_deltax < 0)
    player_deltax = 0;

  player_locx += player_deltax;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2a4e
movl 0x778(%rbx), %eax
movl 0x77c(%rbx), %ecx
leal (%rcx,%rax), %edx
cmpl $0x3d, %edx
jb 0x2772
movl $0x0, 0x77c(%rbx)
xorl %ecx, %ecx
addl %eax, %ecx
movl %ecx, 0x778(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::PrintGameFrame()
void Game::PrintGameFrame()
{
  wclear(game_win);

  mvwprintw(game_win, 0, 0, "%s", map_generator->GenerateMap(game_map));
  mvwprintw(game_win, player_locy, player_locx, "%c", player_icon);

  CheckCollision();

  wrefresh(game_win);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x2130
movq (%rbx), %r14
movq 0x768(%rbx), %rdi
leaq 0x18(%rbx), %rsi
movq (%rdi), %rax
callq *(%rax)
leaq 0x1856(%rip), %rcx      # 0x4004
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rax, %r8
xorl %eax, %eax
callq 0x2040
movq (%rbx), %rdi
movl 0x774(%rbx), %esi
movl 0x778(%rbx), %edx
movsbl 0x771(%rbx), %r8d
leaq 0x182a(%rip), %rcx      # 0x4007
xorl %eax, %eax
callq 0x2040
movslq 0x774(%rbx), %rax
imulq $0x3d, %rax, %rax
movslq 0x778(%rbx), %rcx
addq %rax, %rcx
movzbl 0x18(%rbx,%rcx), %eax
cmpl $0x2a, %eax
je 0x2808
cmpl $0x23, %eax
jne 0x280f
movb $0x0, 0x770(%rbx)
movq (%rbx), %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x2190
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::PrintInfoFrame()
void Game::PrintInfoFrame()
{
  wclear(info_win);

  UpdateScore();
  mvwprintw(info_win, 0, 0, "player loc x is %d", player_locx);
  mvwprintw(info_win, 1, 0, "High score: %d", curr_high_score);
  mvwprintw(info_win, 2, 0, "Score: %d", curr_score);
  mvwprintw(info_win, 3, 0, "Press 'q' at any time to quit");

  wrefresh(info_win);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x2130
movl 0x784(%rbx), %eax
incl %eax
movl %eax, 0x784(%rbx)
cmpl $0x64, %eax
jne 0x2851
incl 0x78c(%rbx)
movl $0x0, 0x784(%rbx)
movq 0x8(%rbx), %rdi
movl 0x778(%rbx), %r8d
leaq 0x17a7(%rip), %rcx      # 0x400a
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
movl 0x788(%rbx), %r8d
leaq 0x179d(%rip), %rcx      # 0x401d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
movl 0x78c(%rbx), %r8d
leaq 0x1ef7(%rip), %rcx      # 0x4797
movl $0x2, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
leaq 0x1773(%rip), %rcx      # 0x402c
movl $0x3, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2190
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::UpdateHighScore()
void Game::UpdateHighScore()
{
  if (curr_score > curr_high_score)
    difficulty_map->operator[](curr_difficulty) = curr_score;


  *prev_score = curr_score;

  wclear(info_win);
  mvwprintw(info_win, 7, 0, "high score: %d", curr_high_score);
  mvwprintw(info_win, 8, 0, "difficulty_map difficulty: %d", difficulty_map->at(curr_difficulty));

  wrefresh(info_win);

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl 0x78c(%rdi), %r14d
cmpl 0x788(%rdi), %r14d
jle 0x290d
movq 0x790(%rbx), %rdi
leaq 0x760(%rbx), %rsi
callq 0x2ab8
movl %r14d, (%rax)
movl 0x78c(%rbx), %r14d
movq 0x798(%rbx), %rax
movl %r14d, (%rax)
movq 0x8(%rbx), %rdi
callq 0x2130
movq 0x8(%rbx), %rdi
movl 0x788(%rbx), %r8d
leaq 0x1c32(%rip), %rcx      # 0x4564
movl $0x7, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %r14
movq 0x790(%rbx), %rdi
leaq 0x760(%rbx), %rsi
callq 0x2b20
movl (%rax), %r8d
leaq 0x1c12(%rip), %rcx      # 0x4573
movq %r14, %rdi
movl $0x8, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x2190
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::PrintEndScreen()
void Game::PrintEndScreen()
{

  const char* kEndArt = R"ronmak(
   ______                        ____                  __
  / ________ _____ ___  ___     / __ \_   _____  _____/ /
 / / __/ __ `/ __ `__ \/ _ \   / / / | | / / _ \/ ___/ /
/ /_/ / /_/ / / / / / /  __/  / /_/ /| |/ /  __/ /  /_/
\____/\__,_/_/ /_/ /_/\___/   \____/ |___/\___/_/  (_)
              )ronmak";
  mvwprintw(art_win, 0, 0, "%s", kEndArt);
  mvwprintw(art_win, 10, 0, "Your score was %d", curr_score);
  wrefresh(art_win);
  napms(2000);
  wclrtobot(art_win);
  wrefresh(art_win);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
leaq 0x1670(%rip), %rcx      # 0x4004
leaq 0x1a8b(%rip), %r8       # 0x4426
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x10(%rbx), %rdi
movl 0x78c(%rbx), %r8d
leaq 0x1b9a(%rip), %rcx      # 0x4552
movl $0xa, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2040
movq 0x10(%rbx), %rdi
callq 0x2190
movl $0x7d0, %edi            # imm = 0x7D0
callq 0x20e0
movq 0x10(%rbx), %rdi
callq 0x21c0
movq 0x10(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2190
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::UpdateScore()
void Game::UpdateScore()
{
  score_timer++;

  if (score_timer == kScoreTickCnt)
  {
    curr_score++;
    score_timer = 0;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x784(%rdi), %eax
incl %eax
movl %eax, 0x784(%rdi)
cmpl $0x64, %eax
jne 0x2a4b
incl 0x78c(%rdi)
movl $0x0, 0x784(%rdi)
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game.cc
// Function: roadrun::Game::UpdatePlayerDeltas()
void Game::UpdatePlayerDeltas()
{
  if (curr_difficulty == SettingsItem::kRegular)
  {
    if (key == KEY_LEFT)
      player_deltax -= kDeltaEasy;
    else if (key == KEY_RIGHT)
      player_deltax += kDeltaEasy;
    else
      player_deltax = 0;
  }
  else if (curr_difficulty == SettingsItem::kLudicrous)
  {
    if (key == KEY_LEFT)
      player_deltax -= kDeltaHard;
    else if (key == KEY_RIGHT)
      player_deltax += kDeltaHard;
    else
      player_deltax = 0;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x760(%rdi), %eax
cmpl $0x1, %eax
je 0x2a7d
testl %eax, %eax
jne 0x2ab5
movl 0x780(%rdi), %eax
cmpl $0x105, %eax            # imm = 0x105
je 0x2aa6
cmpl $0x104, %eax            # imm = 0x104
jne 0x2a9a
decl 0x77c(%rdi)
jmp 0x2ab5
movl 0x780(%rdi), %eax
cmpl $0x105, %eax            # imm = 0x105
je 0x2aae
cmpl $0x104, %eax            # imm = 0x104
jne 0x2a9a
addl $-0x3, 0x77c(%rdi)
jmp 0x2ab5
movl $0x0, 0x77c(%rdi)
jmp 0x2ab5
incl 0x77c(%rdi)
jmp 0x2ab5
addl $0x3, 0x77c(%rdi)
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game_environment.cc
// Function: roadrun::GameEnvironment::GameEnvironment()
GameEnvironment::GameEnvironment()
  {
    difficulty_to_high_score[SettingsItem::kRegular] = 0;
    difficulty_to_high_score[SettingsItem::kLudicrous] = 0;

    difficulty = SettingsItem::kRegular;
    main_menu = new MainMenu(difficulty_to_high_score, prev_score);
    settings_menu = new SettingsMenu(kMenuWidth, kMenuHeight);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x20(%rdi), %rbx
leaq 0x28(%rdi), %rax
xorl %ecx, %ecx
movl %ecx, 0x28(%rdi)
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movq %rax, 0x40(%rdi)
movq %rcx, 0x48(%rdi)
leaq -0x20(%rbp), %rsi
movl %ecx, (%rsi)
movq %rbx, %rdi
callq 0x2f66
movl $0x0, (%rax)
leaq -0x1c(%rbp), %rsi
movl $0x1, (%rsi)
movq %rbx, %rdi
callq 0x2f66
xorl %ecx, %ecx
movl %ecx, (%rax)
movl %ecx, (%r14)
movl $0x28, %edi
callq 0x2120
leaq 0x50(%r14), %rcx
movabsq $0x140000000a, %r15     # imm = 0x140000000A
movq %r15, 0x8(%rax)
leaq 0x3e6a(%rip), %rdx      # 0x6c68
addq $0x10, %rdx
movq %rdx, (%rax)
movl $0x0, 0x10(%rax)
movq %rbx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq %rax, 0x8(%r14)
movl $0x20, %edi
callq 0x2120
movq %r15, 0x8(%rax)
leaq 0x3f1b(%rip), %rcx      # 0x6d48
addq $0x10, %rcx
movq %rcx, (%rax)
movabsq $0x3d00000000, %rcx     # imm = 0x3D00000000
movq %rcx, 0x10(%rax)
movl $0x1e, 0x18(%rax)
movq %rax, 0x10(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2e5c
jmp 0x2e5c
movq %rax, %r14
movq %rbx, %rdi
callq 0x2fce
movq %r14, %rdi
callq 0x2260
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/game_environment.cc
// Function: roadrun::GameEnvironment::PlayGame()
int GameEnvironment::PlayGame()
  {
    while(1)
    {
      main_menu->PrintMenu();
      roadrun::MenuItem menu_choice = main_menu->GetUserChoice();

      if(menu_choice == roadrun::MenuItem::kChooseDifficulty)
      {
        settings_menu->PrintMenu();
        difficulty = settings_menu->GetUserChoice();
      }
      else if (menu_choice == roadrun::MenuItem::kStartGame)
      {
        game = new Game(kMenuWidth, kMenuHeight, '^', difficulty,
                        difficulty_to_high_score, prev_score);
        game->PlayGame();

        delete game;

      }
      else
      {
        break;
      }
    }
    return 0;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x20(%rdi), %r14
leaq 0x50(%rdi), %r12
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
testl %eax, %eax
je 0x2ef5
cmpl $0x1, %eax
jne 0x2f3f
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movl %eax, (%rbx)
jmp 0x2ec2
movl $0x7a0, %edi            # imm = 0x7A0
callq 0x2120
movq %rax, %r15
movl (%rbx), %r8d
movq %r12, (%rsp)
movq %rax, %rdi
movl $0x3d, %esi
movl $0x1e, %edx
movl $0x5e, %ecx
movq %r14, %r9
callq 0x247c
movq %r15, 0x18(%rbx)
movq %r15, %rdi
callq 0x25b4
movq 0x18(%rbx), %rdi
movl $0x7a0, %esi            # imm = 0x7A0
callq 0x2140
jmp 0x2ec2
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x7a0, %esi            # imm = 0x7A0
movq %r15, %rdi
callq 0x2140
movq %rbx, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/main.cc
// Function: main
int main()
{
  roadrun::GameEnvironment *game_environment = new roadrun::GameEnvironment();
  game_environment->PlayGame();

  delete game_environment;
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl $0x58, %edi
callq 0x2120
movq %rax, %rbx
movq %rax, %rdi
callq 0x2d84
movq %rbx, %rdi
callq 0x2ea8
movq %rbx, %rdi
callq 0x2e70
movl $0x58, %esi
movq %rbx, %rdi
callq 0x2140
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movl $0x58, %esi
movq %rbx, %rdi
callq 0x2140
movq %r14, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/main_menu.cc
// Function: roadrun::MainMenu::RenderOptions(_win_st*, int)
void MainMenu::RenderOptions(WINDOW *menu_win, int highlight)
  {
    mvwprintw(menu_win, 2, 4, "Main Menu");
    char *choices[] = {
        "Play Game",
        "Options",
        "Exit",
    };
    int x, y, i;
    x = y = 4;
    box(menu_win, 0,0);
    for(i = 0; i < num_menu_items; i++) {
      if(highlight == i + 1)
      {
        wattron(menu_win, A_REVERSE);
        mvwprintw(menu_win, y, x, "%s", MenuItemToString(choices, menu_item_list[i]));
        wattroff(menu_win, A_REVERSE);
      }
      else
      {
        mvwprintw(menu_win, y, x, "%s", MenuItemToString(choices, menu_item_list[i]));
      }
      ++y;
    }
    wrefresh(menu_win);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r15d
movq %rsi, %rbx
leaq 0x1453(%rip), %rcx      # 0x459a
movl $0x4, %r14d
movq %rsi, %rdi
movl $0x2, %esi
movl $0x4, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2270
movl %r15d, %eax
leaq -0x4(,%rax,4), %r12
leaq 0xe85(%rip), %r15       # 0x4004
xorl %r13d, %r13d
cmpq %r13, %r12
jne 0x31d3
movq %rbx, %rdi
movl $0x40000, %esi          # imm = 0x40000
xorl %edx, %edx
callq 0x20b0
leaq 0x1617(%rip), %rax      # 0x47b4
movslq (%r13,%rax), %rax
leaq 0x3aa7(%rip), %rcx      # 0x6c50
movq (%rcx,%rax,8), %r8
movq %rbx, %rdi
movl %r14d, %esi
movl $0x4, %edx
movq %r15, %rcx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
movl $0x40000, %esi          # imm = 0x40000
xorl %edx, %edx
callq 0x21d0
jmp 0x31ff
leaq 0x15da(%rip), %rax      # 0x47b4
movslq (%r13,%rax), %rax
leaq 0x3a6a(%rip), %rcx      # 0x6c50
movq (%rcx,%rax,8), %r8
movq %rbx, %rdi
movl %r14d, %esi
movl $0x4, %edx
movq %r15, %rcx
xorl %eax, %eax
callq 0x2040
incl %r14d
addq $0x4, %r13
cmpq $0xc, %r13
jne 0x3182
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2190
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/map_generator_easy.cc
// Function: roadrun::MapGeneratorEasy::GenerateMap(char*)
const char* MapGeneratorEasy::GenerateMap(char* game_map)
{
  // Create new line to be inserted at top of game_map
  char new_line[kMenuWidth];
  if (ticks % kMillisPerFrameEasy == 0)
  {
    GenerateNewLine(new_line);
    MapUpdater::MoveLinesDown(ticks, game_map, new_line);
  }

  ticks = ticks > kMaxTickCnt ? 0 : ++ticks;

  return game_map;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x8(%rdi), %eax
imull $0x962fc963, %eax, %ecx # imm = 0x962FC963
addl $0x1b4e81b, %ecx        # imm = 0x1B4E81B
cmpl $0x369d036, %ecx        # imm = 0x369D036
ja 0x34b4
leaq -0x60(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x34d4
movl 0x8(%r14), %edi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x3850
movl 0x8(%r14), %eax
leal 0x1(%rax), %ecx
xorl %edx, %edx
cmpl $0x4e21, %eax           # imm = 0x4E21
cmovll %ecx, %edx
movl %edx, 0x8(%r14)
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/map_generator_easy.cc
// Function: roadrun::MapGeneratorEasy::GenerateNewLine(char*)
void MapGeneratorEasy::GenerateNewLine(char* new_line)
{
  // Generate left wall
  GenerateWall(roadrun::WallSide::kLeft, new_line);

  // Generate rocks with delay
  if (ticks % kMillisPerRock == 0)
  {
    int i = (kMenuWidth - 1) / 3;
    int index = rand() % 20 + 18;
    while (i < 2 * (kMenuWidth - 1) / 3)
    {
      if (i == index)
      {
        /* 39 is max right, 20 is max left. we are
        getting a random place to put some rocks */
        new_line[i] = (char)'*';
        new_line[i + 1] = (char)'*';
        new_line[i + 2] = (char)'*';
        i += 3;
      }
      else
      {
        new_line[i] = (char)' ';
        i++;
      }
    }
  }
  else
  {
    for (int i = (kMenuWidth - 1) / 3; i < 2 * (kMenuWidth - 1) / 3; i++)
    {
      new_line[i] = (char)' ';
    }
  }

  // Generate right wall
  GenerateWall(roadrun::WallSide::kRight, new_line);

  new_line[kMenuWidth - 1] = '\n';
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
callq 0x2050
imull $0xaaaaaaab, %eax, %ecx # imm = 0xAAAAAAAB
addl $0x2aaaaaaa, %ecx       # imm = 0x2AAAAAAA
movl $0x44, %eax
cmpl $0x55555555, %ecx       # imm = 0x55555555
jb 0x350a
movl $0x23, %eax
movb %al, (%rbx,%r15)
incq %r15
cmpq $0x14, %r15
jne 0x34e7
imull $0x962fc963, 0x8(%r14), %eax # imm = 0x962FC963
addl $0x1b4e81a, %eax        # imm = 0x1B4E81A
rorl %eax
cmpl $0x1b4e81b, %eax        # imm = 0x1B4E81B
jb 0x3541
movaps 0x12cc(%rip), %xmm0     # 0x4800
movups %xmm0, 0x14(%rbx)
movl $0x20202020, 0x24(%rbx) # imm = 0x20202020
jmp 0x359a
callq 0x2050
movslq %eax, %rcx
imulq $0x66666667, %rcx, %rax # imm = 0x66666667
movq %rax, %rdx
shrq $0x3f, %rdx
sarq $0x23, %rax
addl %edx, %eax
shll $0x2, %eax
leal (%rax,%rax,4), %edx
movl %ecx, %eax
subl %edx, %eax
cltq
addq $0x12, %rax
negl %edx
addl %edx, %ecx
addl $0x15, %ecx
movl $0x14, %edx
cmpl %eax, %edx
jne 0x358c
movw $0x2a2a, (%rbx,%rax)    # imm = 0x2A2A
movb $0x2a, 0x2(%rbx,%rax)
movl %ecx, %edx
jmp 0x3595
movslq %edx, %rsi
movb $0x20, (%rbx,%rsi)
incl %edx
cmpl $0x28, %edx
jl 0x3579
movq $-0x14, %r14
callq 0x2050
imull $0xaaaaaaab, %eax, %ecx # imm = 0xAAAAAAAB
addl $0x2aaaaaaa, %ecx       # imm = 0x2AAAAAAA
movl $0x44, %eax
cmpl $0x55555555, %ecx       # imm = 0x55555555
jb 0x35c4
movl $0x23, %eax
movb %al, 0x3c(%rbx,%r14)
incq %r14
jne 0x35a1
movb $0xa, 0x3c(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/map_generator_factory.cc
// Function: roadrun::MapGeneratorFactory::create(roadrun::SettingsItem)
MapGenerator* MapGeneratorFactory::create(SettingsItem difficulty)
{
  if (difficulty == SettingsItem::kRegular)
   return new MapGeneratorEasy();
  else if (difficulty == SettingsItem::kLudicrous)
    return new MapGeneratorHard();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %edi, %edi
je 0x367b
movl $0x18, %edi
callq 0x2120
leaq 0x369b(%rip), %rcx      # 0x6cf8
addq $0x10, %rcx
movq %rcx, (%rax)
movabsq $0x1400000000, %rcx     # imm = 0x1400000000
movq %rcx, 0x8(%rax)
movl $0x28, 0x10(%rax)
jmp 0x369a
movl $0x10, %edi
callq 0x2120
leaq 0x362c(%rip), %rcx      # 0x6cb8
addq $0x10, %rcx
movq %rcx, (%rax)
movl $0x0, 0x8(%rax)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/map_generator_hard.cc
// Function: roadrun::MapGeneratorHard::GenerateMap(char*)
const char* MapGeneratorHard::GenerateMap(char* game_map)
{
  // Create new line to be inserted at top of game_map
  char new_line[kMenuWidth];
  if (ticks % kMillisPerFrameHard == 0)
  {
    GenerateNewLine(new_line);
    MapUpdater::MoveLinesDown(ticks, game_map, new_line);
  }

  ticks = ticks > kMaxTickCnt ? 0 : ++ticks;

  return game_map;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x8(%rdi), %eax
imull $0xcccccccd, %eax, %ecx # imm = 0xCCCCCCCD
movl $0x19999998, %edx       # imm = 0x19999998
addl %edx, %ecx
rorl %ecx
cmpl %edx, %ecx
ja 0x36e7
leaq -0x60(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x3706
movl 0x8(%r14), %edi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x3850
movl 0x8(%r14), %eax
leal 0x1(%rax), %ecx
xorl %edx, %edx
cmpl $0x4e21, %eax           # imm = 0x4E21
cmovll %ecx, %edx
movl %edx, 0x8(%r14)
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/map_generator_hard.cc
// Function: roadrun::MapGeneratorHard::GenerateNewLine(char*)
void MapGeneratorHard::GenerateNewLine(char* new_line)
{
  int wall_shift = rand() % 2 == 0 ? -1 : 1;

  if (split_location_right + wall_shift < kMenuWidth
      && split_location_left + wall_shift > 0)
  {
    split_location_left += wall_shift;
    split_location_right += wall_shift;
  }

  GenerateWall(roadrun::WallSide::kLeft, new_line, split_location_left);

  for (int i = split_location_left; i < split_location_right; i++)
    new_line[i] = (char)' ';

  GenerateWall(roadrun::WallSide::kRight, new_line, split_location_right);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x2050
andl $0x1, %eax
xorl %edx, %edx
cmpl $0x1, %eax
sbbl %edx, %edx
orl $0x1, %edx
movl 0xc(%r14), %ecx
movl 0x10(%r14), %eax
leal (%rdx,%rax), %esi
cmpl $0x3c, %esi
jg 0x3749
addl %ecx, %edx
jle 0x3749
movl %edx, 0xc(%r14)
movl %esi, 0x10(%r14)
movl %edx, %ecx
jmp 0x374d
testl %ecx, %ecx
jle 0x378a
movl %ecx, %r15d
xorl %r12d, %r12d
callq 0x2050
imull $0xaaaaaaab, %eax, %ecx # imm = 0xAAAAAAAB
addl $0x2aaaaaaa, %ecx       # imm = 0x2AAAAAAA
movl $0x44, %eax
cmpl $0x55555555, %ecx       # imm = 0x55555555
jb 0x3776
movl $0x23, %eax
movb %al, (%rbx,%r12)
incq %r12
cmpq %r12, %r15
jne 0x3753
movl 0xc(%r14), %ecx
movl 0x10(%r14), %eax
cmpl %eax, %ecx
jge 0x37a1
movslq %ecx, %rcx
movb $0x20, (%rbx,%rcx)
incq %rcx
movslq 0x10(%r14), %rax
cmpq %rax, %rcx
jl 0x3791
cmpl $0x3b, %eax
jg 0x37e3
movslq %eax, %r14
incq %r14
callq 0x2050
imull $0xaaaaaaab, %eax, %ecx # imm = 0xAAAAAAAB
addl $0x2aaaaaaa, %ecx       # imm = 0x2AAAAAAA
movl $0x44, %eax
cmpl $0x55555555, %ecx       # imm = 0x55555555
jb 0x37cf
movl $0x23, %eax
movb %al, -0x1(%rbx,%r14)
movq %r14, %rax
incq %rax
cmpl $0x3c, %r14d
movq %rax, %r14
jne 0x37ac
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/map_generator_hard.cc
// Function: roadrun::MapGeneratorHard::GenerateWall(roadrun::WallSide, char*, int)
void MapGeneratorHard::GenerateWall(roadrun::WallSide wall_side,
                                    char* new_line,
                                    int wall_edge)
{
  int lower_limit, upper_limit;
  if (wall_side == roadrun::WallSide::kLeft)
  {
    lower_limit = 0;
    upper_limit = wall_edge;
  }
  else
  {
    lower_limit = wall_edge;
    upper_limit = kMenuWidth - 1;
  }

  for (int i = lower_limit; i < upper_limit; i++)
  {
    if (rand() % 3 == 0)
      new_line[i] = (char)'D';
    else
      new_line[i] = (char)'#';
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testl %esi, %esi
cmovnel %ecx, %esi
movl $0x3c, %r14d
cmovel %ecx, %r14d
subl %esi, %r14d
jle 0x3845
movq %rdx, %rbx
movslq %esi, %rax
addq %rax, %rbx
xorl %r15d, %r15d
callq 0x2050
imull $0xaaaaaaab, %eax, %ecx # imm = 0xAAAAAAAB
addl $0x2aaaaaaa, %ecx       # imm = 0x2AAAAAAA
movl $0x44, %eax
cmpl $0x55555555, %ecx       # imm = 0x55555555
jb 0x3839
movl $0x23, %eax
movb %al, (%rbx,%r15)
incq %r15
cmpl %r15d, %r14d
jne 0x3816
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/map_updater.cc
// Function: roadrun::MapUpdater::MoveLinesDown(int, char*, char*)
void MapUpdater::MoveLinesDown(int ticks, char* game_map, char* new_line)
{
  for (int j = kMenuHeight - 1; j > 0; j--) {
    for (int i = 0; i < kMenuWidth; i++) {
      game_map[(j * kMenuWidth) + i] = game_map[((j - 1) * (kMenuWidth)) + i];
    }
  }

  // Write the new line to the 0th line of game_map
  for (int i = 0; i < kMenuWidth; i++)
  {
    game_map[i] = new_line[i];
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x6e9(%rsi), %rax
movl $0x1d, %ecx
movq $-0x3d, %rdi
movb (%rax,%rdi), %r8b
movb %r8b, 0x3d(%rax,%rdi)
incq %rdi
jne 0x3867
leaq -0x1(%rcx), %rdi
addq $-0x3d, %rax
cmpq $0x1, %rcx
movq %rdi, %rcx
ja 0x3860
xorl %eax, %eax
movb (%rdx,%rax), %cl
movb %cl, (%rsi,%rax)
incq %rax
cmpq $0x3d, %rax
jne 0x3888
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/settings_menu.cc
// Function: roadrun::SettingsMenu::RenderOptions(_win_st*, int)
void SettingsMenu::RenderOptions(WINDOW *menu_win, int highlight)
  {
    mvwprintw(menu_win, 2, 4, "Choose a Difficulty");
    char *choices[] = {
        "Regular Mode",
        "Ludicrous Mode",
        "Ron Mak",
    };
    int x, y, i;
    x = y = 4;
    box(menu_win, 0,0);
    for(i = 0; i < num_settings_items; i++) {
      if(highlight == i + 1)
      {
        wattron(menu_win, A_REVERSE);
        mvwprintw(menu_win, y, x, "%s",
                  SettingToString(choices, settings_item_list[i]));
        wattroff(menu_win, A_REVERSE);
      }
      else
      {
        mvwprintw(menu_win, y, x, "%s",
                  SettingToString(choices, settings_item_list[i]));
      }
      ++y;
    }
  wrefresh(menu_win);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r15d
movq %rsi, %rbx
leaq 0xfac(%rip), %rcx       # 0x4863
movl $0x4, %r14d
movq %rsi, %rdi
movl $0x2, %esi
movl $0x4, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2270
movl %r15d, %r12d
movb $0x1, %r13b
xorl %r15d, %r15d
leaq 0x1(%r15), %rax
cmpq %r12, %rax
jne 0x393e
movq %rbx, %rdi
movl $0x40000, %esi          # imm = 0x40000
xorl %edx, %edx
callq 0x20b0
leaq 0xf97(%rip), %rax       # 0x489c
movslq (%rax,%r15,4), %rax
leaq 0x3420(%rip), %rcx      # 0x6d30
movq (%rcx,%rax,8), %r8
movq %rbx, %rdi
movl %r14d, %esi
movl $0x4, %edx
leaq 0x6de(%rip), %rcx       # 0x4004
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
movl $0x40000, %esi          # imm = 0x40000
xorl %edx, %edx
callq 0x21d0
jmp 0x396d
leaq 0xf57(%rip), %rax       # 0x489c
movslq (%rax,%r15,4), %rax
leaq 0x33e0(%rip), %rcx      # 0x6d30
movq (%rcx,%rax,8), %r8
movq %rbx, %rdi
movl %r14d, %esi
movl $0x4, %edx
leaq 0x69e(%rip), %rcx       # 0x4004
xorl %eax, %eax
callq 0x2040
incl %r14d
movl $0x1, %r15d
testb $0x1, %r13b
movl $0x0, %r13d
jne 0x38e6
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2190
// File: /workspace/github_cpp_makefile_star2_O3/drofp[P]RoadRun/src/settings_menu.cc
// Function: roadrun::SettingsMenu::PrintMenu()
void SettingsMenu::PrintMenu()
  {
    endwin();
    refresh();
    WINDOW *menu_win;
    int highlight = 1;
    int choice = 0;
    int c;
    initscr();
    clear();
    noecho();
    cbreak();
    int startx = 5;  // (80 - kWidth) / 2;
    int starty = 5;  // (80 - kHeight) / 2;
    menu_win = newwin(kHeight, kWidth, starty, startx);
    keypad(menu_win, TRUE);
    mvprintw(0, 0, "Use up and down arrows to choose, enter to select.");
    refresh();
    RenderOptions(menu_win, highlight);
    int enter_pressed = 0;
    while(!enter_pressed)
    {
      c = wgetch(menu_win);
      switch (c)
      {
      case KEY_UP:
        if(highlight == 1)
            highlight = 2;
          else
            --highlight;
          break;
      case KEY_DOWN:
        if(highlight == 2)
          highlight = 1;
        else
          ++highlight;
        break;
      case 10:
        choice = highlight;
        enter_pressed = 1;
        break;
      default:
        // mvprintw(24, 0, "Charcter pressed is = %3d Hopefully it can be printed as '%c'", c, c);
        refresh();
        break;
      }
      current_choice = settings_item_list[highlight - 1];
      RenderOptions(menu_win, highlight);
    }
    // mvprintw(23, 0, "You chose choice %d with choice string %s\n", choice, choices[choice - 1]);
    clrtoeol();
    refresh();
    endwin();
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x21b0
callq 0x2240
callq 0x2210
callq 0x2250
callq 0x21a0
callq 0x2070
movl 0x14(%rbx), %esi
movl 0x18(%rbx), %edi
movl $0x5, %edx
movl $0x5, %ecx
callq 0x2150
movq %rax, %r14
movl $0x1, %r15d
movq %rax, %rdi
movl $0x1, %esi
callq 0x2090
leaq 0xbbe(%rip), %rdx       # 0x45bb
xorl %edi, %edi
xorl %esi, %esi
xorl %eax, %eax
callq 0x21e0
callq 0x2240
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq *0x10(%rax)
leaq 0xe77(%rip), %r12       # 0x489c
movq %r14, %rdi
callq 0x2080
cmpl $0xa, %eax
je 0x3a5e
cmpl $0x102, %eax            # imm = 0x102
je 0x3a4b
cmpl $0x103, %eax            # imm = 0x103
jne 0x3a63
xorl %eax, %eax
cmpl $0x1, %r15d
sete %al
jmp 0x3a54
xorl %eax, %eax
cmpl $0x2, %r15d
setne %al
incl %eax
movb $0x1, %r13b
movl %eax, %r15d
jmp 0x3a6b
xorl %r13d, %r13d
jmp 0x3a6b
callq 0x2240
movb $0x1, %r13b
leal -0x1(%r15), %eax
movl (%r12,%rax,4), %eax
movl %eax, 0x10(%rbx)
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq *0x10(%rax)
testb %r13b, %r13b
jne 0x3a25
movq 0x3547(%rip), %rax      # 0x6fd8
movq (%rax), %rdi
callq 0x2180
callq 0x2240
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x21b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/ajuc[P]c--_lisp_sexp_parser/lispparser.cpp
// Function: AjucLispParser::Float::Float(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Float::Float(const std::string& text) {
	std::istringstream ss(text);
	float f;
	ss >> f;
	(this->_value) = f;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x190, %rsp            # imm = 0x190
movq %rdi, %rbx
leaq 0x5454(%rip), %rax      # 0x8aa0
movq %rax, (%rdi)
leaq -0x198(%rbp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x3250
leaq -0x14(%rbp), %rsi
movq %r14, %rdi
callq 0x32c0
movss -0x14(%rbp), %xmm0
movss %xmm0, 0x8(%rbx)
movq 0x5938(%rip), %rsi      # 0x8fb8
leaq -0x198(%rbp), %rdi
callq 0x3200
leaq -0x120(%rbp), %rdi
callq 0x3070
addq $0x190, %rsp            # imm = 0x190
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq 0x590a(%rip), %rsi      # 0x8fb8
leaq -0x198(%rbp), %rdi
callq 0x3200
leaq -0x120(%rbp), %rdi
callq 0x3070
movq %rbx, %rdi
callq 0x3280
// File: /workspace/github_cpp_makefile_star2_O3/ajuc[P]c--_lisp_sexp_parser/lispparser.cpp
// Function: AjucLispParser::List::toString[abi:cxx11]() const
const std::string List::toString() const {
	std::string result("( ");
	for (unsigned int i=0; i<elements.size(); i++) {
		if (i>0) {
			result += ", ";
		}
		result = result + elements[i]->toString();
	}
	result += " )";
	return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rdi)
leaq 0x2497(%rip), %rsi      # 0x6006
leaq 0x2492(%rip), %rdx      # 0x6008
callq 0x4bde
movq 0x8(%r14), %rax
cmpq %rax, 0x10(%r14)
je 0x3c1f
movl $0x1, %r13d
xorl %r15d, %r15d
leaq -0x70(%rbp), %r12
cmpl $0x1, %r13d
je 0x3baf
movq %rbx, %rdi
leaq 0x2463(%rip), %rsi      # 0x6009
callq 0x32b0
movq 0x8(%r14), %rax
shlq $0x4, %r15
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq *0x10(%rax)
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x4a2f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x31c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3bef
callq 0x3160
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3c01
callq 0x3160
movl %r13d, %r15d
movq 0x8(%r14), %rax
movq 0x10(%r14), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
incl %r13d
cmpq %r15, %rcx
ja 0x3b96
leaq 0x23e6(%rip), %rsi      # 0x600c
movq %rbx, %rdi
callq 0x32b0
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3c44
jmp 0x3c44
movq %rax, %r14
jmp 0x3c5e
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3c5e
callq 0x3160
movq (%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0x3c6c
callq 0x3160
movq %r14, %rdi
callq 0x3280
// File: /workspace/github_cpp_makefile_star2_O3/EduBic[P]TSP-MetaheuristicSolvers/./TSP.h
// Function: TSP::readFromFile(char const*)
void readFromFile(const char* filename) {
        std::ifstream in(filename);

        in >> n;
        std::cout << "read from file, num nodes = " << n << std::endl;

        cost.resize(n);
        for (int i = 0; i < n; i++) {

            cost[i].reserve(n);

            for (int j = 0; j < n; j++) {
                double c;
                in >> c;
                cost[i].push_back(c);
            }
        }

        in.close();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x3430
movq %r14, %rdi
movq %rbx, %rsi
callq 0x31b0
movq 0x60d0(%rip), %rdi      # 0xafd0
leaq 0x32d6(%rip), %rsi      # 0x81dd
movl $0x1c, %edx
callq 0x32f0
movl (%rbx), %esi
movq 0x60b6(%rip), %rdi      # 0xafd0
callq 0x3400
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31f0
leaq 0x8(%rbx), %r14
movslq (%rbx), %rsi
movq %r14, %rdi
callq 0x532a
movl (%rbx), %eax
testl %eax, %eax
jle 0x4fe3
xorl %edx, %edx
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %rdx, (%rsp)
leaq (%rdx,%rdx,2), %rbp
leaq (,%rbp,8), %rdi
addq (%r14), %rdi
movslq %eax, %rsi
callq 0x53ac
movl (%rbx), %eax
testl %eax, %eax
jle 0x4fd4
xorl %r13d, %r13d
movq %r15, %rdi
movq %r12, %rsi
callq 0x31c0
movq (%r14), %rax
leaq (%rax,%rbp,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x4fc2
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x4fca
movq %r12, %rdx
callq 0x5606
incl %r13d
movl (%rbx), %eax
cmpl %eax, %r13d
jl 0x4f92
movq (%rsp), %rdx
incq %rdx
movslq %eax, %rcx
cmpq %rcx, %rdx
jl 0x4f6e
leaq 0x10(%rsp), %rdi
callq 0x3090
leaq 0x10(%rsp), %rdi
callq 0x30b0
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x500d
jmp 0x500d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x30b0
movq %rbx, %rdi
callq 0x3410