// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/items/Potion.cpp
// Function: Potion::getInfo() const
void Potion :: getInfo() const {
  size_t nameLength = getName().length();
  int priceDigits = getDigits(buyFor());
  int minLevelDigits = getDigits(unlocksInLevel());
  int strengthDigits = getDigits(getStrengthBoost()) + 2;
  int agilityDigits = getDigits(getAgilityBoost()) + 2;
  int dexDigits = getDigits(getDexterityBoost()) + 2;
  int durDigits = getDigits(getRoundsEffective());
  printPotionFrame();
  cout << '|'
       << setw(12 + nameLength/2) << getName() << setw(13 - nameLength/2) << '|'
       << setw(3 + priceDigits/2) << buyFor() << setw(5 - priceDigits/2) << '|'
       << setw(6 + minLevelDigits/2) << unlocksInLevel() << setw(6 - minLevelDigits/2) << '|'
       << setw(8 + strengthDigits/2) << setprecision(2) << getStrengthBoost()
       << setw(9 - strengthDigits/2) << '|'
       << setw(8 + dexDigits/2) << setprecision(2) << getDexterityBoost()
       << setw(10 - dexDigits/2) << '|'
       << setw(9 + agilityDigits/2) << setprecision(2) << getAgilityBoost()
       << setw(7 - agilityDigits/2) << '|'
       << setw(5 + durDigits/2) << getRoundsEffective() << setw(6 - durDigits/2) << '|'
       << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1a7d8
movq (%r14), %rdi
movq 0x8(%r14), %r15
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1a2fd
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rdi
callq 0x1a800
movl %eax, %edi
callq 0xac67
movl %eax, %ebp
movq %rbx, %rdi
callq 0x1a804
movl %eax, %edi
callq 0xac67
movl %eax, 0x14(%rsp)
cvttsd2si 0x40(%rbx), %edi
callq 0xac67
movl %eax, %r12d
cvttsd2si 0x50(%rbx), %edi
callq 0xac67
movl %eax, 0xc(%rsp)
cvttsd2si 0x48(%rbx), %edi
callq 0xac67
movl %eax, 0x10(%rsp)
movl 0x58(%rbx), %edi
callq 0xac67
movl %eax, 0x8(%rsp)
callq 0xb801
leaq 0x18(%rsp), %rsi
movb $0x7c, (%rsi)
movq 0xac56(%rip), %rdi      # 0x24fc0
movl $0x1, %edx
callq 0x42f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rax
shlq $0x1f, %r15
movabsq $0xc00000000, %rcx      # imm = 0xC00000000
addq %r15, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r14,%rax)
leaq 0x18(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1a7d8
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %r14, %rdi
callq 0x42f0
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
andq %rcx, %r15
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movabsq $0xd00000000, %rdx      # imm = 0xD00000000
subq %r15, %rdx
sarq $0x20, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r14
movl %ebp, %r15d
shrl $0x1f, %r15d
addl %ebp, %r15d
sarl %r15d
leal 0x3(%r15), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0x1a800
movq %r14, %rdi
movl %eax, %esi
callq 0x4420
movl $0x5, %ecx
subl %r15d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r14
movl 0x14(%rsp), %eax
movl %eax, %r15d
shrl $0x1f, %r15d
addl %eax, %r15d
sarl %r15d
leal 0x6(%r15), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0x1a804
movq %r14, %rdi
movl %eax, %esi
callq 0x4420
movl $0x6, %ecx
subl %r15d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
addl $0x2, %r12d
movl %r12d, %r14d
shrl $0x1f, %r14d
addl %r12d, %r14d
sarl %r14d
leal 0x8(%r14), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rsi
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rsi)
movq -0x18(%rdx), %rcx
movq $0x2, 0x8(%rax,%rcx)
movsd 0x40(%rbx), %xmm0
movq %rax, %rdi
callq 0x43d0
movl $0x9, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl 0x10(%rsp), %ecx
addl $0x2, %ecx
movl %ecx, %r14d
shrl $0x1f, %r14d
addl %ecx, %r14d
sarl %r14d
leal 0x8(%r14), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rsi
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rsi)
movq -0x18(%rdx), %rcx
movq $0x2, 0x8(%rax,%rcx)
movsd 0x48(%rbx), %xmm0
movq %rax, %rdi
callq 0x43d0
movl $0xa, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl 0xc(%rsp), %ecx
addl $0x2, %ecx
movl %ecx, %r14d
shrl $0x1f, %r14d
addl %ecx, %r14d
sarl %r14d
leal 0x9(%r14), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rsi
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rsi)
movq -0x18(%rdx), %rcx
movq $0x2, 0x8(%rax,%rcx)
movsd 0x50(%rbx), %xmm0
movq %rax, %rdi
callq 0x43d0
movl $0x7, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl 0x8(%rsp), %ecx
movl %ecx, %r14d
shrl $0x1f, %r14d
addl %ecx, %r14d
sarl %r14d
leal 0x5(%r14), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movl 0x58(%rbx), %esi
movq %rax, %rdi
callq 0x4420
movl $0x6, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1a6a0
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1a6ce
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rdi
callq 0x4430