// [TypeInfo RVA: 0x0]
private sealed class <StraightKillCoroutine>d__79 : Object
{
	private int <>1__state; // 0x10
	private object <>2__current; // 0x18
	public AdvancedAI_Final <>4__this; // 0x20
	public UnityEngine.GameObject target; // 0x28
	private UnityEngine.GameObject <localTarget>5__2; // 0x30
	private float <start>5__3; // 0x38
	private bool <locked>5__4; // 0x3C

	// RVA: 0x31F5EE4 VA: 0x78188E0EE4
	public void .ctor(int <>1__state);
	/*
	 *   System.Object..ctor(this);
	 *   this.n_1_state = n_1_state;
	 *   return;
	 */
	// RVA: 0x31F7F10 VA: 0x78188E2F10
	private void System.IDisposable.Dispose();
	/*
	 *   return;
	 */
	// RVA: 0x31F7F14 VA: 0x78188E2F14
	private bool MoveNext();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   bool bVar3;
	 *   long lVar4;
	 *   ulong uVar5;
	 *   void *extraout_x1;
	 *   void *extraout_x1_00;
	 *   void *methodInfo_00;
	 *   void *extraout_x1_01;
	 *   void *extraout_x1_02;
	 *   void *extraout_x1_03;
	 *   void *methodInfo_01;
	 *   void *extraout_x1_04;
	 *   void *in_x2;
	 *   AdvancedAI_Final *this_00;
	 *   void *pvVar6;
	 *   void **ppvVar7;
	 *   void *pvVar8;
	 *   float fVar9;
	 *   float fVar10;
	 *   float fVar11;
	 *   UnityEngine_Vector3 UVar12;
	 *   UnityEngine_Vector3 UVar13;
	 *   undefined1 auVar14 [16];
	 *   undefined8 uStack_c8;
	 *   undefined8 *puStack_c0;
	 *   void *pvStack_b8;
	 *   undefined8 uStack_b0;
	 *   undefined8 *puStack_a8;
	 *   void *pvStack_a0;
	 *   undefined8 uStack_90;
	 *   undefined8 *puStack_88;
	 *   void *pvStack_80;
	 *
	 *   if ((bRam000000000754a748 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
	 *     func_0x031fdc8c(PTR_DAT_070c0920);
	 *     func_0x031fdc8c(PTR_DAT_070c0928);
	 *     func_0x031fdc8c(PTR_DAT_070c0930);
	 *     func_0x031fdc8c(PTR_DAT_070c0938);
	 *     func_0x031fdc8c(PTR_DAT_070c0940);
	 *     func_0x031fdc8c(PTR_DAT_070c0948);
	 *     func_0x031fdc8c(PTR_DAT_070c0950);
	 *     func_0x031fdc8c(PTR_DAT_070c0958);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *     func_0x031fdc8c(PTR_DAT_070c0b00);
	 *     bRam000000000754a748 = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   this_00 = this.n_4_this;
	 *   uStack_90 = 0;
	 *   puStack_88 = null;
	 *   pvStack_80 = null;
	 *   uStack_b0 = 0;
	 *   puStack_a8 = null;
	 *   pvStack_a0 = null;
	 *   if (this.n_1_state == 1) {
	 *     this.n_1_state = -1;
	 *     fVar9 = UnityEngine.Time.get_time();
	 *     pvVar6 = extraout_x1_00;
	 *     if (this_00 == null) goto LAB_032f85a8;
	 *   }
	 *   else {
	 *     if (this.n_1_state != 0) {
	 *       return false;
	 *     }
	 *     this.n_1_state = -1;
	 *     puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *     if (this_00 == null) goto LAB_032f85a8;
	 *     this_00->currentBehavior = 4;
	 *     this_00->dbgWander = false;
	 *     this_00->dbgStalk = false;
	 *     this_00->dbgWatch = false;
	 *     this_00->dbgRunAround = false;
	 *     this_00->dbgKill = false;
	 *     pvVar6 = this_00->agent;
	 *     lVar4 = *(long *)puVar1;
	 *     this_00->dbgKill = true;
	 *     if (*(int *)(lVar4 + 0xe4) == 0) {
	 *       func_0x031fde08(lVar4,methodInfo);
	 *     }
	 *     uVar5 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *     if ((uVar5 & 1) != 0) {
	 *       if (this_00->agent == null) goto LAB_032f85a8;
	 *       UnityEngine.AI.NavMeshAgent.ResetPath(this_00->agent);
	 *       if (this_00->agent == null) goto LAB_032f85a8;
	 *       UnityEngine.AI.NavMeshAgent.set_isStopped(this_00->agent,false);
	 *       if (this_00->agent == null) goto LAB_032f85a8;
	 *       UnityEngine.AI.NavMeshAgent.set_acceleration(this_00->agent,200.0)
	 *       ;
	 *       if (this_00->agent == null) goto LAB_032f85a8;
	 *       UnityEngine.AI.NavMeshAgent.set_speed(this_00->agent,this_00->chaseSpeed);
	 *     }
	 *     if (this_00->objectsToDisableDuringStalk == null) goto LAB_032f85a8;
	 *     func_0x03f2e1a8(&uStack_c8,this_00->objectsToDisableDuringStalk,*(undefined8 *)PTR_DAT_070c0950)
	 *     ;
	 *     puVar2 = PTR_DAT_070c0938;
	 *     puStack_88 = puStack_c0;
	 *     uStack_90 = uStack_c8;
	 *     pvStack_80 = pvStack_b8;
	 *     uStack_c8 = 0;
	 *     puStack_c0 = &uStack_90;
	 *     while (uVar5 = func_0x05018cac(&uStack_90,*(undefined8 *)puVar2), pvVar6 = pvStack_80,
	 *           (uVar5 & 1) != 0) {
	 *       if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       uVar5 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *       if ((uVar5 & 1) != 0) {
	 *         if (pvVar6 == null) {
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         UnityEngine.GameObject.SetActive(pvVar6,true);
	 *       }
	 *     }
	 *     func_0x05018ca8(&uStack_90,*(undefined8 *)PTR_DAT_070c0920);
	 *     if (this_00->audioToMuteDuringStalk != null) {
	 *       func_0x03f2e1a8(&uStack_c8,this_00->audioToMuteDuringStalk,*(undefined8 *)PTR_DAT_070c0958);
	 *       puVar2 = PTR_DAT_070c0930;
	 *       puStack_a8 = puStack_c0;
	 *       uStack_b0 = uStack_c8;
	 *       pvStack_a0 = pvStack_b8;
	 *       uStack_c8 = 0;
	 *       puStack_c0 = &uStack_b0;
	 *       while (uVar5 = func_0x05018cac(&uStack_b0,*(undefined8 *)puVar2), pvVar6 = pvStack_a0,
	 *             (uVar5 & 1) != 0) {
	 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *           func_0x031fde08();
	 *         }
	 *         uVar5 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *         if ((uVar5 & 1) != 0) {
	 *           if (pvVar6 == null) {
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *           UnityEngine.AudioSource.set_mute(pvVar6,false);
	 *           UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,true);
	 *         }
	 *       }
	 *       func_0x05018ca8(&uStack_b0,*(undefined8 *)PTR_DAT_070c0928);
	 *     }
	 *     pvVar6 = this_00->chaseAudio;
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     uVar5 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *     if ((uVar5 & 1) != 0) {
	 *       if (this_00->chaseAudio == null) goto LAB_032f85a8;
	 *       bVar3 = UnityEngine.AudioSource.get_isPlaying(this_00->chaseAudio);
	 *       if (!bVar3) {
	 *         if (this_00->chaseAudio == null) goto LAB_032f85a8;
	 *         UnityEngine.AudioSource.Play(this_00->chaseAudio);
	 *       }
	 *     }
	 *     if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     bVar3 = Photon.Pun.PhotonNetwork.get_IsMasterClient();
	 *     if (!bVar3) {
	 *       return false;
	 *     }
	 *     pvVar6 = this.target;
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     in_x2 = null;
	 *     auVar14 = UnityEngine.Object.op_Equality(pvVar6,null);
	 *     pvVar6 = auVar14._8_8_;
	 *     if ((auVar14._0_8_ & 1) != 0) goto LAB_032f8404;
	 *     this.localTarget_5_2 = this.target;
	 *     func_0x031fdc38(&this.localTarget_5_2);
	 *     fVar9 = UnityEngine.Time.get_time();
	 *     this.start_5_3 = fVar9;
	 *     this.locked_5_4 = this_00->straightKillLockOn;
	 *     fVar9 = UnityEngine.Time.get_time();
	 *     pvVar6 = extraout_x1_04;
	 *   }
	 *   if (fVar9 - this.start_5_3 < this_00->straightKillDuration) {
	 *     if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     bVar3 = Photon.Pun.PhotonNetwork.get_IsMasterClient();
	 *     if (!bVar3) {
	 *       return false;
	 *     }
	 *     if ((this.locked_5_4 == false) && (this_00->straightKillAllowRetarget != false)) {
	 *       ppvVar7 = &this.localTarget_5_2;
	 *       pvVar6 = AdvancedAI_Final.ChooseBestTarget(this_00,*ppvVar7);
	 *       puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *       pvVar8 = *ppvVar7;
	 *       if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
	 *         func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *       }
	 *       uVar5 = UnityEngine.Object.op_Inequality(pvVar6,pvVar8);
	 *       if ((uVar5 & 1) != 0) {
	 *         *ppvVar7 = pvVar6;
	 *         func_0x031fdc38(ppvVar7,pvVar6);
	 *         this_00->currentTarget = *ppvVar7;
	 *         func_0x031fdc38(&this_00->currentTarget);
	 *         pvVar6 = this_00->agent;
	 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *           func_0x031fde08();
	 *         }
	 *         uVar5 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *         if ((uVar5 & 1) != 0) {
	 *           if (this_00->agent == null) goto LAB_032f85a8;
	 *           UnityEngine.AI.NavMeshAgent.ResetPath(this_00->agent);
	 *           this_00->lastDestinationTime = 0.0;
	 *           if (this_00->agent == null) goto LAB_032f85a8;
	 *           UnityEngine.AI.NavMeshAgent.set_isStopped(this_00->agent,false);
	 *         }
	 *         if (this_00->debugLogs != false) {
	 *           pvVar6 = null;
	 *           pvVar8 = *(void **)PTR_DAT_070c0b00;
	 *           if (*ppvVar7 != null) {
	 *             pvVar6 = UnityEngine.Object.get_name(*ppvVar7);
	 *           }
	 *           pvVar6 = System.String.Concat(pvVar8,pvVar6);
	 *           if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8 + 0xe4) == 0) {
	 *             func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
	 *           }
	 *           UnityEngine.Debug.Log(pvVar6);
	 *         }
	 *       }
	 *     }
	 *     pvVar6 = this.localTarget_5_2;
	 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     in_x2 = null;
	 *     auVar14 = UnityEngine.Object.op_Equality(pvVar6,null);
	 *     pvVar6 = auVar14._8_8_;
	 *     if ((auVar14._0_8_ & 1) == 0) {
	 *       if ((this.localTarget_5_2 != null) &&
	 *          (pvVar6 = UnityEngine.GameObject.get_transform(this.localTarget_5_2), pvVar6 != null)) {
	 *         UVar12 = UnityEngine.Transform.get_position(pvVar6);
	 *         AdvancedAI_Final.SetDestination(this_00,UVar12);
	 *         pvVar6 = UnityEngine.Component.get_transform(this_00);
	 *         if (pvVar6 != null) {
	 *           UVar12 = UnityEngine.Transform.get_position(pvVar6);
	 *           if ((this.localTarget_5_2 != null) &&
	 *              (pvVar6 = UnityEngine.GameObject.get_transform(this.localTarget_5_2), pvVar6 != null)) {
	 *             UVar13 = UnityEngine.Transform.get_position(pvVar6);
	 *             pvVar6 = extraout_x1_01;
	 *             if (cRam000000000754a7c9 == '\0') {
	 *               func_0x031fdc8c(typeinfo_ptr_mscorlib_Math_6FC0738);
	 *               cRam000000000754a7c9 = '\x01';
	 *               pvVar6 = extraout_x1_02;
	 *             }
	 *             if (*(int *)(*(long *)typeinfo_ptr_mscorlib_Math_6FC0738 + 0xe4) == 0) {
	 *               func_0x031fde08();
	 *               pvVar6 = extraout_x1_03;
	 *             }
	 *             fVar9 = UVar12.y - UVar13.y;
	 *             fVar10 = UVar12.x - UVar13.x;
	 *             fVar11 = UVar12.z - UVar13.z;
	 *             if (_UNK_0134e734 < SQRT(fVar11 * fVar11 + fVar10 * fVar10 + fVar9 * fVar9)) {
	 *               this.n_2_current = null;
	 *               func_0x031fdc38(&this.n_2_current,0);
	 *               this.n_1_state = 1;
	 *               return true;
	 *             }
	 *             goto LAB_032f8404;
	 *           }
	 *         }
	 *       }
	 * LAB_032f85a8:
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *   }
	 * LAB_032f8404:
	 *   AdvancedAI_Final.StopChaseAudio(this_00);
	 *   pvVar6 = AdvancedAI_Final.MoveToFarPointCoroutine(this_00)
	 *   ;
	 *   AdvancedAI_Final.StartExclusiveCoroutine(this_00,pvVar6);
	 *   return false;
	 */
	// RVA: 0x31F8674 VA: 0x78188E3674
	private object System.Collections.Generic.IEnumerator<System.Object>.get_Current();
	/*
	 *   return this.n_2_current;
	 */
	// RVA: 0x31F867C VA: 0x78188E367C
	private void System.Collections.IEnumerator.Reset();
	/*
	 *   void *this_00;
	 *   undefined8 uVar1;
	 *
	 *   func_0x031fdca0(PTR_DAT_070c0ad0);
	 *   this_00 = (void *)func_0x031fdf24();
	 *   System.NotSupportedException..ctor(this_00);
	 *   uVar1 = func_0x031fdca0(PTR_DAT_070c0b08);
	 *   IL2CPP.ThrowManagedException();
	 */
	// RVA: 0x31F86B4 VA: 0x78188E36B4
	private object System.Collections.IEnumerator.get_Current();
	/*
	 *   return this.n_2_current;
	 */
}
