// File: /workspace/github_cpp_makefile_star2_O2/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 0xcbcb(%rip), %xmm0     # 0x57040
ucomisd 0x50(%rdi), %xmm0
jbe 0x4a495
cmpb $0x0, 0x63c(%rbx)
jne 0x4a495
cmpb $0x0, 0x638(%rbx)
jne 0x4a495
movb $0x1, 0x5f0(%rbx)
xorpd %xmm0, %xmm0
movq %rbx, %rdi
callq 0x4a2ce
movq 0x8(%rbx), %rdi
callq 0x10dfe
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 0x4a5e7
je 0x4a6f9
cmpl $0x3, %eax
jne 0x4a7a4
pushq $0x1
popq %r14
pushq $-0x1
popq %r15
pushq $-0x2c
popq %r13
leaq 0xe1a6(%rip), %r12      # 0x5869a
testq %r13, %r13
je 0x4a795
movq 0x20(%rbx), %rax
movl 0x11c(%rax), %eax
cmpq %rax, %r14
je 0x4a5c5
movq 0x10(%rbx), %rax
movl 0x2110(%rax), %eax
cmpq %rax, %r14
je 0x4a5c5
movq 0x8(%rbx), %rdi
callq 0x10dfe
movq 0x10(%rax), %rax
movslq 0x380(%rax,%r13), %rcx
shlq $0x4, %rcx
movl 0x58(%rcx,%rax), %eax
cmpl $0x3, %eax
je 0x4a55f
cmpl $0x2, %eax
je 0x4a55f
cmpl $0x1, %eax
jne 0x4a574
movq %rbx, %rdi
movl %r14d, %esi
movsd 0xd1db(%rip), %xmm0     # 0x57738
jmp 0x4a56d
movq %rbx, %rdi
movl %r14d, %esi
movsd 0x1107b(%rip), %xmm0    # 0x5b5e8
callq 0x4a0b4
jmp 0x4a5c5
movq 0x2ca75(%rip), %rdi     # 0x76ff0
leaq 0x1108e(%rip), %rsi     # 0x5b610
callq 0x94b0
movq %rax, %rdi
leaq 0x10be1(%rip), %rsi     # 0x5b172
callq 0x94b0
movq %rax, %rdi
movl $0x273, %esi            # imm = 0x273
callq 0x9890
movq %rax, %rdi
leaq 0xee72(%rip), %rsi      # 0x5941f
callq 0x94b0
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq %rax, %rdi
callq 0x99e8
movq %rbx, %rdi
movl %r15d, %esi
movsd 0xd165(%rip), %xmm0     # 0x57738
callq 0x4a0b4
incq %r14
decl %r15d
addq $0x4, %r13
jmp 0x4a4f4
pushq $0x1
popq %r14
pushq $-0x1
popq %r15
pushq $-0x2c
popq %r13
leaq 0xe0a0(%rip), %r12      # 0x5869a
testq %r13, %r13
je 0x4a795
movq 0x20(%rbx), %rax
movl 0x11c(%rax), %eax
cmpq %rax, %r14
je 0x4a6db
movq 0x10(%rbx), %rax
movl 0x2110(%rax), %eax
cmpq %rax, %r14
je 0x4a6db
movq 0x8(%rbx), %rdi
callq 0x10dfe
movq 0x10(%rax), %rax
movslq 0x380(%rax,%r13), %rcx
shlq $0x4, %rcx
movl 0x58(%rcx,%rax), %eax
cmpl $0x3, %eax
je 0x4a675
cmpl $0x2, %eax
je 0x4a665
cmpl $0x1, %eax
jne 0x4a68a
movq %rbx, %rdi
movl %r14d, %esi
movsd 0xd335(%rip), %xmm0     # 0x57998
jmp 0x4a683
movq %rbx, %rdi
movl %r14d, %esi
movsd 0xd0b5(%rip), %xmm0     # 0x57728
jmp 0x4a683
movq %rbx, %rdi
movl %r14d, %esi
movsd 0xd085(%rip), %xmm0     # 0x57708
callq 0x4a0b4
jmp 0x4a6db
movq 0x2c95f(%rip), %rdi     # 0x76ff0
leaq 0x10f78(%rip), %rsi     # 0x5b610
callq 0x94b0
movq %rax, %rdi
leaq 0x10acb(%rip), %rsi     # 0x5b172
callq 0x94b0
movq %rax, %rdi
movl $0x24f, %esi            # imm = 0x24F
callq 0x9890
movq %rax, %rdi
leaq 0xed5c(%rip), %rsi      # 0x5941f
callq 0x94b0
movq %rax, %rdi
movq %r12, %rsi
callq 0x94b0
movq %rax, %rdi
callq 0x99e8
xorpd %xmm0, %xmm0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4a0b4
incq %r14
decl %r15d
addq $0x4, %r13
jmp 0x4a5fa
pushq $0x1
popq %r14
pushq $-0x1
popq %r15
cmpl $-0xc, %r15d
je 0x4a74b
movq 0x20(%rbx), %rax
cmpl 0x11c(%rax), %r14d
je 0x4a730
movq 0x10(%rbx), %rax
cmpl 0x2110(%rax), %r14d
je 0x4a730
xorpd %xmm0, %xmm0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4a0b4
movq %rbx, %rdi
movl %r15d, %esi
movsd 0xcffa(%rip), %xmm0     # 0x57738
callq 0x4a0b4
incl %r14d
decl %r15d
jmp 0x4a701
movq 0x10(%rbx), %rax
movslq 0x2114(%rax), %rsi
testq %rsi, %rsi
je 0x4a795
imulq $0x178, %rsi, %rcx      # imm = 0x178
movsd 0xf78(%rax,%rcx), %xmm0
ucomisd 0xc8cd(%rip), %xmm0     # 0x57040
jbe 0x4a795
negl %esi
movsd 0xe7d9(%rip), %xmm0     # 0x58f58
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4a0b4
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2c845(%rip), %rdi     # 0x76ff0
leaq 0x10e5e(%rip), %rsi     # 0x5b610
callq 0x94b0
leaq 0x109b4(%rip), %rsi     # 0x5b172
movq %rax, %rdi
callq 0x94b0
movq %rax, %rdi
movl $0x27b, %esi            # imm = 0x27B
callq 0x9890
leaq 0xec45(%rip), %rsi      # 0x5941f
movq %rax, %rdi
callq 0x94b0
leaq 0xdeb1(%rip), %rsi      # 0x5869a
movq %rax, %rdi
callq 0x94b0
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x99e8
nop