// File: /workspace/github_cpp_makefile_star2_O1/hobbitsyfeet[P]Turn/unit.cc
// Function: Unit::displayStats()
void Unit::displayStats(){
  cout<<"==============STATS=============="<<endl;
  cout<<setfill(' ');
  cout<<"NAME:"<<name<<" x:"<<posX<<" y:"<< posY<<endl;
  cout<<"Health:"<<health<<'/'<<left<<setw(14)<<maxHealth<<"Experience:"<<experience<<endl;
  cout<<"Attack:"<<left<<setw(17)<<attack<<"Defence:"<<defence<<endl;
  cout<<setfill('=')<<setw(35)<<"==";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movq 0xb763(%rip), %rbx      # 0xefd0
leaq 0x7877(%rip), %rsi      # 0xb0eb
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2240
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r15
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x38d9
movq %r15, %rdi
movl $0x20, %esi
callq 0x21f0
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x20, 0xe0(%r15)
leaq 0x7825(%rip), %rsi      # 0xb10d
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2240
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x2240
movq %rax, %r15
leaq 0x7805(%rip), %rsi      # 0xb113
movl $0x3, %edx
movq %rax, %rdi
callq 0x2240
movl 0x78(%r14), %esi
movq %r15, %rdi
callq 0x2310
movq %rax, %r15
leaq 0x77e6(%rip), %rsi      # 0xb117
movl $0x3, %edx
movq %rax, %rdi
callq 0x2240
movl 0x7c(%r14), %esi
movq %r15, %rdi
callq 0x2310
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
leaq 0x77a0(%rip), %rsi      # 0xb11b
movl $0x7, %edx
movq %rbx, %rdi
callq 0x2240
movl 0x20(%r14), %esi
movq %rbx, %rdi
callq 0x2310
leaq -0x21(%rbp), %rsi
movb $0x2f, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x2240
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movl $0xffffff4f, %r12d      # imm = 0xFFFFFF4F
movl 0x18(%rax,%rdx), %esi
andl %r12d, %esi
orl $0x20, %esi
movl %esi, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq $0xe, 0x10(%rax,%rcx)
movl 0x24(%r14), %esi
movq %rax, %rdi
callq 0x2310
movq %rax, %r15
leaq 0x773d(%rip), %rsi      # 0xb123
movl $0xb, %edx
movq %rax, %rdi
callq 0x2240
movl 0x40(%r14), %esi
movq %r15, %rdi
callq 0x2310
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
leaq 0x76ff(%rip), %rsi      # 0xb12f
movl $0x7, %edx
movq %rbx, %rdi
callq 0x2240
movq (%rbx), %rax
movq -0x18(%rax), %rcx
andl 0x18(%rbx,%rcx), %r12d
orl $0x20, %r12d
movl %r12d, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x11, 0x10(%rbx,%rax)
movl 0x2c(%r14), %esi
movq %rbx, %rdi
callq 0x2310
movq %rax, %r15
leaq 0x76c2(%rip), %rsi      # 0xb137
movl $0x8, %edx
movq %rax, %rdi
callq 0x2240
movl 0x34(%r14), %esi
movq %r15, %rdi
callq 0x2310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r14
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x3ae9
movq %r14, %rdi
movl $0x20, %esi
callq 0x21f0
movb %al, 0xe0(%r14)
movb $0x1, 0xe1(%r14)
movb $0x3d, 0xe0(%r14)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x23, 0x10(%rbx,%rax)
leaq 0x7cb9(%rip), %rsi      # 0xb7c1
movl $0x2, %edx
movq %rbx, %rdi
callq 0x2240
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq