// File: /workspace/github_cpp_makefile_star2_O3/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 0x43dce
cmpb $0x1, 0x5c49(%rax)
jne 0x3884e
movq 0xf8(%rbx), %rax
cmpq 0xf0(%rbx), %rax
je 0x384b4
movl 0x80(%rbx), %edx
leaq 0x32bea(%rip), %rsi     # 0x6aef2
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 0x38472
movq 0xf0(%rbx), %rax
cmpq %rax, 0xf8(%rbx)
je 0x38472
movl $0x1, %r14d
xorl %ecx, %ecx
leaq 0x32427(%rip), %r12     # 0x6a78f
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 0x32b7b(%rip), %rsi     # 0x6af0e
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 0x5468c
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 0x5468c
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 0xe974
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 0x38368
leaq -0x228(%rbp), %rdi
callq 0x96c0
movq 0x4bb2b(%rip), %rax     # 0x83fb0
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 0x38681
movl 0x80(%rbx), %edx
leaq 0x32a3d(%rip), %rsi     # 0x6af12
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 0x3863f
movq 0x108(%rbx), %rax
cmpq %rax, 0x110(%rbx)
je 0x3863f
movl $0x1, %r14d
xorl %ecx, %ecx
leaq 0x3225a(%rip), %r12     # 0x6a78f
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 0x329ae(%rip), %rsi     # 0x6af0e
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 0x5468c
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 0x5468c
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 0xe974
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 0x38535
leaq -0x228(%rbp), %rdi
callq 0x96c0
movq 0x4b95e(%rip), %rax     # 0x83fb0
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 0x3884e
movl 0x80(%rbx), %edx
leaq 0x3288e(%rip), %rsi     # 0x6af30
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 0x3880c
movq 0x120(%rbx), %rax
cmpq %rax, 0x128(%rbx)
je 0x3880c
movl $0x1, %r14d
xorl %ecx, %ecx
leaq 0x3208d(%rip), %r12     # 0x6a78f
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 0x327e1(%rip), %rsi     # 0x6af0e
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 0x5468c
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 0x5468c
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 0xe974
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 0x38702
leaq -0x228(%rbp), %rdi
callq 0x96c0
movq 0x4b791(%rip), %rax     # 0x83fb0
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 0x3886a
jmp 0x3886a
jmp 0x3886a
jmp 0x3886a
jmp 0x3886a
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x9700
movq %rbx, %rdi
callq 0x98b0
nop