// File: /workspace/github_cpp_makefile_star2_O2/arisKoutsou[P]oopproj/./src/inventory/Inventory.cpp
// Function: Inventory::printPotions()
void Inventory :: printPotions() {
  if (hasPotions() == false) return;
  cout << '+' << string(106, '-') << '+' << endl;
  cout << '|' << setw(53 + 7/2) << "POTIONS" << setw(54 - 7/2) << '|' << endl;
  printPotionFrame();
  cout << '|'
       << setw(14) << "NAME" << setw(11) << '|'
       << setw(6) << "PRICE" << setw(2) << '|'
       << setw(10) << "MIN LEVEL" << setw(2) << '|'
       << setw(15) << "STRENGTH BONUS" << setw(2) << '|'
       << setw(16) << "DEXTERITY BONUS" << setw(2) << '|'
       << setw(14) << "AGILITY BONUS" << setw(2) << '|'
       << setw(9) << "DURATION" << setw(2) << '|'
       << endl;
  list<Item*> :: iterator it = items.begin();
  for ( ; it != items.end(); ++it) {
    if ((*it)->kindOf() == "Potion") {
      (*it)->getInfo();
    }
  }
  printPotionFrame();
  cout << endl << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
callq 0xa39c
testb %al, %al
je 0xbc53
movq 0x15603(%rip), %rdi     # 0x20fc0
pushq $0x2b
popq %rsi
callq 0x42c0
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %r15
pushq $0x6a
popq %rsi
pushq $0x2d
popq %rdx
movq %r15, %rdi
callq 0x42b0
movq %r14, %rdi
movq %r15, %rsi
callq 0x4220
pushq $0x2b
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %rdi
callq 0x4120
movq %rsp, %r14
movq %r14, %rdi
callq 0x4470
movq 0x155ae(%rip), %r15     # 0x20fc0
pushq $0x7c
popq %rbp
movq %r15, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x38, 0x10(%rax,%rcx)
leaq 0xa114(%rip), %rsi      # 0x15b4a
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x33, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq %rax, %rdi
callq 0x4120
callq 0x961b
movq %r15, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
pushq $0xe
popq %r15
movq %r15, 0x10(%rax,%rcx)
leaq 0xa08c(%rip), %rsi      # 0x15b12
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xb, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x6, 0x10(%rax,%rcx)
leaq 0xa058(%rip), %rsi      # 0x15b17
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
pushq $0x2
popq %r12
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xa, 0x10(%rax,%rcx)
leaq 0xa025(%rip), %rsi      # 0x15b1d
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xf, 0x10(%rax,%rcx)
leaq 0xa025(%rip), %rsi      # 0x15b52
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x10, 0x10(%rax,%rcx)
leaq 0x9fff(%rip), %rsi      # 0x15b61
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r15, 0x10(%rax,%rcx)
leaq 0x9fde(%rip), %rsi      # 0x15b71
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x9, 0x10(%rax,%rcx)
leaq 0x9fb7(%rip), %rsi      # 0x15b7f
movq %rax, %rdi
callq 0x4250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq %rax, %rdi
callq 0x4120
addq $0x8, %rbx
leaq 0xa32e(%rip), %r15      # 0x15f27
movq %rbx, %r12
movq (%r12), %r12
cmpq %rbx, %r12
je 0xbc3a
movq 0x10(%r12), %rsi
movq (%rsi), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq %r14, %rdi
movq %r15, %rsi
callq 0x5b02
movl %eax, %ebp
movq %r14, %rdi
callq 0x4470
testb %bpl, %bpl
je 0xbbfc
movq 0x10(%r12), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
jmp 0xbbfc
callq 0x961b
movq 0x1537a(%rip), %rdi     # 0x20fc0
callq 0x4120
movq %rax, %rdi
callq 0x4120
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4470
movq %rbx, %rdi
callq 0x4410
nop