// File: /workspace/github_cpp_makefile_star2_O2/wrighteagle2d[P]wrighteaglebase/Debug/../src/NetworkTest.cpp
// Function: NetworkTest::WriteRealTimeRecord()
void NetworkTest::WriteRealTimeRecord() {
  if (PlayerParam::instance().NetworkTest()) {
    if (mParserList.size() > 0) {
      char parser_file[128];
      sprintf(parser_file, "Test/RealTime-Parser-%d.txt", mUnum);
      std::ofstream out_parser(parser_file);
      if (out_parser.good() == true) {
        for (unsigned i = 0; i < mParserList.size(); ++i) {
          out_parser << mParserList[i].mCostTime << " ms"
                     << "\t" << mParserList[i].mBeginTime << "\t"
                     << mParserList[i].mEndTime << "\t" << mParserList[i].mTime
                     << std::endl;
        }
      }
      out_parser.close();
    }

    if (mDecisionList.size() > 0) {
      char decision_file[128];
      sprintf(decision_file, "Test/RealTime-Decision-%d.txt", mUnum);
      std::ofstream out_decision(decision_file);
      if (out_decision.good() == true) {
        for (unsigned i = 0; i < mDecisionList.size(); ++i) {
          out_decision << mDecisionList[i].mCostTime << " ms"
                       << "\t" << mDecisionList[i].mBeginTime << "\t"
                       << mDecisionList[i].mEndTime << "\t"
                       << mDecisionList[i].mTime << std::endl;
        }
      }
      out_decision.close();
    }

    if (mCommandSendList.size() > 0) {
      char commandsend_file[128];
      sprintf(commandsend_file, "Test/RealTime-CommandSend-%d.txt", mUnum);
      std::ofstream out_commandsend(commandsend_file);
      if (out_commandsend.good() == true) {
        for (unsigned i = 0; i < mCommandSendList.size(); ++i) {
          out_commandsend << mCommandSendList[i].mCostTime << " ms"
                          << "\t" << mCommandSendList[i].mBeginTime << "\t"
                          << mCommandSendList[i].mEndTime << "\t"
                          << mCommandSendList[i].mTime << std::endl;
        }
      }
      out_commandsend.close();
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movq %rdi, %rbx
callq 0x38d94
cmpb $0x1, 0x5c49(%rax)
jne 0x2fef2
movq 0xf8(%rbx), %rax
cmpq 0xf0(%rbx), %rax
je 0x2fe0c
movl 0x80(%rbx), %edx
leaq 0x29108(%rip), %rsi     # 0x58ebe
xorl %r13d, %r13d
leaq -0x2b0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x9100
leaq -0x228(%rbp), %r15
pushq $0x10
popq %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x9520
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x208(%rbp,%rax)
je 0x2ff04
leaq -0x228(%rbp), %rdi
callq 0x96e0
leaq -0x228(%rbp), %rdi
callq 0x9720
movq 0x110(%rbx), %rax
cmpq 0x108(%rbx), %rax
je 0x2fe7f
movl 0x80(%rbx), %edx
leaq 0x290b5(%rip), %rsi     # 0x58ede
xorl %r13d, %r13d
leaq -0x2b0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x9100
leaq -0x228(%rbp), %r15
pushq $0x10
popq %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x9520
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x208(%rbp,%rax)
je 0x2ffd0
leaq -0x228(%rbp), %rdi
callq 0x96e0
leaq -0x228(%rbp), %rdi
callq 0x9720
movq 0x128(%rbx), %rax
cmpq 0x120(%rbx), %rax
je 0x2fef2
movl 0x80(%rbx), %edx
leaq 0x29060(%rip), %rsi     # 0x58efc
xorl %r13d, %r13d
leaq -0x2b0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x9100
leaq -0x228(%rbp), %r15
pushq $0x10
popq %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x9520
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x208(%rbp,%rax)
je 0x3009c
leaq -0x228(%rbp), %rdi
callq 0x96e0
leaq -0x228(%rbp), %rdi
callq 0x9720
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x28fcf(%rip), %r15     # 0x58eda
leaq 0x2884d(%rip), %r12     # 0x5875f
movl %r13d, %r13d
movq 0xf0(%rbx), %rcx
movq 0xf8(%rbx), %rax
subq %rcx, %rax
cqto
pushq $0x30
popq %rsi
idivq %rsi
cmpq %r13, %rax
jbe 0x2fdf4
imulq $0x30, %r13, %r14
movl 0x20(%rcx,%r14), %esi
leaq -0x228(%rbp), %rdi
callq 0x9890
movq %rax, %rdi
movq %r15, %rsi
callq 0x94b0
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0xf0(%rbx), %rcx
movq (%rcx,%r14), %rsi
movq 0x8(%rcx,%r14), %rdx
movq %rax, %rdi
callq 0x476ba
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0xf0(%rbx), %rcx
movq 0x10(%rcx,%r14), %rsi
movq 0x18(%rcx,%r14), %rdx
movq %rax, %rdi
callq 0x476ba
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0xf0(%rbx), %rcx
leaq (%rcx,%r14), %rsi
addq $0x24, %rsi
movq %rax, %rdi
callq 0xd465
movq %rax, %rdi
callq 0x99e8
incl %r13d
jmp 0x2ff12
leaq 0x28f03(%rip), %r15     # 0x58eda
leaq 0x28781(%rip), %r12     # 0x5875f
movl %r13d, %r13d
movq 0x108(%rbx), %rcx
movq 0x110(%rbx), %rax
subq %rcx, %rax
cqto
pushq $0x30
popq %rsi
idivq %rsi
cmpq %r13, %rax
jbe 0x2fe67
imulq $0x30, %r13, %r14
movl 0x20(%rcx,%r14), %esi
leaq -0x228(%rbp), %rdi
callq 0x9890
movq %rax, %rdi
movq %r15, %rsi
callq 0x94b0
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0x108(%rbx), %rcx
movq (%rcx,%r14), %rsi
movq 0x8(%rcx,%r14), %rdx
movq %rax, %rdi
callq 0x476ba
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0x108(%rbx), %rcx
movq 0x10(%rcx,%r14), %rsi
movq 0x18(%rcx,%r14), %rdx
movq %rax, %rdi
callq 0x476ba
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0x108(%rbx), %rcx
leaq (%rcx,%r14), %rsi
addq $0x24, %rsi
movq %rax, %rdi
callq 0xd465
movq %rax, %rdi
callq 0x99e8
incl %r13d
jmp 0x2ffde
leaq 0x28e37(%rip), %r15     # 0x58eda
leaq 0x286b5(%rip), %r12     # 0x5875f
movl %r13d, %r13d
movq 0x120(%rbx), %rcx
movq 0x128(%rbx), %rax
subq %rcx, %rax
cqto
pushq $0x30
popq %rsi
idivq %rsi
cmpq %r13, %rax
jbe 0x2feda
imulq $0x30, %r13, %r14
movl 0x20(%rcx,%r14), %esi
leaq -0x228(%rbp), %rdi
callq 0x9890
movq %rax, %rdi
movq %r15, %rsi
callq 0x94b0
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0x120(%rbx), %rcx
movq (%rcx,%r14), %rsi
movq 0x8(%rcx,%r14), %rdx
movq %rax, %rdi
callq 0x476ba
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0x120(%rbx), %rcx
movq 0x10(%rcx,%r14), %rsi
movq 0x18(%rcx,%r14), %rdx
movq %rax, %rdi
callq 0x476ba
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq 0x120(%rbx), %rcx
leaq (%rcx,%r14), %rsi
addq $0x24, %rsi
movq %rax, %rdi
callq 0xd465
movq %rax, %rdi
callq 0x99e8
incl %r13d
jmp 0x300aa
jmp 0x30172
jmp 0x30172
jmp 0x30172
jmp 0x30172
jmp 0x30172
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x9720
movq %rbx, %rdi
callq 0x98b0
nop