namespace Photon.VR
{

	// [TypeInfo RVA: 0x0]
	private sealed class <LoadSceneThenJoin>d__66 : Object
	{
		private int <>1__state; // 0x10
		private object <>2__current; // 0x18
		public int sceneIndex; // 0x20
		public int maxPlayers; // 0x24

		// RVA: 0x3289738 VA: 0x7818974738
		public void .ctor(int <>1__state);
		/*
		 *   System.Object..ctor(this);
		 *   this.n_1_state = n_1_state;
		 *   return;
		 */
		// RVA: 0x328BE00 VA: 0x7818976E00
		private void System.IDisposable.Dispose();
		/*
		 *   return;
		 */
		// RVA: 0x328BE04 VA: 0x7818976E04
		private bool MoveNext();
		/*
		 *   int iVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   void *pvVar4;
		 *   void *extraout_x1;
		 *   void *in_x2;
		 *   undefined1 auVar5 [16];
		 *
		 *   if ((bRam000000000754ad06 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_SceneManager_6FC1A28);
		 *     bRam000000000754ad06 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_SceneManager_6FC1A28;
		 *   if (this.n_1_state - 1U < 2) {
		 *     this.n_1_state = -1;
		 *   }
		 *   else {
		 *     if (this.n_1_state != 0) {
		 *       return false;
		 *     }
		 *     iVar1 = this.sceneIndex;
		 *     this.n_1_state = -1;
		 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)puVar2,methodInfo);
		 *     }
		 *     auVar5 = UnityEngine.SceneManagement.SceneManager.LoadSceneAsync(iVar1);
		 *     methodInfo = auVar5._8_8_;
		 *     pvVar4 = auVar5._0_8_;
		 *     if (pvVar4 != null) {
		 *       this.n_2_current = pvVar4;
		 *       func_0x031fdc38(&this.n_2_current,pvVar4);
		 *       this.n_1_state = 1;
		 *       return true;
		 *     }
		 *   }
		 *   if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0,methodInfo);
		 *   }
		 *   bVar3 = Photon.Pun.PhotonNetwork.get_IsConnectedAndReady();
		 *   if (bVar3) {
		 *     pvVar4 = System.Int32.ToString(&this.sceneIndex);
		 *     iVar1 = this.maxPlayers;
		 *     if (*(int *)(*(long *)typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *     }
		 *     PhotonVRManager.JoinRandomRoom(pvVar4,iVar1);
		 *     return false;
		 *   }
		 *   this.n_2_current = null;
		 *   func_0x031fdc38(&this.n_2_current,0);
		 *   this.n_1_state = 2;
		 *   return true;
		 */
		// RVA: 0x328BF48 VA: 0x7818976F48
		private object System.Collections.Generic.IEnumerator<System.Object>.get_Current();
		/*
		 *   return this.n_2_current;
		 */
		// RVA: 0x328BF50 VA: 0x7818976F50
		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_070c5de8);
		 *   IL2CPP.ThrowManagedException();
		 */
		// RVA: 0x328BF88 VA: 0x7818976F88
		private object System.Collections.IEnumerator.get_Current();
		/*
		 *   return this.n_2_current;
		 */
	}
}
