// File: malcolmyeh[P]CC3K/display.cc
// Function: Display::printFloor(Floor*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Display::printFloor(Floor *floor, std::string log){
	std::cout << "\033[2J\033[1;1H";
	for (int i = 0; i < 25; i++) {
		for (int j = 0; j < 79; j++) {
			std::cout << displayGrid[i][j];
		}
		std::cout << std::endl;
	}
	std::cout << "Race: " << floor->player->getRace() << 
	"                                                          Floor "
	<< floor->getLevel() << std::endl;
	std::cout << "Gold: " << floor->player->getGold() << std::endl;
	std::cout << "HP: " << floor->player->getHP() << std::endl;
	std::cout << "Atk: " << floor->player->getAtk() << std::endl;
	std::cout << "Def: " << floor->player->getDef() << std::endl;
	std::cout << "Action: " << log << std::endl;
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdx, -0x60(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x21616(%rip), %rdi     # 0x26fd0
leaq 0x18643(%rip), %rsi     # 0x1e004
callq 0x41c0
movl $0x0, -0x1c(%rbp)
cmpl $0x19, -0x1c(%rbp)
jge 0x5a2c
movl $0x0, -0x20(%rbp)
cmpl $0x4f, -0x20(%rbp)
jge 0x5a0e
movq -0x58(%rbp), %rax
movslq -0x1c(%rbp), %rcx
imulq $0x4f, %rcx, %rcx
addq %rcx, %rax
movslq -0x20(%rbp), %rcx
movq 0x215d6(%rip), %rdi     # 0x26fd0
movsbl (%rax,%rcx), %esi
callq 0x4210
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x59da
movq 0x215bb(%rip), %rdi     # 0x26fd0
movq 0x215a4(%rip), %rsi     # 0x26fc0
callq 0x41f0
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x59cd
movq 0x2159d(%rip), %rdi     # 0x26fd0
leaq 0x18781(%rip), %rsi     # 0x1e1bb
callq 0x41c0
movq %rax, -0x78(%rbp)
movq -0x10(%rbp), %rax
movq 0xfe0(%rax), %rsi
movq (%rsi), %rax
movq 0x28(%rax), %rax
leaq -0x40(%rbp), %rdi
movq %rdi, -0x70(%rbp)
callq *%rax
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0x4180
movq %rax, -0x68(%rbp)
jmp 0x5a72
movq -0x68(%rbp), %rdi
leaq 0x18745(%rip), %rsi     # 0x1e1c2
callq 0x41c0
movq %rax, -0x80(%rbp)
jmp 0x5a88
movq -0x10(%rbp), %rdi
callq 0xcff0
movl %eax, -0x84(%rbp)
jmp 0x5a99
movl -0x84(%rbp), %esi
movq -0x80(%rbp), %rdi
callq 0x42e0
movq %rax, -0x90(%rbp)
jmp 0x5ab1
movq -0x90(%rbp), %rdi
movq 0x21501(%rip), %rsi     # 0x26fc0
callq 0x41f0
jmp 0x5ac6
leaq -0x40(%rbp), %rdi
callq 0x4130
movq 0x214fa(%rip), %rdi     # 0x26fd0
leaq 0x18fcd(%rip), %rsi     # 0x1eaaa
callq 0x41c0
movq %rax, -0xb0(%rbp)
movq -0x10(%rbp), %rax
movq 0xfe0(%rax), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq -0xb0(%rbp), %rdi
movl %eax, %esi
callq 0x42e0
movq %rax, %rdi
movq 0x214ae(%rip), %rsi     # 0x26fc0
callq 0x41f0
movq 0x214b2(%rip), %rdi     # 0x26fd0
leaq 0x1906f(%rip), %rsi     # 0x1eb94
callq 0x41c0
movq %rax, -0xa8(%rbp)
movq -0x10(%rbp), %rax
movq 0xfe0(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq -0xa8(%rbp), %rdi
movl %eax, %esi
callq 0x42e0
movq %rax, %rdi
movq 0x21466(%rip), %rsi     # 0x26fc0
callq 0x41f0
movq 0x2146a(%rip), %rdi     # 0x26fd0
leaq 0x18e72(%rip), %rsi     # 0x1e9df
callq 0x41c0
movq %rax, -0xa0(%rbp)
movq -0x10(%rbp), %rax
movq 0xfe0(%rax), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq -0xa0(%rbp), %rdi
movl %eax, %esi
callq 0x42e0
movq %rax, %rdi
movq 0x2141e(%rip), %rsi     # 0x26fc0
callq 0x41f0
movq 0x21422(%rip), %rdi     # 0x26fd0
leaq 0x18e92(%rip), %rsi     # 0x1ea47
callq 0x41c0
movq %rax, -0x98(%rbp)
movq -0x10(%rbp), %rax
movq 0xfe0(%rax), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq -0x98(%rbp), %rdi
movl %eax, %esi
callq 0x42e0
movq %rax, %rdi
movq 0x213d6(%rip), %rsi     # 0x26fc0
callq 0x41f0
movq 0x213da(%rip), %rdi     # 0x26fd0
leaq 0x18606(%rip), %rsi     # 0x1e203
callq 0x41c0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
callq 0x4180
movq %rax, %rdi
movq 0x213a8(%rip), %rsi     # 0x26fc0
callq 0x41f0
addq $0xb0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x4130
movq -0x48(%rbp), %rdi
callq 0x42f0
nopw %cs:(%rax,%rax)