// File: wrighteagle2d[P]wrighteaglebase/Debug/../src/NetworkTest.cpp
// Function: NetworkTest::Update(Time const&)
void NetworkTest::Update(const Time &time) {
  if (PlayerParam::instance().NetworkTest()) {
    if (time != CurrentTime) {
      CurrentTime = time; //更新时间
      int i, size = EndTimelist.size();
      for (i = 0; i < size; i++) {
        std::string BeginName = EndtoBegin[EndTimelist[i].Name];
        int k, SUSize = StatUnit.size();
        for (k = 0; k < SUSize; k++) {
          if (StatUnit[k].GetBegin().compare(BeginName) == 0
              /*&&!EndTimelist[i].Name*/) {
            if (!BeginTimelist[k].IsRecord) {
              StatUnit[k].MissBeginIncrement();
              EndTimelist[i].IsRecord = false;
            }
            break;
          }
        }

        if (k == SUSize) {
          StatisticUnit SU;
          SU.setBegin(BeginName);
          SU.setEndName(EndTimelist[i].Name);
          SU.setMyID(mUnum);
          StatUnit.push_back(SU);
        } else if (EndTimelist[i].IsRecord) {
          long Interval = getInterval(BeginName, EndTimelist[i].Name);
          StatUnit[k].SetStatistic(Interval, time);
          EndTimelist[i].IsRecord = false;
          BeginTimelist[k].IsRecord = false;
        }
      }
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2f0, %rsp            # imm = 0x2F0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x2d0(%rbp)
callq 0x798a0
movq %rax, %rdi
callq 0x64a70
testb $0x1, (%rax)
je 0x640e6
movq -0x2d0(%rbp), %rsi
movq -0x10(%rbp), %rdi
addq $0x78, %rsi
callq 0x175f0
testb $0x1, %al
jne 0x63cf1
jmp 0x640e4
movq -0x2d0(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, 0x78(%rdi)
addq $0x18, %rdi
callq 0x64a90
movl %eax, -0x18(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x640e2
movq -0x2d0(%rbp), %rdi
movq %rdi, %rax
addq $0x48, %rax
movq %rax, -0x2d8(%rbp)
addq $0x18, %rdi
movslq -0x14(%rbp), %rsi
callq 0x64ac0
movq -0x2d8(%rbp), %rdi
movq %rax, %rsi
callq 0x64c00
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
callq 0xa250
movq -0x2d0(%rbp), %rdi
addq $0x30, %rdi
callq 0x648b0
movl %eax, -0x40(%rbp)
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x40(%rbp), %eax
jge 0x63e5b
movq -0x2d0(%rbp), %rdi
addq $0x30, %rdi
movslq -0x3c(%rbp), %rsi
callq 0x648e0
movq %rax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x64d20
jmp 0x63da7
leaq -0x60(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xa070
movl %eax, -0x2dc(%rbp)
jmp 0x63dbc
leaq -0x60(%rbp), %rdi
callq 0xa370
movl -0x2dc(%rbp), %eax
cmpl $0x0, %eax
jne 0x63e4b
movq -0x2d0(%rbp), %rdi
movslq -0x3c(%rbp), %rsi
callq 0x64ac0
testb $0x1, 0x30(%rax)
jne 0x63e49
movq -0x2d0(%rbp), %rdi
addq $0x30, %rdi
movslq -0x3c(%rbp), %rsi
callq 0x648e0
movq %rax, %rdi
callq 0x64d60
jmp 0x63e04
movq -0x2d0(%rbp), %rdi
addq $0x18, %rdi
movslq -0x14(%rbp), %rsi
callq 0x64ac0
movb $0x0, 0x30(%rax)
jmp 0x63e49
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x640d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0xa370
jmp 0x640d7
jmp 0x63e5b
jmp 0x63e4d
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x63d79
movl -0x3c(%rbp), %eax
cmpl -0x40(%rbp), %eax
jne 0x63f84
leaq -0x238(%rbp), %rdi
callq 0x61c30
jmp 0x63e75
leaq -0x258(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xa250
jmp 0x63e87
leaq -0x238(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x64d80
jmp 0x63e9c
leaq -0x258(%rbp), %rdi
callq 0xa370
movq -0x2d0(%rbp), %rdi
addq $0x18, %rdi
movslq -0x14(%rbp), %rsi
callq 0x64ac0
movq %rax, %rsi
leaq -0x278(%rbp), %rdi
callq 0xa250
jmp 0x63ecd
leaq -0x238(%rbp), %rdi
leaq -0x278(%rbp), %rsi
callq 0x64db0
jmp 0x63ee2
leaq -0x278(%rbp), %rdi
callq 0xa370
movq -0x2d0(%rbp), %rax
movl 0x80(%rax), %esi
leaq -0x238(%rbp), %rdi
callq 0x64de0
jmp 0x63f09
movq -0x2d0(%rbp), %rdi
addq $0x30, %rdi
leaq -0x238(%rbp), %rsi
callq 0x64e00
jmp 0x63f22
leaq -0x238(%rbp), %rdi
callq 0x61e90
jmp 0x640c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x63f73
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x258(%rbp), %rdi
callq 0xa370
jmp 0x63f73
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x278(%rbp), %rdi
callq 0xa370
leaq -0x238(%rbp), %rdi
callq 0x61e90
jmp 0x640d7
movq -0x2d0(%rbp), %rdi
addq $0x18, %rdi
movslq -0x14(%rbp), %rsi
callq 0x64ac0
testb $0x1, 0x30(%rax)
je 0x640be
leaq -0x2a0(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xa250
jmp 0x63fb4
movq -0x2d0(%rbp), %rdi
addq $0x18, %rdi
movslq -0x14(%rbp), %rsi
callq 0x64ac0
movq %rax, %rsi
leaq -0x2c0(%rbp), %rdi
callq 0xa250
jmp 0x63fd9
movq -0x2d0(%rbp), %rdi
leaq -0x2a0(%rbp), %rsi
leaq -0x2c0(%rbp), %rdx
callq 0x63af0
movq %rax, -0x2e8(%rbp)
jmp 0x63ffc
leaq -0x2c0(%rbp), %rdi
callq 0xa370
leaq -0x2a0(%rbp), %rdi
callq 0xa370
movq -0x2e8(%rbp), %rax
movq -0x2d0(%rbp), %rdi
movq %rax, -0x280(%rbp)
addq $0x30, %rdi
movslq -0x3c(%rbp), %rsi
callq 0x648e0
movq %rax, %rdi
movq -0x280(%rbp), %rsi
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x2c8(%rbp)
movq -0x2c8(%rbp), %rdx
callq 0x62990
jmp 0x6405c
movq -0x2d0(%rbp), %rdi
addq $0x18, %rdi
movslq -0x14(%rbp), %rsi
callq 0x64ac0
movq -0x2d0(%rbp), %rdi
movb $0x0, 0x30(%rax)
movslq -0x3c(%rbp), %rsi
callq 0x64ac0
movb $0x0, 0x30(%rax)
jmp 0x640be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x640b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x2c0(%rbp), %rdi
callq 0xa370
leaq -0x2a0(%rbp), %rdi
callq 0xa370
jmp 0x640d7
jmp 0x640c0
leaq -0x38(%rbp), %rdi
callq 0xa370
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x63d16
leaq -0x38(%rbp), %rdi
callq 0xa370
jmp 0x640ef
jmp 0x640e4
jmp 0x640e6
addq $0x2f0, %rsp            # imm = 0x2F0
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0xaa60
nopl (%rax,%rax)