// File: /workspace/github_cpp_makefile_star2_O2/angelapwen[P]text-based-game/game.cpp
// Function: Game::commitMurder()
void Game::commitMurder() {
	string weaponChoice;

	cout <<
	     "\n********************************************************************************"
	     << endl;
	cout << "Mr. Boddy has entered the " << murderRoom << "." << endl;
	cout << "You have successfully collected at least four unique weapons." <<
	     endl;
	cout << "This is your opportunity to murder him and flee the scene!" << endl;
	cout << "\nPress enter when you are ready." << endl;
	getchar();
	cout << "Which weapon would you like to use to kill Mr. Boddy?" << endl;
	cout << "The contents of your satchel are: " << endl;

	// Print weapons in the satchel
	satchel->printWeapons();

	cout << "Type your weapon of choice exactly as printed above." << endl;
	weaponChoice = weaponValidation();

	cout << "\nYou advance towards Mr. Boddy, " << weaponChoice << " in hand."
																				  << endl;
	cout << "He smiles at you. \"";
	if (character == 's') {
		cout << "Miss Scarlet!";
	}
	else if (character == 'm') {
		cout << "Colonel Mustard!";
	}
	else if (character == 'w') {
		cout << "Mrs. White!";
	}
	else if (character == 'g') {
		cout << "Mr. Green!";
	}
	else if (character == 'p') {
		cout << "Mrs. Peacock!";
	}
	else {
		cout << "Professor Plum!";
	}
	cout << " Where did you come from?\"" << endl;
	cout << "You do not hesitate." << endl;
	cout << "After all, Hydra is counting on you." << endl;

	if (weaponChoice == "pipe") {
	cout << "You have murdered Mr. Boddy, with the lead " <<
	     weaponChoice << ", in the " << murderRoom << "." << endl;
	}
	else {
		cout << "You have murdered Mr. Boddy, with the " <<
		     weaponChoice << ", in the " << murderRoom << "." << endl;
	}

	murder = true;

	cout << "\nPress enter to continue." << endl;
	getchar();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0xc23c(%rip), %rdi      # 0x10fd0
leaq 0x4d02(%rip), %rsi      # 0x9a9d
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc221(%rip), %rdi      # 0x10fd0
leaq 0x68cf(%rip), %rsi      # 0xb685
callq 0x21a0
leaq 0x68(%rbx), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x2170
leaq 0x522f(%rip), %rsi      # 0xa000
movq %rax, %rdi
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc1e8(%rip), %rdi      # 0x10fd0
leaq 0x68b1(%rip), %rsi      # 0xb6a0
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc1cd(%rip), %rdi      # 0x10fd0
leaq 0x68d4(%rip), %rsi      # 0xb6de
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc1b2(%rip), %rdi      # 0x10fd0
leaq 0x68f4(%rip), %rsi      # 0xb719
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
callq 0x2220
movq 0xc192(%rip), %rdi      # 0x10fd0
leaq 0x68f5(%rip), %rsi      # 0xb73a
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc177(%rip), %rdi      # 0x10fd0
leaq 0x6910(%rip), %rsi      # 0xb770
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq 0xc152(%rip), %rdi      # 0x10fd0
leaq 0x690e(%rip), %rsi      # 0xb793
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x5170
movq %rsp, %rdi
leaq 0x20(%rsp), %r15
movq %r15, %rsi
callq 0x21e0
movq %r15, %rdi
callq 0x20b0
movq 0xc112(%rip), %rdi      # 0x10fd0
leaq 0x6903(%rip), %rsi      # 0xb7c8
callq 0x21a0
movq %rsp, %rsi
movq %rax, %rdi
callq 0x2170
leaq 0x690d(%rip), %rsi      # 0xb7e9
movq %rax, %rdi
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc0dd(%rip), %rdi      # 0x10fd0
leaq 0x68f9(%rip), %rsi      # 0xb7f3
callq 0x21a0
movzbl 0x8a(%rbx), %eax
cmpl $0x67, %eax
je 0x4f4c
cmpl $0x6d, %eax
je 0x4f28
cmpl $0x70, %eax
je 0x4f3a
cmpl $0x77, %eax
je 0x4f31
cmpl $0x73, %eax
jne 0x4f43
leaq 0x68e1(%rip), %rsi      # 0xb807
jmp 0x4f53
leaq 0x68e6(%rip), %rsi      # 0xb815
jmp 0x4f53
leaq 0x68ee(%rip), %rsi      # 0xb826
jmp 0x4f53
leaq 0x68fc(%rip), %rsi      # 0xb83d
jmp 0x4f53
leaq 0x6901(%rip), %rsi      # 0xb84b
jmp 0x4f53
leaq 0x68df(%rip), %rsi      # 0xb832
movq 0xc076(%rip), %rdi      # 0x10fd0
callq 0x21a0
movq 0xc06a(%rip), %rdi      # 0x10fd0
leaq 0x68ee(%rip), %rsi      # 0xb85b
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc04f(%rip), %rdi      # 0x10fd0
leaq 0x68ee(%rip), %rsi      # 0xb876
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movq 0xc034(%rip), %rdi      # 0x10fd0
leaq 0x68e8(%rip), %rsi      # 0xb88b
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
leaq 0x45b0(%rip), %rsi      # 0x9567
movq %rsp, %rdi
callq 0x2aab
leaq 0x68ea(%rip), %rcx      # 0xb8b0
leaq 0x6919(%rip), %rsi      # 0xb8e6
testb %al, %al
cmovneq %rcx, %rsi
movq 0xbff6(%rip), %rdi      # 0x10fd0
callq 0x21a0
movq %rsp, %rsi
movq %rax, %rdi
callq 0x2170
leaq 0x68eb(%rip), %rsi      # 0xb8dc
movq %rax, %rdi
callq 0x21a0
movq %rax, %rdi
movq %r14, %rsi
callq 0x2170
leaq 0x4ff5(%rip), %rsi      # 0xa000
movq %rax, %rdi
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
movb $0x1, 0x88(%rbx)
movq 0xbfa7(%rip), %rdi      # 0x10fd0
leaq 0x5f32(%rip), %rsi      # 0xaf62
callq 0x21a0
movq %rax, %rdi
callq 0x20c0
callq 0x2220
movq %rsp, %rdi
callq 0x20b0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x5056
movq %rax, %rbx
movq %rsp, %rdi
callq 0x20b0
movq %rbx, %rdi
callq 0x2290
nop