// File: /workspace/github_cpp_makefile_star2_O1/arisKoutsou[P]oopproj/./src/livings/Monster.cpp
// Function: Monster::printStats() const
void Monster::printStats() const {
  size_t nameLength = getName().length();
  int levelDigits = getDigits(level);
  int hpDigits = getDigits(getHealthPower());
  int minDamageDigits = getDigits(minDamage);
  int maxDamageDigits = getDigits(maxDamage);
  int armorDigits = getDigits(getDamageReductionFactor()) + 2;
  int dodgeDigits = getDigits(getDodge()) + 2;
  printMonsterFrame();
  cout << '|'
       << setw(13 + nameLength/2) << getName() << setw(12 - nameLength/2) << '|'
       << setw(5 + levelDigits/2) << level << setw(5 - levelDigits/2) << '|'
       << setw(5 + hpDigits/2) << getHealthPower() << setw(4 - hpDigits/2) << '|'
       << setw(6 + minDamageDigits/2) << minDamage << setw(7 - minDamageDigits/2) << '|'
       << setw(6 + maxDamageDigits/2) << maxDamage << setw(7 - maxDamageDigits/2) << '|'
       << setw(5 + armorDigits/2) << setprecision(2) << getDamageReductionFactor()
       << setw(5 - armorDigits/2) << '|'
       << setw(5 + dodgeDigits/2) << setprecision(2) << getDodge() << setw(5 - dodgeDigits/2) << '|'
       << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
callq 0x18694
movq 0x8(%rax), %r12
movl 0x10(%rbx), %edi
callq 0xabfc
movl %eax, %r14d
movq %rbx, %rdi
callq 0x18688
movl %eax, %edi
callq 0xabfc
movl %eax, %r13d
movl 0x44(%rbx), %edi
callq 0xabfc
movl %eax, 0x10(%rsp)
movl 0x48(%rbx), %edi
callq 0xabfc
movl %eax, 0x14(%rsp)
cvttsd2si 0x50(%rbx), %edi
callq 0xabfc
movq %rax, 0x20(%rsp)
addl $0x2, %eax
movq %rax, 0x18(%rsp)
cvttsd2si 0x58(%rbx), %edi
callq 0xabfc
movq %rax, 0x30(%rsp)
addl $0x2, %eax
movq %rax, 0x28(%rsp)
callq 0xb04e
movb $0x7c, %al
leaq 0x8(%rsp), %rsi
movb %al, (%rsi)
movq 0xc69a(%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 $0xd00000000, %rcx      # imm = 0xD00000000
addq %r12, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r15,%rax)
movq %rbx, %rdi
callq 0x18694
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r15, %rdi
callq 0x42f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movabsq $0xc00000000, %rdx      # imm = 0xC00000000
subq %r12, %rdx
sarq $0x20, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0x9(%rsp), %rsi
movb $0x7c, %bpl
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl %r14d, %r12d
shrl $0x1f, %r12d
addl %r14d, %r12d
sarl %r12d
movl $0x5, %r15d
leal (%r12,%r15), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movl 0x10(%rbx), %esi
movq %rax, %rdi
callq 0x4420
movl $0x5, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0xa(%rsp), %rsi
movb %bpl, (%rsi)
movb $0x7c, %bpl
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r14
movl %r13d, %r12d
shrl $0x1f, %r12d
addl %r13d, %r12d
sarl %r12d
leal (%r12,%r15), %eax
movq (%r14), %rcx
movq -0x18(%rcx), %rcx
cltq
movq %rax, 0x10(%r14,%rcx)
movq %rbx, %rdi
callq 0x18688
movq %r14, %rdi
movl %eax, %esi
callq 0x4420
movl $0x4, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0xb(%rsp), %rsi
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl 0x10(%rsp), %ecx
movl %ecx, %r12d
shrl $0x1f, %r12d
addl %ecx, %r12d
sarl %r12d
leal 0x6(%r12), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movl 0x44(%rbx), %esi
movq %rax, %rdi
callq 0x4420
movl $0x7, %r14d
movl $0x7, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0xc(%rsp), %rsi
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl 0x14(%rsp), %ecx
movl %ecx, %r12d
shrl $0x1f, %r12d
addl %ecx, %r12d
sarl %r12d
leal 0x6(%r12), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movl 0x48(%rbx), %esi
movq %rax, %rdi
callq 0x4420
subl %r12d, %r14d
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %r14d, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0xd(%rsp), %rsi
movb $0x7c, %r13b
movb %r13b, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq 0x18(%rsp), %rdx
shrl $0x1f, %edx
movq 0x20(%rsp), %rcx
leal (%rcx,%rdx), %r12d
addl $0x2, %r12d
sarl %r12d
leal (%r12,%r15), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rsi
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rsi)
movq -0x18(%rdx), %rcx
movl $0x2, %r14d
movq %r14, 0x8(%rax,%rcx)
movsd 0x50(%rbx), %xmm0
movq %rax, %rdi
callq 0x43d0
movl $0x5, %ecx
subl %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0xe(%rsp), %rsi
movb %r13b, (%rsi)
movb $0x7c, %bpl
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq 0x28(%rsp), %rcx
shrl $0x1f, %ecx
movq 0x30(%rsp), %rdx
leal (%rdx,%rcx), %r12d
addl $0x2, %r12d
sarl %r12d
leal 0x5(%r12), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rsi
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rsi)
movq -0x18(%rdx), %rcx
movq %r14, 0x8(%rax,%rcx)
movsd 0x58(%rbx), %xmm0
movq %rax, %rdi
callq 0x43d0
subl %r12d, %r15d
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %r15d, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0xf(%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