// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/items/Weapon.cpp
// Function: Weapon::getInfo() const
void Weapon :: getInfo() const {
  size_t nameLength = getName().length();
  int priceDigits = getDigits(buyFor());
  int minLevelDigits = getDigits(unlocksInLevel());
  int damageDigits = getDigits(damage);
  string twoHanded = (requiresBothHands) ? "YES" : "NO";
  printWeaponFrame();
  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(4 + damageDigits/2) << damage << setw(5 - damageDigits/2) << '|'
       << setw(6 + twoHanded.length()/2) << twoHanded << setw(7 - twoHanded.length()/2) << '|'
       << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1a7d8
movq (%r14), %rdi
movq 0x8(%r14), %r13
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x19a0b
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, %r14d
movl 0x40(%rbx), %edi
callq 0xac67
movzbl 0x44(%rbx), %ecx
leaq 0x29da(%rip), %rdx      # 0x1c41c
leaq 0x29d7(%rip), %rsi      # 0x1c420
testq %rcx, %rcx
cmovneq %rdx, %rsi
movl %eax, %ebp
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq (%rsi,%rcx), %rdx
addq $0x2, %rdx
callq 0x654a
callq 0xb5b3
leaq 0x28(%rsp), %rsi
movb $0x7c, (%rsi)
movq 0xb540(%rip), %rdi      # 0x24fc0
movl $0x1, %edx
callq 0x42f0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rax
shlq $0x1f, %r13
movabsq $0xc00000000, %rcx      # imm = 0xC00000000
addq %r13, %rcx
sarq $0x20, %rcx
movq %rcx, 0x10(%r12,%rax)
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x1a7d8
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %r12, %rdi
callq 0x42f0
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
andq %rcx, %r13
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movabsq $0xd00000000, %rdx      # imm = 0xD00000000
subq %r13, %rdx
sarq $0x20, %rdx
movq %rdx, 0x10(%rax,%rcx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r12
movl %r15d, %r13d
shrl $0x1f, %r13d
addl %r15d, %r13d
sarl %r13d
leal 0x3(%r13), %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 %r13d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq %rax, %r15
movl %r14d, %r12d
shrl $0x1f, %r12d
addl %r14d, %r12d
sarl %r12d
leal 0x6(%r12), %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 %r12d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movl %ebp, %r14d
shrl $0x1f, %r14d
addl %ebp, %r14d
sarl %r14d
leal 0x4(%r14), %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
movl 0x40(%rbx), %esi
movq %rax, %rdi
callq 0x4420
movl $0x5, %ecx
subl %r14d, %ecx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%rax,%rdx)
leaq 0x7(%rsp), %rsi
movb $0x7c, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42f0
movq 0x10(%rsp), %rdx
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %rdx, %rsi
shlq $0x1f, %rsi
movabsq $0x600000000, %rdi      # imm = 0x600000000
addq %rsi, %rdi
sarq $0x20, %rdi
movq %rdi, 0x10(%rax,%rcx)
movq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x42f0
movq 0x10(%rsp), %rcx
movq (%rax), %rdx
movq -0x18(%rdx), %rdx
shlq $0x1f, %rcx
movabsq $-0x100000000, %rsi     # imm = 0xFFFFFFFF00000000
andq %rsi, %rcx
movabsq $0x700000000, %rsi      # imm = 0x700000000
subq %rcx, %rsi
sarq $0x20, %rsi
movq %rsi, 0x10(%rax,%rdx)
leaq 0x7(%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
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19ce8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x19d04
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x19d15
movq %rax, %rbx
jmp 0x19d38
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x19d38
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x19d54
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rdi
callq 0x4430