// File: /workspace/github_cpp_makefile_star2_O1/wrighteagle2d[P]wrighteaglebase/Debug/../src/VisualSystem.cpp
// Function: VisualSystem::DoInfoGatherForDefense()
void VisualSystem::DoInfoGatherForDefense() {
  if (mVisualRequest.GetOfBall().mConf < FLOAT_EPS && !mCanTurn &&
      !mIsCritical) {
    mForceToSeeObject.GetOfBall() = true;
  }

  RaiseBall();
  switch (mpAgent->GetFormation()
              .GetTeammateRoleType(mpSelfState->GetUnum())
              .mLineType) {
  case LT_Goalie:
  case LT_Defender:
    for (Unum i = 1; i <= TEAMSIZE; ++i) {
      if (i != mpSelfState->GetUnum() &&
          i != mpWorldState->GetTeammateGoalieUnum()) {
        switch (mpAgent->GetFormation().GetTeammateRoleType(i).mLineType) {
        case LT_Defender:
          RaisePlayer(i, 5.0);
          break;
        case LT_Midfielder:
          RaisePlayer(i, 10.0);
          break;
        case LT_Forward:
          RaisePlayer(i, 100.0);
          break;
        default:
          PRINT_ERROR("line type error");
          break;
        }
      }
      RaisePlayer(-i);
    }
    break;
  case LT_Midfielder:
    for (Unum i = 1; i <= TEAMSIZE; ++i) {
      if (i != mpSelfState->GetUnum() &&
          i != mpWorldState->GetTeammateGoalieUnum()) {
        RaisePlayer(i);
      }
      RaisePlayer(-i, 12.0);
    }
    if (mpWorldState->GetOpponentGoalieUnum() &&
        mpWorldState->GetOpponent(mpWorldState->GetOpponentGoalieUnum())
                .GetPosConf() > FLOAT_EPS) {
      RaisePlayer(-mpWorldState->GetOpponentGoalieUnum(), 20.0);
    }
    break;
  case LT_Forward:
    for (Unum i = 1; i <= TEAMSIZE; ++i) {
      if (i != mpSelfState->GetUnum() &&
          i != mpWorldState->GetTeammateGoalieUnum()) {
        switch (mpAgent->GetFormation().GetTeammateRoleType(i).mLineType) {
        case LT_Defender:
          RaisePlayer(i, 12.0);
          break;
        case LT_Midfielder:
          RaisePlayer(i, 8.0);
          break;
        case LT_Forward:
          RaisePlayer(i, 8.0);
          break;
        default:
          PRINT_ERROR("line type error");
          break;
        }
      }
      RaisePlayer(-i, 12.0);
    }
    break;
  default:
    PRINT_ERROR("line type error");
    break;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movsd 0x11cb5(%rip), %xmm0    # 0x6b040
ucomisd 0x50(%rdi), %xmm0
jbe 0x593ab
cmpb $0x0, 0x63c(%rbx)
jne 0x593ab
cmpb $0x0, 0x638(%rbx)
jne 0x593ab
movb $0x1, 0x5f0(%rbx)
xorpd %xmm0, %xmm0
movq %rbx, %rdi
callq 0x59178
movq 0x8(%rbx), %rdi
callq 0x1356e
movq 0x20(%rbx), %rcx
movslq 0x11c(%rcx), %rcx
movq 0x10(%rax), %rax
movslq 0x350(%rax,%rcx,4), %rcx
shlq $0x4, %rcx
movl 0x58(%rcx,%rax), %eax
cmpl $0x2, %eax
jb 0x5953a
je 0x59693
cmpl $0x3, %eax
jne 0x59735
movl $0x1, %r14d
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movq 0x20(%rbx), %rax
movl 0x11c(%rax), %eax
cmpq %rax, %r14
je 0x5950f
movq 0x10(%rbx), %rax
movl 0x2110(%rax), %eax
cmpq %rax, %r14
je 0x5950f
movq 0x8(%rbx), %rdi
callq 0x1356e
movq 0x10(%rax), %rax
movslq 0x354(%rax,%r12,4), %rcx
shlq $0x4, %rcx
movl 0x58(%rcx,%rax), %eax
cmpl $0x3, %eax
je 0x59468
cmpl $0x2, %eax
je 0x59468
cmpl $0x1, %eax
jne 0x59480
movq %rbx, %rdi
movl %r14d, %esi
movsd 0x1230a(%rip), %xmm0    # 0x6b770
jmp 0x59476
movq %rbx, %rdi
movl %r14d, %esi
movsd 0x161ca(%rip), %xmm0    # 0x6f640
callq 0x58f34
jmp 0x5950f
movl $0x17, %edx
movq 0x2db64(%rip), %r13     # 0x86ff0
movq %r13, %rdi
leaq 0x161da(%rip), %rsi     # 0x6f670
callq 0x9560
movl $0x1, %edx
movq %r13, %rdi
leaq 0x15d18(%rip), %rsi     # 0x6f1c2
callq 0x9560
movq %r13, %rdi
movl $0x273, %esi            # imm = 0x273
callq 0x9880
movq %rax, %r13
movl $0x3, %edx
movq %rax, %rdi
leaq 0x13fb1(%rip), %rsi     # 0x6d47f
callq 0x9560
movl $0xf, %edx
movq %r13, %rdi
leaq 0x131f8(%rip), %rsi     # 0x6c6da
callq 0x9560
movq (%r13), %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
movq %rbx, %rdi
movl %r15d, %esi
movsd 0x12253(%rip), %xmm0    # 0x6b770
callq 0x58f34
incq %r14
decl %r15d
incq %r12
cmpq $0xb, %r12
jne 0x59406
jmp 0x59684
movl $0x1, %r14d
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movq 0x20(%rbx), %rax
movl 0x11c(%rax), %eax
cmpq %rax, %r14
je 0x59662
movq 0x10(%rbx), %rax
movl 0x2110(%rax), %eax
cmpq %rax, %r14
je 0x59662
movq 0x8(%rbx), %rdi
callq 0x1356e
movq 0x10(%rax), %rax
movslq 0x354(%rax,%r12,4), %rcx
shlq $0x4, %rcx
movl 0x58(%rcx,%rax), %eax
cmpl $0x3, %eax
je 0x595bb
cmpl $0x2, %eax
je 0x595ab
cmpl $0x1, %eax
jne 0x595d3
movq %rbx, %rdi
movl %r14d, %esi
movsd 0x1241f(%rip), %xmm0    # 0x6b9c8
jmp 0x595c9
movq %rbx, %rdi
movl %r14d, %esi
movsd 0x121a7(%rip), %xmm0    # 0x6b760
jmp 0x595c9
movq %rbx, %rdi
movl %r14d, %esi
movsd 0x12167(%rip), %xmm0    # 0x6b730
callq 0x58f34
jmp 0x59662
movl $0x17, %edx
movq 0x2da11(%rip), %r13     # 0x86ff0
movq %r13, %rdi
leaq 0x16087(%rip), %rsi     # 0x6f670
callq 0x9560
movl $0x1, %edx
movq %r13, %rdi
leaq 0x15bc5(%rip), %rsi     # 0x6f1c2
callq 0x9560
movq %r13, %rdi
movl $0x24f, %esi            # imm = 0x24F
callq 0x9880
movq %rax, %r13
movl $0x3, %edx
movq %rax, %rdi
leaq 0x13e5e(%rip), %rsi     # 0x6d47f
callq 0x9560
movl $0xf, %edx
movq %r13, %rdi
leaq 0x130a5(%rip), %rsi     # 0x6c6da
callq 0x9560
movq (%r13), %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
xorpd %xmm0, %xmm0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x58f34
incq %r14
decl %r15d
incq %r12
cmpq $0xb, %r12
jne 0x59549
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %r14d
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movq 0x20(%rbx), %rax
cmpl 0x11c(%rax), %r14d
je 0x596c8
movq 0x10(%rbx), %rax
cmpl 0x2110(%rax), %r14d
je 0x596c8
xorpd %xmm0, %xmm0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x58f34
movq %rbx, %rdi
movl %r15d, %esi
movsd 0x1209a(%rip), %xmm0    # 0x6b770
callq 0x58f34
incl %r14d
decl %r15d
cmpl $-0xc, %r15d
jne 0x5969f
movq 0x10(%rbx), %rax
movslq 0x2114(%rax), %rsi
testq %rsi, %rsi
je 0x59684
imulq $0x178, %rsi, %rcx      # imm = 0x178
movsd 0xf78(%rax,%rcx), %xmm0
ucomisd 0x11931(%rip), %xmm0    # 0x6b040
jbe 0x59684
negl %esi
movsd 0x13889(%rip), %xmm0    # 0x6cfa8
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x58f34
movq 0x2d8b4(%rip), %rbx     # 0x86ff0
leaq 0x15f2d(%rip), %rsi     # 0x6f670
movl $0x17, %edx
movq %rbx, %rdi
callq 0x9560
leaq 0x15a6b(%rip), %rsi     # 0x6f1c2
movl $0x1, %edx
movq %rbx, %rdi
callq 0x9560
movq %rbx, %rdi
movl $0x27b, %esi            # imm = 0x27B
callq 0x9880
movq %rax, %rbx
leaq 0x13d04(%rip), %rsi     # 0x6d47f
movl $0x3, %edx
movq %rax, %rdi
callq 0x9560
leaq 0x12f4b(%rip), %rsi     # 0x6c6da
movl $0xf, %edx
movq %rbx, %rdi
callq 0x9560
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x9480
movsbl %al, %esi
movq %rbx, %rdi
callq 0x9070
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9330
nop