// File: /workspace/github_cpp_makefile_star2_O2/arisKoutsou[P]oopproj/./src/items/Armor.cpp
// Function: Armor::getInfo() const
void Armor::getInfo() const {
  size_t nameLength = getName().length();
  int priceDigits = getDigits(buyFor());
  int minLevelDigits = getDigits(unlocksInLevel());
  int factorDigits = getDigits(getDamageReductionFactor()) + 2;
  printArmorFrame();
  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(9 + factorDigits/2) << setprecision(2) << getDamageReductionFactor()
       << setw(10 - factorDigits/2) << '|'
       << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x8(%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, %r14d
movq %rbx, %rdi
callq 0x1459e
movl %eax, %edi
callq 0x8ec9
movl %eax, 0x4(%rsp)
cvttsd2si 0x40(%rbx), %edi
callq 0x8ec9
movl %eax, %ebp
callq 0x9374
movq 0xd140(%rip), %rdi      # 0x20fc0
pushq $0x7c
popq %rsi
callq 0x42c0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rax
shlq $0x1f, %r15
movabsq $0xc00000000, %rcx      # imm = 0xC00000000
addq %r15, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r12,%rax)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x14584
movq %r12, %rdi
movq %r13, %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, %r12
pushq $0x2
popq %r13
movl %r14d, %eax
cltd
idivl %r13d
movl %eax, %r15d
leal 0x3(%r15), %eax
movq (%r12), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r12,%rcx)
movq %rbx, %rdi
callq 0x1459a
movq %r12, %rdi
movl %eax, %esi
callq 0x4400
pushq $0x5
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, %r15
movl 0x4(%rsp), %eax
cltd
idivl %r13d
movl %eax, %r14d
leal 0x6(%r14), %eax
movq (%r15), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r15,%rcx)
movq %rbx, %rdi
callq 0x1459e
movq %r15, %rdi
movl %eax, %esi
callq 0x4400
pushq $0x6
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
addl $0x2, %ebp
movl %ebp, %eax
cltd
idivl %r13d
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 0x40(%rbx), %xmm0
callq 0x43b0
pushq $0xa
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
callq 0x4120
leaq 0x8(%rsp), %rdi
callq 0x4470
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4470
movq %rbx, %rdi
callq 0x4410