// File: /workspace/github_cpp_makefile_star2_O3/MichaelXanth[P]RPG_Game/Game/Game.cpp
// Function: Game::DisplayActions(unsigned int const&, bool)
void Game::DisplayActions(const unsigned int& arrow, bool inventoryActions)
{
    if (!inventoryActions && arrow == 0)
        cout << "\033[1;33m~> Attack\033[0m                        " << endl;
    else if (!inventoryActions)
        cout << "   Attack                        " << endl;

    if (!inventoryActions && arrow == 1)
        cout << "\033[1;33m~> Use Spell\033[0m                        " << endl;
    else if (!inventoryActions)
        cout << "   Use Spell                        " << endl;

    if ((!inventoryActions && arrow == 2) || (inventoryActions && arrow == 0))
        cout << "\033[1;33m~> Change Armor\033[0m                        " << endl;
    else
        cout << "   Change Armor                        " << endl;

    if ((!inventoryActions && arrow == 3) || (inventoryActions && arrow == 1))
        cout << "\033[1;33m~> Change Weapon\033[0m                        " << endl;
    else
        cout << "   Change Weapon                        " << endl;

    if ((!inventoryActions && arrow == 4) || (inventoryActions && arrow == 2))
        cout << "\033[1;33m~> Drink Potion\033[0m                        " << endl;
    else
        cout << "   Drink Potion                        " << endl;
    cout << "                                           " << endl;
    cout << "                                           \n\033[2A";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movl (%rsi), %eax
testl %eax, %eax
setne %cl
orb %bpl, %cl
cmpb $0x1, %cl
jne 0xbc1e
testb %bpl, %bpl
je 0xbc33
testl %eax, %eax
je 0xbce6
movq 0x233bb(%rip), %rdi     # 0x2efc8
leaq 0x18aeb(%rip), %rsi     # 0x246ff
movl $0x27, %edx
jmp 0xbcf9
movq 0x233a3(%rip), %r14     # 0x2efc8
leaq 0x189fc(%rip), %rsi     # 0x24628
movl $0x2c, %edx
jmp 0xbc46
movq 0x2338e(%rip), %r14     # 0x2efc8
leaq 0x18a14(%rip), %rsi     # 0x24655
movl $0x21, %edx
movq %r14, %rdi
callq 0x31e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3190
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
cmpl $0x1, (%rbx)
jne 0xbc8f
movq 0x23347(%rip), %rdi     # 0x2efc8
leaq 0x189ef(%rip), %rsi     # 0x24677
movl $0x2f, %edx
jmp 0xbca2
movq 0x23332(%rip), %rdi     # 0x2efc8
leaq 0x18a0a(%rip), %rsi     # 0x246a7
movl $0x24, %edx
callq 0x31e0
movq 0x2331a(%rip), %r14     # 0x2efc8
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3190
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movl %ebp, %eax
xorb $0x1, %al
movzbl %al, %eax
addl %eax, %eax
cmpl %eax, (%rbx)
jne 0xbc06
movq 0x232db(%rip), %rdi     # 0x2efc8
leaq 0x189d8(%rip), %rsi     # 0x246cc
movl $0x32, %edx
callq 0x31e0
movq 0x232c3(%rip), %r14     # 0x2efc8
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3190
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
xorb $0x1, %bpl
movzbl %bpl, %r15d
leal 0x1(,%r15,2), %eax
cmpl %eax, (%rbx)
jne 0xbd55
movq 0x23281(%rip), %rdi     # 0x2efc8
leaq 0x189d9(%rip), %rsi     # 0x24727
movl $0x33, %edx
jmp 0xbd68
movq 0x2326c(%rip), %rdi     # 0x2efc8
leaq 0x189f8(%rip), %rsi     # 0x2475b
movl $0x28, %edx
callq 0x31e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3190
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leal 0x2(,%r15,2), %eax
cmpl %eax, (%rbx)
jne 0xbdb5
movq 0x23221(%rip), %rdi     # 0x2efc8
leaq 0x189d6(%rip), %rsi     # 0x24784
movl $0x32, %edx
jmp 0xbdc8
movq 0x2320c(%rip), %rdi     # 0x2efc8
leaq 0x189f4(%rip), %rsi     # 0x247b7
movl $0x27, %edx
callq 0x31e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3190
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq 0x189e4(%rip), %rsi     # 0x247df
movl $0x2b, %edx
movq %r14, %rdi
callq 0x31e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3190
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq 0x189d5(%rip), %rsi     # 0x2480b
movl $0x30, %edx
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x31e0
nop