// File: /workspace/github_cpp_makefile_star2_O2/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 $0x18, %rsp
movq %rdi, %rbx
callq 0xed62
movq 0x8(%rax), %r12
movq %rbx, %rdi
callq 0xed68
movl %eax, %edi
callq 0x8ec9
movl %eax, %r13d
movq %rbx, %rdi
callq 0xed5e
movl %eax, %edi
callq 0x8ec9
movl %eax, (%rsp)
movq %rbx, %rdi
callq 0xed52
movl %eax, %edi
callq 0x8ec9
movl %eax, 0x4(%rsp)
movq %rbx, %rdi
callq 0xed5a
movl %eax, %edi
callq 0x8ec9
movl %eax, 0x8(%rsp)
movq %rbx, %rdi
callq 0xed56
movl %eax, %edi
callq 0x8ec9
movl %eax, 0xc(%rsp)
cvttsd2si 0x48(%rbx), %edi
callq 0x8ec9
pushq $0x2
popq %rcx
addl %ecx, %eax
movl %eax, 0x10(%rsp)
movl 0x50(%rbx), %edi
callq 0x8ec9
movl %eax, 0x14(%rsp)
callq 0x9807
movq 0x12f34(%rip), %rdi     # 0x20fc0
pushq $0x7c
popq %rsi
movl %esi, %ebp
callq 0x42c0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rax
shlq $0x1f, %r12
movabsq $-0x100000000, %r15     # imm = 0xFFFFFFFF00000000
andq %r12, %r15
movabsq $0xc00000000, %rcx      # imm = 0xC00000000
addq %r12, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r14,%rax)
movq %rbx, %rdi
callq 0xed62
movq %r14, %rdi
movq %rax, %rsi
callq 0x4220
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movabsq $0xd00000000, %rdx      # imm = 0xD00000000
subq %r15, %rdx
sarq $0x20, %rdx
movq %rdx, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq %rax, %r14
movl %r13d, %eax
cltd
pushq $0x2
popq %r15
idivl %r15d
movl %eax, %r13d
leal 0x3(%r13), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0xed68
movq %r14, %rdi
movl %eax, %esi
callq 0x4400
pushq $0x5
popq %rcx
subl %r13d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq %rax, %r14
movl (%rsp), %eax
cltd
idivl %r15d
movl %eax, %r12d
pushq $0x6
popq %r13
leal (%r12,%r13), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0xed5e
movq %r14, %rdi
movl %eax, %esi
callq 0x4400
movl %r13d, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq %rax, %r14
movl 0x4(%rsp), %eax
cltd
idivl %r15d
movl %r15d, %ebp
movl %eax, %r12d
leal 0x5(%r12), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0xed52
movq %r14, %rdi
movl %eax, %esi
callq 0x4400
pushq $0x7
popq %r15
movl %r15d, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movq %rax, %rdi
pushq $0x7c
popq %rsi
callq 0x42c0
movq %rax, %r14
movl 0x8(%rsp), %eax
cltd
idivl %ebp
movl %eax, %r12d
leal 0x6(%r12), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0xed5a
movq %r14, %rdi
movl %eax, %esi
callq 0x4400
movl %r15d, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movq %rax, %rdi
pushq $0x7c
popq %rsi
callq 0x42c0
movq %rax, %r14
movl 0xc(%rsp), %eax
cltd
idivl %ebp
movl %eax, %r12d
leal 0x6(%r12), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0xed56
movq %r14, %rdi
movl %eax, %esi
callq 0x4400
subl %r12d, %r15d
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %r15d, %rdx
movq %rdx, 0x10(%rax,%rcx)
movq %rax, %rdi
pushq $0x7c
popq %rbp
movl %ebp, %esi
callq 0x42c0
movq %rax, %rdi
movl 0x10(%rsp), %eax
cltd
pushq $0x2
popq %r15
idivl %r15d
movl %eax, %r14d
leal 0xa(%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 0x48(%rbx), %xmm0
callq 0x43b0
pushq $0x9
popq %rcx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq %rax, %rdi
movl 0x14(%rsp), %eax
cltd
idivl %r15d
movl %eax, %r14d
leal 0x5(%r14), %eax
movq (%rdi), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%rdi,%rcx)
movl 0x50(%rbx), %esi
callq 0x4400
subl %r14d, %r13d
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %r13d, %rdx
movq %rdx, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x42c0
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4120