// File: malcolmyeh[P]CC3K/floor.cc
// Function: Floor::~Floor()
Floor::~Floor() {
	for (int i = 0; i < enemies.size(); ++i) {
		//delete enemies.at(i);
		Enemy * temp = enemies.at(i);
		enemies.erase(enemies.begin() + i);
		delete temp;
		--i;
	}
	for (int i = 0; i < golds.size(); ++i) { 
		//delete golds.at(i); 
		Gold * temp = golds.at(i);
		golds.erase(golds.begin() + i);
		delete temp;
		--i;
	}
	for (int i = 0; i < potions.size(); ++i) {
		//delete potions.at(i);
		Potion * temp = potions.at(i);
		potions.erase(potions.begin() + i);
		delete temp;
		--i;
	}
	for (int i = 0; i < chambers.size(); ++i) {
		//delete chambers.at(i);
		Chamber * temp = chambers.at(i);
		chambers.erase(chambers.begin() + i);
		delete temp;
		--i;
	}
	delete this->player;
	delete this->stair;
	delete this->suit;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movl $0x0, -0xc(%rbp)
movq -0xd0(%rbp), %rdi
movslq -0xc(%rbp), %rax
movq %rax, -0xd8(%rbp)
addq $0x7c0, %rdi            # imm = 0x7C0
callq 0xd0a0
movq %rax, %rcx
movq -0xd8(%rbp), %rax
cmpq %rcx, %rax
jae 0x5ee5
movq -0xd0(%rbp), %rdi
addq $0x7c0, %rdi            # imm = 0x7C0
movslq -0xc(%rbp), %rsi
callq 0xd0c0
movq %rax, -0xe0(%rbp)
jmp 0x5e42
movq -0xd0(%rbp), %rdi
movq -0xe0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
addq $0x7c0, %rdi            # imm = 0x7C0
movq %rdi, -0xf0(%rbp)
callq 0xd180
movq %rax, -0x30(%rbp)
movslq -0xc(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0xd1b0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0xd1f0
movq -0xf0(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xd110
movq %rax, -0xe8(%rbp)
jmp 0x5ea5
movq -0xe8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xf8(%rbp)
cmpq $0x0, %rax
je 0x5ece
movq -0xf8(%rbp), %rdi
movq (%rdi), %rax
callq *0x60(%rax)
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x5df1
movl $0x0, -0x3c(%rbp)
movq -0xd0(%rbp), %rdi
movslq -0x3c(%rbp), %rax
movq %rax, -0x100(%rbp)
addq $0x7d8, %rdi            # imm = 0x7D8
callq 0xd230
movq %rax, %rcx
movq -0x100(%rbp), %rax
cmpq %rcx, %rax
jae 0x5ff0
movq -0xd0(%rbp), %rdi
addq $0x7d8, %rdi            # imm = 0x7D8
movslq -0x3c(%rbp), %rsi
callq 0xd250
movq %rax, -0x108(%rbp)
jmp 0x5f3d
movq -0xd0(%rbp), %rdi
movq -0x108(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x48(%rbp)
addq $0x7d8, %rdi            # imm = 0x7D8
movq %rdi, -0x118(%rbp)
callq 0xd300
movq %rax, -0x60(%rbp)
movslq -0x3c(%rbp), %rsi
leaq -0x60(%rbp), %rdi
callq 0xd330
movq %rax, -0x58(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0xd370
movq -0x118(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0xd290
movq %rax, -0x110(%rbp)
jmp 0x5fa0
movq -0x110(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x120(%rbp)
cmpq $0x0, %rax
je 0x5fd9
movq -0x120(%rbp), %rdi
callq 0xd3b0
movq -0x120(%rbp), %rdi
movl $0x38, %esi
callq 0x41e0
movl -0x3c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x5eec
movl $0x0, -0x6c(%rbp)
movq -0xd0(%rbp), %rdi
movslq -0x6c(%rbp), %rax
movq %rax, -0x128(%rbp)
addq $0x7f0, %rdi            # imm = 0x7F0
callq 0xd3d0
movq %rax, %rcx
movq -0x128(%rbp), %rax
cmpq %rcx, %rax
jae 0x610a
movq -0xd0(%rbp), %rdi
addq $0x7f0, %rdi            # imm = 0x7F0
movslq -0x6c(%rbp), %rsi
callq 0xd3f0
movq %rax, -0x130(%rbp)
jmp 0x6048
movq -0xd0(%rbp), %rdi
movq -0x130(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x78(%rbp)
addq $0x7f0, %rdi            # imm = 0x7F0
movq %rdi, -0x140(%rbp)
callq 0xd4a0
movq %rax, -0x90(%rbp)
movslq -0x6c(%rbp), %rsi
leaq -0x90(%rbp), %rdi
callq 0xd4d0
movq %rax, -0x88(%rbp)
leaq -0x80(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0xd510
movq -0x140(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0xd430
movq %rax, -0x138(%rbp)
jmp 0x60b7
movq -0x138(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x148(%rbp)
cmpq $0x0, %rax
je 0x60f3
movq -0x148(%rbp), %rdi
callq 0xd550
movq -0x148(%rbp), %rdi
movl $0x30, %esi
callq 0x41e0
movl -0x6c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x5ff7
movl $0x0, -0x9c(%rbp)
movq -0xd0(%rbp), %rdi
movslq -0x9c(%rbp), %rax
movq %rax, -0x150(%rbp)
addq $0x808, %rdi            # imm = 0x808
callq 0xd570
movq %rax, %rcx
movq -0x150(%rbp), %rax
cmpq %rcx, %rax
jae 0x623c
movq -0xd0(%rbp), %rdi
addq $0x808, %rdi            # imm = 0x808
movslq -0x9c(%rbp), %rsi
callq 0xd590
movq %rax, -0x158(%rbp)
jmp 0x616b
movq -0xd0(%rbp), %rdi
movq -0x158(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xa8(%rbp)
addq $0x808, %rdi            # imm = 0x808
movq %rdi, -0x168(%rbp)
callq 0xd640
movq %rax, -0xc0(%rbp)
movslq -0x9c(%rbp), %rsi
leaq -0xc0(%rbp), %rdi
callq 0xd670
movq %rax, -0xb8(%rbp)
leaq -0xb0(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0xd6b0
movq -0x168(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0xd5d0
movq %rax, -0x160(%rbp)
jmp 0x61e6
movq -0x160(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x170(%rbp)
cmpq $0x0, %rax
je 0x6219
movq -0x170(%rbp), %rdi
movl $0x14, %esi
callq 0x41e0
movl -0x9c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x9c(%rbp)
movl -0x9c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c(%rbp)
jmp 0x6114
movq -0xd0(%rbp), %rax
movq 0xfe0(%rax), %rax
movq %rax, -0x178(%rbp)
cmpq $0x0, %rax
je 0x6264
movq -0x178(%rbp), %rdi
movq (%rdi), %rax
callq *0x60(%rax)
movq -0xd0(%rbp), %rax
movq 0xfd8(%rax), %rax
movq %rax, -0x180(%rbp)
cmpq $0x0, %rax
je 0x6290
movq -0x180(%rbp), %rdi
movl $0xc, %esi
callq 0x41e0
movq -0xd0(%rbp), %rax
movq 0xfe8(%rax), %rax
movq %rax, -0x188(%rbp)
cmpq $0x0, %rax
je 0x62bc
movq -0x188(%rbp), %rdi
movl $0x10, %esi
callq 0x41e0
movq -0xd0(%rbp), %rdi
addq $0x808, %rdi            # imm = 0x808
callq 0xd6f0
movq -0xd0(%rbp), %rdi
addq $0x7f0, %rdi            # imm = 0x7F0
callq 0xd750
movq -0xd0(%rbp), %rdi
addq $0x7d8, %rdi            # imm = 0x7D8
callq 0xd7b0
movq -0xd0(%rbp), %rdi
addq $0x7c0, %rdi            # imm = 0x7C0
callq 0xd810
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
movq %rax, %rdi
callq 0xd100
nopl (%rax)