namespace Photon.VR
{

	// [TypeInfo RVA: 0x0]
	private sealed class <RetryConnectRoutine>d__83 : Object
	{
		private int <>1__state; // 0x10
		private object <>2__current; // 0x18
		public Photon.VR.PhotonVRManager <>4__this; // 0x20
		private float <delay>5__2; // 0x28

		// RVA: 0x328A57C VA: 0x781897557C
		public void .ctor(int <>1__state);
		/*
		 *   System.Object..ctor(this);
		 *   this.n_1_state = n_1_state;
		 *   return;
		 */
		// RVA: 0x328BF90 VA: 0x7818976F90
		private void System.IDisposable.Dispose();
		/*
		 *   return;
		 */
		// RVA: 0x328BF94 VA: 0x7818976F94
		private bool MoveNext();
		/*
		 *   int iVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   void *methodInfo_00;
		 *   void *pvVar4;
		 *   float fVar5;
		 *   float fVar6;
		 *   undefined1 auVar7 [16];
		 *   float fStack_24;
		 *
		 *   auVar7._8_8_ = methodInfo;
		 *   auVar7._0_8_ = this;
		 *   if ((bRam000000000754ad07 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_WaitForSeconds_6FC0B10);
		 *     auVar7 = func_0x031fdc8c(PTR_DAT_070c5df0);
		 *     bRam000000000754ad07 = 1;
		 *   }
		 *   puVar2 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *   pvVar4 = this.n_4_this;
		 *   if (this.n_1_state == 1) {
		 *     this.n_1_state = -1;
		 *     if (pvVar4 == null) goto LAB_0338c1d4;
		 *     fVar6 = 1.0;
		 *     if (1.0 <= *(float *)((long)pvVar4 + 0x98)) {
		 *       fVar6 = *(float *)((long)pvVar4 + 0x98);
		 *     }
		 *     fVar5 = this.delay_5_2 + this.delay_5_2;
		 *     if (fVar6 <= fVar5) {
		 *       fVar5 = fVar6;
		 *     }
		 *     this.delay_5_2 = fVar5;
		 *   }
		 *   else {
		 *     if (this.n_1_state != 0) {
		 *       return false;
		 *     }
		 *     this.n_1_state = -1;
		 *     if (pvVar4 == null) {
		 * LAB_0338c1d4:
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     iVar1 = *(int *)(*(long *)puVar2 + 0xe4);
		 *     fVar6 = _UNK_0134eca0;
		 *     if (_UNK_0134eca0 <= *(float *)((long)pvVar4 + 0x94)) {
		 *       fVar6 = *(float *)((long)pvVar4 + 0x94);
		 *     }
		 *     this.delay_5_2 = fVar6;
		 *     if (iVar1 == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     bVar3 = Photon.Pun.PhotonNetwork.get_IsConnected();
		 *     if ((!bVar3) && (*(int *)((long)pvVar4 + 0x90) != 1)) {
		 *       methodInfo_00 = *(void **)typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800;
		 *       if (*(int *)((long)methodInfo_00 + 0xe4) == 0) {
		 *         methodInfo_00 = (void *)func_0x031fde08();
		 *       }
		 *       PhotonVRManager.Connect();
		 *     }
		 *   }
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   bVar3 = Photon.Pun.PhotonNetwork.get_IsConnected();
		 *   if (bVar3) {
		 *     *(undefined8 *)((long)pvVar4 + 0xa0) = 0;
		 *     func_0x031fdc38((undefined8 *)((long)pvVar4 + 0xa0),0);
		 *     return false;
		 *   }
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   bVar3 = Photon.Pun.PhotonNetwork.get_IsConnected();
		 *   if ((!bVar3) && (*(int *)((long)pvVar4 + 0x90) != 1)) {
		 *     fStack_24 = this.delay_5_2;
		 *     pvVar4 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x78),&fStack_24);
		 *     pvVar4 = System.String.Format(*(void **)PTR_DAT_070c5df0,pvVar4);
		 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     }
		 *     UnityEngine.Debug.Log(pvVar4);
		 *     pvVar4 = *(void **)typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800;
		 *     if (*(int *)((long)pvVar4 + 0xe4) == 0) {
		 *       pvVar4 = (void *)func_0x031fde08();
		 *     }
		 *     PhotonVRManager.Connect();
		 *   }
		 *   fVar6 = this.delay_5_2;
		 *   pvVar4 = (void *)func_0x031fdf24(*(undefined8 *)
		 *                                     typeinfo_ptr_UnityEngine_CoreModule_WaitForSeconds_6FC0B10);
		 *   UnityEngine.WaitForSeconds..ctor(pvVar4,fVar6);
		 *   this.n_2_current = pvVar4;
		 *   func_0x031fdc38(&this.n_2_current,pvVar4);
		 *   this.n_1_state = 1;
		 *   return true;
		 */
		// RVA: 0x328C1D8 VA: 0x78189771D8
		private object System.Collections.Generic.IEnumerator<System.Object>.get_Current();
		/*
		 *   return this.n_2_current;
		 */
		// RVA: 0x328C1E0 VA: 0x78189771E0
		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_070c5df8);
		 *   IL2CPP.ThrowManagedException();
		 */
		// RVA: 0x328C218 VA: 0x7818977218
		private object System.Collections.IEnumerator.get_Current();
		/*
		 *   return this.n_2_current;
		 */
	}
}
