// File: /workspace/github_cpp_makefile_star2_O1/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
testl %edx, %edx
jne 0xbc36
cmpl $0x0, (%rbx)
jne 0xbc36
movq 0x233a0(%rip), %rdi     # 0x2efc8
leaq 0x189f9(%rip), %rsi     # 0x24628
movl $0x2c, %edx
jmp 0xbc4e
testb %bpl, %bpl
jne 0xbca5
movq 0x23386(%rip), %rdi     # 0x2efc8
leaq 0x18a0c(%rip), %rsi     # 0x24655
movl $0x21, %edx
callq 0x31e0
movq 0x2336e(%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
testb %bpl, %bpl
jne 0xbca0
cmpl $0x1, (%rbx)
jne 0xbca0
movq 0x23336(%rip), %rdi     # 0x2efc8
leaq 0x189de(%rip), %rsi     # 0x24677
movl $0x2f, %edx
jmp 0xbcd2
testb %bpl, %bpl
je 0xbcbf
cmpl $0x0, (%rbx)
je 0xbd0b
movq 0x23317(%rip), %rdi     # 0x2efc8
leaq 0x18a47(%rip), %rsi     # 0x246ff
movl $0x27, %edx
jmp 0xbd1e
movq 0x23302(%rip), %rdi     # 0x2efc8
leaq 0x189da(%rip), %rsi     # 0x246a7
movl $0x24, %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
movl %ebp, %eax
xorb $0x1, %al
movzbl %al, %eax
addl %eax, %eax
cmpl %eax, (%rbx)
jne 0xbcaa
movq 0x232b6(%rip), %rdi     # 0x2efc8
leaq 0x189b3(%rip), %rsi     # 0x246cc
movl $0x32, %edx
callq 0x31e0
movq 0x2329e(%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 0xbd7a
movq 0x2325c(%rip), %rdi     # 0x2efc8
leaq 0x189b4(%rip), %rsi     # 0x24727
movl $0x33, %edx
jmp 0xbd8d
movq 0x23247(%rip), %rdi     # 0x2efc8
leaq 0x189d3(%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 0xbdda
movq 0x231fc(%rip), %rdi     # 0x2efc8
leaq 0x189b1(%rip), %rsi     # 0x24784
movl $0x32, %edx
jmp 0xbded
movq 0x231e7(%rip), %rdi     # 0x2efc8
leaq 0x189cf(%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 0x189bf(%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 0x189b0(%rip), %rsi     # 0x2480b
movl $0x30, %edx
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x31e0