// File: /workspace/github_cpp_makefile_star2_O3/MichaelXanth[P]RPG_Game/Market/Market.cpp
// Function: Market::~Market()
Market::~Market()
{
    for (int i = iceSpellsArray.size(); !iceSpellsArray.empty(); i--) {
        delete iceSpellsArray[i-1];
        iceSpellsArray.erase(iceSpellsArray.begin() + i-1);
    }

    for (int i = fireSpellsArray.size(); !fireSpellsArray.empty(); i--) {
        delete fireSpellsArray[i-1];
        fireSpellsArray.erase(fireSpellsArray.begin() + i-1);
    }

    for (int i = lightingSpellsArray.size(); !lightingSpellsArray.empty(); i--) {
        delete lightingSpellsArray[i-1];
        lightingSpellsArray.erase(lightingSpellsArray.begin() + i-1);
    }

    for (int i = weaponsArray.size(); !weaponsArray.empty(); i--) {
        delete weaponsArray[i-1];
        weaponsArray.erase(weaponsArray.begin() + i-1);
    }

    for (int i = armorsArray.size(); !armorsArray.empty(); i--) {
        delete armorsArray[i-1];
        armorsArray.erase(armorsArray.begin() + i-1);
    }

    for (int i = potionsArray.size(); !potionsArray.empty(); i--) {
        delete potionsArray[i-1];
        potionsArray.erase(potionsArray.begin() + i-1);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xd8(%rdi), %rax
movq 0xe0(%rdi), %rdx
cmpq %rdx, %rax
je 0x1a749
movq %rdx, %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %r14
shlq $0x3, %r14
movq %r14, %r15
negq %r15
movq -0x8(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1a707
movq (%rdi), %rax
callq *0x60(%rax)
movq 0xd8(%rbx), %rax
movq 0xe0(%rbx), %rdx
leaq (%rax,%r14), %rsi
cmpq %rdx, %rsi
je 0x1a731
leaq (%rax,%r14), %rdi
addq $-0x8, %rdi
subq %rax, %rdx
addq %r15, %rdx
callq 0x32b0
movq 0xd8(%rbx), %rax
movq 0xe0(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0xe0(%rbx)
addq $-0x8, %r14
addq $0x8, %r15
cmpq %rdx, %rax
jne 0x1a6e9
movq 0xc0(%rbx), %rax
movq 0xc8(%rbx), %rdx
cmpq %rdx, %rax
je 0x1a7d3
movq %rdx, %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %r14
shlq $0x3, %r14
movq %r14, %r15
negq %r15
movq -0x8(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1a791
movq (%rdi), %rax
callq *0x60(%rax)
movq 0xc0(%rbx), %rax
movq 0xc8(%rbx), %rdx
leaq (%rax,%r14), %rsi
cmpq %rdx, %rsi
je 0x1a7bb
leaq (%rax,%r14), %rdi
addq $-0x8, %rdi
subq %rax, %rdx
addq %r15, %rdx
callq 0x32b0
movq 0xc0(%rbx), %rax
movq 0xc8(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0xc8(%rbx)
addq $-0x8, %r14
addq $0x8, %r15
cmpq %rdx, %rax
jne 0x1a773
movq 0xa8(%rbx), %rax
movq 0xb0(%rbx), %rdx
cmpq %rdx, %rax
je 0x1a85d
movq %rdx, %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %r14
shlq $0x3, %r14
movq %r14, %r15
negq %r15
movq -0x8(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1a81b
movq (%rdi), %rax
callq *0x60(%rax)
movq 0xa8(%rbx), %rax
movq 0xb0(%rbx), %rdx
leaq (%rax,%r14), %rsi
cmpq %rdx, %rsi
je 0x1a845
leaq (%rax,%r14), %rdi
addq $-0x8, %rdi
subq %rax, %rdx
addq %r15, %rdx
callq 0x32b0
movq 0xa8(%rbx), %rax
movq 0xb0(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0xb0(%rbx)
addq $-0x8, %r14
addq $0x8, %r15
cmpq %rdx, %rax
jne 0x1a7fd
movq 0xf0(%rbx), %rax
movq 0xf8(%rbx), %rdx
cmpq %rdx, %rax
je 0x1a8e7
movq %rdx, %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %r14
shlq $0x3, %r14
movq %r14, %r15
negq %r15
movq -0x8(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1a8a5
movq (%rdi), %rax
callq *0x20(%rax)
movq 0xf0(%rbx), %rax
movq 0xf8(%rbx), %rdx
leaq (%rax,%r14), %rsi
cmpq %rdx, %rsi
je 0x1a8cf
leaq (%rax,%r14), %rdi
addq $-0x8, %rdi
subq %rax, %rdx
addq %r15, %rdx
callq 0x32b0
movq 0xf0(%rbx), %rax
movq 0xf8(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0xf8(%rbx)
addq $-0x8, %r14
addq $0x8, %r15
cmpq %rdx, %rax
jne 0x1a887
movq 0x120(%rbx), %rax
movq 0x128(%rbx), %rdx
cmpq %rdx, %rax
je 0x1a971
movq %rdx, %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %r14
shlq $0x3, %r14
movq %r14, %r15
negq %r15
movq -0x8(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1a92f
movq (%rdi), %rax
callq *0x20(%rax)
movq 0x120(%rbx), %rax
movq 0x128(%rbx), %rdx
leaq (%rax,%r14), %rsi
cmpq %rdx, %rsi
je 0x1a959
leaq (%rax,%r14), %rdi
addq $-0x8, %rdi
subq %rax, %rdx
addq %r15, %rdx
callq 0x32b0
movq 0x120(%rbx), %rax
movq 0x128(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0x128(%rbx)
addq $-0x8, %r14
addq $0x8, %r15
cmpq %rdx, %rax
jne 0x1a911
movq 0x108(%rbx), %rax
movq 0x110(%rbx), %rdx
cmpq %rdx, %rax
je 0x1a9fb
movq %rdx, %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %r14
shlq $0x3, %r14
movq %r14, %r15
negq %r15
movq -0x8(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1a9b9
movq (%rdi), %rax
callq *0x20(%rax)
movq 0x108(%rbx), %rax
movq 0x110(%rbx), %rdx
leaq (%rax,%r14), %rsi
cmpq %rdx, %rsi
je 0x1a9e3
leaq (%rax,%r14), %rdi
addq $-0x8, %rdi
subq %rax, %rdx
addq %r15, %rdx
callq 0x32b0
movq 0x108(%rbx), %rax
movq 0x110(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0x110(%rbx)
addq $-0x8, %r14
addq $0x8, %r15
cmpq %rdx, %rax
jne 0x1a99b
movq 0x1b0(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa0c
callq 0x3170
movq 0x198(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa1d
callq 0x3170
movq 0x180(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa2e
callq 0x3170
movq 0x168(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa3f
callq 0x3170
movq 0x150(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa50
callq 0x3170
movq 0x138(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa61
callq 0x3170
movq 0x120(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa72
callq 0x3170
movq 0x108(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa83
callq 0x3170
movq 0xf0(%rbx), %rdi
testq %rdi, %rdi
je 0x1aa94
callq 0x3170
movq 0xd8(%rbx), %rdi
testq %rdi, %rdi
je 0x1aaa5
callq 0x3170
movq 0xc0(%rbx), %rdi
testq %rdi, %rdi
je 0x1aab6
callq 0x3170
movq 0xa8(%rbx), %rdi
testq %rdi, %rdi
je 0x1aac7
callq 0x3170
leaq 0x90(%rbx), %rdi
callq 0x3c1c
leaq 0x78(%rbx), %rdi
callq 0x3c1c
leaq 0x60(%rbx), %rdi
callq 0x3c1c
leaq 0x48(%rbx), %rdi
callq 0x3c1c
leaq 0x30(%rbx), %rdi
callq 0x3c1c
leaq 0x18(%rbx), %rdi
callq 0x3c1c
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3c1c