// File: MichaelXanth[P]RPG_Game/Market/Market.cpp
// Function: Market::Market()
Market::Market() : lightingSpellsForSale(0), fireSpellsForSale(0)   , iceSpellsForSale(0),
                   weaponsForSale(0)       , potionsForSale(0)      , armorsForSale(0)   , 
                   minSpellPrice(INT32_MAX), minItemPrice(INT32_MAX), minPrice(INT32_MAX), 
                   mostItems(0)            , prevLevel(0)
{
    AddLightingSpells(10);
    AddFireSpells(10);
    AddIceSpells(10);
    AddWeapons(10);
    AddPotions(10);
    AddArmors(10);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0xa0(%rbp)
callq 0x5e50
movq -0x38(%rbp), %rdi
addq $0xa8, %rdi
movq %rdi, -0x98(%rbp)
callq 0x26b20
movq -0x38(%rbp), %rdi
addq $0xc0, %rdi
movq %rdi, -0x90(%rbp)
callq 0x26b40
movq -0x38(%rbp), %rdi
addq $0xd8, %rdi
movq %rdi, -0x88(%rbp)
callq 0x26b60
movq -0x38(%rbp), %rdi
addq $0xf0, %rdi
movq %rdi, -0x80(%rbp)
callq 0x26b80
movq -0x38(%rbp), %rdi
addq $0x108, %rdi            # imm = 0x108
movq %rdi, -0x78(%rbp)
callq 0x26ba0
movq -0x38(%rbp), %rdi
addq $0x120, %rdi            # imm = 0x120
movq %rdi, -0x70(%rbp)
callq 0x26bc0
movq -0x38(%rbp), %rdi
addq $0x138, %rdi            # imm = 0x138
movq %rdi, -0x68(%rbp)
callq 0x3a040
movq -0x38(%rbp), %rdi
addq $0x150, %rdi            # imm = 0x150
movq %rdi, -0x60(%rbp)
callq 0x3a040
movq -0x38(%rbp), %rdi
addq $0x168, %rdi            # imm = 0x168
movq %rdi, -0x58(%rbp)
callq 0x3a040
movq -0x38(%rbp), %rdi
addq $0x180, %rdi            # imm = 0x180
movq %rdi, -0x50(%rbp)
callq 0x3a040
movq -0x38(%rbp), %rdi
addq $0x198, %rdi            # imm = 0x198
movq %rdi, -0x48(%rbp)
callq 0x3a040
movq -0x38(%rbp), %rdi
addq $0x1b0, %rdi            # imm = 0x1B0
movq %rdi, -0x40(%rbp)
callq 0x3a040
movq -0x38(%rbp), %rdi
movl $0x0, 0x1c8(%rdi)
movl $0x0, 0x1cc(%rdi)
movl $0x0, 0x1d0(%rdi)
movl $0x0, 0x1d4(%rdi)
movl $0x0, 0x1d8(%rdi)
movl $0x0, 0x1dc(%rdi)
movl $0x7fffffff, 0x1e0(%rdi) # imm = 0x7FFFFFFF
movl $0x7fffffff, 0x1e4(%rdi) # imm = 0x7FFFFFFF
movl $0x7fffffff, 0x1e8(%rdi) # imm = 0x7FFFFFFF
movl $0x0, 0x1ec(%rdi)
movl $0x0, 0x1f0(%rdi)
movl $0xa, -0xc(%rbp)
leaq -0xc(%rbp), %rsi
callq 0x2f700
jmp 0x2f5e3
movq -0xa0(%rbp), %rdi
movl $0xa, -0x20(%rbp)
leaq -0x20(%rbp), %rsi
callq 0x2fa90
jmp 0x2f5fc
movq -0xa0(%rbp), %rdi
movl $0xa, -0x24(%rbp)
leaq -0x24(%rbp), %rsi
callq 0x2fdf0
jmp 0x2f615
movq -0xa0(%rbp), %rdi
movl $0xa, -0x28(%rbp)
leaq -0x28(%rbp), %rsi
callq 0x30160
jmp 0x2f62e
movq -0xa0(%rbp), %rdi
movl $0xa, -0x2c(%rbp)
leaq -0x2c(%rbp), %rsi
callq 0x30460
jmp 0x2f647
movq -0xa0(%rbp), %rdi
movl $0xa, -0x30(%rbp)
leaq -0x30(%rbp), %rsi
callq 0x309a0
jmp 0x2f660
addq $0xa0, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x3a060
movq -0x48(%rbp), %rdi
callq 0x3a060
movq -0x50(%rbp), %rdi
callq 0x3a060
movq -0x58(%rbp), %rdi
callq 0x3a060
movq -0x60(%rbp), %rdi
callq 0x3a060
movq -0x68(%rbp), %rdi
callq 0x3a060
movq -0x70(%rbp), %rdi
callq 0x26be0
movq -0x78(%rbp), %rdi
callq 0x26c40
movq -0x80(%rbp), %rdi
callq 0x26ca0
movq -0x88(%rbp), %rdi
callq 0x26d00
movq -0x90(%rbp), %rdi
callq 0x26d60
movq -0x98(%rbp), %rdi
callq 0x26dc0
movq -0x38(%rbp), %rdi
callq 0x50b0
movq -0x18(%rbp), %rdi
callq 0x4440
nopl (%rax)