// File: /workspace/github_cpp_makefile_star2_O1/angelapwen[P]text-based-game/game.cpp
// Function: Game::updateMap()
void Game::updateMap() {
	// Place the user's * on map depending on the new room
	if (current->getName() == "study") {
		map->placeStudy();
	}
	else if (current->getName() == "library") {
		map->placeLibrary();
	}
	else if (current->getName() == "conservatory") {
		map->placeConservatory();
	}
	else if (current->getName() == "billiard room") {
		map->placeBilliards();
	}
	else if (current->getName() == "dining room") {
		map->placeDining();
	}
	else if (current->getName() == "ballroom") {
		map->placeBallroom();
	}
	else if (current->getName() == "lounge") {
		map->placeLounge();
	}
	else if (current->getName() == "kitchen") {
		map->placeKitchen();
	}
	else if (current->getName() == "hall") {
		map->placeHall();
	}
	else {
		cout << "Invalid room name." << endl;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x18(%rdi), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x6ae7(%rip), %rsi      # 0xd738
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
leaq 0x18(%rsp), %r15
cmpq %r15, %rdi
je 0x6c75
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6e96
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x6abe(%rip), %rsi      # 0xd753
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6cb4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6ea0
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x6a9f(%rip), %rsi      # 0xd773
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6cf3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6eaa
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x6a80(%rip), %rsi      # 0xd793
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6d32
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6eb4
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x6a99(%rip), %rsi      # 0xd7eb
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6d71
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6ebe
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x6a20(%rip), %rsi      # 0xd7b1
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6db0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6ec8
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x6a38(%rip), %rsi      # 0xd808
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6def
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6ed2
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x69cb(%rip), %rsi      # 0xd7da
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6e2e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6edc
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa474
leaq 0x697c(%rip), %rsi      # 0xd7ca
movq %r14, %rdi
callq 0x2070
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6e6d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %ebp, %ebp
je 0x6ee6
movq 0xe158(%rip), %rbx      # 0x14fd0
leaq 0x8867(%rip), %rsi      # 0xf6e6
movl $0x12, %edx
movq %rbx, %rdi
callq 0x21c0
movq %rbx, %rdi
callq 0x20a0
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8a6e
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8a9e
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8afe
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8ace
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8bbe
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8b2e
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8b8e
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8bee
jmp 0x6eee
movq (%rbx), %rdi
callq 0x8b5e
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop