// File: /workspace/github_cpp_makefile_star2_O1/arisKoutsou[P]oopproj/./src/spells/IceSpell.cpp
// Function: IceSpell::getInfo() const
void IceSpell::getInfo() const {
  size_t nameLength = getName().length();
  int priceDigits = getDigits(getValue());
  int levelDigits = getDigits(getMinLevel());
  int manaDigits = getDigits(getMagicPowerRequired());
  int minDamageDigits = getDigits(getMinDamage());
  int maxDamageDigits = getDigits(getMaxDamage());
  int nerfDigits = getDigits(reduceOponentDamageRangeBy()) + 2;
  int durationDigits = getDigits(getReductionRounds());  
  printIceSpellFrame();
  cout << '|'
       << setw(12 + nameLength/2) << getName() << setw(13 - nameLength/2) << '|'
       << setw(3 + priceDigits/2) << getValue() << setw(5 - priceDigits/2) << '|'
       << setw(6 + levelDigits/2) << getMinLevel() << setw(6 - levelDigits/2) << '|'
       << setw(5 + manaDigits/2) << getMagicPowerRequired() << setw(7 - manaDigits/2) << '|'
       << setw(6 + minDamageDigits/2) << getMinDamage() << setw(7 - minDamageDigits/2) << '|'
       << setw(6 + maxDamageDigits/2) << getMaxDamage() << setw(7 - maxDamageDigits/2) << '|'
       << setw(10 + nerfDigits/2) << setprecision(2) << reduceOponentDamageRangeBy()
       << setw(9 - nerfDigits/2) << '|'
       << setw(5 + durationDigits/2) << getReductionRounds() << setw(6 - durationDigits/2) << '|'
       << endl;  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
callq 0x130b4
movq 0x8(%rax), %r12
movq %rbx, %rdi
callq 0x130ba
movl %eax, %edi
callq 0xabfc
movl %eax, %r14d
movq %rbx, %rdi
callq 0x130b0
movl %eax, %edi
callq 0xabfc
movl %eax, %ebp
movq %rbx, %rdi
callq 0x130a4
movl %eax, %edi
callq 0xabfc
movl %eax, 0x18(%rsp)
movq %rbx, %rdi
callq 0x130ac
movl %eax, %edi
callq 0xabfc
movl %eax, 0x1c(%rsp)
movq %rbx, %rdi
callq 0x130a8
movl %eax, %edi
callq 0xabfc
movl %eax, 0x20(%rsp)
cvttsd2si 0x48(%rbx), %edi
callq 0xabfc
movq %rax, 0x30(%rsp)
addl $0x2, %eax
movq %rax, 0x28(%rsp)
movl 0x50(%rbx), %edi
callq 0xabfc
movl %eax, 0x24(%rsp)
callq 0xbaa0
movb $0x7c, %al
leaq 0xf(%rsp), %rsi
movb %al, (%rsi)
movb $0x7c, %r13b
movq 0x12eb7(%rip), %rdi     # 0x24fc0
movl $0x1, %edx
callq 0x42f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rax
andq $-0x2, %r12
shlq $0x1f, %r12
movabsq $0xc00000000, %rcx      # imm = 0xC00000000
addq %r12, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r15,%rax)
movq %rbx, %rdi
callq 0x130b4
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r15, %rdi
callq 0x42f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movabsq $0xd00000000, %rdx      # imm = 0xD00000000
subq %r12, %rdx
sarq $0x20, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0x10(%rsp), %rsi
movb %r13b, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r15
movl %r14d, %r12d
shrl $0x1f, %r12d
addl %r14d, %r12d
sarl %r12d
leal 0x3(%r12), %eax
movq (%r15), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r15,%rcx)
movq %rbx, %rdi
callq 0x130ba
movq %r15, %rdi
movl %eax, %esi
callq 0x4420
movl $0x5, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x11(%rsp), %rsi
movb $0x7c, %r13b
movb %r13b, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r14
movl %ebp, %r12d
shrl $0x1f, %r12d
addl %ebp, %r12d
sarl %r12d
movl $0x6, %r15d
leal (%r12,%r15), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0x130b0
movq %r14, %rdi
movl %eax, %esi
callq 0x4420
movl $0x6, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x12(%rsp), %rsi
movb %r13b, (%rsi)
movb $0x7c, %r13b
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r14
movl 0x18(%rsp), %eax
movl %eax, %r12d
shrl $0x1f, %r12d
addl %eax, %r12d
sarl %r12d
leal 0x5(%r12), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0x130a4
movq %r14, %rdi
movl %eax, %esi
callq 0x4420
movl $0x7, %ebp
movl $0x7, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x13(%rsp), %rsi
movb %r13b, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r14
movl 0x1c(%rsp), %eax
movl %eax, %r12d
shrl $0x1f, %r12d
addl %eax, %r12d
sarl %r12d
leal 0x6(%r12), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0x130ac
movq %r14, %rdi
movl %eax, %esi
callq 0x4420
movl $0x7, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x14(%rsp), %rsi
movb %r13b, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r14
movl 0x20(%rsp), %eax
movl %eax, %r12d
shrl $0x1f, %r12d
addl %eax, %r12d
sarl %r12d
leal 0x6(%r12), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0x130a8
movq %r14, %rdi
movl %eax, %esi
callq 0x4420
subl %r12d, %ebp
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %ebp, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0x15(%rsp), %rsi
movb $0x7c, %bpl
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq 0x28(%rsp), %rcx
shrl $0x1f, %ecx
movq 0x30(%rsp), %rdx
leal (%rdx,%rcx), %r14d
addl $0x2, %r14d
sarl %r14d
leal 0xa(%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 $0x9, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x16(%rsp), %rsi
movb %bpl, (%rsi)
movb $0x7c, %bpl
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl 0x24(%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 0x50(%rbx), %esi
movq %rax, %rdi
callq 0x4420
subl %r14d, %r15d
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %r15d, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0x17(%rsp), %rsi
movb %bpl, (%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
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq