// File: /workspace/github_cpp_makefile_star2_O3/dnegovan[P]Intruder-On-Donnar-V/Game.cpp
// Function: Game::decrementTime()
bool Game::decrementTime()
{
    std::string temp;
	if (timeLeft > 1)
    {
		timeLeft--;

        //check if we should show hint
        if (timeTilHint > 1)
        {
            timeTilHint--;
        }
        else
        {
            printFile("hint.txt", RED, 0);
            std::cout << "\nPress enter to continue" << std::endl;
            getline(std::cin, temp);
            timeTilHint = TIME_HINT;
        }
        //keep playing
        return true;
    }
    else
    {
        if (!markNelson.incubated)
        {
    		markNelson.incubated = true;
    		std::cout << RED
                      << "\nTHE PARASITE HAS INCUBATED.  You must now kill the "
                      << "host before it \nspreads to another crew member.\n"
                      << RESET << "\nPress enter to continue" << std::endl;
            getline(std::cin, temp);
            if (!markNelson.pack.checkFor(compound))
            {
    		          objective2 =
                      "-Neutralize the parasite - FAILED";
            }
            objective3 = "-kill any infected crewMembers";
    		timeLeft = TIME_TIL_SPREAD;
    		deadline = "          TIME UNTIL NEXT CREW MEMBER IS INFECTED";
            //keep playing
            return true;
        }
    	else
        {
            //check if gameOver
            bool continueGame = parasiteSpreads();
            //if not display updates
            if (markNelson.state == UNFINISHED)
            {   //don't need to display this if the game is over
                std::cout << RED
                          << "THE PARASITE HAS SPREAD TO ANOTHER CREW MEMBER.\n"
                          << "Kill any infected to save the rest of your crew\n"
                          << RESET << "\nPress enter to continue" << std::endl
                          << std::endl;
                getline(std::cin, temp);
        		timeLeft = TIME_TIL_SPREAD;
        		objective1 =
                    "-talk to the crew to discover all imposters";
            }
            return continueGame;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movl 0x38(%rdi), %eax
cmpl $0x2, %eax
jl 0x12789
decl %eax
movl %eax, 0x38(%rbx)
movl 0x3c(%rbx), %r14d
cmpl $0x2, %r14d
jl 0x128ce
decl %r14d
jmp 0x129bb
cmpb $0x0, 0x28(%rbx)
je 0x129c7
movq %rbx, %rdi
callq 0x1317e
movl %eax, %r14d
cmpl $0x0, 0x30(%rbx)
jne 0x12b4d
movq 0x9819(%rip), %rdi      # 0x1bfc8
leaq 0x420d(%rip), %rsi      # 0x169c3
movl $0x5, %edx
callq 0x3210
movq 0x9801(%rip), %rdi      # 0x1bfc8
leaq 0x42ed(%rip), %rsi      # 0x16abb
movl $0x30, %edx
callq 0x3210
movq 0x97e9(%rip), %rdi      # 0x1bfc8
leaq 0x4306(%rip), %rsi      # 0x16aec
movl $0x30, %edx
callq 0x3210
movq 0x97d1(%rip), %rdi      # 0x1bfc8
leaq 0x38b0(%rip), %rsi      # 0x160ae
movl $0x4, %edx
callq 0x3210
movq 0x97b9(%rip), %r15      # 0x1bfc8
leaq 0x41b3(%rip), %rsi      # 0x169c9
movl $0x18, %edx
movq %r15, %rdi
callq 0x3210
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x31d0
movsbl %al, %esi
movq 0x9787(%rip), %rdi      # 0x1bfc8
callq 0x3030
movq %rax, %rdi
callq 0x3140
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3140
movq 0x9759(%rip), %rdi      # 0x1bfd8
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x31d0
movsbl %al, %edx
movq 0x973e(%rip), %rdi      # 0x1bfd8
leaq -0x40(%rbp), %rsi
callq 0x3350
movl $0x4, 0x38(%rbx)
movq 0x68(%rbx), %rdx
addq $0x60, %rbx
leaq 0x4264(%rip), %rcx      # 0x16b1d
movl $0x2b, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3290
jmp 0x12b4d
leaq -0x90(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x40da(%rip), %rsi      # 0x169ba
leaq 0x40db(%rip), %rdx      # 0x169c2
leaq -0xa0(%rbp), %rdi
callq 0xe56e
leaq -0x70(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x40c1(%rip), %rsi      # 0x169c3
leaq 0x40bf(%rip), %rdx      # 0x169c8
leaq -0x80(%rbp), %rdi
callq 0xe56e
leaq -0xa0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
xorps %xmm0, %xmm0
callq 0x106b8
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x12933
callq 0x31c0
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x12944
callq 0x31c0
movq 0x967d(%rip), %r14      # 0x1bfc8
leaq 0x4077(%rip), %rsi      # 0x169c9
movl $0x18, %edx
movq %r14, %rdi
callq 0x3210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x31d0
movsbl %al, %esi
movq 0x964b(%rip), %rdi      # 0x1bfc8
callq 0x3030
movq %rax, %rdi
callq 0x3140
movq 0x9647(%rip), %rdi      # 0x1bfd8
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x31d0
movl $0xe, %r14d
movsbl %al, %edx
movq 0x9626(%rip), %rdi      # 0x1bfd8
leaq -0x40(%rbp), %rsi
callq 0x3350
movl %r14d, 0x3c(%rbx)
movb $0x1, %r14b
jmp 0x12b4d
movb $0x1, 0x28(%rbx)
movq 0x95f6(%rip), %rdi      # 0x1bfc8
leaq 0x3fea(%rip), %rsi      # 0x169c3
movl $0x5, %edx
callq 0x3210
movq 0x95de(%rip), %rdi      # 0x1bfc8
leaq 0x3ff1(%rip), %rsi      # 0x169e2
movl $0x34, %edx
callq 0x3210
movq 0x95c6(%rip), %rdi      # 0x1bfc8
leaq 0x400e(%rip), %rsi      # 0x16a17
movl $0x30, %edx
callq 0x3210
movq 0x95ae(%rip), %rdi      # 0x1bfc8
leaq 0x368d(%rip), %rsi      # 0x160ae
movl $0x4, %edx
callq 0x3210
movq 0x9596(%rip), %r14      # 0x1bfc8
leaq 0x3f90(%rip), %rsi      # 0x169c9
movl $0x18, %edx
movq %r14, %rdi
callq 0x3210
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x31d0
movsbl %al, %esi
movq 0x9564(%rip), %rdi      # 0x1bfc8
callq 0x3030
movq %rax, %rdi
callq 0x3140
movq 0x9560(%rip), %rdi      # 0x1bfd8
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x31d0
movsbl %al, %edx
movq 0x9545(%rip), %rdi      # 0x1bfd8
leaq -0x40(%rbp), %rsi
callq 0x3350
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0xa24d(%rip), %rsi      # 0x1ccf8
movq 0xa24e(%rip), %rdx      # 0x1cd00
addq %rsi, %rdx
leaq -0x60(%rbp), %rdi
callq 0xd7ca
leaq -0x60(%rbp), %rsi
movq %rbx, %rdi
callq 0xd686
movl %eax, %r14d
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x12adb
callq 0x31c0
testb %r14b, %r14b
jne 0x12b02
leaq 0x80(%rbx), %rdi
movq 0x88(%rbx), %rdx
leaq 0x3f53(%rip), %rcx      # 0x16a48
movl $0x21, %r8d
xorl %esi, %esi
callq 0x3290
leaq 0xa0(%rbx), %rdi
movq 0xa8(%rbx), %rdx
leaq 0x3f53(%rip), %rcx      # 0x16a6a
movl $0x1e, %r8d
xorl %esi, %esi
callq 0x3290
movl $0x4, 0x38(%rbx)
movq 0x48(%rbx), %rdx
addq $0x40, %rbx
movb $0x1, %r14b
leaq 0x3f4c(%rip), %rcx      # 0x16a89
movl $0x31, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3290
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x12b5b
callq 0x31c0
movl %r14d, %eax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
jne 0x12b9e
jmp 0x12bac
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x12b92
callq 0x31c0
jmp 0x12b92
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x12bac
callq 0x31c0
jmp 0x12bac
jmp 0x12ba9
jmp 0x12ba9
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x12bba
callq 0x31c0
movq %rbx, %rdi
callq 0x3320