// File: wrighteagle2d[P]wrighteaglebase/Debug/../src/Observer.cpp
// Function: Observer::SeePlayer(char, double, double, bool, bool, bool, CardType)
void Observer::SeePlayer(char side, double dist, double dir, bool is_tackling,
                         bool is_kicked, bool is_lying, CardType card_type) {
  if (mUnknownPlayerCount < MAX_UNKNOWN_PLAYES) {
    mUnknownPlayers[mUnknownPlayerCount].SetIsKnownSide(true);
    mUnknownPlayers[mUnknownPlayerCount].SetSide(side);
    mUnknownPlayers[mUnknownPlayerCount].SetDist(dist, mCurrentTime);
    mUnknownPlayers[mUnknownPlayerCount].SetDir(dir, mCurrentTime);
    mUnknownPlayers[mUnknownPlayerCount].SetIsTcakling(is_tackling,
                                                       mCurrentTime);
    mUnknownPlayers[mUnknownPlayerCount].SetIsKicked(is_kicked, mCurrentTime);
    mUnknownPlayers[mUnknownPlayerCount].SetIsLying(is_lying, mCurrentTime);
    mUnknownPlayers[mUnknownPlayerCount].SetCardType(card_type);
    mUnknownPlayersBugInfo[mUnknownPlayerCount] = mCurrentBugInfo;
    mUnknownPlayerCount += 1;

    mCurrentBugInfo.mLeastNum++;
    if (mCurrentBugInfo.mLeastNum > TEAMSIZE ||
        (OurInitSide() == OurSide() ? side : (side == 'l' ? 'r' : 'l')) !=
            mCurrentBugInfo.mSide) {
      mCurrentBugInfo.mSide = 'r';
      mCurrentBugInfo.mLeastNum = 1;
    }

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movb %r8b, %al
movq %rdi, -0x8(%rbp)
movb %sil, -0x9(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
andb $0x1, %dl
movb %dl, -0x21(%rbp)
andb $0x1, %cl
movb %cl, -0x22(%rbp)
andb $0x1, %al
movb %al, -0x23(%rbp)
movl %r9d, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
cmpl $0x16, 0x31e0(%rax)
jge 0x6c5b9
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x30(%rbp)
leaq -0x30(%rbp), %rsi
callq 0x6e430
movq %rax, %rdi
movl $0x1, %esi
callq 0x6e450
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x38(%rbp)
leaq -0x38(%rbp), %rsi
callq 0x6e430
movq %rax, %rdi
movsbl -0x9(%rbp), %esi
callq 0x6e490
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x40(%rbp)
leaq -0x40(%rbp), %rsi
callq 0x6e430
movq -0x78(%rbp), %rsi
movq %rax, %rdi
movsd -0x18(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e370
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x48(%rbp)
leaq -0x48(%rbp), %rsi
callq 0x6e430
movq -0x78(%rbp), %rsi
movq %rax, %rdi
movsd -0x20(%rbp), %xmm0
addq $0xc, %rsi
callq 0x6e3a0
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %rsi
callq 0x6e430
movq -0x78(%rbp), %rdx
movq %rax, %rdi
movb -0x21(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e4b0
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x58(%rbp)
leaq -0x58(%rbp), %rsi
callq 0x6e430
movq -0x78(%rbp), %rdx
movq %rax, %rdi
movb -0x22(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e4f0
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x60(%rbp)
leaq -0x60(%rbp), %rsi
callq 0x6e430
movq -0x78(%rbp), %rdx
movq %rax, %rdi
movb -0x23(%rbp), %al
addq $0xc, %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x6e530
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x2840, %rdi           # imm = 0x2840
movslq 0x31e0(%rax), %rax
movq %rax, -0x68(%rbp)
leaq -0x68(%rbp), %rsi
callq 0x6e430
movq %rax, %rdi
movl -0x28(%rbp), %esi
callq 0x6e570
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x31e4, %rdi           # imm = 0x31E4
movslq 0x31e0(%rax), %rax
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %rsi
callq 0x6e470
movq %rax, %rcx
movq -0x78(%rbp), %rax
movq 0x3344(%rax), %rdx
movq %rdx, (%rcx)
movq 0x334c(%rax), %rdx
movq %rdx, 0x8(%rcx)
movl 0x31e0(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x31e0(%rax)
movl 0x3348(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x3348(%rax)
cmpl $0xb, 0x3348(%rax)
jg 0x6c526
movq -0x78(%rbp), %rdi
callq 0x6e590
movq -0x78(%rbp), %rdi
movsbl (%rax), %eax
movl %eax, -0x7c(%rbp)
callq 0x6e5b0
movq %rax, %rcx
movl -0x7c(%rbp), %eax
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x6c4f2
movb -0x9(%rbp), %al
movb %al, -0x7d(%rbp)
jmp 0x6c511
movsbl -0x9(%rbp), %ecx
movb $0x72, %al
movb $0x6c, %dl
movb %dl, -0x7f(%rbp)
cmpl $0x6c, %ecx
movb %al, -0x7e(%rbp)
je 0x6c50b
movb -0x7f(%rbp), %al
movb %al, -0x7e(%rbp)
movb -0x7e(%rbp), %al
movb %al, -0x7d(%rbp)
movq -0x78(%rbp), %rcx
movb -0x7d(%rbp), %al
movsbl %al, %eax
movsbl 0x3344(%rcx), %ecx
cmpl %ecx, %eax
je 0x6c53b
movq -0x78(%rbp), %rax
movb $0x72, 0x3344(%rax)
movl $0x1, 0x3348(%rax)
movq -0x78(%rbp), %rdi
callq 0x6e590
movq -0x78(%rbp), %rdi
movsbl (%rax), %eax
movl %eax, -0x84(%rbp)
callq 0x6e5b0
movq %rax, %rcx
movl -0x84(%rbp), %eax
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x6c571
movb -0x9(%rbp), %al
movb %al, -0x85(%rbp)
jmp 0x6c5a2
movsbl -0x9(%rbp), %ecx
movb $0x72, %al
movb $0x6c, %dl
movb %dl, -0x87(%rbp)
cmpl $0x6c, %ecx
movb %al, -0x86(%rbp)
je 0x6c596
movb -0x87(%rbp), %al
movb %al, -0x86(%rbp)
movb -0x86(%rbp), %al
movb %al, -0x85(%rbp)
movq -0x78(%rbp), %rdi
movb -0x85(%rbp), %al
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movsbl %al, %esi
callq 0x6bac0
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)