// File: /workspace/github_cpp_makefile_star2_O2/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 0x14584
movq 0x8(%r14), %r15
movq %r14, %rdi
callq 0x4470
movq %rbx, %rdi
callq 0x1459a
movl %eax, %edi
callq 0x8ec9
movl %eax, %ebp
movq %rbx, %rdi
callq 0x1459e
movl %eax, %edi
callq 0x8ec9
movl %eax, 0x14(%rsp)
cvttsd2si 0x40(%rbx), %edi
callq 0x8ec9
movl %eax, %r12d
cvttsd2si 0x50(%rbx), %edi
callq 0x8ec9
movl %eax, 0xc(%rsp)
cvttsd2si 0x48(%rbx), %edi
callq 0x8ec9
movl %eax, 0x10(%rsp)
movl 0x58(%rbx), %edi
callq 0x8ec9
movl %eax, 0x8(%rsp)
callq 0x961b
movq 0xcdca(%rip), %rdi      # 0x20fc0
pushq $0x7c
popq %rsi
callq 0x42c0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rax
shlq $0x1f, %r15
movabsq $0xc00000000, %rcx      # imm = 0xC00000000
addq %r15, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r13,%rax)
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x14584
movq %r13, %rdi
movq %r14, %rsi
callq 0x4220
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)
pushq $0x7c
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %r13
pushq $0x2
popq %rcx
movl %ebp, %eax
cltd
idivl %ecx
movl %eax, %ebp
leal 0x3(%rbp), %eax
movq (%r13), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r13,%rcx)
movq %rbx, %rdi
callq 0x1459a
movq %r13, %rdi
movl %eax, %esi
callq 0x4400
pushq $0x5
popq %rcx
subl %ebp, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
pushq $0x7c
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %rbp
movl 0x14(%rsp), %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
movl %eax, %r13d
leal 0x6(%r13), %eax
movq (%rbp), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%rbp,%rcx)
movq %rbx, %rdi
callq 0x1459e
movq %rbp, %rdi
movl %eax, %esi
callq 0x4400
pushq $0x6
popq %rbp
movl %ebp, %ecx
subl %r13d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
pushq $0x7c
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %rdi
addl $0x2, %r12d
movl %r12d, %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
movl %eax, %r12d
leal 0x8(%r12), %eax
movq (%rdi), %rcx
movq -0x18(%rcx), %rdx
cltq
movq %rax, 0x10(%rdi,%rdx)
movq -0x18(%rcx), %rax
movq $0x2, 0x8(%rdi,%rax)
movsd 0x40(%rbx), %xmm0
callq 0x43b0
pushq $0x9
popq %rcx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
pushq $0x7c
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %rdi
movl 0x10(%rsp), %eax
addl $0x2, %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
movl %eax, %r15d
leal 0x8(%r15), %eax
movq (%rdi), %rcx
movq -0x18(%rcx), %rdx
cltq
movq %rax, 0x10(%rdi,%rdx)
movq -0x18(%rcx), %rax
movq $0x2, 0x8(%rdi,%rax)
movsd 0x48(%rbx), %xmm0
callq 0x43b0
pushq $0xa
popq %rcx
subl %r15d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
pushq $0x7c
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %rdi
movl 0xc(%rsp), %eax
addl $0x2, %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
movl %eax, %r14d
leal 0x9(%r14), %eax
movq (%rdi), %rcx
movq -0x18(%rcx), %rdx
cltq
movq %rax, 0x10(%rdi,%rdx)
movq -0x18(%rcx), %rax
movq $0x2, 0x8(%rdi,%rax)
movsd 0x50(%rbx), %xmm0
callq 0x43b0
pushq $0x7
popq %rcx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
pushq $0x7c
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %rdi
movl 0x8(%rsp), %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
movl %eax, %r14d
leal 0x5(%r14), %eax
movq (%rdi), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%rdi,%rcx)
movl 0x58(%rbx), %esi
callq 0x4400
subl %r14d, %ebp
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %ebp, %rdx
movq %rdx, 0x10(%rax,%rcx)
pushq $0x7c
popq %rsi
movq %rax, %rdi
callq 0x42c0
movq %rax, %rdi
callq 0x4120
leaq 0x18(%rsp), %rdi
callq 0x4470
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x4470
movq %rbx, %rdi
callq 0x4410
nop