// File: wrighteagle2d[P]wrighteaglebase/Debug/../src/Observer.cpp
// Function: Observer::SeePlayer(char, int, double, double, double, double, double, double, bool, double, bool, bool, bool, CardType)
void Observer::SeePlayer(char side, int num, double dist, double dir,
                         double dist_chg, double dir_chg, double body_dir,
                         double head_dir, bool is_pointing, double point_dir,
                         bool is_tackling, bool is_kicked, bool is_lying,
                         CardType card_type) {
  if (side == mOurSide) {
    mTeammateObservers[num].SetDist(dist, mCurrentTime);
    mTeammateObservers[num].SetDir(dir, mCurrentTime);
    mTeammateObservers[num].SetDistChg(dist_chg, mCurrentTime);
    mTeammateObservers[num].SetDirChg(dir_chg, mCurrentTime);
    mTeammateObservers[num].SetBodyDir(body_dir, mCurrentTime);
    mTeammateObservers[num].SetHeadDir(head_dir, mCurrentTime);
    mTeammateObservers[num].SetIsPointing(is_pointing, mCurrentTime);
    mTeammateObservers[num].SetPointDir(point_dir);
    mTeammateObservers[num].SetIsTcakling(is_tackling, mCurrentTime);
    mTeammateObservers[num].SetIsKicked(is_kicked, mCurrentTime);
    mTeammateObservers[num].SetIsLying(is_lying, mCurrentTime);
    mTeammateObservers[num].SetCardType(card_type);
  } else {
    mOpponentObservers[num].SetDist(dist, mCurrentTime);
    mOpponentObservers[num].SetDir(dir, mCurrentTime);
    mOpponentObservers[num].SetDistChg(dist_chg, mCurrentTime);
    mOpponentObservers[num].SetDirChg(dir_chg, mCurrentTime);
    mOpponentObservers[num].SetBodyDir(body_dir, mCurrentTime);
    mOpponentObservers[num].SetHeadDir(head_dir, mCurrentTime);
    mOpponentObservers[num].SetIsPointing(is_pointing, mCurrentTime);
    mOpponentObservers[num].SetPointDir(point_dir);
    mOpponentObservers[num].SetIsTcakling(is_tackling, mCurrentTime);
    mOpponentObservers[num].SetIsKicked(is_kicked, mCurrentTime);
    mOpponentObservers[num].SetIsLying(is_lying, mCurrentTime);
    mOpponentObservers[num].SetCardType(card_type);
  }
  //	std::cout << "seeeee: " << side << "   and : " << num  << "  real_side:
  //" << mOurSide << std::endl;
  mCurrentBugInfo.mSide =
      OurInitSide() == OurSide() ? side : (side == 'l' ? 'r' : 'l');
  mCurrentBugInfo.mLeastNum = num + 1;
  if (mCurrentBugInfo.mLeastNum > TEAMSIZE) {
    mCurrentBugInfo.mSide = 'r';
    mCurrentBugInfo.mLeastNum = 1;
  }

  AdjustUnum(OurInitSide() == OurSide() ? side : (side == 'l' ? 'r' : 'l'),
             num);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movl %r9d, -0x6c(%rbp)
movl %ecx, %eax
movl -0x6c(%rbp), %ecx
movl %eax, -0x68(%rbp)
movl %edx, -0x64(%rbp)
movl %esi, %eax
movl -0x68(%rbp), %esi
movq %rdi, %r9
movl -0x64(%rbp), %edi
movb %r8b, %dl
movb %al, %r8b
movl 0x18(%rbp), %eax
movb 0x10(%rbp), %al
movq %r9, -0x8(%rbp)
movb %r8b, -0x9(%rbp)
movl %edi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movsd %xmm2, -0x28(%rbp)
movsd %xmm3, -0x30(%rbp)
movsd %xmm4, -0x38(%rbp)
movsd %xmm5, -0x40(%rbp)
andb $0x1, %sil
movb %sil, -0x41(%rbp)
movsd %xmm6, -0x50(%rbp)
andb $0x1, %dl
movb %dl, -0x51(%rbp)
andb $0x1, %cl
movb %cl, -0x52(%rbp)
andb $0x1, %al
movb %al, -0x53(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x60(%rbp)
movsbl -0x9(%rbp), %eax
movsbl 0x29(%rcx), %ecx
cmpl %ecx, %eax
jne 0x6c84b
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x18(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e370
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x20(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e3a0
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x28(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e3d0
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x30(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e400
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x38(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e5d0
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x40(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e600
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x41(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e630
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq %rax, %rdi
movsd -0x50(%rbp), %xmm0
callq 0x6e670
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x51(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e690
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x52(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e6d0
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x53(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e710
movq -0x60(%rbp), %rdi
addq $0x1870, %rdi           # imm = 0x1870
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq %rax, %rdi
movl 0x18(%rbp), %esi
callq 0x6e750
jmp 0x6ca31
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x18(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e370
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x20(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e3a0
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x28(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e3d0
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x30(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e400
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x38(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e5d0
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rsi
movq %rax, %rdi
movsd -0x40(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e600
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x41(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e630
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq %rax, %rdi
movsd -0x50(%rbp), %xmm0
callq 0x6e670
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x51(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e690
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x52(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e6d0
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq -0x60(%rbp), %rdx
movq %rax, %rdi
movb -0x53(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e710
movq -0x60(%rbp), %rdi
addq $0x1fa8, %rdi           # imm = 0x1FA8
leaq -0x10(%rbp), %rsi
callq 0x6e2f0
movq %rax, %rdi
movl 0x18(%rbp), %esi
callq 0x6e750
movq -0x60(%rbp), %rdi
callq 0x6e590
movq -0x60(%rbp), %rdi
movsbl (%rax), %eax
movl %eax, -0x70(%rbp)
callq 0x6e5b0
movq %rax, %rcx
movl -0x70(%rbp), %eax
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x6ca5e
movb -0x9(%rbp), %al
movb %al, -0x71(%rbp)
jmp 0x6ca7d
movsbl -0x9(%rbp), %ecx
movb $0x72, %al
movb $0x6c, %dl
movb %dl, -0x73(%rbp)
cmpl $0x6c, %ecx
movb %al, -0x72(%rbp)
je 0x6ca77
movb -0x73(%rbp), %al
movb %al, -0x72(%rbp)
movb -0x72(%rbp), %al
movb %al, -0x71(%rbp)
movq -0x60(%rbp), %rax
movb -0x71(%rbp), %cl
movb %cl, 0x3344(%rax)
movl -0x10(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, 0x3348(%rax)
cmpl $0xb, 0x3348(%rax)
jle 0x6cab4
movq -0x60(%rbp), %rax
movb $0x72, 0x3344(%rax)
movl $0x1, 0x3348(%rax)
movq -0x60(%rbp), %rdi
callq 0x6e590
movq -0x60(%rbp), %rdi
movsbl (%rax), %eax
movl %eax, -0x78(%rbp)
callq 0x6e5b0
movq %rax, %rcx
movl -0x78(%rbp), %eax
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x6cae1
movb -0x9(%rbp), %al
movb %al, -0x79(%rbp)
jmp 0x6cb00
movsbl -0x9(%rbp), %ecx
movb $0x72, %al
movb $0x6c, %dl
movb %dl, -0x7b(%rbp)
cmpl $0x6c, %ecx
movb %al, -0x7a(%rbp)
je 0x6cafa
movb -0x7b(%rbp), %al
movb %al, -0x7a(%rbp)
movb -0x7a(%rbp), %al
movb %al, -0x79(%rbp)
movq -0x60(%rbp), %rdi
movb -0x79(%rbp), %al
movl -0x10(%rbp), %edx
movsbl %al, %esi
callq 0x6bac0
addq $0x80, %rsp
popq %rbp
retq
nopl (%rax,%rax)