// File: /workspace/github_cpp_makefile_star2_O3/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 0x1a7d8
movq (%r14), %rdi
movq 0x8(%r14), %r14
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x19ed1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rdi
callq 0x1a800
movl %eax, %edi
callq 0xac67
movl %eax, %r15d
movq %rbx, %rdi
callq 0x1a804
movl %eax, %edi
callq 0xac67
movl %eax, 0x4(%rsp)
cvttsd2si 0x40(%rbx), %edi
callq 0xac67
movl %eax, %ebp
callq 0xb3c3
leaq 0x8(%rsp), %rsi
movb $0x7c, (%rsi)
movq 0xb0aa(%rip), %rdi      # 0x24fc0
movl $0x1, %edx
callq 0x42f0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rax
shlq $0x1f, %r14
movabsq $0xc00000000, %rcx      # imm = 0xC00000000
addq %r14, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r12,%rax)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1a7d8
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %r12, %rdi
callq 0x42f0
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
andq %rcx, %r14
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movabsq $0xd00000000, %rdx      # imm = 0xD00000000
subq %r14, %rdx
sarq $0x20, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0x3(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r12
movl %r15d, %r14d
shrl $0x1f, %r14d
addl %r15d, %r14d
sarl %r14d
leal 0x3(%r14), %eax
movq (%r12), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r12,%rcx)
movq %rbx, %rdi
callq 0x1a800
movq %r12, %rdi
movl %eax, %esi
callq 0x4420
movl $0x5, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x3(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r15
movl 0x4(%rsp), %eax
movl %eax, %r14d
shrl $0x1f, %r14d
addl %eax, %r14d
sarl %r14d
leal 0x6(%r14), %eax
movq (%r15), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r15,%rcx)
movq %rbx, %rdi
callq 0x1a804
movq %r15, %rdi
movl %eax, %esi
callq 0x4420
movl $0x6, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x3(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
addl $0x2, %ebp
movl %ebp, %r14d
shrl $0x1f, %r14d
addl %ebp, %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 0x40(%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 0x3(%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 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1a117
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1a145
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rdi
callq 0x4430
nop