namespace Photon.Realtime.Demo
{

	// [TypeInfo RVA: 0x0]
	public class ConnectAndJoinRandomLb : MonoBehaviour
	{
		private Photon.Realtime.AppSettings appSettings; // 0x20
		private Photon.Realtime.LoadBalancingClient lbc; // 0x28
		private Photon.Realtime.ConnectionHandler ch; // 0x30
		public UnityEngine.UI.Text StateUiText; // 0x38

		// RVA: 0x32941D4 VA: 0x781897F1D4
		public void Start();
		/*
		 *   undefined *puVar1;
		 *   void *pvVar2;
		 *   long *plVar3;
		 *   ulong uVar4;
		 *   void *this_00;
		 *   void *this_01;
		 *   void *extraout_x1;
		 *   void **ppvVar5;
		 *   void **ppvVar6;
		 *
		 *   puVar1 = typeinfo_ptr_PhotonRealtime_LoadBalancingClient_6FC61E8;
		 *   if ((bRam000000000754ad57 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(PTR_DAT_070c61f0);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_LoadBalancingClient_6FC61E8);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c61f8);
		 *     bRam000000000754ad57 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar2 = (void *)func_0x031fdf24(*(undefined8 *)puVar1,methodInfo);
		 *   Photon.Realtime.LoadBalancingClient..ctor(pvVar2,0);
		 *   ppvVar6 = &this.lbc;
		 *   *ppvVar6 = pvVar2;
		 *   func_0x031fdc38(ppvVar6,pvVar2);
		 *   if (*ppvVar6 != null) {
		 *     Photon.Realtime.LoadBalancingClient.AddCallbackTarget(*ppvVar6,this);
		 *     plVar3 = this.lbc;
		 *     if (plVar3 != null) {
		 *       uVar4 = (**(code **)(*plVar3 + 0x1b8))
		 *                         (plVar3,this.appSettings,*(undefined8 *)(*plVar3 + 0x1c0));
		 *       if ((uVar4 & 1) == 0) {
		 *         if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *         }
		 *         UnityEngine.Debug.LogError(*(void **)PTR_DAT_070c61f8);
		 *       }
		 *       pvVar2 = UnityEngine.Component.get_gameObject(this);
		 *       puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *       if (pvVar2 != null) {
		 *         pvVar2 = (void *)func_0x037f3038(pvVar2,*(undefined8 *)PTR_DAT_070c61f0);
		 *         ppvVar5 = &this.ch;
		 *         *ppvVar5 = pvVar2;
		 *         func_0x031fdc38(ppvVar5,pvVar2);
		 *         pvVar2 = *ppvVar5;
		 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *         }
		 *         uVar4 = UnityEngine.Object.op_Inequality(pvVar2,null);
		 *         if ((uVar4 & 1) == 0) {
		 *           return;
		 *         }
		 *         if (*ppvVar5 != null) {
		 *           *(void **)((long)*ppvVar5 + 0x20) = *ppvVar6;
		 *           func_0x031fdc38();
		 *           pvVar2 = *ppvVar5;
		 *           if (pvVar2 != null) {
		 *             if ((bRam00000000075550bf & 1) == 0) {
		 *               func_0x031fdc8c(PTR_DAT_070fe710,0);
		 *               func_0x031fdc8c(typeinfo_ptr_mscorlib_TimerCallback_6FDEF38);
		 *               func_0x031fdc8c(PTR_DAT_070def48);
		 *               bRam00000000075550bf = 1;
		 *             }
		 *             if (*(long *)((long)pvVar2 + 0x40) == 0) {
		 *               this_00 = (void *)func_0x031fdf24(*(undefined8 *)
		 *                                                  typeinfo_ptr_mscorlib_TimerCallback_6FDEF38);
		 *               System.Threading.TimerCallback..ctor(this_00,pvVar2,*(void **)PTR_DAT_070fe710);
		 *               this_01 = (void *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070def48);
		 *               System.Threading.Timer..ctor(this_01,this_00,null,0x32,0x32);
		 *               *(void **)((long)pvVar2 + 0x40) = this_01;
		 *               func_0x031fdc38((long *)((long)pvVar2 + 0x40),this_01);
		 *               *(undefined1 *)((long)pvVar2 + 0x34) = 1;
		 *             }
		 *             return;
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x329435C VA: 0x781897F35C
		public void Update();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   ulong uVar4;
		 *   void *this_00;
		 *   long *plVar5;
		 *   void *pvVar6;
		 *   undefined8 uStack_48;
		 *   undefined8 uStack_40;
		 *   undefined4 uStack_38;
		 *
		 *   if ((bRam000000000754ad58 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_ClientState_6FC2150);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c6200);
		 *     bRam000000000754ad58 = 1;
		 *   }
		 *   puVar2 = typeinfo_ptr_PhotonRealtime_ClientState_6FC2150;
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   pvVar6 = this.lbc;
		 *   if (pvVar6 != null) {
		 *     Photon.Realtime.LoadBalancingClient.Service(pvVar6);
		 *     uStack_48 = *(undefined8 *)puVar2;
		 *     uStack_38 = *(undefined4 *)((long)pvVar6 + 0x9c);
		 *     plVar5 = this.StateUiText;
		 *     uStack_40 = 0xffffffffffffffff;
		 *     pvVar6 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_48);
		 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)puVar1);
		 *     }
		 *     uVar4 = UnityEngine.Object.op_Inequality(plVar5,null);
		 *     if ((uVar4 & 1) != 0) {
		 *       if ((plVar5 != null) &&
		 *          (this_00 = (void *)(**(code **)(*plVar5 + 0x5d8))(plVar5,*(undefined8 *)(*plVar5 + 0x5e0)),
		 *          this_00 != null)) {
		 *         bVar3 = System.String.Equals(this_00,pvVar6);
		 *         if (bVar3) {
		 *           return;
		 *         }
		 *         pvVar6 = System.String.Concat(*(void **)PTR_DAT_070c6200,pvVar6);
		 *         (**(code **)(*plVar5 + 0x5e8))(plVar5,pvVar6,*(undefined8 *)(*plVar5 + 0x5f0));
		 *         return;
		 *       }
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 *   return;
		 */
		// RVA: 0x3294490 VA: 0x781897F490
		public void OnConnected();
		/*
		 *   return;
		 */
		// RVA: 0x3294494 VA: 0x781897F494
		public void OnConnectedToMaster();
		/*
		 *   int iVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   bool bVar4;
		 *   void *this_00;
		 *   void *this_01;
		 *   void *this_02;
		 *   long *plVar5;
		 *   ulong uVar6;
		 *   void *extraout_x1;
		 *   void *in_x4;
		 *   long lVar7;
		 *
		 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   if ((bRam000000000754ad59 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(PTR_DAT_070c6208);
		 *     bRam000000000754ad59 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   puVar3 = PTR_DAT_070c6208;
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar2,methodInfo);
		 *   }
		 *   UnityEngine.Debug.Log(*(void **)puVar3);
		 *   puVar2 = PTR_DAT_070fe9d8;
		 *   this_00 = this.lbc;
		 *   if (this_00 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if ((bRam00000000075550ec & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5bf8,0,0);
		 *     func_0x031fdc8c(PTR_DAT_070fe9e0);
		 *     func_0x031fdc8c(PTR_DAT_070fe9d8);
		 *     bRam00000000075550ec = 1;
		 *   }
		 *   bVar4 = Photon.Realtime.LoadBalancingClient.CheckIfOpCanBeSent(this_00,0xe1,*(int *)((long)this_00 + 0x88),*(void **)puVar2);
		 *   puVar2 = PTR_DAT_070c5bf8;
		 *   if (!bVar4) {
		 *     return;
		 *   }
		 *   this_01 = (void *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070fe9e0);
		 *   System.Object..ctor(this_01);
		 *   this_02 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
		 *   *(undefined1 *)((long)this_02 + 0x30) = 1;
		 *   System.Object..ctor(this_02);
		 *   *(void **)((long)this_00 + 0x140) = this_02;
		 *   func_0x031fdc38((long)this_00 + 0x140,this_02);
		 *   if ((this_01 != null) && (*(long *)((long)this_00 + 0x140) != 0)) {
		 *     *(undefined8 *)(*(long *)((long)this_00 + 0x140) + 0x20) = *(undefined8 *)((long)this_01 + 0x20)
		 *     ;
		 *     func_0x031fdc38();
		 *     if (*(long *)((long)this_00 + 0x140) != 0) {
		 *       *(undefined8 *)(*(long *)((long)this_00 + 0x140) + 0x38) =
		 *            *(undefined8 *)((long)this_01 + 0x30);
		 *       func_0x031fdc38();
		 *       if (*(long *)((long)this_00 + 0x140) != 0) {
		 *         *(undefined8 *)(*(long *)((long)this_00 + 0x140) + 0x40) =
		 *              *(undefined8 *)((long)this_01 + 0x38);
		 *         func_0x031fdc38();
		 *         plVar5 = *(long **)((long)this_00 + 0x10);
		 *         if (plVar5 != null) {
		 *           uVar6 = (**(code **)(*plVar5 + 0x298))(plVar5,this_01,*(undefined8 *)(*plVar5 + 0x2a0));
		 *           if ((uVar6 & 1) == 0) {
		 *             return;
		 *           }
		 *           iVar1 = *(int *)((long)this_00 + 0x9c);
		 *           *(undefined4 *)((long)this_00 + 0x13c) = 2;
		 *           if (iVar1 == 8) {
		 *             return;
		 *           }
		 *           lVar7 = *(long *)((long)this_00 + 0xa0);
		 *           *(undefined4 *)((long)this_00 + 0x9c) = 8;
		 *           if (lVar7 == 0) {
		 *             return;
		 *           }
		 *           (**(code **)(lVar7 + 0x18))
		 *                     (*(undefined8 *)(lVar7 + 0x40),iVar1,8,*(undefined8 *)(lVar7 + 0x28));
		 *           return;
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294518 VA: 0x781897F518
		public void OnDisconnected(Photon.Realtime.DisconnectCause cause);
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   void *pvVar5;
		 *   undefined8 uStack_58;
		 *   undefined8 uStack_50;
		 *   int iStack_48;
		 *
		 *   puVar4 = PTR_DAT_070c6210;
		 *   puVar3 = typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210;
		 *   puVar2 = PTR_DAT_070c1488;
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   if ((bRam000000000754ad5a & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210);
		 *     func_0x031fdc8c(PTR_DAT_070c6210);
		 *     func_0x031fdc8c(PTR_DAT_070c1488);
		 *     bRam000000000754ad5a = 1;
		 *   }
		 *   uStack_58 = *(undefined8 *)puVar3;
		 *   uStack_50 = 0xffffffffffffffff;
		 *   iStack_48 = cause;
		 *   pvVar5 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_58);
		 *   pvVar5 = System.String.Concat(*(void **)puVar4,pvVar5,*(void **)puVar2);
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1);
		 *   }
		 *   UnityEngine.Debug.Log(pvVar5);
		 *   return;
		 */
		// RVA: 0x3294604 VA: 0x781897F604
		public void OnCustomAuthenticationResponse(System.Collections.Generic.Dictionary<System.String,System.Object> data);
		/*
		 *   return;
		 */
		// RVA: 0x3294608 VA: 0x781897F608
		public void OnCustomAuthenticationFailed(string debugMessage);
		/*
		 *   return;
		 */
		// RVA: 0x329460C VA: 0x781897F60C
		public void OnRegionListReceived(Photon.Realtime.RegionHandler regionHandler);
		/*
		 *   int iVar1;
		 *   uint uVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   undefined *puVar5;
		 *   undefined *puVar6;
		 *   undefined *puVar7;
		 *   bool bVar8;
		 *   undefined8 uVar9;
		 *   void *pvVar10;
		 *   ulong uVar11;
		 *   undefined8 *puVar12;
		 *   long lVar13;
		 *   long lVar14;
		 *   undefined8 uVar15;
		 *   long *plVar16;
		 *   long lVar17;
		 *   undefined8 uStack_b0;
		 *   undefined8 *puStack_a8;
		 *   undefined8 uStack_a0;
		 *   long lStack_98;
		 *   char *pcStack_90;
		 *   void **ppvStack_88;
		 *   undefined8 uStack_80;
		 *   undefined8 *puStack_78;
		 *   undefined8 uStack_70;
		 *   char acStack_5c [4];
		 *   void *apvStack_58 [2];
		 *
		 *   puVar3 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   if ((bRam000000000754ad5b & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6218);
		 *     func_0x031fdc8c(PTR_DAT_070c6220);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(PTR_DAT_070c6228);
		 *     bRam000000000754ad5b = 1;
		 *   }
		 *   puVar6 = PTR_DAT_070c6228;
		 *   puVar5 = PTR_DAT_070c6220;
		 *   puVar4 = PTR_DAT_070c6218;
		 *   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   UnityEngine.Debug.Log(*(void **)puVar6);
		 *   uVar9 = func_0x031fdf24(*(undefined8 *)puVar4);
		 *   func_0x04d15d1c(uVar9,this,*(undefined8 *)puVar5,0);
		 *   puVar3 = PTR_DAT_070fec40;
		 *   if (regionHandler == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if ((bRam0000000007555169 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6218,uVar9,0,0);
		 *     func_0x031fdc8c(PTR_DAT_070fec48);
		 *     func_0x031fdc8c(PTR_DAT_070fec50);
		 *     func_0x031fdc8c(PTR_DAT_070fec58);
		 *     func_0x031fdc8c(PTR_DAT_070fec60);
		 *     func_0x031fdc8c(PTR_DAT_070fec68);
		 *     func_0x031fdc8c(PTR_DAT_070fec70);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070fec78);
		 *     func_0x031fdc8c(PTR_DAT_070fec80);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_RegionPinger_6FFEC88);
		 *     func_0x031fdc8c(PTR_DAT_070fec90);
		 *     func_0x031fdc8c(PTR_DAT_070fec40);
		 *     func_0x031fdc8c(PTR_DAT_070fec98);
		 *     bRam0000000007555169 = 1;
		 *   }
		 *   pvVar10 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
		 *   <>c__DisplayClass32_0..ctor(pvVar10);
		 *   if (((*(long *)((long)regionHandler + 0x10) == 0) ||
		 *       (*(int *)(*(long *)((long)regionHandler + 0x10) + 0x18) == 0)) ||
		 *      (*(char *)((long)regionHandler + 0x54) != '\0')) {
		 *     return;
		 *   }
		 *   *(undefined2 *)((long)regionHandler + 0x54) = 1;
		 *   *(undefined8 *)((long)regionHandler + 0x40) = 0;
		 *   func_0x031fdc38((undefined8 *)((long)regionHandler + 0x40),0);
		 *   plVar16 = (long *)((long)regionHandler + 0x58);
		 *   lVar17 = *plVar16;
		 *   if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   uVar11 = UnityEngine.Object.op_Inequality(lVar17,null);
		 *   if ((uVar11 & 1) != 0) {
		 *     if ((void *)*plVar16 == null) goto LAB_05b50bc8;
		 *     Photon.Realtime.MonoBehaviourEmpty.SelfDestroy((void *)*plVar16);
		 *   }
		 *   pvVar10 = Photon.Realtime.MonoBehaviourEmpty.BuildInstance(*(void **)PTR_DAT_070fec98);
		 *   *plVar16 = (long)pvVar10;
		 *   func_0x031fdc38(plVar16,pvVar10);
		 *   if (*plVar16 != 0) {
		 *     puVar12 = (undefined8 *)(*plVar16 + 0x20);
		 *     *puVar12 = uVar9;
		 *     func_0x031fdc38(puVar12,uVar9);
		 *     uVar15 = *(undefined8 *)((long)regionHandler + 0x58);
		 *     uVar9 = func_0x031fdf24(*(undefined8 *)PTR_DAT_070c6218);
		 *     func_0x04d15d1c(uVar9,uVar15,*(undefined8 *)PTR_DAT_070fec70,0);
		 *     *(undefined8 *)((long)regionHandler + 0x30) = uVar9;
		 *     func_0x031fdc38((undefined8 *)((long)regionHandler + 0x30),uVar9);
		 *     bVar8 = System.String.IsNullOrEmpty(null);
		 *     if (bVar8) {
		 *       if ((bRam000000000755516b & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_070fec48);
		 *         func_0x031fdc8c(PTR_DAT_070fee08);
		 *         func_0x031fdc8c(PTR_DAT_070fee10);
		 *         func_0x031fdc8c(PTR_DAT_070fee18);
		 *         func_0x031fdc8c(PTR_DAT_070fec50);
		 *         func_0x031fdc8c(PTR_DAT_070fec58);
		 *         func_0x031fdc8c(PTR_DAT_070fee20);
		 *         func_0x031fdc8c(PTR_DAT_070fec68);
		 *         func_0x031fdc8c(PTR_DAT_070ff060);
		 *         func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_RegionPinger_6FFEC88);
		 *         bRam000000000755516b = 1;
		 *       }
		 *       uStack_80 = 0;
		 *       puStack_78 = null;
		 *       uStack_70 = 0;
		 *       if ((*(long *)((long)regionHandler + 0x10) == 0) ||
		 *          (*(int *)(*(long *)((long)regionHandler + 0x10) + 0x18) == 0)) {
		 *         return;
		 *       }
		 *       apvStack_58[0] = *(void **)((long)regionHandler + 0x28);
		 *       pcStack_90 = acStack_5c;
		 *       acStack_5c[0] = '\0';
		 *       lStack_98 = 0;
		 *       ppvStack_88 = apvStack_58;
		 *       Monitor.Enter(apvStack_58[0],true);
		 *       lVar17 = *(long *)((long)regionHandler + 0x28);
		 *       if (lVar17 != 0) {
		 *         iVar1 = *(int *)(lVar17 + 0x18);
		 *         *(undefined4 *)(lVar17 + 0x18) = 0;
		 *         *(int *)(lVar17 + 0x1c) = *(int *)(lVar17 + 0x1c) + 1;
		 *         if (0 < iVar1) {
		 *           System.Array.Clear(*(undefined8 *)(lVar17 + 0x10),0,iVar1);
		 *         }
		 *         if (*(long *)((long)regionHandler + 0x10) == 0) {
		 *           IL2CPP.ThrowNullReferenceException();
		 *         }
		 *         func_0x03f2e1a8(&uStack_b0,*(long *)((long)regionHandler + 0x10),
		 *                         *(undefined8 *)PTR_DAT_070fee20);
		 *         puVar7 = PTR_DAT_070ff060;
		 *         puVar6 = PTR_DAT_070fee10;
		 *         puVar5 = typeinfo_ptr_PhotonRealtime_RegionPinger_6FFEC88;
		 *         puVar4 = PTR_DAT_070fec50;
		 *         puVar3 = PTR_DAT_070fec48;
		 *         puStack_78 = puStack_a8;
		 *         uStack_80 = uStack_b0;
		 *         uStack_70 = uStack_a0;
		 *         puStack_a8 = &uStack_80;
		 *         uStack_b0 = 0;
		 *         while (uVar11 = func_0x05018cac(&uStack_80,*(undefined8 *)puVar6), uVar9 = uStack_70,
		 *               (uVar11 & 1) != 0) {
		 *           uVar15 = func_0x031fdf24(*(undefined8 *)puVar3);
		 *           func_0x04d15d1c(uVar15,regionHandler,*(undefined8 *)puVar7,0);
		 *           pvVar10 = (void *)func_0x031fdf24(*(undefined8 *)puVar5);
		 *           Photon.Realtime.RegionPinger..ctor(pvVar10,uVar9,uVar15);
		 *           lVar17 = *(long *)((long)regionHandler + 0x28);
		 *           if (lVar17 == 0) {
		 * LAB_05b59ffc:
		 *             IL2CPP.ThrowNullReferenceException();
		 *           }
		 *           lVar13 = *(long *)(lVar17 + 0x10);
		 *           lVar14 = *(long *)puVar4;
		 *           *(int *)(lVar17 + 0x1c) = *(int *)(lVar17 + 0x1c) + 1;
		 *           if (lVar13 == 0) goto LAB_05b59ffc;
		 *           uVar2 = *(uint *)(lVar17 + 0x18);
		 *           if (uVar2 < *(uint *)(lVar13 + 0x18)) {
		 *             *(uint *)(lVar17 + 0x18) = uVar2 + 1;
		 *             puVar12 = (undefined8 *)(lVar13 + (long)(int)uVar2 * 8 + 0x20);
		 *             *puVar12 = pvVar10;
		 *             func_0x031fdc38(puVar12,pvVar10);
		 *           }
		 *           else {
		 *             func_0x03f2d704(lVar17,pvVar10,
		 *                             *(undefined8 *)(*(long *)(*(long *)(lVar14 + 0x20) + 0xc0) + 0x70));
		 *           }
		 *           if (pvVar10 == null) {
		 *             IL2CPP.ThrowNullReferenceException();
		 *           }
		 *           Photon.Realtime.RegionPinger.Start(pvVar10);
		 *         }
		 *         func_0x05018ca8(&uStack_80,*(undefined8 *)PTR_DAT_070fee08);
		 *         if (*pcStack_90 != '\0') {
		 *           Monitor.Exit(*ppvStack_88);
		 *         }
		 *         if (lStack_98 == 0) {
		 *           return;
		 *         }
		 *         func_0x031fdf2c();
		 *       }
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 * LAB_05b50bc8:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x32946E4 VA: 0x781897F6E4
		public void OnRoomListUpdate(System.Collections.Generic.List<Photon.Realtime.RoomInfo> roomList);
		/*
		 *   return;
		 */
		// RVA: 0x32946E8 VA: 0x781897F6E8
		public void OnLobbyStatisticsUpdate(System.Collections.Generic.List<Photon.Realtime.TypedLobbyInfo> lobbyStatistics);
		/*
		 *   return;
		 */
		// RVA: 0x32946EC VA: 0x781897F6EC
		public void OnJoinedLobby();
		/*
		 *   return;
		 */
		// RVA: 0x32946F0 VA: 0x781897F6F0
		public void OnLeftLobby();
		/*
		 *   return;
		 */
		// RVA: 0x32946F4 VA: 0x781897F6F4
		public void OnFriendListUpdate(System.Collections.Generic.List<Photon.Realtime.FriendInfo> friendList);
		/*
		 *   return;
		 */
		// RVA: 0x32946F8 VA: 0x781897F6F8
		public void OnCreatedRoom();
		/*
		 *   return;
		 */
		// RVA: 0x32946FC VA: 0x781897F6FC
		public void OnCreateRoomFailed(short returnCode, string message);
		/*
		 *   return;
		 */
		// RVA: 0x3294700 VA: 0x781897F700
		public void OnJoinedRoom();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined8 uVar3;
		 *   long lVar4;
		 *   undefined8 *puVar5;
		 *   void *extraout_x1;
		 *   undefined8 uVar6;
		 *   undefined8 extraout_x1_00;
		 *   undefined8 extraout_x1_01;
		 *   ulong uVar7;
		 *   int *piVar8;
		 *   long *plVar9;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   if ((bRam000000000754ad5c & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(PTR_DAT_070c6230);
		 *     bRam000000000754ad5c = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   puVar2 = PTR_DAT_070c6230;
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1,methodInfo);
		 *   }
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   uVar3 = *(undefined8 *)puVar2;
		 *   uVar6 = 0;
		 *   if ((bRam000000000755e091 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,0);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40);
		 *     bRam000000000755e091 = 1;
		 *     uVar6 = extraout_x1_00;
		 *   }
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     uVar6 = extraout_x1_01;
		 *   }
		 *   if (cRam000000000755000b == '\0') {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,uVar6);
		 *     cRam000000000755000b = '\x01';
		 *   }
		 *   lVar4 = *(long *)puVar1;
		 *   if (*(int *)(lVar4 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar4 = *(long *)puVar1;
		 *   }
		 *   plVar9 = *(long **)(*(long *)(lVar4 + 0xb8) + 8);
		 *   if (plVar9 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   lVar4 = *plVar9;
		 *   uVar7 = (ulong)*(ushort *)(lVar4 + 0x12e);
		 *   if (uVar7 != 0) {
		 *     piVar8 = (int *)(*(long *)(lVar4 + 0xb0) + 8);
		 *     do {
		 *       if (*(long *)(piVar8 + -2) == *(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40) {
		 *         puVar5 = (undefined8 *)(lVar4 + (long)(*piVar8 + 3) * 0x10 + 0x138);
		 *         goto LAB_069382a8;
		 *       }
		 *       uVar7 = uVar7 - 1;
		 *       piVar8 = piVar8 + 4;
		 *     } while (uVar7 != 0);
		 *   }
		 *   puVar5 = (undefined8 *)
		 *            func_0x03237558(plVar9,*(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40,3);
		 * LAB_069382a8:
		 *   (*(code *)*puVar5)(plVar9,3,uVar3,puVar5[1]);
		 *   return;
		 */
		// RVA: 0x3294768 VA: 0x781897F768
		public void OnJoinRoomFailed(short returnCode, string message);
		/*
		 *   return;
		 */
		// RVA: 0x329476C VA: 0x781897F76C
		public void OnJoinRandomFailed(short returnCode, string message);
		/*
		 *   int iVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   bool bVar5;
		 *   void *this_00;
		 *   long *plVar6;
		 *   ulong uVar7;
		 *   void *in_x4;
		 *   long lVar8;
		 *   void *this_01;
		 *
		 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   if ((bRam000000000754ad5d & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,returnCode);
		 *     func_0x031fdc8c(PTR_DAT_070c5bf8);
		 *     func_0x031fdc8c(PTR_DAT_070c6238);
		 *     bRam000000000754ad5d = 1;
		 *   }
		 *   puVar4 = PTR_DAT_070c6238;
		 *   puVar3 = PTR_DAT_070c5bf8;
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   UnityEngine.Debug.Log(*(void **)puVar4);
		 *   this_01 = this.lbc;
		 *   this_00 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
		 *   Photon.Realtime.EnterRoomParams..ctor(this_00);
		 *   puVar2 = PTR_DAT_070fe9f0;
		 *   if (this_01 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if ((bRam00000000075550ee & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070fe9f0,this_00,0);
		 *     bRam00000000075550ee = 1;
		 *   }
		 *   bVar5 = Photon.Realtime.LoadBalancingClient.CheckIfOpCanBeSent(this_01,0xe3,*(int *)((long)this_01 + 0x88),*(void **)puVar2);
		 *   if (!bVar5) {
		 *     return;
		 *   }
		 *   if (this_00 != null) {
		 *     bVar5 = *(int *)((long)this_01 + 0x88) == 1;
		 *     *(bool *)((long)this_00 + 0x30) = bVar5;
		 *     if (!bVar5) {
		 *       *(void **)((long)this_01 + 0x140) = this_00;
		 *       func_0x031fdc38((long)this_01 + 0x140,this_00);
		 *     }
		 *     plVar6 = *(long **)((long)this_01 + 0x10);
		 *     if (plVar6 != null) {
		 *       uVar7 = (**(code **)(*plVar6 + 0x278))(plVar6,this_00,*(undefined8 *)(*plVar6 + 0x280));
		 *       if ((uVar7 & 1) == 0) {
		 *         return;
		 *       }
		 *       iVar1 = *(int *)((long)this_01 + 0x9c);
		 *       *(undefined4 *)((long)this_01 + 0x13c) = 0;
		 *       if (iVar1 == 8) {
		 *         return;
		 *       }
		 *       lVar8 = *(long *)((long)this_01 + 0xa0);
		 *       *(undefined4 *)((long)this_01 + 0x9c) = 8;
		 *       if (lVar8 == 0) {
		 *         return;
		 *       }
		 *       (**(code **)(lVar8 + 0x18))
		 *                 (*(undefined8 *)(lVar8 + 0x40),iVar1,8,*(undefined8 *)(lVar8 + 0x28));
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x329481C VA: 0x781897F81C
		public void OnLeftRoom();
		/*
		 *   return;
		 */
		// RVA: 0x3294820 VA: 0x781897F820
		private void OnRegionPingCompleted(Photon.Realtime.RegionHandler regionHandler);
		/*
		 *   int iVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   bool bVar4;
		 *   long *plVar5;
		 *   void *str1;
		 *   long lVar6;
		 *   long *plVar7;
		 *   ulong uVar8;
		 *   void *methodInfo_00;
		 *   void *methodInfo_01;
		 *   void *pvVar9;
		 *
		 *   if ((bRam000000000754ad5e & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(PTR_DAT_070c6240);
		 *     func_0x031fdc8c(PTR_DAT_070c6248);
		 *     bRam000000000754ad5e = 1;
		 *   }
		 *   puVar3 = PTR_DAT_070c6248;
		 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   if (regionHandler != null) {
		 *     plVar5 = (long *)Photon.Realtime.RegionHandler.get_BestRegion(regionHandler);
		 *     pvVar9 = *(void **)puVar3;
		 *     if (plVar5 == null) {
		 *       str1 = null;
		 *     }
		 *     else {
		 *       str1 = (void *)(**(code **)(*plVar5 + 0x168))(plVar5,*(undefined8 *)(*plVar5 + 0x170));
		 *     }
		 *     puVar3 = PTR_DAT_070c6240;
		 *     pvVar9 = System.String.Concat(pvVar9,str1);
		 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)puVar2);
		 *     }
		 *     UnityEngine.Debug.Log(pvVar9);
		 *     pvVar9 = Photon.Realtime.RegionHandler.get_SummaryToCache(regionHandler);
		 *     pvVar9 = System.String.Concat(*(void **)puVar3,pvVar9);
		 *     UnityEngine.Debug.Log(pvVar9);
		 *     plVar5 = this.lbc;
		 *     lVar6 = Photon.Realtime.RegionHandler.get_BestRegion(regionHandler);
		 *     if ((lVar6 != 0) && (plVar5 != null)) {
		 *       pvVar9 = *(void **)(lVar6 + 0x10);
		 *       if ((bRam00000000075550e1 & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_070fe888,pvVar9,0);
		 *         func_0x031fdc8c(PTR_DAT_070fe8a8);
		 *         func_0x031fdc8c(PTR_DAT_070fe8b8);
		 *         func_0x031fdc8c(PTR_DAT_070fe440);
		 *         func_0x031fdc8c(PTR_DAT_070fe8c0);
		 *         bRam00000000075550e1 = 1;
		 *       }
		 *       bVar4 = System.String.IsNullOrEmpty(pvVar9);
		 *       if (bVar4) {
		 *         (**(code **)(*plVar5 + 0x218))
		 *                   (plVar5,1,*(undefined8 *)PTR_DAT_070fe8b8,*(undefined8 *)(*plVar5 + 0x220));
		 *       }
		 *       else {
		 *         *(undefined1 *)(plVar5 + 10) = 1;
		 *         if (*(int *)((long)plVar5 + 0x9c) != 0x11) {
		 *           if (*(int *)((long)plVar5 + 0x9c) == 1) {
		 *             if (plVar5[2] != 0) {
		 *               if (*(byte *)(plVar5[2] + 0x40) < 3) {
		 *                 return;
		 *               }
		 *               (**(code **)(*plVar5 + 0x218))
		 *                         (plVar5,3,*(undefined8 *)PTR_DAT_070fe8c0,*(undefined8 *)(*plVar5 + 0x220));
		 *               return;
		 *             }
		 *           }
		 *           else {
		 *             plVar7 = (long *)plVar5[2];
		 *             if (plVar7 != null) {
		 *               (**(code **)(*plVar7 + 0x1b8))(plVar7,*(undefined8 *)(*plVar7 + 0x1c0));
		 *               plVar5[0x2b] = (long)pvVar9;
		 *               func_0x031fdc38(plVar5 + 0x2b,pvVar9);
		 *               if ((int)plVar5[7] == 2) {
		 *                 if ((char)plVar5[8] == '\0') {
		 *                   if (plVar5[2] == 0) goto LAB_05b4997c;
		 *                   func_0x042a9b6c(&stack0xffffffffffffffdc,*(undefined1 *)(plVar5[2] + 0x84),
		 *                                   *(undefined8 *)PTR_DAT_070fe888);
		 *                   *(undefined2 *)(plVar5 + 8) = 0;
		 *                 }
		 *                 if (plVar5[2] == 0) goto LAB_05b4997c;
		 *                 *(undefined1 *)(plVar5[2] + 0x84) = 5;
		 *               }
		 *               *(undefined1 *)(plVar5 + 0x30) = 0;
		 *               *(undefined4 *)(plVar5 + 0x1d) = 0;
		 *               plVar5[0x1e] = 0;
		 *               func_0x031fdc38(plVar5 + 0x1e,0);
		 *               plVar5[0x20] = 0;
		 *               func_0x031fdc38(plVar5 + 0x20,0);
		 *               plVar7 = (long *)plVar5[2];
		 *               pvVar9 = Photon.Realtime.LoadBalancingClient.GetNameServerAddress(plVar5);
		 *               if (plVar7 != null) {
		 *                 uVar8 = (**(code **)(*plVar7 + 0x1a8))
		 *                                   (plVar7,pvVar9,plVar5[0x12],*(undefined8 *)PTR_DAT_070fe440,0,0,
		 *                                    *(undefined8 *)(*plVar7 + 0x1b0));
		 *                 if ((uVar8 & 1) == 0) {
		 *                   return;
		 *                 }
		 *                 iVar1 = *(int *)((long)plVar5 + 0x9c);
		 *                 if (iVar1 != 0x10) {
		 *                   lVar6 = plVar5[0x14];
		 *                   *(undefined4 *)((long)plVar5 + 0x9c) = 0x10;
		 *                   if (lVar6 != 0) {
		 *                     (**(code **)(lVar6 + 0x18))
		 *                               (*(undefined8 *)(lVar6 + 0x40),iVar1,0x10,
		 *                                *(undefined8 *)(lVar6 + 0x28));
		 *                   }
		 *                 }
		 *                 *(undefined4 *)(plVar5 + 0x11) = 2;
		 *                 return;
		 *               }
		 *             }
		 *           }
		 * LAB_05b4997c:
		 *           IL2CPP.ThrowNullReferenceException();
		 *         }
		 *         plVar5[0x2b] = (long)pvVar9;
		 *         func_0x031fdc38(plVar5 + 0x2b,pvVar9);
		 *         bVar4 = Photon.Realtime.LoadBalancingClient.CallAuthenticate(plVar5);
		 *         if ((bVar4) && (iVar1 = *(int *)((long)plVar5 + 0x9c), iVar1 != 1)) {
		 *           lVar6 = plVar5[0x14];
		 *           *(undefined4 *)((long)plVar5 + 0x9c) = 1;
		 *           if (lVar6 != 0) {
		 *             (**(code **)(lVar6 + 0x18))
		 *                       (*(undefined8 *)(lVar6 + 0x40),iVar1,1,*(undefined8 *)(lVar6 + 0x28));
		 *           }
		 *         }
		 *       }
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294944 VA: 0x781897F944
		public void .ctor();
		/*
		 *   undefined *puVar1;
		 *   void *this_00;
		 *   void *extraout_x1;
		 *
		 *   puVar1 = PTR_DAT_070c6250;
		 *   if ((bRam000000000754ad5f & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6250);
		 *     bRam000000000754ad5f = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   this_00 = (void *)func_0x031fdf24(*(undefined8 *)puVar1,methodInfo);
		 *   Photon.Realtime.AppSettings..ctor(this_00);
		 *   this.appSettings = this_00;
		 *   func_0x031fdc38(&this.appSettings,this_00);
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000755f76f & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8,0);
		 *     bRam000000000755f76f = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   return;
		 */
	}
}
