// File: /workspace/github_cpp_makefile_star2_O3/syky27[P]TicTacToe/src/DNWindow.cpp
// Function: DNWindow::drawOptions()
void DNWindow::drawOptions()
{

    refresh();
    struct winsize w;
    ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
    start_color();
    init_pair(1, COLOR_RED, COLOR_BLACK);

    mvprintw(w.ws_row / 3, w.ws_col / 10, "( ) Human vs. Human");
    mvprintw(w.ws_row / 3 + 1, w.ws_col / 10, "( ) Human vs. CPU");
    mvprintw(w.ws_row / 3 + 2, w.ws_col / 10, "( ) Human vs. Remote Human");
    mvprintw(w.ws_row / 3 + 3, w.ws_col / 10, "( ) Spectate 2 CPU");
    //mvprintw(w.ws_row / 3 + 5, w.ws_col / 10, "( ) Info");
    mvprintw(w.ws_row / 3 + 6, w.ws_col / 10, "( ) Quit");
    attron(COLOR_PAIR(1));

    mvaddch(w.ws_row / 3, w.ws_col / 10 + 1, '1');
    mvaddch(w.ws_row / 3 + 1, w.ws_col / 10 + 1, '2');
    mvaddch(w.ws_row / 3 + 2, w.ws_col / 10 + 1, '3');
    mvaddch(w.ws_row / 3 + 3, w.ws_col / 10 + 1, '4');
    
    //mvaddch(w.ws_row / 3 + 5, w.ws_col / 10 + 1, 'I');
    mvaddch(w.ws_row / 3 + 6, w.ws_col / 10 + 1, 'Q');
    attroff(COLOR_PAIR(1));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
callq 0x3480
movq %rsp, %rbx
movl $0x5413, %esi           # imm = 0x5413
movl $0x1, %edi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x33e0
callq 0x3090
movl $0x1, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x3060
movzwl (%rbx), %eax
imull $0xaaab, %eax, %edi     # imm = 0xAAAB
shrl $0x11, %edi
movzwl 0x2(%rbx), %eax
imull $0xcccd, %eax, %esi     # imm = 0xCCCD
shrl $0x13, %esi
leaq 0x1b11(%rip), %rdx      # 0x945f
xorl %eax, %eax
callq 0x33d0
movzwl (%rbx), %eax
imull $0xaaab, %eax, %edi     # imm = 0xAAAB
shrl $0x11, %edi
incl %edi
movzwl 0x2(%rbx), %eax
imull $0xcccd, %eax, %esi     # imm = 0xCCCD
shrl $0x13, %esi
leaq 0x1afc(%rip), %rdx      # 0x9473
xorl %eax, %eax
callq 0x33d0
movzwl (%rbx), %eax
imull $0xaaab, %eax, %edi     # imm = 0xAAAB
shrl $0x11, %edi
addl $0x2, %edi
movzwl 0x2(%rbx), %eax
imull $0xcccd, %eax, %esi     # imm = 0xCCCD
shrl $0x13, %esi
leaq 0x1ae4(%rip), %rdx      # 0x9485
xorl %eax, %eax
callq 0x33d0
movzwl (%rbx), %eax
imull $0xaaab, %eax, %edi     # imm = 0xAAAB
shrl $0x11, %edi
addl $0x3, %edi
movzwl 0x2(%rbx), %eax
imull $0xcccd, %eax, %esi     # imm = 0xCCCD
shrl $0x13, %esi
leaq 0x1ad5(%rip), %rdx      # 0x94a0
xorl %eax, %eax
callq 0x33d0
movzwl (%rbx), %eax
imull $0xaaab, %eax, %edi     # imm = 0xAAAB
shrl $0x11, %edi
addl $0x6, %edi
movzwl 0x2(%rbx), %eax
imull $0xcccd, %eax, %esi     # imm = 0xCCCD
shrl $0x13, %esi
leaq 0x1abe(%rip), %rdx      # 0x94b3
xorl %eax, %eax
callq 0x33d0
movq 0x55cd(%rip), %r14      # 0xcfd0
movq (%r14), %rdi
movl $0x100, %esi            # imm = 0x100
xorl %edx, %edx
callq 0x3190
movq (%r14), %rdi
movzwl (%rbx), %eax
imull $0xaaab, %eax, %esi     # imm = 0xAAAB
shrl $0x11, %esi
movzwl 0x2(%rbx), %eax
imull $0xcccd, %eax, %edx     # imm = 0xCCCD
shrl $0x13, %edx
incl %edx
callq 0x3320
cmpl $-0x1, %eax
je 0x7a47
movq (%r14), %rdi
movl $0x31, %esi
callq 0x30e0
movq (%r14), %rdi
movzwl (%rsp), %eax
imull $0xaaab, %eax, %esi     # imm = 0xAAAB
shrl $0x11, %esi
incl %esi
movzwl 0x2(%rsp), %eax
imull $0xcccd, %eax, %edx     # imm = 0xCCCD
shrl $0x13, %edx
incl %edx
callq 0x3320
cmpl $-0x1, %eax
je 0x7a80
movq (%r14), %rdi
movl $0x32, %esi
callq 0x30e0
movq (%r14), %rdi
movzwl (%rsp), %eax
imull $0xaaab, %eax, %esi     # imm = 0xAAAB
shrl $0x11, %esi
addl $0x2, %esi
movzwl 0x2(%rsp), %eax
imull $0xcccd, %eax, %edx     # imm = 0xCCCD
shrl $0x13, %edx
incl %edx
callq 0x3320
cmpl $-0x1, %eax
je 0x7aba
movq (%r14), %rdi
movl $0x33, %esi
callq 0x30e0
movq (%r14), %rdi
movzwl (%rsp), %eax
imull $0xaaab, %eax, %esi     # imm = 0xAAAB
shrl $0x11, %esi
addl $0x3, %esi
movzwl 0x2(%rsp), %eax
imull $0xcccd, %eax, %edx     # imm = 0xCCCD
shrl $0x13, %edx
incl %edx
callq 0x3320
cmpl $-0x1, %eax
je 0x7af4
movq (%r14), %rdi
movl $0x34, %esi
callq 0x30e0
movq (%r14), %rdi
movzwl (%rsp), %eax
imull $0xaaab, %eax, %esi     # imm = 0xAAAB
shrl $0x11, %esi
addl $0x6, %esi
movzwl 0x2(%rsp), %eax
imull $0xcccd, %eax, %edx     # imm = 0xCCCD
shrl $0x13, %edx
incl %edx
callq 0x3320
cmpl $-0x1, %eax
je 0x7b2e
movq (%r14), %rdi
movl $0x51, %esi
callq 0x30e0
movq (%r14), %rdi
movl $0x100, %esi            # imm = 0x100
xorl %edx, %edx
callq 0x33c0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop