// File: /workspace/github_cpp_makefile_star2_O1/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %rsi, -0x38(%rbp)
movq %rdi, %r15
callq 0x450ba
cmpb $0x1, 0x5c49(%rax)
jne 0x39fc2
movq -0x38(%rbp), %rax
movl 0x4(%rax), %eax
cmpl 0x7c(%r15), %eax
jne 0x39bbe
movl 0x78(%r15), %eax
movq -0x38(%rbp), %rcx
cmpl %eax, (%rcx)
je 0x39fc2
movq -0x38(%rbp), %rax
movq (%rax), %rax
movq %rax, 0x78(%r15)
movq 0x20(%r15), %rax
subq 0x18(%r15), %rax
sarq $0x3, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rax, %rcx
movq %rcx, -0x68(%rbp)
testl %ecx, %ecx
jle 0x39fc2
leaq 0x48(%r15), %rax
movq %rax, -0x110(%rbp)
leaq -0x50(%rbp), %r14
leaq 0x30(%r15), %rax
movq %rax, -0x88(%rbp)
movq -0x68(%rbp), %rax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq %rax, -0x68(%rbp)
leaq -0xa8(%rbp), %r12
xorl %r13d, %r13d
movq %r15, -0x78(%rbp)
imulq $0x38, %r13, %rcx
movq 0x18(%r15), %rsi
movq %rcx, -0x30(%rbp)
addq %rcx, %rsi
movq -0x110(%rbp), %rdi
callq 0x3a596
movq %r14, -0x60(%rbp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %rdi
callq 0xf0e0
movq 0x38(%r15), %rdx
subq 0x30(%r15), %rdx
sarq $0x3, %rdx
movabsq $-0x7dc11f7047dc11f7, %rax # imm = 0x823EE08FB823EE09
imulq %rax, %rdx
movl $0x0, %ebx
testl %edx, %edx
jle 0x39dac
movq %r13, -0x70(%rbp)
movq %rdx, -0x80(%rbp)
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movq %rdx, -0x118(%rbp)
movl $0x30, %r12d
xorl %r13d, %r13d
xorl %ebx, %ebx
movq -0x88(%rbp), %rax
movq (%rax), %rax
leaq -0x2d0(%rbp), %rcx
movq %rcx, -0x2e0(%rbp)
movq 0xb0(%rax,%r13), %rsi
movq 0xb8(%rax,%r13), %rdx
addq %rsi, %rdx
leaq -0x2e0(%rbp), %rdi
callq 0xf0e0
movq %rbx, -0x40(%rbp)
movq -0x2d8(%rbp), %r15
movq -0x58(%rbp), %r14
cmpq %r15, %r14
movq %r15, %rdx
cmovbq %r14, %rdx
testq %rdx, %rdx
je 0x39d09
movq -0x60(%rbp), %rsi
movq -0x2e0(%rbp), %rdi
callq 0x94f0
testl %eax, %eax
sete %bl
jmp 0x39d0b
movb $0x1, %bl
cmpq %r14, %r15
sete %r14b
movq -0x2e0(%rbp), %rdi
leaq -0x2d0(%rbp), %rax
cmpq %rax, %rdi
je 0x39d34
movq -0x2d0(%rbp), %rsi
incq %rsi
callq 0x94e0
andb %r14b, %bl
jne 0x39d71
movq -0x40(%rbp), %rbx
incq %rbx
addq $0x1c8, %r13            # imm = 0x1C8
addq $0x38, %r12
cmpq %rbx, -0x118(%rbp)
jne 0x39c9d
leaq -0x50(%rbp), %r14
movq -0x78(%rbp), %r15
leaq -0xa8(%rbp), %r12
movq -0x70(%rbp), %r13
movq -0x80(%rbp), %rdx
jmp 0x39dac
movq -0x78(%rbp), %r15
movq (%r15), %rax
cmpb $0x1, (%rax,%r12)
movq -0x40(%rbp), %rbx
movq -0x80(%rbp), %rdx
je 0x39d9d
movq 0x30(%r15), %rax
incl 0x54(%rax,%r13)
movq 0x18(%r15), %rax
movq -0x30(%rbp), %rcx
movb $0x0, 0x30(%rax,%rcx)
leaq -0x50(%rbp), %r14
leaq -0xa8(%rbp), %r12
movq -0x70(%rbp), %r13
cmpl %edx, %ebx
jne 0x39eae
leaq -0x2e0(%rbp), %rdi
callq 0x38638
leaq -0xf8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
addq %rsi, %rdx
leaq -0x108(%rbp), %rdi
callq 0xf0e0
leaq -0x230(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x92a0
movq -0x108(%rbp), %rdi
leaq -0xf8(%rbp), %rax
cmpq %rax, %rdi
je 0x39e1a
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x94e0
movq 0x18(%r15), %rax
leaq -0xd8(%rbp), %rcx
movq %rcx, -0xe8(%rbp)
movq -0x30(%rbp), %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
leaq -0xe8(%rbp), %rdi
callq 0xf0e0
leaq -0x210(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x92a0
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x39e7d
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x94e0
movl 0x80(%r15), %eax
movl %eax, -0x290(%rbp)
movq -0x88(%rbp), %rdi
leaq -0x2e0(%rbp), %rsi
callq 0x3a616
leaq -0x2e0(%rbp), %rdi
callq 0x38778
jmp 0x39fa0
movq 0x18(%r15), %rax
movq -0x30(%rbp), %rcx
cmpb $0x1, 0x30(%rax,%rcx)
jne 0x39fa0
leaq -0xb8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
addq %rsi, %rdx
leaq -0xc8(%rbp), %rdi
callq 0xf0e0
movq 0x18(%r15), %rax
leaq -0x98(%rbp), %rcx
movq %rcx, -0xa8(%rbp)
movq -0x30(%rbp), %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xf0e0
movq %r15, %rdi
leaq -0xc8(%rbp), %rsi
movq %r12, %rdx
callq 0x39a1a
movq %rax, -0x40(%rbp)
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x39f48
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x94e0
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x39f6a
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x94e0
movl %ebx, %ebx
imulq $0x1c8, %rbx, %rdi      # imm = 0x1C8
addq 0x30(%r15), %rdi
movq -0x38(%rbp), %rax
movq (%rax), %rdx
movq -0x40(%rbp), %rsi
callq 0x38e9e
movq 0x18(%r15), %rax
xorl %edx, %edx
movq -0x30(%rbp), %rcx
movb %dl, 0x30(%rax,%rcx)
movq (%r15), %rax
imulq $0x38, %rbx, %rcx
movb %dl, 0x30(%rax,%rcx)
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x39fb5
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x94e0
incq %r13
cmpq -0x68(%rbp), %r13
jne 0x39c24
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x3a003
jmp 0x3a080
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x3a003
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x94e0
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x3a083
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x94e0
jmp 0x3a083
jmp 0x3a080
movq %rax, %rbx
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x3a072
movq -0xd8(%rbp), %rsi
jmp 0x3a065
movq %rax, %rbx
movq -0x108(%rbp), %rdi
leaq -0xf8(%rbp), %rax
cmpq %rax, %rdi
je 0x3a072
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x94e0
jmp 0x3a072
movq %rax, %rbx
leaq -0x2e0(%rbp), %rdi
callq 0x38778
jmp 0x3a083
movq %rax, %rbx
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x3a09c
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x94e0
movq %rbx, %rdi
callq 0x98b0