// File: /workspace/github_cpp_makefile_star2_O1/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 0x450ba
cmpb $0x1, 0x5c49(%rax)
jne 0x3971a
movq 0xf8(%rbx), %rax
cmpq 0xf0(%rbx), %rax
je 0x39380
movl 0x80(%rbx), %edx
leaq 0x33d2e(%rip), %rsi     # 0x6cf02
leaq -0x2b0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x9110
leaq -0x228(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x10, %edx
callq 0x9520
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x208(%rbp,%rax)
jne 0x3933e
movq 0xf0(%rbx), %rax
cmpq %rax, 0xf8(%rbx)
je 0x3933e
movl $0x1, %r14d
xorl %ecx, %ecx
leaq 0x3356b(%rip), %r12     # 0x6c79f
leaq (%rcx,%rcx,2), %r15
shlq $0x4, %r15
movl 0x20(%rax,%r15), %esi
leaq -0x228(%rbp), %rdi
callq 0x9880
movq %rax, %r13
movl $0x3, %edx
movq %rax, %rdi
leaq 0x33cbf(%rip), %rsi     # 0x6cf1e
callq 0x9560
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x9560
movq 0xf0(%rbx), %rax
movq (%rax,%r15), %rsi
movq 0x8(%rax,%r15), %rdx
movq %r13, %rdi
callq 0x55ea2
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq 0xf0(%rbx), %rax
movq 0x10(%rax,%r15), %rsi
movq 0x18(%rax,%r15), %rdx
movq %r13, %rdi
callq 0x55ea2
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq 0xf0(%rbx), %rax
leaq (%rax,%r15), %rsi
addq $0x24, %rsi
movq %r13, %rdi
callq 0xea74
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r13, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl %r14d, %ecx
movq 0xf0(%rbx), %rax
movq 0xf8(%rbx), %rdx
subq %rax, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdx
incl %r14d
cmpq %rcx, %rdx
ja 0x39234
leaq -0x228(%rbp), %rdi
callq 0x96c0
movq 0x4dc5f(%rip), %rax     # 0x86fb0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq -0x220(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, -0x228(%rbp,%rcx)
callq 0x9400
leaq -0x130(%rbp), %rdi
callq 0x91c0
movq 0x110(%rbx), %rax
cmpq 0x108(%rbx), %rax
je 0x3954d
movl 0x80(%rbx), %edx
leaq 0x33b81(%rip), %rsi     # 0x6cf22
leaq -0x2b0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x9110
leaq -0x228(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x10, %edx
callq 0x9520
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x208(%rbp,%rax)
jne 0x3950b
movq 0x108(%rbx), %rax
cmpq %rax, 0x110(%rbx)
je 0x3950b
movl $0x1, %r14d
xorl %ecx, %ecx
leaq 0x3339e(%rip), %r12     # 0x6c79f
leaq (%rcx,%rcx,2), %r15
shlq $0x4, %r15
movl 0x20(%rax,%r15), %esi
leaq -0x228(%rbp), %rdi
callq 0x9880
movq %rax, %r13
movl $0x3, %edx
movq %rax, %rdi
leaq 0x33af2(%rip), %rsi     # 0x6cf1e
callq 0x9560
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x9560
movq 0x108(%rbx), %rax
movq (%rax,%r15), %rsi
movq 0x8(%rax,%r15), %rdx
movq %r13, %rdi
callq 0x55ea2
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq 0x108(%rbx), %rax
movq 0x10(%rax,%r15), %rsi
movq 0x18(%rax,%r15), %rdx
movq %r13, %rdi
callq 0x55ea2
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq 0x108(%rbx), %rax
leaq (%rax,%r15), %rsi
addq $0x24, %rsi
movq %r13, %rdi
callq 0xea74
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r13, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl %r14d, %ecx
movq 0x108(%rbx), %rax
movq 0x110(%rbx), %rdx
subq %rax, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdx
incl %r14d
cmpq %rcx, %rdx
ja 0x39401
leaq -0x228(%rbp), %rdi
callq 0x96c0
movq 0x4da92(%rip), %rax     # 0x86fb0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq -0x220(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, -0x228(%rbp,%rcx)
callq 0x9400
leaq -0x130(%rbp), %rdi
callq 0x91c0
movq 0x128(%rbx), %rax
cmpq 0x120(%rbx), %rax
je 0x3971a
movl 0x80(%rbx), %edx
leaq 0x339d2(%rip), %rsi     # 0x6cf40
leaq -0x2b0(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x9110
leaq -0x228(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x10, %edx
callq 0x9520
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x208(%rbp,%rax)
jne 0x396d8
movq 0x120(%rbx), %rax
cmpq %rax, 0x128(%rbx)
je 0x396d8
movl $0x1, %r14d
xorl %ecx, %ecx
leaq 0x331d1(%rip), %r12     # 0x6c79f
leaq (%rcx,%rcx,2), %r15
shlq $0x4, %r15
movl 0x20(%rax,%r15), %esi
leaq -0x228(%rbp), %rdi
callq 0x9880
movq %rax, %r13
movl $0x3, %edx
movq %rax, %rdi
leaq 0x33925(%rip), %rsi     # 0x6cf1e
callq 0x9560
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x9560
movq 0x120(%rbx), %rax
movq (%rax,%r15), %rsi
movq 0x8(%rax,%r15), %rdx
movq %r13, %rdi
callq 0x55ea2
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq 0x120(%rbx), %rax
movq 0x10(%rax,%r15), %rsi
movq 0x18(%rax,%r15), %rdx
movq %r13, %rdi
callq 0x55ea2
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq 0x120(%rbx), %rax
leaq (%rax,%r15), %rsi
addq $0x24, %rsi
movq %r13, %rdi
callq 0xea74
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %r13, %rdi
callq 0x9070
movq %rax, %rdi
callq 0x9330
movl %r14d, %ecx
movq 0x120(%rbx), %rax
movq 0x128(%rbx), %rdx
subq %rax, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdx
incl %r14d
cmpq %rcx, %rdx
ja 0x395ce
leaq -0x228(%rbp), %rdi
callq 0x96c0
movq 0x4d8c5(%rip), %rax     # 0x86fb0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq -0x220(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, -0x228(%rbp,%rcx)
callq 0x9400
leaq -0x130(%rbp), %rdi
callq 0x91c0
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x39736
jmp 0x39736
jmp 0x39736
jmp 0x39736
jmp 0x39736
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x9700
movq %rbx, %rdi
callq 0x98b0
nop