// File: /workspace/github_cpp_makefile_star2_O3/wrighteagle2d[P]wrighteaglebase/Debug/../src/ActionEffector.cpp
// Function: ActionEffector::CheckCommands(Observer*)
void ActionEffector::CheckCommands(Observer *observer) {
  CheckCommandQueue(observer);
  Reset();

  /**
   * 下面通过sense中server发来的命令数据和自己的纪录数据进行比较，判断是否漏发命令
   * 按照sense中的顺序排列
   */
  if (observer->Sense().GetKickCount() != mKickCount) {
    if (observer->Sense().GetKickCount() < mKickCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a kick" << std::endl;
    }
    mKickCount = observer->Sense().GetKickCount();
  }

  if (observer->Sense().GetDashCount() != mDashCount) {
    if (observer->Sense().GetDashCount() < mDashCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a dash" << std::endl;
    }
    mDashCount = observer->Sense().GetDashCount();
  }

  if (observer->Sense().GetTurnCount() != mTurnCount) {
    if (observer->Sense().GetTurnCount() < mTurnCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a turn" << std::endl;
    }
    mTurnCount = observer->Sense().GetTurnCount();
  }

  if (observer->Sense().GetSayCount() != mSayCount) {
    if (observer->Sense().GetSayCount() < mSayCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a say" << std::endl;
      mIsSayMissed = true;
    }
    mSayCount = observer->Sense().GetSayCount();
  }

  if (observer->Sense().GetTurnNeckCount() != mTurnNeckCount) {
    if (observer->Sense().GetTurnNeckCount() < mTurnNeckCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a turn_neck" << std::endl;
    }
    mTurnNeckCount = observer->Sense().GetTurnNeckCount();
  }

  if (observer->Sense().GetCatchCount() != mCatchCount) {
    if (observer->Sense().GetCatchCount() < mCatchCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a catch" << std::endl;
    }
    mCatchCount = observer->Sense().GetCatchCount();
  }

  if (observer->Sense().GetMoveCount() != mMoveCount) {
    if (observer->Sense().GetMoveCount() < mMoveCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a move" << std::endl;
    }
    mMoveCount = observer->Sense().GetMoveCount();
  }

  if (observer->Sense().GetChangeViewCount() != mChangeViewCount) {
    if (observer->Sense().GetChangeViewCount() < mChangeViewCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a change_view" << std::endl;
    }
    mChangeViewCount = observer->Sense().GetChangeViewCount();
  }

  if (observer->Sense().GetArmCount() != mPointtoCount) {
    if (observer->Sense().GetArmCount() < mPointtoCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a pointto" << std::endl;
    }
    mPointtoCount = observer->Sense().GetArmCount();
  }

  if (observer->Sense().GetFocusCount() != mAttentiontoCount) {
    if (observer->Sense().GetFocusCount() < mAttentiontoCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a attentionto" << std::endl;
    }
    mAttentiontoCount = observer->Sense().GetFocusCount();
  }

  if (observer->Sense().GetTackleCount() != mTackleCount) {
    if (observer->Sense().GetTackleCount() < mTackleCount) {
      std::cout << observer->CurrentTime() << " "
                << PlayerParam::instance().teamName() << " "
                << observer->SelfUnum() << " miss a tackle" << std::endl;
    }
    mTackleCount = observer->Sense().GetTackleCount();
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
callq 0xd3aa
movq %rbx, %rdi
callq 0xdef8
movl 0x158(%r14), %eax
cmpl 0xe54(%rbx), %eax
je 0xd718
jge 0xd712
leaq 0xc(%r14), %rsi
movq 0x7694c(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5f541(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5ba39(%rip), %rsi     # 0x69110
movl $0xc, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x158(%r14), %eax
movl %eax, 0xe54(%rbx)
movl 0x15c(%r14), %eax
cmpl 0xe44(%rbx), %eax
je 0xd7e0
jge 0xd7da
leaq 0xc(%r14), %rsi
movq 0x76884(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5f479(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b97e(%rip), %rsi     # 0x6911d
movl $0xc, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x15c(%r14), %eax
movl %eax, 0xe44(%rbx)
movl 0x160(%r14), %eax
cmpl 0xe40(%rbx), %eax
je 0xd8a8
jge 0xd8a2
leaq 0xc(%r14), %rsi
movq 0x767bc(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5f3b1(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b8c3(%rip), %rsi     # 0x6912a
movl $0xc, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x160(%r14), %eax
movl %eax, 0xe40(%rbx)
movl 0x164(%r14), %eax
cmpl 0xe4c(%rbx), %eax
je 0xd977
jge 0xd971
leaq 0xc(%r14), %rsi
movq 0x766f4(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5f2e9(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b808(%rip), %rsi     # 0x69137
movl $0xb, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movb $0x1, 0xead(%rbx)
movl 0x164(%r14), %eax
movl %eax, 0xe4c(%rbx)
movl 0x168(%r14), %eax
cmpl 0xe48(%rbx), %eax
je 0xda3f
jge 0xda39
leaq 0xc(%r14), %rsi
movq 0x76625(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5f21a(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b745(%rip), %rsi     # 0x69143
movl $0x11, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x168(%r14), %eax
movl %eax, 0xe48(%rbx)
movl 0x16c(%r14), %eax
cmpl 0xe60(%rbx), %eax
je 0xdb07
jge 0xdb01
leaq 0xc(%r14), %rsi
movq 0x7655d(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5f152(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b68f(%rip), %rsi     # 0x69155
movl $0xd, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x16c(%r14), %eax
movl %eax, 0xe60(%rbx)
movl 0x170(%r14), %eax
cmpl 0xe64(%rbx), %eax
je 0xdbcf
jge 0xdbc9
leaq 0xc(%r14), %rsi
movq 0x76495(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5f08a(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b5d5(%rip), %rsi     # 0x69163
movl $0xc, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x170(%r14), %eax
movl %eax, 0xe64(%rbx)
movl 0x174(%r14), %eax
cmpl 0xe68(%rbx), %eax
je 0xdc97
jge 0xdc91
leaq 0xc(%r14), %rsi
movq 0x763cd(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5efc2(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b51a(%rip), %rsi     # 0x69170
movl $0x13, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x174(%r14), %eax
movl %eax, 0xe68(%rbx)
movl 0x190(%r14), %eax
cmpl 0xe5c(%rbx), %eax
je 0xdd5f
jge 0xdd59
leaq 0xc(%r14), %rsi
movq 0x76305(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5eefa(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b466(%rip), %rsi     # 0x69184
movl $0xf, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x190(%r14), %eax
movl %eax, 0xe5c(%rbx)
movl 0x19c(%r14), %eax
cmpl 0xe50(%rbx), %eax
je 0xde27
jge 0xde21
leaq 0xc(%r14), %rsi
movq 0x7623d(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5ee32(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b3ae(%rip), %rsi     # 0x69194
movl $0x13, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x19c(%r14), %eax
movl %eax, 0xe50(%rbx)
movl 0x1a4(%r14), %eax
cmpl 0xe58(%rbx), %eax
je 0xdeef
jge 0xdee9
leaq 0xc(%r14), %rsi
movq 0x76175(%rip), %rdi     # 0x83fc0
callq 0xe974
movq %rax, %r15
leaq 0x5ed6a(%rip), %r12     # 0x6cbc4
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
callq 0x43dce
movq 0x3138(%rax), %rsi
movq 0x3140(%rax), %rdx
movq %r15, %rdi
callq 0x9560
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x9880
movq %rax, %r15
leaq 0x5b2fa(%rip), %rsi     # 0x691a8
movl $0xe, %edx
movq %rax, %rdi
callq 0x9560
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r15, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl 0x1a4(%r14), %eax
movl %eax, 0xe58(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq