namespace ExitGames.Demos.DemoPunVoice
{

	// [TypeInfo RVA: 0x0]
	public class VoiceDemoUI : MonoBehaviour
	{
		private UnityEngine.UI.Text punState; // 0x20
		private UnityEngine.UI.Text voiceState; // 0x28
		private Photon.Voice.PUN.PunVoiceClient punVoiceClient; // 0x30
		private UnityEngine.Canvas canvas; // 0x38
		private UnityEngine.UI.Button punSwitch; // 0x40
		private UnityEngine.UI.Text punSwitchText; // 0x48
		private UnityEngine.UI.Button voiceSwitch; // 0x50
		private UnityEngine.UI.Text voiceSwitchText; // 0x58
		private UnityEngine.UI.Button calibrateButton; // 0x60
		private UnityEngine.UI.Text calibrateText; // 0x68
		private UnityEngine.UI.Text voiceDebugText; // 0x70
		private Photon.Voice.PUN.PhotonVoiceView recorder; // 0x78
		private UnityEngine.GameObject inGameSettings; // 0x80
		private UnityEngine.GameObject globalSettings; // 0x88
		private UnityEngine.UI.Text devicesInfoText; // 0x90
		private UnityEngine.GameObject debugGO; // 0x98
		private bool debugMode; // 0xA0
		private float volumeBeforeMute; // 0xA4
		private ExitGames.Client.Photon.DebugLevel previousDebugLevel; // 0xA8
		private static ExitGames.Demos.DemoPunVoice.VoiceDemoUI.OnDebugToggle DebugToggled; // 0x0
		private int calibrationMilliSeconds; // 0xAC

		// RVA: 0x3282E1C VA: 0x781896DE1C
		public bool get_DebugMode();
		/*
		 *   return this.debugMode;
		 */
		// RVA: 0x3282E24 VA: 0x781896DE24
		public void set_DebugMode(bool value);
		/*
		 *   bool bVar1;
		 *   undefined1 uVar2;
		 *   long *plVar3;
		 *   void *pvVar4;
		 *   long lVar5;
		 *
		 *   if ((bRam000000000754acb2 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c59a0);
		 *     bRam000000000754acb2 = 1;
		 *   }
		 *   this.debugMode = value;
		 *   if (this.debugGO != null) {
		 *     UnityEngine.GameObject.SetActive(this.debugGO,value);
		 *     plVar3 = this.voiceDebugText;
		 *     if (plVar3 != null) {
		 *       (**(code **)(*plVar3 + 0x5e8))
		 *                 (plVar3,**(undefined8 **)(*(long *)(PTR_DAT_070c0840 + 0x90) + 0xb8),
		 *                  *(undefined8 *)(*plVar3 + 0x5f0));
		 *       bVar1 = this.debugMode;
		 *       pvVar4 = this.punVoiceClient;
		 *       if (bVar1 == false) {
		 *         if (((pvVar4 == null) || (*(long *)((long)pvVar4 + 0x50) == 0)) ||
		 *            (lVar5 = *(long *)(*(long *)((long)pvVar4 + 0x50) + 0x10), lVar5 == 0))
		 *         goto LAB_03382f3c;
		 *         *(char *)(lVar5 + 0x40) = (char)this.previousDebugLevel;
		 *       }
		 *       else {
		 *         if (((pvVar4 == null) || (*(long *)((long)pvVar4 + 0x50) == 0)) ||
		 *            (lVar5 = *(long *)(*(long *)((long)pvVar4 + 0x50) + 0x10), lVar5 == 0))
		 *         goto LAB_03382f3c;
		 *         uVar2 = *(undefined1 *)(lVar5 + 0x40);
		 *         *(undefined1 *)(lVar5 + 0x40) = 5;
		 *         *(undefined1 *)&this.previousDebugLevel = uVar2;
		 *       }
		 *       lVar5 = **(long **)(*(long *)PTR_DAT_070c59a0 + 0xb8);
		 *       if (lVar5 != 0) {
		 *         (**(code **)(lVar5 + 0x18))
		 *                   (*(undefined8 *)(lVar5 + 0x40),bVar1 != false,*(undefined8 *)(lVar5 + 0x28));
		 *         return;
		 *       }
		 *       return;
		 *     }
		 *   }
		 * LAB_03382f3c:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328248C VA: 0x781896D48C
		public static void add_DebugToggled(ExitGames.Demos.DemoPunVoice.VoiceDemoUI.OnDebugToggle value);
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   long *plVar4;
		 *   void *pvVar5;
		 *   void *a;
		 *
		 *   puVar2 = PTR_DAT_070c59a0;
		 *   if ((bRam000000000754acb3 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5990);
		 *     func_0x031fdc8c(PTR_DAT_070c59a0);
		 *     bRam000000000754acb3 = 1;
		 *   }
		 *   puVar1 = PTR_DAT_070c5990;
		 *   a = (void *)**(undefined8 **)(*(long *)puVar2 + 0xb8);
		 *   while ((plVar4 = System.Delegate.Combine(a,value), plVar4 == null
		 *          || (*plVar4 == *(long *)puVar1))) {
		 *     pvVar5 = (void *)func_0x03236d84(*(undefined8 *)(*(long *)puVar2 + 0xb8),plVar4,a);
		 *     bVar3 = pvVar5 == a;
		 *     a = pvVar5;
		 *     if (bVar3) {
		 *       return;
		 *     }
		 *   }
		 *   noreturn_helper_30fe2b4(plVar4);
		 */
		// RVA: 0x3282614 VA: 0x781896D614
		public static void remove_DebugToggled(ExitGames.Demos.DemoPunVoice.VoiceDemoUI.OnDebugToggle value);
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   long *plVar4;
		 *   void *pvVar5;
		 *   void *source;
		 *
		 *   puVar2 = PTR_DAT_070c59a0;
		 *   if ((bRam000000000754acb4 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5990);
		 *     func_0x031fdc8c(PTR_DAT_070c59a0);
		 *     bRam000000000754acb4 = 1;
		 *   }
		 *   puVar1 = PTR_DAT_070c5990;
		 *   source = (void *)**(undefined8 **)(*(long *)puVar2 + 0xb8);
		 *   while ((plVar4 = System.Delegate.Remove(source,value),
		 *          plVar4 == null || (*plVar4 == *(long *)puVar1))) {
		 *     pvVar5 = (void *)func_0x03236d84(*(undefined8 *)(*(long *)puVar2 + 0xb8),plVar4,source);
		 *     bVar3 = pvVar5 == source;
		 *     source = pvVar5;
		 *     if (bVar3) {
		 *       return;
		 *     }
		 *   }
		 *   noreturn_helper_30fe2b4(plVar4);
		 */
		// RVA: 0x3282F40 VA: 0x781896DF40
		private void Awake();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   void *pvVar3;
		 *   undefined8 uVar4;
		 *   long lVar5;
		 *   undefined8 *puVar6;
		 *   ulong uVar7;
		 *   int *piVar8;
		 *   void **ppvVar9;
		 *   long *plVar10;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   if ((bRam000000000754acb5 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(PTR_DAT_070c59b8);
		 *     bRam000000000754acb5 = 1;
		 *   }
		 *   puVar2 = PTR_DAT_070c59b8;
		 *   pvVar3 = Photon.Voice.PUN.PunVoiceClient.get_Instance();
		 *   ppvVar9 = &this.punVoiceClient;
		 *   *ppvVar9 = pvVar3;
		 *   func_0x031fdc38(ppvVar9,pvVar3);
		 *   pvVar3 = *ppvVar9;
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   uVar4 = *(undefined8 *)puVar2;
		 *   if ((bRam000000000755e09d & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,pvVar3,0);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40);
		 *     bRam000000000755e09d = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   if (cRam000000000755000b == '\0') {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     cRam000000000755000b = '\x01';
		 *   }
		 *   lVar5 = *(long *)puVar1;
		 *   if (*(int *)(lVar5 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar5 = *(long *)puVar1;
		 *   }
		 *   plVar10 = *(long **)(*(long *)(lVar5 + 0xb8) + 8);
		 *   if (plVar10 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   lVar5 = *plVar10;
		 *   uVar7 = (ulong)*(ushort *)(lVar5 + 0x12e);
		 *   if (uVar7 != 0) {
		 *     piVar8 = (int *)(*(long *)(lVar5 + 0xb0) + 8);
		 *     do {
		 *       if (*(long *)(piVar8 + -2) == *(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40) {
		 *         puVar6 = (undefined8 *)(lVar5 + (long)(*piVar8 + 4) * 0x10 + 0x138);
		 *         goto LAB_06938e6c;
		 *       }
		 *       uVar7 = uVar7 - 1;
		 *       piVar8 = piVar8 + 4;
		 *     } while (uVar7 != 0);
		 *   }
		 *   puVar6 = (undefined8 *)
		 *            func_0x03237558(plVar10,*(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40,4);
		 * LAB_06938e6c:
		 *   (*(code *)*puVar6)(plVar10,2,uVar4,pvVar3,puVar6[1]);
		 *   return;
		 */
		// RVA: 0x3282FCC VA: 0x781896DFCC
		private void OnDestroy();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   undefined *puVar5;
		 *   undefined *puVar6;
		 *   bool bVar7;
		 *   void *pvVar8;
		 *   long lVar9;
		 *   void *pvVar10;
		 *   void *extraout_x1;
		 *   void *pvVar11;
		 *   undefined8 *puVar12;
		 *   undefined8 uVar13;
		 *
		 *   puVar6 = PTR_DAT_070c59d0;
		 *   puVar5 = PTR_DAT_070c59c8;
		 *   puVar4 = PTR_DAT_070c59c0;
		 *   puVar3 = PTR_DAT_070c5918;
		 *   puVar1 = PTR_DAT_070c58f0;
		 *   puVar2 = PTR_DAT_070c58d0;
		 *   if ((bRam000000000754acb6 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c59d8);
		 *     func_0x031fdc8c(PTR_DAT_070c58d0);
		 *     func_0x031fdc8c(PTR_DAT_070c5918);
		 *     func_0x031fdc8c(PTR_DAT_070c58f0);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(PTR_DAT_070c59c8);
		 *     func_0x031fdc8c(PTR_DAT_070c59d0);
		 *     func_0x031fdc8c(PTR_DAT_070c59c0);
		 *     func_0x031fdc8c(PTR_DAT_070c59e0);
		 *     func_0x031fdc8c(PTR_DAT_070c59e8);
		 *     bRam000000000754acb6 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar8 = (void *)func_0x031fdf24(*(undefined8 *)puVar2,methodInfo);
		 *   OnCameraChanged..ctor(pvVar8,this,*(void **)puVar4);
		 *   ChangePOV.remove_CameraChanged(pvVar8);
		 *   pvVar8 = (void *)func_0x031fdf24(*(undefined8 *)puVar1);
		 *   pvVar11 = null;
		 *   OnToggle..ctor(pvVar8,this,*(void **)puVar5);
		 *   BetterToggle.remove_ToggleValueChanged(pvVar8);
		 *   pvVar8 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
		 *   OnCharacterInstantiated..ctor(pvVar8,this,*(void **)puVar6);
		 *   CharacterInstantiation.remove_CharacterInstantiated(pvVar8);
		 *   puVar1 = PTR_DAT_070c59e8;
		 *   puVar2 = PTR_DAT_070c59d8;
		 *   if (this.punVoiceClient != null) {
		 *     pvVar11 = *(void **)((long)this.punVoiceClient + 0x50);
		 *     pvVar8 = (void *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070c59d8);
		 *     func_0x04de7524(pvVar8,this,*(undefined8 *)puVar1,0);
		 *     puVar3 = PTR_DAT_070c59e0;
		 *     puVar1 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *     if (pvVar11 != null) {
		 *       Photon.Realtime.LoadBalancingClient.remove_StateChanged(pvVar11,pvVar8);
		 *       lVar9 = *(long *)puVar1;
		 *       if (*(int *)(lVar9 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *         lVar9 = *(long *)puVar1;
		 *       }
		 *       lVar9 = *(long *)(*(long *)(lVar9 + 0xb8) + 8);
		 *       pvVar8 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
		 *       func_0x04de7524(pvVar8,this,*(undefined8 *)puVar3,0);
		 *       if (lVar9 != 0) {
		 *         if ((bRam00000000075550d5 & 1) == 0) {
		 *           func_0x031fdc8c(PTR_DAT_070c59d8,pvVar8,0);
		 *           bRam00000000075550d5 = 1;
		 *         }
		 *         puVar2 = PTR_DAT_070c59d8;
		 *         puVar12 = (undefined8 *)(lVar9 + 0xa0);
		 *         pvVar11 = (void *)*puVar12;
		 *         do {
		 *           pvVar10 = System.Delegate.Remove(pvVar11,pvVar8);
		 *           if (pvVar10 == null) {
		 *             lVar9 = 0;
		 *           }
		 *           else {
		 *             uVar13 = *(undefined8 *)puVar2;
		 *             lVar9 = func_0x031fde0c(pvVar10,uVar13);
		 *             if (lVar9 == 0) {
		 *               noreturn_helper_30fe2b4(pvVar10,uVar13);
		 *             }
		 *           }
		 *           pvVar10 = (void *)func_0x03236d84(puVar12,lVar9,pvVar11);
		 *           bVar7 = pvVar10 != pvVar11;
		 *           pvVar11 = pvVar10;
		 *         } while (bVar7);
		 *         return;
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x32831D4 VA: 0x781896E1D4
		private void CharacterInstantiation_CharacterInstantiated(UnityEngine.GameObject character);
		/*
		 *   undefined *puVar1;
		 *   void *pvVar2;
		 *   ulong uVar3;
		 *   void **ppvVar4;
		 *
		 *   if ((bRam000000000754acb7 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c26c8);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     bRam000000000754acb7 = 1;
		 *   }
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if (character == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   pvVar2 = (void *)func_0x037f3038(character,*(undefined8 *)PTR_DAT_070c26c8);
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1);
		 *   }
		 *   uVar3 = UnityEngine.Object.op_Inequality(pvVar2,null);
		 *   if ((uVar3 & 1) != 0) {
		 *     ppvVar4 = &this.recorder;
		 *     *ppvVar4 = pvVar2;
		 *     if (iRam00000000077785f0 != 0) {
		 *       func_0x032ed0c0(1L << ((ulong)ppvVar4 >> 0xc & 0x3f),
		 *                       ((ulong)ppvVar4 >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
		 *     }
		 *     return;
		 *   }
		 *   return;
		 */
		// RVA: 0x3283284 VA: 0x781896E284
		private void InitToggles(UnityEngine.UI.Toggle[] toggles);
		/*
		 *   uint uVar1;
		 *   float fVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   undefined *puVar5;
		 *   undefined *puVar6;
		 *   undefined *puVar7;
		 *   bool bVar8;
		 *   void *pvVar9;
		 *   ulong uVar10;
		 *   char cVar11;
		 *   long lVar12;
		 *   void *this_00;
		 *   undefined8 uVar13;
		 *   long lVar14;
		 *   float fVar15;
		 *
		 *   if ((bRam000000000754acb8 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c59f0);
		 *     func_0x031fdc8c(PTR_DAT_070c59f8);
		 *     func_0x031fdc8c(PTR_DAT_070c5a00);
		 *     func_0x031fdc8c(PTR_DAT_070c5a08);
		 *     func_0x031fdc8c(PTR_DAT_070c5a10);
		 *     func_0x031fdc8c(PTR_DAT_070c5a18);
		 *     bRam000000000754acb8 = 1;
		 *   }
		 *   puVar7 = PTR_DAT_070c5a18;
		 *   puVar6 = PTR_DAT_070c5a10;
		 *   puVar5 = PTR_DAT_070c5a00;
		 *   puVar4 = PTR_DAT_070c59f8;
		 *   puVar3 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   fVar2 = _UNK_0134ef58;
		 *   if ((toggles != null) && (uVar1 = *(uint *)((long)toggles + 0x18), 0 < (int)uVar1)) {
		 *     lVar14 = 0;
		 *     do {
		 *       if (uVar1 <= (uint)lVar14) {
		 *         IL2CPP.ThrowIndexOutOfRangeException();
		 *       }
		 *       this_00 = *(void **)((long)toggles + lVar14 * 8 + 0x20);
		 *       if (this_00 == null) goto LAB_033835c4;
		 *       pvVar9 = UnityEngine.Object.get_name(this_00);
		 *       bVar8 = System.String.op_Equality(pvVar9,*(void **)puVar5);
		 *       if (bVar8) {
		 *         fVar15 = UnityEngine.AudioListener.get_volume();
		 *         bVar8 = fVar15 <= fVar2;
		 * LAB_03383440:
		 *         UnityEngine.UI.Toggle.set_isOn(this_00,bVar8);
		 *       }
		 *       else {
		 *         bVar8 = System.String.op_Equality(pvVar9,*(void **)puVar4);
		 *         if (bVar8) {
		 *           pvVar9 = this.recorder;
		 *           if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *             func_0x031fde08();
		 *           }
		 *           uVar10 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *           if ((uVar10 & 1) != 0) {
		 *             if (this.recorder == null) {
		 * LAB_033835c4:
		 *               IL2CPP.ThrowNullReferenceException();
		 *             }
		 *             uVar13 = *(undefined8 *)((long)this.recorder + 0x38);
		 *             if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *             }
		 *             uVar10 = UnityEngine.Object.op_Inequality(uVar13,null);
		 *             if ((uVar10 & 1) != 0) {
		 *               if ((this.recorder == null) ||
		 *                  (lVar12 = *(long *)((long)this.recorder + 0x38), lVar12 == 0)) goto LAB_033835c4;
		 *               cVar11 = *(char *)(lVar12 + 0x28);
		 *               goto LAB_03383438;
		 *             }
		 *           }
		 *         }
		 *         else {
		 *           bVar8 = System.String.op_Equality(pvVar9,*(void **)puVar7);
		 *           if (bVar8) {
		 *             cVar11 = this.debugMode;
		 * LAB_03383438:
		 *             bVar8 = cVar11 != '\0';
		 *             goto LAB_03383440;
		 *           }
		 *           bVar8 = System.String.op_Equality(pvVar9,*(void **)puVar6);
		 *           if (bVar8) {
		 *             pvVar9 = this.recorder;
		 *             if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *             }
		 *             uVar10 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *             if ((uVar10 & 1) != 0) {
		 *               if (this.recorder == null) goto LAB_033835c4;
		 *               uVar13 = *(undefined8 *)((long)this.recorder + 0x38);
		 *               if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *               }
		 *               uVar10 = UnityEngine.Object.op_Inequality(uVar13,null);
		 *               if ((uVar10 & 1) != 0) {
		 *                 if ((this.recorder == null) ||
		 *                    (lVar12 = *(long *)((long)this.recorder + 0x38), lVar12 == 0))
		 *                 goto LAB_033835c4;
		 *                 cVar11 = *(char *)(lVar12 + 0x6b);
		 *                 goto LAB_03383438;
		 *               }
		 *             }
		 *           }
		 *           else {
		 *             bVar8 = System.String.op_Equality(pvVar9,*(void **)PTR_DAT_070c5a08);
		 *             if (bVar8) {
		 *               pvVar9 = this.recorder;
		 *               if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *               }
		 *               uVar10 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *               if ((uVar10 & 1) != 0) {
		 *                 if (this.recorder == null) goto LAB_033835c4;
		 *                 uVar13 = *(undefined8 *)((long)this.recorder + 0x38);
		 *                 if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *                   func_0x031fde08();
		 *                 }
		 *                 uVar10 = UnityEngine.Object.op_Inequality(uVar13,null);
		 *                 if ((uVar10 & 1) != 0) {
		 *                   if ((this.recorder == null) ||
		 *                      (pvVar9 = *(void **)((long)this.recorder + 0x38), pvVar9 == null))
		 *                   goto LAB_033835c4;
		 *                   bVar8 = Recorder.get_DebugEchoMode(pvVar9);
		 *                   goto LAB_03383440;
		 *                 }
		 *               }
		 *             }
		 *             else {
		 *               bVar8 = System.String.op_Equality(pvVar9,*(void **)PTR_DAT_070c59f0);
		 *               if (bVar8) {
		 *                 if (this.punVoiceClient == null) goto LAB_033835c4;
		 *                 cVar11 = *(char *)((long)this.punVoiceClient + 0xd4);
		 *                 goto LAB_03383438;
		 *               }
		 *             }
		 *           }
		 *         }
		 *       }
		 *       uVar1 = *(uint *)((long)toggles + 0x18);
		 *       lVar14 = lVar14 + 1;
		 *     } while ((int)lVar14 < (int)uVar1);
		 *   }
		 *   return;
		 */
		// RVA: 0x32835CC VA: 0x781896E5CC
		private void BetterToggle_ToggleValueChanged(UnityEngine.UI.Toggle toggle);
		/*
		 *   undefined4 uVar1;
		 *   undefined1 uVar2;
		 *   byte bVar3;
		 *   undefined *puVar4;
		 *   bool bVar5;
		 *   void *pvVar6;
		 *   ulong uVar7;
		 *   long lVar8;
		 *   undefined8 *puVar9;
		 *   long lVar10;
		 *   void *pvVar11;
		 *   void *extraout_x1;
		 *   void *methodInfo_00;
		 *   int *piVar12;
		 *   long *plVar13;
		 *   undefined8 uVar14;
		 *   long lVar15;
		 *   float fVar16;
		 *
		 *   if ((bRam000000000754acb9 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c59f0);
		 *     func_0x031fdc8c(PTR_DAT_070c59f8);
		 *     func_0x031fdc8c(PTR_DAT_070c5a00);
		 *     func_0x031fdc8c(PTR_DAT_070c5a08);
		 *     func_0x031fdc8c(PTR_DAT_070c5a10);
		 *     func_0x031fdc8c(PTR_DAT_070c5a18);
		 *     bRam000000000754acb9 = 1;
		 *   }
		 *   puVar4 = PTR_DAT_070c5a00;
		 *   if (toggle != null) {
		 *     pvVar6 = UnityEngine.Object.get_name(toggle);
		 *     bVar5 = System.String.op_Equality(pvVar6,*(void **)puVar4);
		 *     if (bVar5) {
		 *       if (*(char *)((long)toggle + 0x120) == '\0') {
		 *         UnityEngine.AudioListener.set_volume(this.volumeBeforeMute);
		 *         this.volumeBeforeMute = 0.0;
		 *         return;
		 *       }
		 *       fVar16 = UnityEngine.AudioListener.get_volume();
		 *       this.volumeBeforeMute = fVar16;
		 *       if (pcRam000000000755d730 == null) {
		 *         pcRam000000000755d730 = (code *)func_0x031fdc50(&UNK_0136daee);
		 *       }
		 *       (*pcRam000000000755d730)(0);
		 *       return;
		 *     }
		 *     bVar5 = System.String.op_Equality(pvVar6,*(void **)PTR_DAT_070c5a10);
		 *     if (bVar5) {
		 *       if (this.recorder != null) {
		 *         uVar14 = *(undefined8 *)((long)this.recorder + 0x38);
		 *         if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *         }
		 *         uVar7 = UnityEngine.Object.op_Implicit(uVar14);
		 *         if ((uVar7 & 1) == 0) {
		 *           return;
		 *         }
		 *         if ((this.recorder != null) &&
		 *            (lVar8 = *(long *)((long)this.recorder + 0x38), lVar8 != 0)) {
		 *           bVar3 = *(byte *)((long)toggle + 0x120);
		 *           if ((bRam00000000075556f0 & 1) == 0) {
		 *             func_0x031fdc8c(PTR_DAT_07101c20,bVar3,0);
		 *             bRam00000000075556f0 = 1;
		 *           }
		 *           puVar4 = PTR_DAT_07101c20;
		 *           if (*(byte *)(lVar8 + 0x6b) != (bVar3 & 1)) {
		 *             lVar15 = *(long *)(lVar8 + 0x40);
		 *             *(byte *)(lVar8 + 0x6b) = bVar3 & 1;
		 *             lVar10 = *(long *)puVar4;
		 *             if (*(int *)(lVar10 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *               lVar10 = *(long *)puVar4;
		 *             }
		 *             if (lVar15 != **(long **)(lVar10 + 0xb8)) {
		 *               lVar8 = *(long *)(lVar8 + 0x40);
		 *               if (lVar8 == 0) {
		 *                 IL2CPP.ThrowNullReferenceException();
		 *               }
		 *               bVar3 = bVar3 & 1;
		 *               if ((bRam000000000755561a & 1) == 0) {
		 *                 func_0x031fdc8c(PTR_DAT_070c9620,bVar3,0);
		 *                 func_0x031fdc8c(PTR_DAT_07101890);
		 *                 bRam000000000755561a = 1;
		 *               }
		 *               if (*(byte *)(lVar8 + 0x10) != bVar3) {
		 *                 if ((*(byte *)(lVar8 + 0x10) != 0) && (*(long *)(lVar8 + 0x78) != 0)) {
		 *                   if ((*(long *)(lVar8 + 0x90) == 0) ||
		 *                      (plVar13 = *(long **)(*(long *)(lVar8 + 0x90) + 0x10), plVar13 == null))
		 *                   {
		 * LAB_05bbe0d4:
		 *                     IL2CPP.ThrowNullReferenceException();
		 *                   }
		 *                   lVar10 = *plVar13;
		 *                   uVar1 = *(undefined4 *)(lVar8 + 0x84);
		 *                   uVar7 = (ulong)*(ushort *)(lVar10 + 0x12e);
		 *                   if (uVar7 != 0) {
		 *                     piVar12 = (int *)(*(long *)(lVar10 + 0xb0) + 8);
		 *                     do {
		 *                       if (*(long *)(piVar12 + -2) == *(long *)PTR_DAT_07101890) {
		 *                         puVar9 = (undefined8 *)(lVar10 + (long)*piVar12 * 0x10 + 0x138);
		 *                         goto LAB_05bbe040;
		 *                       }
		 *                       uVar7 = uVar7 - 1;
		 *                       piVar12 = piVar12 + 4;
		 *                     } while (uVar7 != 0);
		 *                   }
		 *                   puVar9 = (undefined8 *)func_0x03237558(plVar13,*(long *)PTR_DAT_07101890,0);
		 * LAB_05bbe040:
		 *                   uVar7 = (*(code *)*puVar9)(plVar13,uVar1,puVar9[1]);
		 *                   if ((uVar7 & 1) != 0) {
		 *                     plVar13 = *(long **)(lVar8 + 0x78);
		 *                     if (plVar13 == null) goto LAB_05bbe0d4;
		 *                     lVar10 = *plVar13;
		 *                     uVar7 = (ulong)*(ushort *)(lVar10 + 0x12e);
		 *                     if (uVar7 != 0) {
		 *                       piVar12 = (int *)(*(long *)(lVar10 + 0xb0) + 8);
		 *                       do {
		 *                         if (*(long *)(piVar12 + -2) == *(long *)PTR_DAT_070c9620) {
		 *                           puVar9 = (undefined8 *)(lVar10 + (long)(*piVar12 + 3) * 0x10 + 0x138);
		 *                           goto LAB_05bbe0b4;
		 *                         }
		 *                         uVar7 = uVar7 - 1;
		 *                         piVar12 = piVar12 + 4;
		 *                       } while (uVar7 != 0);
		 *                     }
		 *                     puVar9 = (undefined8 *)func_0x03237558(plVar13,*(long *)PTR_DAT_070c9620,3);
		 * LAB_05bbe0b4:
		 *                     (*(code *)*puVar9)(plVar13,puVar9[1]);
		 *                   }
		 *                 }
		 *                 *(byte *)(lVar8 + 0x10) = bVar3;
		 *               }
		 *               return;
		 *             }
		 *           }
		 *           return;
		 *         }
		 *       }
		 *     }
		 *     else {
		 *       bVar5 = System.String.op_Equality(pvVar6,*(void **)PTR_DAT_070c59f8);
		 *       if (bVar5) {
		 *         if (this.recorder != null) {
		 *           uVar14 = *(undefined8 *)((long)this.recorder + 0x38);
		 *           if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *             func_0x031fde08();
		 *           }
		 *           uVar7 = UnityEngine.Object.op_Implicit(uVar14);
		 *           if ((uVar7 & 1) == 0) {
		 *             return;
		 *           }
		 *           if ((this.recorder != null) &&
		 *              (pvVar6 = *(void **)((long)this.recorder + 0x38), pvVar6 != null)) {
		 *             bVar3 = *(byte *)((long)toggle + 0x120);
		 *             pvVar11 = (void *)(ulong)bVar3;
		 *             if ((bRam00000000075556f1 & 1) == 0) {
		 *               func_0x031fdc8c(PTR_DAT_070cb518,pvVar11,0);
		 *               bRam00000000075556f1 = 1;
		 *               pvVar11 = extraout_x1;
		 *             }
		 *             *(byte *)((long)pvVar6 + 0x28) = bVar3 & 1;
		 *             pvVar11 = Recorder.get_VoiceDetector(pvVar6);
		 *             if (pvVar11 == null) {
		 *               return;
		 *             }
		 *             plVar13 = Recorder.get_VoiceDetector(pvVar6);
		 *             if (plVar13 == null) {
		 *               IL2CPP.ThrowNullReferenceException();
		 *             }
		 *             lVar8 = *plVar13;
		 *             uVar7 = (ulong)*(ushort *)(lVar8 + 0x12e);
		 *             if (uVar7 != 0) {
		 *               piVar12 = (int *)(*(long *)(lVar8 + 0xb0) + 8);
		 *               do {
		 *                 if (*(long *)(piVar12 + -2) == *(long *)PTR_DAT_070cb518) {
		 *                   puVar9 = (undefined8 *)(lVar8 + (long)(*piVar12 + 1) * 0x10 + 0x138);
		 *                   goto LAB_05bdd9d0;
		 *                 }
		 *                 uVar7 = uVar7 - 1;
		 *                 piVar12 = piVar12 + 4;
		 *               } while (uVar7 != 0);
		 *             }
		 *             puVar9 = (undefined8 *)func_0x03237558(plVar13,*(long *)PTR_DAT_070cb518,1);
		 * LAB_05bdd9d0:
		 *             (*(code *)*puVar9)(plVar13,bVar3 & 1,puVar9[1]);
		 *             return;
		 *           }
		 *         }
		 *       }
		 *       else {
		 *         bVar5 = System.String.op_Equality(pvVar6,*(void **)PTR_DAT_070c5a08)
		 *         ;
		 *         if (bVar5) {
		 *           if (this.recorder != null) {
		 *             uVar14 = *(undefined8 *)((long)this.recorder + 0x38);
		 *             if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *             }
		 *             uVar7 = UnityEngine.Object.op_Implicit(uVar14);
		 *             if ((uVar7 & 1) == 0) {
		 *               return;
		 *             }
		 *             if ((this.recorder != null) &&
		 *                (lVar8 = *(long *)((long)this.recorder + 0x38), lVar8 != 0)) {
		 *               if (*(void **)(lVar8 + 0x40) == null) {
		 *                 IL2CPP.ThrowNullReferenceException();
		 *               }
		 *               bVar5 = (bool)(*(byte *)((long)toggle + 0x120) & 1);
		 *               Photon.Voice.LocalVoice.set_DebugEchoMode(*(void **)(lVar8 + 0x40),bVar5);
		 *               *(bool *)(lVar8 + 0x68) = bVar5;
		 *               return;
		 *             }
		 *           }
		 *         }
		 *         else {
		 *           bVar5 = System.String.op_Equality(pvVar6,*(void **)PTR_DAT_070c5a18);
		 *           if (bVar5) {
		 *             bVar3 = *(byte *)((long)toggle + 0x120);
		 *             if ((bRam000000000754acb2 & 1) == 0) {
		 *               func_0x031fdc8c(PTR_DAT_070c59a0);
		 *               bRam000000000754acb2 = 1;
		 *             }
		 *             this.debugMode = (bool)(bVar3 & 1);
		 *             if (this.debugGO != null) {
		 *               UnityEngine.GameObject.SetActive(this.debugGO,(bool)(bVar3 & 1));
		 *               plVar13 = this.voiceDebugText;
		 *               if (plVar13 != null) {
		 *                 (**(code **)(*plVar13 + 0x5e8))
		 *                           (plVar13,**(undefined8 **)(*(long *)(PTR_DAT_070c0840 + 0x90) + 0xb8),
		 *                            *(undefined8 *)(*plVar13 + 0x5f0));
		 *                 bVar5 = this.debugMode;
		 *                 pvVar6 = this.punVoiceClient;
		 *                 if (bVar5 == false) {
		 *                   if (((pvVar6 != null) && (*(long *)((long)pvVar6 + 0x50) != 0)) &&
		 *                      (lVar8 = *(long *)(*(long *)((long)pvVar6 + 0x50) + 0x10), lVar8 != 0)) {
		 *                     *(char *)(lVar8 + 0x40) = (char)this.previousDebugLevel;
		 *                     goto LAB_03382ef0;
		 *                   }
		 *                 }
		 *                 else if (((pvVar6 != null) && (*(long *)((long)pvVar6 + 0x50) != 0)) &&
		 *                         (lVar8 = *(long *)(*(long *)((long)pvVar6 + 0x50) + 0x10), lVar8 != 0)) {
		 *                   uVar2 = *(undefined1 *)(lVar8 + 0x40);
		 *                   *(undefined1 *)(lVar8 + 0x40) = 5;
		 *                   *(undefined1 *)&this.previousDebugLevel = uVar2;
		 * LAB_03382ef0:
		 *                   lVar8 = **(long **)(*(long *)PTR_DAT_070c59a0 + 0xb8);
		 *                   if (lVar8 == 0) {
		 *                     return;
		 *                   }
		 *                   (**(code **)(lVar8 + 0x18))
		 *                             (*(undefined8 *)(lVar8 + 0x40),bVar5 != false,
		 *                              *(undefined8 *)(lVar8 + 0x28));
		 *                   return;
		 *                 }
		 *               }
		 *             }
		 *             IL2CPP.ThrowNullReferenceException();
		 *           }
		 *           bVar5 = System.String.op_Equality(pvVar6,*(void **)PTR_DAT_070c59f0);
		 *           if (!bVar5) {
		 *             return;
		 *           }
		 *           if (this.punVoiceClient != null) {
		 *             *(undefined1 *)((long)this.punVoiceClient + 0xd4) =
		 *                  *(undefined1 *)((long)toggle + 0x120);
		 *             return;
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3283878 VA: 0x781896E878
		private void OnCameraChanged(UnityEngine.Camera newCamera);
		/*
		 *   undefined *puVar1;
		 *   void *obj;
		 *   long lVar2;
		 *   undefined8 uVar3;
		 *
		 *   obj = this.canvas;
		 *   if (obj == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if ((bRam0000000007563e61 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_07161e58,newCamera,0);
		 *     func_0x031fdc8c(PTR_DAT_0714e4b8);
		 *     bRam0000000007563e61 = 1;
		 *   }
		 *   puVar1 = PTR_DAT_0714e4b8;
		 *   if (obj != null) {
		 *     lVar2 = *(long *)((long)obj + 0x10);
		 *     if (lVar2 == 0) {
		 *       UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(obj);
		 *     }
		 *     if (*(long *)(*(long *)puVar1 + 0x38) == 0) {
		 *       func_0x03237280();
		 *     }
		 *     uVar3 = 0;
		 *     if (newCamera != null) {
		 *       uVar3 = *(undefined8 *)((long)newCamera + 0x10);
		 *     }
		 *     if (pcRam0000000007563f58 == null) {
		 *       pcRam0000000007563f58 = (code *)func_0x031fdc50(&UNK_0135ef95);
		 *     }
		 *     (*pcRam0000000007563f58)(lVar2,uVar3);
		 *     return;
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3283890 VA: 0x781896E890
		private void Start();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   undefined *puVar5;
		 *   undefined *puVar6;
		 *   int iVar7;
		 *   int iVar8;
		 *   void *pvVar9;
		 *   long lVar10;
		 *   ulong uVar11;
		 *   undefined8 uVar12;
		 *   long *plVar13;
		 *   long *plVar14;
		 *   long *plVar15;
		 *   void *pvVar16;
		 *   undefined8 *puVar17;
		 *   int extraout_w1;
		 *   int extraout_w1_00;
		 *   void *extraout_x1;
		 *   void *pvVar18;
		 *   int *piVar19;
		 *   void *pvVar20;
		 *   long *plVar21;
		 *   long lVar22;
		 *   float fVar23;
		 *
		 *   puVar6 = PTR_DAT_070c59d0;
		 *   puVar5 = PTR_DAT_070c59c8;
		 *   puVar4 = PTR_DAT_070c59c0;
		 *   puVar3 = PTR_DAT_070c5918;
		 *   puVar2 = PTR_DAT_070c58f0;
		 *   puVar1 = PTR_DAT_070c58d0;
		 *   if ((bRam000000000754acba & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c59d8);
		 *     func_0x031fdc8c(PTR_DAT_070c5a20);
		 *     func_0x031fdc8c(PTR_DAT_070c5a28);
		 *     func_0x031fdc8c(PTR_DAT_070c5a30);
		 *     func_0x031fdc8c(PTR_DAT_070c5a38);
		 *     func_0x031fdc8c(PTR_DAT_070c5a40);
		 *     func_0x031fdc8c(PTR_DAT_070c5a48);
		 *     func_0x031fdc8c(PTR_DAT_070c5a50);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IDisposable_6FC11D0);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c58d0);
		 *     func_0x031fdc8c(PTR_DAT_070c5918);
		 *     func_0x031fdc8c(PTR_DAT_070c58f0);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(PTR_DAT_070c5a58);
		 *     func_0x031fdc8c(PTR_DAT_070c5a60);
		 *     func_0x031fdc8c(PTR_DAT_070c5a68);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_UnityAction_6FC5940);
		 *     func_0x031fdc8c(PTR_DAT_070c59c8);
		 *     func_0x031fdc8c(PTR_DAT_070c5a70);
		 *     func_0x031fdc8c(PTR_DAT_070c59d0);
		 *     func_0x031fdc8c(PTR_DAT_070c59c0);
		 *     func_0x031fdc8c(PTR_DAT_070c59e0);
		 *     func_0x031fdc8c(PTR_DAT_070c5a78);
		 *     func_0x031fdc8c(PTR_DAT_070c59e8);
		 *     func_0x031fdc8c(PTR_DAT_070c5a80);
		 *     func_0x031fdc8c(PTR_DAT_070c5a88);
		 *     func_0x031fdc8c(PTR_DAT_070c2008);
		 *     func_0x031fdc8c(PTR_DAT_070c5a90);
		 *     func_0x031fdc8c(PTR_DAT_070c5a98);
		 *     bRam000000000754acba = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)puVar1,methodInfo);
		 *   OnCameraChanged..ctor(pvVar9,this,*(void **)puVar4);
		 *   ChangePOV.add_CameraChanged(pvVar9);
		 *   pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
		 *   pvVar18 = null;
		 *   OnToggle..ctor(pvVar9,this,*(void **)puVar5);
		 *   BetterToggle.add_ToggleValueChanged(pvVar9);
		 *   pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
		 *   OnCharacterInstantiated..ctor(pvVar9,this,*(void **)puVar6);
		 *   CharacterInstantiation.add_CharacterInstantiated(pvVar9);
		 *   puVar2 = PTR_DAT_070c59e8;
		 *   puVar1 = PTR_DAT_070c59d8;
		 *   if (this.punVoiceClient != null) {
		 *     pvVar18 = *(void **)((long)this.punVoiceClient + 0x50);
		 *     pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070c59d8);
		 *     func_0x04de7524(pvVar9,this,*(undefined8 *)puVar2,0);
		 *     puVar3 = PTR_DAT_070c59e0;
		 *     puVar2 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *     if (pvVar18 != null) {
		 *       Photon.Realtime.LoadBalancingClient.add_StateChanged(pvVar18,pvVar9);
		 *       lVar10 = *(long *)puVar2;
		 *       if (*(int *)(lVar10 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *         lVar10 = *(long *)puVar2;
		 *       }
		 *       pvVar20 = *(void **)(*(long *)(lVar10 + 0xb8) + 8);
		 *       pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)puVar1);
		 *       pvVar18 = null;
		 *       func_0x04de7524(pvVar9,this,*(undefined8 *)puVar3);
		 *       puVar3 = PTR_DAT_070c5a28;
		 *       puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *       if (pvVar20 != null) {
		 *         Photon.Realtime.LoadBalancingClient.add_StateChanged(pvVar20,pvVar9);
		 *         pvVar9 = (void *)func_0x0373e12c(this,*(undefined8 *)puVar3);
		 *         this.canvas = pvVar9;
		 *         func_0x031fdc38(&this.canvas,pvVar9);
		 *         pvVar9 = this.punSwitch;
		 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *         }
		 *         uVar11 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *         if ((uVar11 & 1) != 0) {
		 *           if (this.punSwitch == null) goto LAB_033842ec;
		 *           pvVar9 = (void *)func_0x0373e12c(this.punSwitch,*(undefined8 *)PTR_DAT_070c5a30);
		 *           this.punSwitchText = pvVar9;
		 *           func_0x031fdc38(&this.punSwitchText,pvVar9);
		 *           if (this.punSwitch == null) goto LAB_033842ec;
		 *           pvVar20 = *(void **)((long)this.punSwitch + 0x100);
		 *           pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)
		 *                                             typeinfo_ptr_UnityEngine_CoreModule_UnityAction_6FC5940)
		 *           ;
		 *           pvVar18 = null;
		 *           UnityEngine.Events.UnityAction..ctor(pvVar9,this,*(void **)PTR_DAT_070c5a78);
		 *           if (pvVar20 == null) goto LAB_033842ec;
		 *           UnityEngine.Events.UnityEvent.AddListener(pvVar20,pvVar9);
		 *         }
		 *         pvVar9 = this.voiceSwitch;
		 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *         }
		 *         uVar11 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *         if ((uVar11 & 1) != 0) {
		 *           if (this.voiceSwitch == null) goto LAB_033842ec;
		 *           pvVar9 = (void *)func_0x0373e12c(this.voiceSwitch,*(undefined8 *)PTR_DAT_070c5a30);
		 *           this.voiceSwitchText = pvVar9;
		 *           func_0x031fdc38(&this.voiceSwitchText,pvVar9);
		 *           if (this.voiceSwitch == null) goto LAB_033842ec;
		 *           pvVar20 = *(void **)((long)this.voiceSwitch + 0x100);
		 *           pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)
		 *                                             typeinfo_ptr_UnityEngine_CoreModule_UnityAction_6FC5940)
		 *           ;
		 *           pvVar18 = null;
		 *           UnityEngine.Events.UnityAction..ctor(pvVar9,this,*(void **)PTR_DAT_070c5a80);
		 *           if (pvVar20 == null) goto LAB_033842ec;
		 *           UnityEngine.Events.UnityEvent.AddListener(pvVar20,pvVar9);
		 *         }
		 *         pvVar9 = this.calibrateButton;
		 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *         }
		 *         uVar11 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *         if ((uVar11 & 1) != 0) {
		 *           if (this.calibrateButton == null) goto LAB_033842ec;
		 *           pvVar20 = *(void **)((long)this.calibrateButton + 0x100);
		 *           pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)
		 *                                             typeinfo_ptr_UnityEngine_CoreModule_UnityAction_6FC5940)
		 *           ;
		 *           pvVar18 = null;
		 *           UnityEngine.Events.UnityAction..ctor(pvVar9,this,*(void **)PTR_DAT_070c5a70);
		 *           if (pvVar20 == null) goto LAB_033842ec;
		 *           UnityEngine.Events.UnityEvent.AddListener(pvVar20,pvVar9);
		 *           if (this.calibrateButton == null) goto LAB_033842ec;
		 *           pvVar9 = (void *)func_0x0373e12c(this.calibrateButton,*(undefined8 *)PTR_DAT_070c5a30);
		 *           this.calibrateText = pvVar9;
		 *           func_0x031fdc38();
		 *         }
		 *         pvVar9 = this.punState;
		 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *         }
		 *         uVar11 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *         if ((uVar11 & 1) != 0) {
		 *           if (((this.punState == null) ||
		 *               (pvVar9 = UnityEngine.Component.get_transform(this.punState), pvVar9 == null)) ||
		 *              (pvVar9 = UnityEngine.Transform.get_parent(pvVar9),
		 *              pvVar9 == null)) goto LAB_033842ec;
		 *           pvVar9 = UnityEngine.Component.get_gameObject(pvVar9);
		 *           this.debugGO = pvVar9;
		 *           func_0x031fdc38();
		 *         }
		 *         fVar23 = UnityEngine.AudioListener.get_volume();
		 *         this.volumeBeforeMute = fVar23;
		 *         if (((this.punVoiceClient != null) &&
		 *             (lVar10 = *(long *)((long)this.punVoiceClient + 0x50), lVar10 != 0)) &&
		 *            (lVar10 = *(long *)(lVar10 + 0x10), lVar10 != 0)) {
		 *           pvVar9 = this.globalSettings;
		 *           iVar7 = *(int *)(*(long *)puVar1 + 0xe4);
		 *           *(undefined1 *)&this.previousDebugLevel = *(undefined1 *)(lVar10 + 0x40);
		 *           if (iVar7 == 0) {
		 *             func_0x031fde08();
		 *           }
		 *           uVar11 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *           if ((uVar11 & 1) != 0) {
		 *             if (this.globalSettings == null) goto LAB_033842ec;
		 *             pvVar9 = null;
		 *             UnityEngine.GameObject.SetActive(this.globalSettings,true);
		 *             if (this.globalSettings == null) goto LAB_033842ec;
		 *             pvVar20 = (void *)func_0x037f3a4c(this.globalSettings,*(undefined8 *)PTR_DAT_070c5a50);
		 *             VoiceDemoUI.InitToggles(this,pvVar20);
		 *           }
		 *           pvVar9 = this.devicesInfoText;
		 *           if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *             func_0x031fde08();
		 *           }
		 *           pvVar20 = null;
		 *           uVar11 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *           if ((uVar11 & 1) != 0) {
		 *             if (this.punVoiceClient == null) goto LAB_033842ec;
		 *             uVar12 = Photon.Voice.Unity.VoiceConnection.get_Logger(this.punVoiceClient);
		 *             plVar13 = (long *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070c5a20);
		 *             AudioInEnumerator..ctor(plVar13,uVar12);
		 *             if (this.punVoiceClient == null) {
		 *               IL2CPP.ThrowNullReferenceException();
		 *             }
		 *             uVar12 = Photon.Voice.Unity.VoiceConnection.get_Logger(this.punVoiceClient);
		 *             plVar14 = (long *)Oculus.Platform.CreateAudioInEnumerator(uVar12);
		 *             puVar1 = PTR_DAT_070c5a38;
		 *             iVar7 = func_0x0377c110(plVar13,*(undefined8 *)PTR_DAT_070c5a38);
		 *             iVar8 = func_0x0377c110(plVar14,*(undefined8 *)puVar1);
		 *             puVar1 = PTR_DAT_070c5a68;
		 *             plVar21 = this.devicesInfoText;
		 *             if (iVar8 + iVar7 == 0) {
		 *               if (plVar21 == null) {
		 *                 IL2CPP.ThrowNullReferenceException();
		 *               }
		 *               UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(plVar21,true);
		 *               plVar21 = this.devicesInfoText;
		 *               if (plVar21 == null) {
		 *                 IL2CPP.ThrowNullReferenceException();
		 *               }
		 *               (**(code **)(*plVar21 + 0x2a8))
		 *                         (0x3f800000,0,0,0x3f800000,plVar21,*(undefined8 *)(*plVar21 + 0x2b0));
		 *               plVar21 = this.devicesInfoText;
		 *               if (plVar21 == null) {
		 *                 IL2CPP.ThrowNullReferenceException();
		 *               }
		 *               pvVar20 = *(void **)(*plVar21 + 0x5f0);
		 *               (**(code **)(*plVar21 + 0x5e8))(plVar21,*(undefined8 *)PTR_DAT_070c5a98);
		 *             }
		 *             else {
		 *               lVar10 = *(long *)PTR_DAT_070c5a68;
		 *               if (*(int *)(lVar10 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *                 lVar10 = *(long *)puVar1;
		 *               }
		 *               puVar3 = PTR_DAT_070c2008;
		 *               puVar17 = *(undefined8 **)(lVar10 + 0xb8);
		 *               lVar22 = puVar17[1];
		 *               pvVar18 = *(void **)PTR_DAT_070c2008;
		 *               pvVar9 = *(void **)PTR_DAT_070c5a88;
		 *               if (lVar22 == 0) {
		 *                 if (*(int *)(lVar10 + 0xe4) == 0) {
		 *                   func_0x031fde08();
		 *                   puVar17 = *(undefined8 **)(*(long *)puVar1 + 0xb8);
		 *                 }
		 *                 uVar12 = *puVar17;
		 *                 lVar22 = func_0x031fdf24(*(undefined8 *)PTR_DAT_070c5a48);
		 *                 func_0x052eba34(lVar22,uVar12,*(undefined8 *)PTR_DAT_070c5a58,0);
		 *                 plVar15 = (long *)(*(long *)(*(long *)puVar1 + 0xb8) + 8);
		 *                 *plVar15 = lVar22;
		 *                 func_0x031fdc38(plVar15,lVar22);
		 *               }
		 *               puVar4 = PTR_DAT_070c5a40;
		 *               pvVar20 = (void *)func_0x0378b568(plVar13,lVar22,*(undefined8 *)PTR_DAT_070c5a40);
		 *               pvVar18 = System.String.Join(pvVar18,pvVar20);
		 *               pvVar9 = System.String.Concat(pvVar9,pvVar18);
		 *               if (plVar21 == null) {
		 *                 IL2CPP.ThrowNullReferenceException();
		 *               }
		 *               (**(code **)(*plVar21 + 0x5e8))(plVar21,pvVar9,*(undefined8 *)(*plVar21 + 0x5f0));
		 *               plVar21 = this.devicesInfoText;
		 *               if (plVar21 == null) {
		 *                 IL2CPP.ThrowNullReferenceException();
		 *               }
		 *               pvVar9 = (void *)(**(code **)(*plVar21 + 0x5d8))
		 *                                          (plVar21,*(undefined8 *)(*plVar21 + 0x5e0));
		 *               lVar10 = *(long *)puVar1;
		 *               if (*(int *)(lVar10 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *                 lVar10 = *(long *)puVar1;
		 *               }
		 *               puVar17 = *(undefined8 **)(lVar10 + 0xb8);
		 *               pvVar18 = *(void **)puVar3;
		 *               lVar22 = puVar17[2];
		 *               pvVar20 = *(void **)PTR_DAT_070c5a90;
		 *               if (lVar22 == 0) {
		 *                 if (*(int *)(lVar10 + 0xe4) == 0) {
		 *                   func_0x031fde08();
		 *                   puVar17 = *(undefined8 **)(*(long *)puVar1 + 0xb8);
		 *                 }
		 *                 uVar12 = *puVar17;
		 *                 lVar22 = func_0x031fdf24(*(undefined8 *)PTR_DAT_070c5a48);
		 *                 func_0x052eba34(lVar22,uVar12,*(undefined8 *)PTR_DAT_070c5a60,0);
		 *                 plVar15 = (long *)(*(long *)(*(long *)puVar1 + 0xb8) + 0x10);
		 *                 *plVar15 = lVar22;
		 *                 func_0x031fdc38(plVar15,lVar22);
		 *               }
		 *               pvVar16 = (void *)func_0x0378b568(plVar14,lVar22,*(undefined8 *)puVar4);
		 *               pvVar16 = System.String.Join(pvVar18,pvVar16);
		 *               pvVar18 = null;
		 *               pvVar9 = System.String.Concat(pvVar9,pvVar20,pvVar16);
		 *               pvVar20 = *(void **)(*plVar21 + 0x5f0);
		 *               (**(code **)(*plVar21 + 0x5e8))(plVar21,pvVar9);
		 *             }
		 *             if (plVar14 != null) {
		 *               lVar10 = *plVar14;
		 *               uVar11 = (ulong)*(ushort *)(lVar10 + 0x12e);
		 *               if (uVar11 != 0) {
		 *                 piVar19 = (int *)(*(long *)(lVar10 + 0xb0) + 8);
		 *                 do {
		 *                   if (*(long *)(piVar19 + -2) == *(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0)
		 *                   {
		 *                     puVar17 = (undefined8 *)(lVar10 + (long)*piVar19 * 0x10 + 0x138);
		 *                     goto LAB_033841ec;
		 *                   }
		 *                   uVar11 = uVar11 - 1;
		 *                   piVar19 = piVar19 + 4;
		 *                 } while (uVar11 != 0);
		 *               }
		 *               pvVar20 = null;
		 *               puVar17 = (undefined8 *)func_0x03237558(plVar14);
		 * LAB_033841ec:
		 *               (*(code *)*puVar17)(plVar14,puVar17[1]);
		 *             }
		 *             if (plVar13 != null) {
		 *               lVar10 = *plVar13;
		 *               uVar11 = (ulong)*(ushort *)(lVar10 + 0x12e);
		 *               if (uVar11 != 0) {
		 *                 piVar19 = (int *)(*(long *)(lVar10 + 0xb0) + 8);
		 *                 do {
		 *                   if (*(long *)(piVar19 + -2) == *(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0)
		 *                   {
		 *                     puVar17 = (undefined8 *)(lVar10 + (long)*piVar19 * 0x10 + 0x138);
		 *                     goto LAB_03384264;
		 *                   }
		 *                   uVar11 = uVar11 - 1;
		 *                   piVar19 = piVar19 + 4;
		 *                 } while (uVar11 != 0);
		 *               }
		 *               pvVar20 = null;
		 *               puVar17 = (undefined8 *)func_0x03237558(plVar13);
		 * LAB_03384264:
		 *               (*(code *)*puVar17)(plVar13,puVar17[1]);
		 *             }
		 *           }
		 *           if (this.punVoiceClient != null) {
		 *             iVar7 = Photon.Voice.Unity.VoiceConnection.get_ClientState(this.punVoiceClient);
		 *             VoiceDemoUI.UpdateUiBasedOnVoiceState(this,iVar7);
		 *             lVar10 = *(long *)puVar2;
		 *             iVar7 = extraout_w1;
		 *             if (*(int *)(lVar10 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *               lVar10 = *(long *)puVar2;
		 *               iVar7 = extraout_w1_00;
		 *             }
		 *             lVar10 = *(long *)(*(long *)(lVar10 + 0xb8) + 8);
		 *             if (lVar10 != 0) {
		 *               VoiceDemoUI.PunClientStateChanged(this,iVar7,*(int *)(lVar10 + 0x9c));
		 *               return;
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 * LAB_033842ec:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3284588 VA: 0x781896F588
		private void PunSwitchOnClick();
		/*
		 *   byte bVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   int iVar5;
		 *   uint uVar6;
		 *   void *pvVar7;
		 *   long *plVar8;
		 *   ulong uVar9;
		 *   long lVar10;
		 *   undefined8 *puVar11;
		 *   void *pvVar12;
		 *   long *plVar13;
		 *   void *extraout_x1;
		 *   void *extraout_x1_00;
		 *   void *extraout_x1_01;
		 *   void *methodInfo_00;
		 *   void *extraout_x1_02;
		 *   void *extraout_x1_03;
		 *   void *extraout_x1_04;
		 *   void *extraout_x1_05;
		 *   void *extraout_x1_06;
		 *   void *extraout_x1_07;
		 *   void *extraout_x1_08;
		 *   void *extraout_x1_09;
		 *   void *extraout_x1_10;
		 *   void *extraout_x1_11;
		 *   void *extraout_x1_12;
		 *   long lVar14;
		 *   undefined8 uStack_78;
		 *   undefined8 uStack_70;
		 *   undefined4 uStack_68;
		 *   undefined8 uStack_60;
		 *   undefined8 uStack_58;
		 *   undefined4 uStack_50;
		 *   undefined8 uStack_48;
		 *   undefined8 uStack_40;
		 *   undefined4 uStack_38;
		 *
		 *   puVar3 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *   if ((bRam000000000754acbb & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     bRam000000000754acbb = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar3,methodInfo);
		 *   }
		 *   iVar5 = Photon.Pun.PhotonNetwork.get_NetworkClientState();
		 *   if (iVar5 != 9) {
		 *     if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     iVar5 = Photon.Pun.PhotonNetwork.get_NetworkClientState();
		 *     if (iVar5 != 0xe) {
		 *       if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       iVar5 = Photon.Pun.PhotonNetwork.get_NetworkClientState();
		 *       if (iVar5 != 0) {
		 *         return;
		 *       }
		 *     }
		 *     if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     puVar3 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *     if ((bRam0000000007555211 & 1) == 0) {
		 *       func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *       func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *       func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *       func_0x031fdc8c(PTR_DAT_070ff730);
		 *       bRam0000000007555211 = 1;
		 *     }
		 *     puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *     pvVar12 = *(void **)puVar3;
		 *     if (*(int *)((long)pvVar12 + 0xe4) == 0) {
		 *       pvVar12 = (void *)func_0x031fde08();
		 *     }
		 *     pvVar12 = Photon.Pun.PhotonNetwork.get_PhotonServerSettings();
		 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)puVar2);
		 *     }
		 *     uVar9 = UnityEngine.Object.op_Equality(pvVar12,null);
		 *     puVar2 = PTR_DAT_070ff730;
		 *     if ((uVar9 & 1) != 0) {
		 *       if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       UnityEngine.Debug.LogError(*(void **)puVar2);
		 *       return;
		 *     }
		 *     pvVar12 = *(void **)puVar3;
		 *     if (*(int *)((long)pvVar12 + 0xe4) == 0) {
		 *       pvVar12 = (void *)func_0x031fde08();
		 *     }
		 *     pvVar12 = Photon.Pun.PhotonNetwork.get_PhotonServerSettings();
		 *     if (pvVar12 != null) {
		 *       lVar10 = *(long *)((long)pvVar12 + 0x18);
		 *       pvVar12 = Photon.Pun.PhotonNetwork.get_PhotonServerSettings();
		 *       puVar3 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *       if (pvVar12 != null) {
		 *         bVar1 = *(byte *)((long)pvVar12 + 0x2e);
		 *         if ((bRam0000000007555212 & 1) == 0) {
		 *           func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_ConnectionHandler_6FFE6E0);
		 *           func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *           func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *           func_0x031fdc8c(typeinfo_ptr_Photon3Unity3D_PeerStateValue_6FFD690);
		 *           func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *           func_0x031fdc8c(PTR_DAT_070fe890);
		 *           func_0x031fdc8c(PTR_DAT_070ff730);
		 *           func_0x031fdc8c(PTR_DAT_070ff738);
		 *           func_0x031fdc8c(PTR_DAT_070ff740);
		 *           bRam0000000007555212 = 1;
		 *         }
		 *         lVar14 = *(long *)puVar3;
		 *         if (*(int *)(lVar14 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *           lVar14 = *(long *)puVar3;
		 *         }
		 *         puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *         lVar14 = *(long *)(*(long *)(lVar14 + 0xb8) + 8);
		 *         if ((lVar14 != 0) && (pvVar12 = *(void **)(lVar14 + 0x10), pvVar12 != null)) {
		 *           uVar6 = ExitGames.Client.Photon.PhotonPeer.get_PeerState(pvVar12);
		 *           if ((uVar6 & 0xff) == 0) {
		 *             if (**(char **)(*(long *)typeinfo_ptr_PhotonRealtime_ConnectionHandler_6FFE6E0 + 0xb8)
		 *                 == '\0') {
		 *               pvVar12 = *(void **)puVar3;
		 *               if (*(int *)((long)pvVar12 + 0xe4) == 0) {
		 *                 pvVar12 = (void *)func_0x031fde08();
		 *               }
		 *               pvVar12 = Photon.Pun.PhotonNetwork.get_PhotonServerSettings();
		 *               if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0)
		 *               {
		 *                 func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *               }
		 *               uVar9 = UnityEngine.Object.op_Equality(pvVar12,null);
		 *               if ((uVar9 & 1) != 0) {
		 *                 if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *                   func_0x031fde08();
		 *                 }
		 *                 UnityEngine.Debug.LogError(*(void **)PTR_DAT_070ff730);
		 *                 return;
		 *               }
		 *               pvVar12 = *(void **)puVar3;
		 *               if (*(int *)((long)pvVar12 + 0xe4) == 0) {
		 *                 pvVar12 = (void *)func_0x031fde08();
		 *               }
		 *               Photon.Pun.PhotonNetwork.SetupLogging();
		 *               if (cRam00000000075552d1 == '\0') {
		 *                 func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *                 cRam00000000075552d1 = '\x01';
		 *               }
		 *               lVar14 = *(long *)puVar3;
		 *               if (*(int *)(lVar14 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *                 lVar14 = *(long *)puVar3;
		 *               }
		 *               lVar14 = *(long *)(lVar14 + 0xb8);
		 *               *(undefined1 *)(lVar14 + 0x54) = 1;
		 *               if ((lVar10 != 0) && (lVar14 = *(long *)(lVar14 + 8), lVar14 != 0)) {
		 *                 *(undefined8 *)(lVar14 + 0x20) = *(undefined8 *)(lVar10 + 0x10);
		 *                 func_0x031fdc38();
		 *                 Photon.Pun.PhotonNetwork.set_GameVersion(*(void **)(lVar10 + 0x30));
		 *                 if ((bVar1 & 1) != 0) {
		 *                   pvVar12 = extraout_x1_02;
		 *                   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *                     func_0x031fde08();
		 *                     pvVar12 = extraout_x1_03;
		 *                   }
		 *                   Photon.Pun.PhotonNetwork.set_OfflineMode(true);
		 *                   return;
		 *                 }
		 *                 pvVar12 = extraout_x1_02;
		 *                 if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *                   func_0x031fde08();
		 *                   pvVar12 = extraout_x1_04;
		 *                 }
		 *                 if (cRam000000000754a95f == '\0') {
		 *                   func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *                   cRam000000000754a95f = '\x01';
		 *                   pvVar12 = extraout_x1_05;
		 *                 }
		 *                 lVar14 = *(long *)puVar3;
		 *                 if (*(int *)(lVar14 + 0xe4) == 0) {
		 *                   func_0x031fde08();
		 *                   lVar14 = *(long *)puVar3;
		 *                   pvVar12 = extraout_x1_06;
		 *                 }
		 *                 if (*(char *)(*(long *)(lVar14 + 0xb8) + 0x38) != '\0') {
		 *                   if (*(int *)(lVar14 + 0xe4) == 0) {
		 *                     func_0x031fde08();
		 *                     pvVar12 = extraout_x1_07;
		 *                   }
		 *                   Photon.Pun.PhotonNetwork.set_OfflineMode(false);
		 *                   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *                     func_0x031fde08();
		 *                   }
		 *                   UnityEngine.Debug.LogWarning(*(void **)PTR_DAT_070ff740);
		 *                   lVar14 = *(long *)puVar3;
		 *                 }
		 *                 if (*(int *)(lVar14 + 0xe4) == 0) {
		 *                   func_0x031fde08();
		 *                   lVar14 = *(long *)puVar3;
		 *                 }
		 *                 plVar13 = *(long **)(*(long *)(lVar14 + 0xb8) + 8);
		 *                 if (plVar13 != null) {
		 *                   (**(code **)(*plVar13 + 0x1b8))(plVar13,lVar10,*(undefined8 *)(*plVar13 + 0x1c0));
		 *                   return;
		 *                 }
		 *               }
		 *               goto LAB_05b69d1c;
		 *             }
		 *             if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *             }
		 *             pvVar12 = *(void **)PTR_DAT_070ff738;
		 *           }
		 *           else {
		 *             lVar10 = *(long *)puVar3;
		 *             if (*(int *)(lVar10 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *               lVar10 = *(long *)puVar3;
		 *             }
		 *             puVar4 = PTR_DAT_070fe890;
		 *             puVar3 = typeinfo_ptr_Photon3Unity3D_PeerStateValue_6FFD690;
		 *             lVar10 = *(long *)(*(long *)(lVar10 + 0xb8) + 8);
		 *             if ((lVar10 == 0) || (pvVar12 = *(void **)(lVar10 + 0x10), pvVar12 == null))
		 *             goto LAB_05b69d1c;
		 *             iVar5 = ExitGames.Client.Photon.PhotonPeer.get_PeerState(pvVar12);
		 *             uStack_48 = *(undefined8 *)puVar3;
		 *             uStack_38 = CONCAT31(uStack_38._1_3_,(char)iVar5);
		 *             uStack_40 = 0xffffffffffffffff;
		 *             pvVar12 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_48);
		 *             pvVar12 = System.String.Concat(*(void **)puVar4,pvVar12);
		 *             if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *               func_0x031fde08(*(long *)puVar2);
		 *             }
		 *           }
		 *           UnityEngine.Debug.LogWarning(pvVar12);
		 *           return;
		 *         }
		 * LAB_05b69d1c:
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *     }
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   pvVar12 = extraout_x1_00;
		 *   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     pvVar12 = extraout_x1_01;
		 *   }
		 *   puVar3 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *   if ((bRam0000000007555216 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     bRam0000000007555216 = 1;
		 *     pvVar12 = extraout_x1_08;
		 *   }
		 *   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     pvVar12 = extraout_x1_09;
		 *   }
		 *   if (cRam000000000754a95f == '\0') {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     cRam000000000754a95f = '\x01';
		 *     pvVar12 = extraout_x1_10;
		 *   }
		 *   lVar10 = *(long *)puVar3;
		 *   if (*(int *)(lVar10 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar10 = *(long *)puVar3;
		 *     pvVar12 = extraout_x1_11;
		 *   }
		 *   lVar14 = *(long *)(lVar10 + 0xb8);
		 *   if (*(char *)(lVar14 + 0x38) != '\0') {
		 *     if (*(int *)(lVar10 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *       pvVar12 = extraout_x1_12;
		 *     }
		 *     Photon.Pun.PhotonNetwork.set_OfflineMode(false);
		 *     puVar11 = (undefined8 *)(*(long *)(*(long *)puVar3 + 0xb8) + 0x40);
		 *     *puVar11 = 0;
		 *     func_0x031fdc38(puVar11,0);
		 *     pvVar12 = *(void **)(*(long *)(*(long *)puVar3 + 0xb8) + 8);
		 *     if (pvVar12 != null) {
		 *       Photon.Realtime.LoadBalancingClient.set_State(pvVar12,0xd);
		 *       plVar13 = *(long **)(*(long *)(*(long *)puVar3 + 0xb8) + 8);
		 *       if (plVar13 != null) {
		 *         (**(code **)(*plVar13 + 0x238))(plVar13,0x401,*(undefined8 *)(*plVar13 + 0x240));
		 *         return;
		 *       }
		 *     }
		 * LAB_05b6a744:
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if (*(int *)(lVar10 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar10 = *(long *)puVar3;
		 *     lVar14 = *(long *)(lVar10 + 0xb8);
		 *   }
		 *   plVar13 = *(long **)(lVar14 + 8);
		 *   if (plVar13 == null) {
		 *     return;
		 *   }
		 *   if (*(int *)(lVar10 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     plVar13 = *(long **)(*(long *)(*(long *)puVar3 + 0xb8) + 8);
		 *     if (plVar13 == null) goto LAB_05b6a744;
		 *   }
		 *   if ((bRam00000000075550e5 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_ClientState_6FC2150);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210);
		 *     func_0x031fdc8c(PTR_DAT_070c0a80);
		 *     func_0x031fdc8c(PTR_DAT_070fe6e8);
		 *     func_0x031fdc8c(PTR_DAT_070fe6f0);
		 *     func_0x031fdc8c(PTR_DAT_070fe6f8);
		 *     bRam00000000075550e5 = 1;
		 *   }
		 *   iVar5 = *(int *)((long)plVar13 + 0x9c);
		 *   if (iVar5 != 0) {
		 *     if (iVar5 == 0xe) {
		 *       return;
		 *     }
		 *     if (iVar5 != 0xd) {
		 *       lVar10 = plVar13[0x14];
		 *       *(undefined4 *)((long)plVar13 + 0x9c) = 0xd;
		 *       if (lVar10 != 0) {
		 *         (**(code **)(lVar10 + 0x18))
		 *                   (*(undefined8 *)(lVar10 + 0x40),iVar5,0xd,*(undefined8 *)(lVar10 + 0x28));
		 *       }
		 *       plVar8 = (long *)plVar13[2];
		 *       *(undefined4 *)(plVar13 + 0x1d) = 0x11;
		 *       if (plVar8 != null) {
		 *         (**(code **)(*plVar8 + 0x1b8))(plVar8,*(undefined8 *)(*plVar8 + 0x1c0));
		 *         return;
		 *       }
		 *       goto LAB_05b44a2c;
		 *     }
		 *   }
		 *   pvVar12 = (void *)func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a80,6);
		 *   if (pvVar12 != null) {
		 *     if (*(int *)((long)pvVar12 + 0x18) != 0) {
		 *       *(undefined8 *)((long)pvVar12 + 0x20) = *(undefined8 *)PTR_DAT_070fe6f8;
		 *       func_0x031fdc38((undefined8 *)((long)pvVar12 + 0x20));
		 *       uStack_38 = *(undefined4 *)((long)plVar13 + 0x9c);
		 *       uStack_48 = *(undefined8 *)typeinfo_ptr_PhotonRealtime_ClientState_6FC2150;
		 *       uStack_40 = 0xffffffffffffffff;
		 *       pvVar7 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_48);
		 *       if ((*(uint *)((long)pvVar12 + 0x18) & 0xfffffffe) != 0) {
		 *         *(undefined8 *)((long)pvVar12 + 0x28) = pvVar7;
		 *         func_0x031fdc38((undefined8 *)((long)pvVar12 + 0x28),pvVar7);
		 *         if (2 < *(uint *)((long)pvVar12 + 0x18)) {
		 *           *(undefined8 *)((long)pvVar12 + 0x30) = *(undefined8 *)PTR_DAT_070fe6e8;
		 *           func_0x031fdc38((undefined8 *)((long)pvVar12 + 0x30));
		 *           puVar3 = typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210;
		 *           uStack_50 = (undefined4)plVar13[0x1d];
		 *           uStack_60 = *(undefined8 *)typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210;
		 *           uStack_58 = 0xffffffffffffffff;
		 *           pvVar7 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_60);
		 *           if ((*(uint *)((long)pvVar12 + 0x18) & 0xfffffffc) != 0) {
		 *             *(undefined8 *)((long)pvVar12 + 0x38) = pvVar7;
		 *             func_0x031fdc38((undefined8 *)((long)pvVar12 + 0x38),pvVar7);
		 *             if (4 < *(uint *)((long)pvVar12 + 0x18)) {
		 *               *(undefined8 *)((long)pvVar12 + 0x40) = *(undefined8 *)PTR_DAT_070fe6f0;
		 *               func_0x031fdc38((undefined8 *)((long)pvVar12 + 0x40));
		 *               uStack_78 = *(undefined8 *)puVar3;
		 *               uStack_68 = 0x11;
		 *               uStack_70 = 0xffffffffffffffff;
		 *               pvVar7 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_78);
		 *               if (5 < *(uint *)((long)pvVar12 + 0x18)) {
		 *                 *(void **)((long)pvVar12 + 0x48) = pvVar7;
		 *                 func_0x031fdc38();
		 *                 pvVar12 = System.String.Concat(pvVar12);
		 *                 (**(code **)(*plVar13 + 0x218))(plVar13,3,pvVar12,*(undefined8 *)(*plVar13 + 0x220))
		 *                 ;
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *     IL2CPP.ThrowIndexOutOfRangeException();
		 *   }
		 * LAB_05b44a2c:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328465C VA: 0x781896F65C
		private void VoiceSwitchOnClick();
		/*
		 *   undefined *puVar1;
		 *   bool bVar2;
		 *   int iVar3;
		 *   void *pvVar4;
		 *   void *pvVar5;
		 *   long *plVar6;
		 *   long *plVar7;
		 *   undefined8 *puVar8;
		 *   long lVar9;
		 *   ulong uVar10;
		 *   int *piVar11;
		 *   long lVar12;
		 *   undefined8 uVar13;
		 *   undefined8 uVar14;
		 *   undefined8 uStack_78;
		 *   undefined8 uStack_70;
		 *   undefined4 uStack_68;
		 *   undefined8 uStack_60;
		 *   undefined8 uStack_58;
		 *   undefined4 uStack_50;
		 *   undefined8 uStack_48;
		 *   undefined8 uStack_40;
		 *   undefined4 uStack_38;
		 *
		 *   if (this.punVoiceClient == null) goto LAB_033846d8;
		 *   iVar3 = Photon.Voice.Unity.VoiceConnection.get_ClientState(this.punVoiceClient);
		 *   pvVar4 = this.punVoiceClient;
		 *   if (iVar3 != 9) {
		 *     if (pvVar4 != null) {
		 *       iVar3 = Photon.Voice.Unity.VoiceConnection.get_ClientState(pvVar4);
		 *       if (iVar3 != 0) {
		 *         if (this.punVoiceClient == null) goto LAB_033846d8;
		 *         iVar3 = Photon.Voice.Unity.VoiceConnection.get_ClientState(this.punVoiceClient);
		 *         if (iVar3 != 0xe) {
		 *           return;
		 *         }
		 *       }
		 *       plVar7 = this.punVoiceClient;
		 *       if (plVar7 != null) {
		 *         if ((bRam00000000075556e2 & 1) == 0) {
		 *           func_0x031fdc8c(PTR_DAT_070c12e8,0);
		 *           func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *           func_0x031fdc8c(PTR_DAT_07102418);
		 *           func_0x031fdc8c(PTR_DAT_07102420);
		 *           bRam00000000075556e2 = 1;
		 *         }
		 *         uVar10 = (**(code **)(*plVar7 + 0x208))(plVar7,*(undefined8 *)(*plVar7 + 0x210));
		 *         if ((uVar10 & 1) == 0) {
		 *           if (plVar7[9] == 0) goto LAB_05bda834;
		 *           plVar7 = *(long **)(plVar7[9] + 0x18);
		 *           lVar12 = *(long *)PTR_DAT_070c12e8;
		 *           lVar9 = *(long *)(lVar12 + 0x38);
		 *           if (lVar9 == 0) {
		 *             func_0x03237280(lVar12);
		 *             lVar9 = *(long *)(lVar12 + 0x38);
		 *           }
		 *           lVar9 = *(long *)(lVar9 + 0x10);
		 *           if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *             lVar9 = func_0x03237224();
		 *           }
		 *           if (*(int *)(lVar9 + 0xe4) == 0) {
		 *             func_0x031fde08();
		 *           }
		 *           lVar9 = *(long *)(*(long *)(lVar12 + 0x38) + 0x10);
		 *           if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *             lVar9 = func_0x03237224();
		 *           }
		 *           if (plVar7 == null) goto LAB_05bda834;
		 *           lVar12 = *plVar7;
		 *           uVar10 = (ulong)*(ushort *)(lVar12 + 0x12e);
		 *           uVar13 = **(undefined8 **)(lVar9 + 0xb8);
		 *           lVar9 = *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848;
		 *           uVar14 = *(undefined8 *)PTR_DAT_07102420;
		 *           if (uVar10 != 0) {
		 *             piVar11 = (int *)(*(long *)(lVar12 + 0xb0) + 8);
		 *             do {
		 *               if (*(long *)(piVar11 + -2) == lVar9) goto LAB_05bda7fc;
		 *               uVar10 = uVar10 - 1;
		 *               piVar11 = piVar11 + 4;
		 *             } while (uVar10 != 0);
		 *           }
		 *         }
		 *         else {
		 *           uVar10 = (**(code **)(*plVar7 + 0x238))(plVar7,*(undefined8 *)(*plVar7 + 0x240));
		 *           if ((uVar10 & 1) != 0) {
		 *             *(undefined1 *)((long)plVar7 + 0xd5) = 0;
		 *             return;
		 *           }
		 *           if (plVar7[9] == 0) {
		 * LAB_05bda834:
		 *             IL2CPP.ThrowNullReferenceException();
		 *           }
		 *           plVar7 = *(long **)(plVar7[9] + 0x18);
		 *           lVar12 = *(long *)PTR_DAT_070c12e8;
		 *           lVar9 = *(long *)(lVar12 + 0x38);
		 *           if (lVar9 == 0) {
		 *             func_0x03237280(lVar12);
		 *             lVar9 = *(long *)(lVar12 + 0x38);
		 *           }
		 *           lVar9 = *(long *)(lVar9 + 0x10);
		 *           if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *             lVar9 = func_0x03237224();
		 *           }
		 *           if (*(int *)(lVar9 + 0xe4) == 0) {
		 *             func_0x031fde08();
		 *           }
		 *           lVar9 = *(long *)(*(long *)(lVar12 + 0x38) + 0x10);
		 *           if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *             lVar9 = func_0x03237224();
		 *           }
		 *           if (plVar7 == null) goto LAB_05bda834;
		 *           lVar12 = *plVar7;
		 *           uVar10 = (ulong)*(ushort *)(lVar12 + 0x12e);
		 *           uVar13 = **(undefined8 **)(lVar9 + 0xb8);
		 *           lVar9 = *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848;
		 *           uVar14 = *(undefined8 *)PTR_DAT_07102418;
		 *           if (uVar10 != 0) {
		 *             piVar11 = (int *)(*(long *)(lVar12 + 0xb0) + 8);
		 *             do {
		 *               if (*(long *)(piVar11 + -2) == lVar9) goto LAB_05bda7fc;
		 *               uVar10 = uVar10 - 1;
		 *               piVar11 = piVar11 + 4;
		 *             } while (uVar10 != 0);
		 *           }
		 *         }
		 *         puVar8 = (undefined8 *)func_0x03237558(plVar7,lVar9,1);
		 *         goto LAB_05bda80c;
		 *       }
		 *     }
		 * LAB_033846d8:
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if (pvVar4 == null) goto LAB_033846d8;
		 *   if ((bRam00000000075556e3 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c12e8,0);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_07102428);
		 *     bRam00000000075556e3 = 1;
		 *   }
		 *   if (*(void **)((long)pvVar4 + 0x50) == null) {
		 * LAB_05bda9bc:
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   bVar2 = Photon.Realtime.LoadBalancingClient.get_IsConnected(*(void **)((long)pvVar4 + 0x50));
		 *   if (!bVar2) {
		 *     if (*(long *)((long)pvVar4 + 0x48) != 0) {
		 *       plVar7 = *(long **)(*(long *)((long)pvVar4 + 0x48) + 0x18);
		 *       lVar12 = *(long *)PTR_DAT_070c12e8;
		 *       lVar9 = *(long *)(lVar12 + 0x38);
		 *       if (lVar9 == 0) {
		 *         func_0x03237280(lVar12);
		 *         lVar9 = *(long *)(lVar12 + 0x38);
		 *       }
		 *       lVar9 = *(long *)(lVar9 + 0x10);
		 *       if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *         lVar9 = func_0x03237224();
		 *       }
		 *       if (*(int *)(lVar9 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       lVar9 = *(long *)(*(long *)(lVar12 + 0x38) + 0x10);
		 *       if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *         lVar9 = func_0x03237224();
		 *       }
		 *       if (plVar7 != null) {
		 *         lVar12 = *plVar7;
		 *         uVar10 = (ulong)*(ushort *)(lVar12 + 0x12e);
		 *         uVar13 = **(undefined8 **)(lVar9 + 0xb8);
		 *         uVar14 = *(undefined8 *)PTR_DAT_07102428;
		 *         if (uVar10 != 0) {
		 *           piVar11 = (int *)(*(long *)(lVar12 + 0xb0) + 8);
		 *           do {
		 *             if (*(long *)(piVar11 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848) {
		 *               puVar8 = (undefined8 *)(lVar12 + (long)(*piVar11 + 1) * 0x10 + 0x138);
		 *               goto LAB_05bda99c;
		 *             }
		 *             uVar10 = uVar10 - 1;
		 *             piVar11 = piVar11 + 4;
		 *           } while (uVar10 != 0);
		 *         }
		 *         puVar8 = (undefined8 *)
		 *                  func_0x03237558(plVar7,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_05bda99c:
		 *         (*(code *)*puVar8)(plVar7,1,uVar14,uVar13,puVar8[1]);
		 *         return;
		 *       }
		 *     }
		 *     goto LAB_05bda9bc;
		 *   }
		 *   plVar7 = *(long **)((long)pvVar4 + 0x50);
		 *   *(undefined1 *)((long)pvVar4 + 0xd5) = 1;
		 *   if (plVar7 == null) goto LAB_05bda9bc;
		 *   if ((bRam00000000075550e5 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_ClientState_6FC2150);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210);
		 *     func_0x031fdc8c(PTR_DAT_070c0a80);
		 *     func_0x031fdc8c(PTR_DAT_070fe6e8);
		 *     func_0x031fdc8c(PTR_DAT_070fe6f0);
		 *     func_0x031fdc8c(PTR_DAT_070fe6f8);
		 *     bRam00000000075550e5 = 1;
		 *   }
		 *   iVar3 = *(int *)((long)plVar7 + 0x9c);
		 *   if (iVar3 != 0) {
		 *     if (iVar3 == 0xe) {
		 *       return;
		 *     }
		 *     if (iVar3 != 0xd) {
		 *       lVar9 = plVar7[0x14];
		 *       *(undefined4 *)((long)plVar7 + 0x9c) = 0xd;
		 *       if (lVar9 != 0) {
		 *         (**(code **)(lVar9 + 0x18))
		 *                   (*(undefined8 *)(lVar9 + 0x40),iVar3,0xd,*(undefined8 *)(lVar9 + 0x28));
		 *       }
		 *       plVar6 = (long *)plVar7[2];
		 *       *(undefined4 *)(plVar7 + 0x1d) = 0x11;
		 *       if (plVar6 != null) {
		 *         (**(code **)(*plVar6 + 0x1b8))(plVar6,*(undefined8 *)(*plVar6 + 0x1c0));
		 *         return;
		 *       }
		 *       goto LAB_05b44a2c;
		 *     }
		 *   }
		 *   pvVar4 = (void *)func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a80,6);
		 *   if (pvVar4 != null) {
		 *     if (*(int *)((long)pvVar4 + 0x18) != 0) {
		 *       *(undefined8 *)((long)pvVar4 + 0x20) = *(undefined8 *)PTR_DAT_070fe6f8;
		 *       func_0x031fdc38((undefined8 *)((long)pvVar4 + 0x20));
		 *       uStack_38 = *(undefined4 *)((long)plVar7 + 0x9c);
		 *       uStack_48 = *(undefined8 *)typeinfo_ptr_PhotonRealtime_ClientState_6FC2150;
		 *       uStack_40 = 0xffffffffffffffff;
		 *       pvVar5 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_48);
		 *       if ((*(uint *)((long)pvVar4 + 0x18) & 0xfffffffe) != 0) {
		 *         *(undefined8 *)((long)pvVar4 + 0x28) = pvVar5;
		 *         func_0x031fdc38((undefined8 *)((long)pvVar4 + 0x28),pvVar5);
		 *         if (2 < *(uint *)((long)pvVar4 + 0x18)) {
		 *           *(undefined8 *)((long)pvVar4 + 0x30) = *(undefined8 *)PTR_DAT_070fe6e8;
		 *           func_0x031fdc38((undefined8 *)((long)pvVar4 + 0x30));
		 *           puVar1 = typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210;
		 *           uStack_50 = (undefined4)plVar7[0x1d];
		 *           uStack_60 = *(undefined8 *)typeinfo_ptr_PhotonRealtime_DisconnectCause_6FC2210;
		 *           uStack_58 = 0xffffffffffffffff;
		 *           pvVar5 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_60);
		 *           if ((*(uint *)((long)pvVar4 + 0x18) & 0xfffffffc) != 0) {
		 *             *(undefined8 *)((long)pvVar4 + 0x38) = pvVar5;
		 *             func_0x031fdc38((undefined8 *)((long)pvVar4 + 0x38),pvVar5);
		 *             if (4 < *(uint *)((long)pvVar4 + 0x18)) {
		 *               *(undefined8 *)((long)pvVar4 + 0x40) = *(undefined8 *)PTR_DAT_070fe6f0;
		 *               func_0x031fdc38((undefined8 *)((long)pvVar4 + 0x40));
		 *               uStack_78 = *(undefined8 *)puVar1;
		 *               uStack_68 = 0x11;
		 *               uStack_70 = 0xffffffffffffffff;
		 *               pvVar5 = System.Net.UnsafeNclNativeMethods.HttpApi.Enum.ToString(&uStack_78);
		 *               if (5 < *(uint *)((long)pvVar4 + 0x18)) {
		 *                 *(void **)((long)pvVar4 + 0x48) = pvVar5;
		 *                 func_0x031fdc38();
		 *                 pvVar4 = System.String.Concat(pvVar4);
		 *                 (**(code **)(*plVar7 + 0x218))(plVar7,3,pvVar4,*(undefined8 *)(*plVar7 + 0x220));
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *     IL2CPP.ThrowIndexOutOfRangeException();
		 *   }
		 * LAB_05b44a2c:
		 *   IL2CPP.ThrowNullReferenceException();
		 * LAB_05bda7fc:
		 *   puVar8 = (undefined8 *)(lVar12 + (long)(*piVar11 + 1) * 0x10 + 0x138);
		 * LAB_05bda80c:
		 *   (*(code *)*puVar8)(plVar7,1,uVar14,uVar13,puVar8[1]);
		 *   return;
		 */
		// RVA: 0x32846DC VA: 0x781896F6DC
		private void CalibrateButtonOnClick();
		/*
		 *   int iVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   ulong uVar4;
		 *   void *pvVar5;
		 *   void *this_00;
		 *   void *pvVar6;
		 *   long *plVar7;
		 *   undefined8 *puVar8;
		 *   void *extraout_x1;
		 *   void *methodInfo_00;
		 *   void *methodInfo_01;
		 *   long lVar9;
		 *   int *piVar10;
		 *   undefined8 uVar11;
		 *   long lVar12;
		 *   undefined8 uVar13;
		 *
		 *   if ((bRam000000000754acbc & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     bRam000000000754acbc = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   if (this.recorder != null) {
		 *     uVar11 = *(undefined8 *)((long)this.recorder + 0x38);
		 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8,methodInfo);
		 *     }
		 *     uVar4 = UnityEngine.Object.op_Implicit(uVar11);
		 *     if ((uVar4 & 1) == 0) {
		 *       return;
		 *     }
		 *     if ((this.recorder != null) &&
		 *        (pvVar5 = *(void **)((long)this.recorder + 0x38), pvVar5 != null)) {
		 *       bVar3 = Recorder.get_VoiceDetectorCalibrating(pvVar5);
		 *       puVar2 = PTR_DAT_07102630;
		 *       if (bVar3) {
		 *         return;
		 *       }
		 *       if ((this.recorder != null) &&
		 *          (pvVar5 = *(void **)((long)this.recorder + 0x38), pvVar5 != null)) {
		 *         iVar1 = this.calibrationMilliSeconds;
		 *         if ((bRam0000000007555705 & 1) == 0) {
		 *           func_0x031fdc8c(PTR_DAT_070d1658,iVar1,0,0);
		 *           func_0x031fdc8c(PTR_DAT_070c12e8);
		 *           func_0x031fdc8c(PTR_DAT_07102598);
		 *           func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *           func_0x031fdc8c(PTR_DAT_07102638);
		 *           func_0x031fdc8c(PTR_DAT_07102630);
		 *           func_0x031fdc8c(PTR_DAT_07102640);
		 *           bRam0000000007555705 = 1;
		 *         }
		 *         this_00 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
		 *         System.Object..ctor(this_00);
		 *         if (this_00 != null) {
		 *           *(undefined8 *)((long)this_00 + 0x10) = pvVar5;
		 *           func_0x031fdc38((undefined8 *)((long)this_00 + 0x10),pvVar5);
		 *           *(undefined8 *)((long)this_00 + 0x18) = 0;
		 *           func_0x031fdc38((undefined8 *)((long)this_00 + 0x18),0);
		 *           pvVar6 = Recorder.get_voiceAudio(pvVar5);
		 *           if (pvVar6 == null) {
		 *             return;
		 *           }
		 *           if (*(char *)((long)pvVar5 + 0x6b) == '\0') {
		 *             if (*(long *)((long)pvVar5 + 0x20) != 0) {
		 *               plVar7 = *(long **)(*(long *)((long)pvVar5 + 0x20) + 0x18);
		 *               lVar12 = *(long *)PTR_DAT_070c12e8;
		 *               lVar9 = *(long *)(lVar12 + 0x38);
		 *               if (lVar9 == 0) {
		 *                 func_0x03237280(lVar12);
		 *                 lVar9 = *(long *)(lVar12 + 0x38);
		 *               }
		 *               lVar9 = *(long *)(lVar9 + 0x10);
		 *               if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *                 lVar9 = func_0x03237224();
		 *               }
		 *               if (*(int *)(lVar9 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *               }
		 *               lVar9 = *(long *)(*(long *)(lVar12 + 0x38) + 0x10);
		 *               if ((*(ushort *)(lVar9 + 0x135) & 1) == 0) {
		 *                 lVar9 = func_0x03237224();
		 *               }
		 *               if (plVar7 != null) {
		 *                 lVar12 = *plVar7;
		 *                 uVar4 = (ulong)*(ushort *)(lVar12 + 0x12e);
		 *                 uVar11 = **(undefined8 **)(lVar9 + 0xb8);
		 *                 uVar13 = *(undefined8 *)PTR_DAT_07102640;
		 *                 if (uVar4 != 0) {
		 *                   piVar10 = (int *)(*(long *)(lVar12 + 0xb0) + 8);
		 *                   do {
		 *                     if (*(long *)(piVar10 + -2) ==
		 *                         *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848) {
		 *                       puVar8 = (undefined8 *)(lVar12 + (long)(*piVar10 + 1) * 0x10 + 0x138);
		 *                       goto LAB_05bdfbcc;
		 *                     }
		 *                     uVar4 = uVar4 - 1;
		 *                     piVar10 = piVar10 + 4;
		 *                   } while (uVar4 != 0);
		 *                 }
		 *                 puVar8 = (undefined8 *)
		 *                          func_0x03237558(plVar7,*(long *)
		 *                                                  typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_05bdfbcc:
		 *                 (*(code *)*puVar8)(plVar7,2,uVar13,uVar11,puVar8[1]);
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *           else {
		 *             plVar7 = Recorder.get_voiceAudio(pvVar5);
		 *             uVar11 = func_0x031fdf24(*(undefined8 *)PTR_DAT_070d1658);
		 *             func_0x04d17500(uVar11,this_00,*(undefined8 *)PTR_DAT_07102638,0);
		 *             if (plVar7 != null) {
		 *               lVar9 = *plVar7;
		 *               uVar4 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *               if (uVar4 != 0) {
		 *                 piVar10 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *                 do {
		 *                   if (*(long *)(piVar10 + -2) == *(long *)PTR_DAT_07102598) {
		 *                     puVar8 = (undefined8 *)(lVar9 + (long)(*piVar10 + 3) * 0x10 + 0x138);
		 *                     goto LAB_05bdfb9c;
		 *                   }
		 *                   uVar4 = uVar4 - 1;
		 *                   piVar10 = piVar10 + 4;
		 *                 } while (uVar4 != 0);
		 *               }
		 *               puVar8 = (undefined8 *)func_0x03237558(plVar7,*(long *)PTR_DAT_07102598,3);
		 * LAB_05bdfb9c:
		 *               (*(code *)*puVar8)(plVar7,iVar1,uVar11,puVar8[1]);
		 *               return;
		 *             }
		 *           }
		 *         }
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3284790 VA: 0x781896F790
		private void Update();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   long lVar3;
		 *   ulong uVar4;
		 *   long *plVar5;
		 *   undefined8 *puVar6;
		 *   void *pvVar7;
		 *   void *extraout_x1;
		 *   int *piVar8;
		 *   void *pvVar9;
		 *   undefined8 uVar10;
		 *   long *plVar11;
		 *   undefined4 uStack_38;
		 *   undefined4 uStack_34;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000754acbd & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5ac0);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ac8);
		 *     bRam000000000754acbd = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   lVar3 = *(long *)puVar1;
		 *   pvVar9 = this.recorder;
		 *   if (*(int *)(lVar3 + 0xe4) == 0) {
		 *     func_0x031fde08(lVar3,methodInfo);
		 *   }
		 *   uVar4 = UnityEngine.Object.op_Inequality(pvVar9,null);
		 *   if ((uVar4 & 1) == 0) {
		 *     return;
		 *   }
		 *   if (this.recorder != null) {
		 *     uVar10 = *(undefined8 *)((long)this.recorder + 0x38);
		 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     uVar4 = UnityEngine.Object.op_Inequality(uVar10,null);
		 *     if ((uVar4 & 1) == 0) {
		 *       return;
		 *     }
		 *     if ((this.recorder != null) &&
		 *        (pvVar9 = *(void **)((long)this.recorder + 0x38), pvVar9 != null)) {
		 *       pvVar9 = Recorder.get_LevelMeter(pvVar9);
		 *       if (pvVar9 == null) {
		 *         return;
		 *       }
		 *       if ((this.recorder != null) &&
		 *          (pvVar9 = *(void **)((long)this.recorder + 0x38), pvVar9 != null)) {
		 *         plVar11 = this.voiceDebugText;
		 *         plVar5 = Recorder.get_LevelMeter(pvVar9);
		 *         puVar1 = PTR_DAT_070c5ac0;
		 *         if (plVar5 != null) {
		 *           lVar3 = *plVar5;
		 *           uVar4 = (ulong)*(ushort *)(lVar3 + 0x12e);
		 *           if (uVar4 != 0) {
		 *             piVar8 = (int *)(*(long *)(lVar3 + 0xb0) + 8);
		 *             do {
		 *               if (*(long *)(piVar8 + -2) == *(long *)PTR_DAT_070c5ac0) {
		 *                 puVar6 = (undefined8 *)(lVar3 + (long)*piVar8 * 0x10 + 0x138);
		 *                 goto LAB_033848d0;
		 *               }
		 *               uVar4 = uVar4 - 1;
		 *               piVar8 = piVar8 + 4;
		 *             } while (uVar4 != 0);
		 *           }
		 *           puVar6 = (undefined8 *)func_0x03237558(plVar5,*(long *)PTR_DAT_070c5ac0,0);
		 * LAB_033848d0:
		 *           uStack_34 = (*(code *)*puVar6)(plVar5,puVar6[1]);
		 *           puVar2 = PTR_DAT_070c0840;
		 *           pvVar9 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x78),&uStack_34);
		 *           if (((this.recorder != null) &&
		 *               (pvVar7 = *(void **)((long)this.recorder + 0x38), pvVar7 != null)) &&
		 *              (plVar5 = Recorder.get_LevelMeter(pvVar7),
		 *              plVar5 != null)) {
		 *             lVar3 = *plVar5;
		 *             uVar4 = (ulong)*(ushort *)(lVar3 + 0x12e);
		 *             if (uVar4 != 0) {
		 *               piVar8 = (int *)(*(long *)(lVar3 + 0xb0) + 8);
		 *               do {
		 *                 if (*(long *)(piVar8 + -2) == *(long *)puVar1) {
		 *                   puVar6 = (undefined8 *)(lVar3 + (long)(*piVar8 + 1) * 0x10 + 0x138);
		 *                   goto LAB_03384968;
		 *                 }
		 *                 uVar4 = uVar4 - 1;
		 *                 piVar8 = piVar8 + 4;
		 *               } while (uVar4 != 0);
		 *             }
		 *             puVar6 = (undefined8 *)func_0x03237558(plVar5,*(long *)puVar1,1);
		 * LAB_03384968:
		 *             uStack_38 = (*(code *)*puVar6)(plVar5,puVar6[1]);
		 *             pvVar7 = (void *)func_0x031fde10(*(undefined8 *)(puVar2 + 0x78),&uStack_38);
		 *             pvVar9 = System.String.Format(*(void **)PTR_DAT_070c5ac8,pvVar9,pvVar7);
		 *             if (plVar11 != null) {
		 *               (**(code **)(*plVar11 + 0x5e8))(plVar11,pvVar9,*(undefined8 *)(*plVar11 + 0x5f0));
		 *               return;
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x32843FC VA: 0x781896F3FC
		private void PunClientStateChanged(Photon.Realtime.ClientState fromState, Photon.Realtime.ClientState toState);
		/*
		 *   undefined8 *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   int voiceClientState;
		 *   void *pvVar4;
		 *   long *plVar5;
		 *   int iStack_34;
		 *
		 *   puVar3 = PTR_DAT_070c5aa0;
		 *   puVar2 = typeinfo_ptr_PhotonRealtime_ClientState_6FC2150;
		 *   if ((bRam000000000754acbe & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_ClientState_6FC2150,fromState);
		 *     func_0x031fdc8c(PTR_DAT_070c5aa8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ab0);
		 *     func_0x031fdc8c(PTR_DAT_070c5aa0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ab8);
		 *     bRam000000000754acbe = 1;
		 *   }
		 *   plVar5 = this.punState;
		 *   iStack_34 = toState;
		 *   pvVar4 = (void *)func_0x031fde10(*(undefined8 *)puVar2,&iStack_34);
		 *   pvVar4 = System.String.Format(*(void **)puVar3,pvVar4);
		 *   if (plVar5 == null) goto LAB_03384584;
		 *   (**(code **)(*plVar5 + 0x5e8))(plVar5,pvVar4,*(undefined8 *)(*plVar5 + 0x5f0));
		 *   if (toState == 0xe) {
		 * LAB_033844cc:
		 *     if (this.punSwitch == null) goto LAB_03384584;
		 *     UnityEngine.UI.Selectable.set_interactable(this.punSwitch,true);
		 *     plVar5 = this.punSwitchText;
		 *     puVar1 = (undefined8 *)PTR_DAT_070c5aa8;
		 *   }
		 *   else if (toState == 9) {
		 *     if (this.punSwitch == null) goto LAB_03384584;
		 *     UnityEngine.UI.Selectable.set_interactable(this.punSwitch,true);
		 *     plVar5 = this.punSwitchText;
		 *     puVar1 = (undefined8 *)PTR_DAT_070c5ab0;
		 *   }
		 *   else {
		 *     if (toState == 0) goto LAB_033844cc;
		 *     if (this.punSwitch == null) goto LAB_03384584;
		 *     UnityEngine.UI.Selectable.set_interactable(this.punSwitch,false);
		 *     plVar5 = this.punSwitchText;
		 *     puVar1 = (undefined8 *)PTR_DAT_070c5ab8;
		 *   }
		 *   if (plVar5 != null) {
		 *     pvVar4 = *(void **)(*plVar5 + 0x5f0);
		 *     (**(code **)(*plVar5 + 0x5e8))(plVar5,*puVar1);
		 *     if (this.punVoiceClient != null) {
		 *       voiceClientState =
		 *            Photon.Voice.Unity.VoiceConnection.get_ClientState(this.punVoiceClient);
		 *       VoiceDemoUI.UpdateUiBasedOnVoiceState(this,voiceClientState);
		 *       return;
		 *     }
		 *   }
		 * LAB_03384584:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x32843F4 VA: 0x781896F3F4
		private void VoiceClientStateChanged(Photon.Realtime.ClientState fromState, Photon.Realtime.ClientState toState);
		/*
		 *   undefined8 *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   bool bVar4;
		 *   void *pvVar5;
		 *   void *pvVar6;
		 *   ulong uVar7;
		 *   undefined8 uVar8;
		 *   long *plVar9;
		 *   int iStack_38;
		 *   int iStack_34;
		 *
		 *   puVar3 = PTR_DAT_070c5ad0;
		 *   puVar2 = typeinfo_ptr_PhotonRealtime_ClientState_6FC2150;
		 *   if ((bRam000000000754acbf & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_ClientState_6FC2150);
		 *     func_0x031fdc8c(PTR_DAT_070c5a50);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ad8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ae0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ae8);
		 *     func_0x031fdc8c(PTR_DAT_070c5af0);
		 *     func_0x031fdc8c(PTR_DAT_070c5af8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ad0);
		 *     func_0x031fdc8c(PTR_DAT_070c5b00);
		 *     func_0x031fdc8c(PTR_DAT_070c5b08);
		 *     bRam000000000754acbf = 1;
		 *   }
		 *   plVar9 = this.voiceState;
		 *   iStack_34 = toState;
		 *   pvVar5 = (void *)func_0x031fde10(*(undefined8 *)puVar2,&iStack_34);
		 *   pvVar5 = System.String.Format(*(void **)puVar3,pvVar5);
		 *   if (plVar9 == null) goto LAB_03384e38;
		 *   (**(code **)(*plVar9 + 0x5e8))(plVar9,pvVar5,*(undefined8 *)(*plVar9 + 0x5f0));
		 *   if ((toState == 0) || (toState == 0xe)) {
		 *     if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     bVar4 = Photon.Pun.PhotonNetwork.get_InRoom();
		 *     pvVar5 = this.voiceSwitch;
		 *     if (bVar4) {
		 *       if (pvVar5 == null) goto LAB_03384e38;
		 *       UnityEngine.UI.Selectable.set_interactable(pvVar5,true);
		 *       plVar9 = this.voiceSwitchText;
		 *       puVar1 = (undefined8 *)PTR_DAT_070c5ae8;
		 *     }
		 *     else {
		 *       if (pvVar5 == null) goto LAB_03384e38;
		 *       UnityEngine.UI.Selectable.set_interactable(pvVar5,false);
		 *       plVar9 = this.voiceSwitchText;
		 *       puVar1 = (undefined8 *)PTR_DAT_070c5af0;
		 *     }
		 *     if (plVar9 != null) {
		 *       (**(code **)(*plVar9 + 0x5e8))(plVar9,*puVar1,*(undefined8 *)(*plVar9 + 0x5f0));
		 *       plVar9 = this.voiceDebugText;
		 *       if (plVar9 != null) {
		 *         (**(code **)(*plVar9 + 0x5e8))
		 *                   (plVar9,**(undefined8 **)(*(long *)(PTR_DAT_070c0840 + 0x90) + 0xb8),
		 *                    *(undefined8 *)(*plVar9 + 0x5f0));
		 *         if (this.calibrateButton != null) {
		 *           UnityEngine.UI.Selectable.set_interactable(this.calibrateButton,false);
		 *           plVar9 = this.voiceSwitchText;
		 *           if (plVar9 != null) {
		 *             (**(code **)(*plVar9 + 0x5e8))
		 *                       (plVar9,*(undefined8 *)PTR_DAT_070c5ae8,*(undefined8 *)(*plVar9 + 0x5f0));
		 *             plVar9 = this.calibrateText;
		 *             if (plVar9 != null) {
		 *               (**(code **)(*plVar9 + 0x5e8))
		 *                         (plVar9,*(undefined8 *)PTR_DAT_070c5b00,*(undefined8 *)(*plVar9 + 0x5f0));
		 *               if (this.inGameSettings != null) {
		 *                 UnityEngine.GameObject.SetActive(this.inGameSettings,false);
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *     goto LAB_03384e38;
		 *   }
		 *   if (toState == 9) {
		 *     if (this.voiceSwitch == null) goto LAB_03384e38;
		 *     UnityEngine.UI.Selectable.set_interactable(this.voiceSwitch,true);
		 *     if (this.inGameSettings == null) goto LAB_03384e38;
		 *     UnityEngine.GameObject.SetActive(this.inGameSettings,true);
		 *     plVar9 = this.voiceSwitchText;
		 *     if (plVar9 == null) goto LAB_03384e38;
		 *     pvVar5 = *(void **)(*plVar9 + 0x5f0);
		 *     (**(code **)(*plVar9 + 0x5e8))(plVar9,*(undefined8 *)PTR_DAT_070c5af8);
		 *     if (this.inGameSettings == null) goto LAB_03384e38;
		 *     pvVar6 = (void *)func_0x037f3a4c(this.inGameSettings,*(undefined8 *)PTR_DAT_070c5a50);
		 *     VoiceDemoUI.InitToggles(this,pvVar6);
		 *     puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *     pvVar5 = this.recorder;
		 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     uVar7 = UnityEngine.Object.op_Inequality(pvVar5,null);
		 *     if ((uVar7 & 1) != 0) {
		 *       if (this.recorder == null) goto LAB_03384e38;
		 *       uVar8 = *(undefined8 *)((long)this.recorder + 0x38);
		 *       if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       uVar7 = UnityEngine.Object.op_Inequality(uVar8,null);
		 *       if ((uVar7 & 1) != 0) {
		 *         if ((this.recorder != null) &&
		 *            (pvVar5 = *(void **)((long)this.recorder + 0x38), pvVar5 != null)) {
		 *           pvVar6 = this.calibrateButton;
		 *           bVar4 = Recorder.get_VoiceDetectorCalibrating(pvVar5);
		 *           if (pvVar6 != null) {
		 *             UnityEngine.UI.Selectable.set_interactable(pvVar6,(bool)((bVar4 ^ 0xffU) & 1));
		 *             if ((this.recorder != null) &&
		 *                (pvVar5 = *(void **)((long)this.recorder + 0x38), pvVar5 != null)) {
		 *               plVar9 = this.calibrateText;
		 *               bVar4 = Recorder.get_VoiceDetectorCalibrating(pvVar5);
		 *               if (bVar4) {
		 *                 pvVar5 = *(void **)PTR_DAT_070c5b08;
		 *               }
		 *               else {
		 *                 iStack_38 = this.calibrationMilliSeconds / 1000;
		 *                 pvVar5 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),&iStack_38
		 *                                                 );
		 *                 pvVar5 = System.String.Format(*(void **)PTR_DAT_070c5ad8,pvVar5);
		 *               }
		 *               if (plVar9 != null) {
		 *                 (**(code **)(*plVar9 + 0x5e8))(plVar9,pvVar5,*(undefined8 *)(*plVar9 + 0x5f0));
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *         goto LAB_03384e38;
		 *       }
		 *     }
		 *     if (this.calibrateButton == null) goto LAB_03384e38;
		 *     UnityEngine.UI.Selectable.set_interactable(this.calibrateButton,false);
		 *     plVar9 = this.calibrateText;
		 *     puVar1 = (undefined8 *)PTR_DAT_070c5b00;
		 *   }
		 *   else {
		 *     if (this.voiceSwitch == null) goto LAB_03384e38;
		 *     UnityEngine.UI.Selectable.set_interactable(this.voiceSwitch,false);
		 *     plVar9 = this.voiceSwitchText;
		 *     puVar1 = (undefined8 *)PTR_DAT_070c5ae0;
		 *   }
		 *   if (plVar9 != null) {
		 *     (**(code **)(*plVar9 + 0x5e8))(plVar9,*puVar1,*(undefined8 *)(*plVar9 + 0x5f0));
		 *     return;
		 *   }
		 * LAB_03384e38:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x32849D8 VA: 0x781896F9D8
		private void UpdateUiBasedOnVoiceState(Photon.Realtime.ClientState voiceClientState);
		/*
		 *   undefined8 *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   bool bVar4;
		 *   void *pvVar5;
		 *   void *pvVar6;
		 *   ulong uVar7;
		 *   undefined8 uVar8;
		 *   long *plVar9;
		 *   int iStack_38;
		 *   int iStack_34;
		 *
		 *   puVar3 = PTR_DAT_070c5ad0;
		 *   puVar2 = typeinfo_ptr_PhotonRealtime_ClientState_6FC2150;
		 *   if ((bRam000000000754acbf & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_ClientState_6FC2150);
		 *     func_0x031fdc8c(PTR_DAT_070c5a50);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ad8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ae0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ae8);
		 *     func_0x031fdc8c(PTR_DAT_070c5af0);
		 *     func_0x031fdc8c(PTR_DAT_070c5af8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ad0);
		 *     func_0x031fdc8c(PTR_DAT_070c5b00);
		 *     func_0x031fdc8c(PTR_DAT_070c5b08);
		 *     bRam000000000754acbf = 1;
		 *   }
		 *   plVar9 = this.voiceState;
		 *   iStack_34 = voiceClientState;
		 *   pvVar5 = (void *)func_0x031fde10(*(undefined8 *)puVar2,&iStack_34);
		 *   pvVar5 = System.String.Format(*(void **)puVar3,pvVar5);
		 *   if (plVar9 == null) goto LAB_03384e38;
		 *   (**(code **)(*plVar9 + 0x5e8))(plVar9,pvVar5,*(undefined8 *)(*plVar9 + 0x5f0));
		 *   if ((voiceClientState == 0) || (voiceClientState == 0xe)) {
		 *     if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     bVar4 = Photon.Pun.PhotonNetwork.get_InRoom();
		 *     pvVar5 = this.voiceSwitch;
		 *     if (bVar4) {
		 *       if (pvVar5 == null) goto LAB_03384e38;
		 *       UnityEngine.UI.Selectable.set_interactable(pvVar5,true);
		 *       plVar9 = this.voiceSwitchText;
		 *       puVar1 = (undefined8 *)PTR_DAT_070c5ae8;
		 *     }
		 *     else {
		 *       if (pvVar5 == null) goto LAB_03384e38;
		 *       UnityEngine.UI.Selectable.set_interactable(pvVar5,false);
		 *       plVar9 = this.voiceSwitchText;
		 *       puVar1 = (undefined8 *)PTR_DAT_070c5af0;
		 *     }
		 *     if (plVar9 != null) {
		 *       (**(code **)(*plVar9 + 0x5e8))(plVar9,*puVar1,*(undefined8 *)(*plVar9 + 0x5f0));
		 *       plVar9 = this.voiceDebugText;
		 *       if (plVar9 != null) {
		 *         (**(code **)(*plVar9 + 0x5e8))
		 *                   (plVar9,**(undefined8 **)(*(long *)(PTR_DAT_070c0840 + 0x90) + 0xb8),
		 *                    *(undefined8 *)(*plVar9 + 0x5f0));
		 *         if (this.calibrateButton != null) {
		 *           UnityEngine.UI.Selectable.set_interactable(this.calibrateButton,false);
		 *           plVar9 = this.voiceSwitchText;
		 *           if (plVar9 != null) {
		 *             (**(code **)(*plVar9 + 0x5e8))
		 *                       (plVar9,*(undefined8 *)PTR_DAT_070c5ae8,*(undefined8 *)(*plVar9 + 0x5f0));
		 *             plVar9 = this.calibrateText;
		 *             if (plVar9 != null) {
		 *               (**(code **)(*plVar9 + 0x5e8))
		 *                         (plVar9,*(undefined8 *)PTR_DAT_070c5b00,*(undefined8 *)(*plVar9 + 0x5f0));
		 *               if (this.inGameSettings != null) {
		 *                 UnityEngine.GameObject.SetActive(this.inGameSettings,false);
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *     goto LAB_03384e38;
		 *   }
		 *   if (voiceClientState == 9) {
		 *     if (this.voiceSwitch == null) goto LAB_03384e38;
		 *     UnityEngine.UI.Selectable.set_interactable(this.voiceSwitch,true);
		 *     if (this.inGameSettings == null) goto LAB_03384e38;
		 *     UnityEngine.GameObject.SetActive(this.inGameSettings,true);
		 *     plVar9 = this.voiceSwitchText;
		 *     if (plVar9 == null) goto LAB_03384e38;
		 *     pvVar5 = *(void **)(*plVar9 + 0x5f0);
		 *     (**(code **)(*plVar9 + 0x5e8))(plVar9,*(undefined8 *)PTR_DAT_070c5af8);
		 *     if (this.inGameSettings == null) goto LAB_03384e38;
		 *     pvVar6 = (void *)func_0x037f3a4c(this.inGameSettings,*(undefined8 *)PTR_DAT_070c5a50);
		 *     VoiceDemoUI.InitToggles(this,pvVar6);
		 *     puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *     pvVar5 = this.recorder;
		 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     uVar7 = UnityEngine.Object.op_Inequality(pvVar5,null);
		 *     if ((uVar7 & 1) != 0) {
		 *       if (this.recorder == null) goto LAB_03384e38;
		 *       uVar8 = *(undefined8 *)((long)this.recorder + 0x38);
		 *       if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       uVar7 = UnityEngine.Object.op_Inequality(uVar8,null);
		 *       if ((uVar7 & 1) != 0) {
		 *         if ((this.recorder != null) &&
		 *            (pvVar5 = *(void **)((long)this.recorder + 0x38), pvVar5 != null)) {
		 *           pvVar6 = this.calibrateButton;
		 *           bVar4 = Recorder.get_VoiceDetectorCalibrating(pvVar5);
		 *           if (pvVar6 != null) {
		 *             UnityEngine.UI.Selectable.set_interactable(pvVar6,(bool)((bVar4 ^ 0xffU) & 1));
		 *             if ((this.recorder != null) &&
		 *                (pvVar5 = *(void **)((long)this.recorder + 0x38), pvVar5 != null)) {
		 *               plVar9 = this.calibrateText;
		 *               bVar4 = Recorder.get_VoiceDetectorCalibrating(pvVar5);
		 *               if (bVar4) {
		 *                 pvVar5 = *(void **)PTR_DAT_070c5b08;
		 *               }
		 *               else {
		 *                 iStack_38 = this.calibrationMilliSeconds / 1000;
		 *                 pvVar5 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),&iStack_38
		 *                                                 );
		 *                 pvVar5 = System.String.Format(*(void **)PTR_DAT_070c5ad8,pvVar5);
		 *               }
		 *               if (plVar9 != null) {
		 *                 (**(code **)(*plVar9 + 0x5e8))(plVar9,pvVar5,*(undefined8 *)(*plVar9 + 0x5f0));
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *         goto LAB_03384e38;
		 *       }
		 *     }
		 *     if (this.calibrateButton == null) goto LAB_03384e38;
		 *     UnityEngine.UI.Selectable.set_interactable(this.calibrateButton,false);
		 *     plVar9 = this.calibrateText;
		 *     puVar1 = (undefined8 *)PTR_DAT_070c5b00;
		 *   }
		 *   else {
		 *     if (this.voiceSwitch == null) goto LAB_03384e38;
		 *     UnityEngine.UI.Selectable.set_interactable(this.voiceSwitch,false);
		 *     plVar9 = this.voiceSwitchText;
		 *     puVar1 = (undefined8 *)PTR_DAT_070c5ae0;
		 *   }
		 *   if (plVar9 != null) {
		 *     (**(code **)(*plVar9 + 0x5e8))(plVar9,*puVar1,*(undefined8 *)(*plVar9 + 0x5f0));
		 *     return;
		 *   }
		 * LAB_03384e38:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3284E3C VA: 0x781896FE3C
		protected void OnApplicationQuit();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   bool bVar4;
		 *   void *pvVar5;
		 *   long lVar6;
		 *   void *pvVar7;
		 *   void *extraout_x1;
		 *   void *pvVar8;
		 *   undefined8 *puVar9;
		 *   undefined8 uVar10;
		 *
		 *   if ((bRam000000000754acc0 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c59d8);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(PTR_DAT_070c59e0);
		 *     func_0x031fdc8c(PTR_DAT_070c59e8);
		 *     bRam000000000754acc0 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   puVar1 = PTR_DAT_070c59e8;
		 *   puVar2 = PTR_DAT_070c59d8;
		 *   if (this.punVoiceClient != null) {
		 *     pvVar8 = *(void **)((long)this.punVoiceClient + 0x50);
		 *     pvVar5 = (void *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070c59d8,methodInfo);
		 *     func_0x04de7524(pvVar5,this,*(undefined8 *)puVar1,0);
		 *     puVar3 = PTR_DAT_070c59e0;
		 *     puVar1 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *     if (pvVar8 != null) {
		 *       Photon.Realtime.LoadBalancingClient.remove_StateChanged(pvVar8,pvVar5);
		 *       lVar6 = *(long *)puVar1;
		 *       if (*(int *)(lVar6 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *         lVar6 = *(long *)puVar1;
		 *       }
		 *       lVar6 = *(long *)(*(long *)(lVar6 + 0xb8) + 8);
		 *       pvVar5 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
		 *       func_0x04de7524(pvVar5,this,*(undefined8 *)puVar3,0);
		 *       if (lVar6 != 0) {
		 *         if ((bRam00000000075550d5 & 1) == 0) {
		 *           func_0x031fdc8c(PTR_DAT_070c59d8,pvVar5,0);
		 *           bRam00000000075550d5 = 1;
		 *         }
		 *         puVar2 = PTR_DAT_070c59d8;
		 *         puVar9 = (undefined8 *)(lVar6 + 0xa0);
		 *         pvVar8 = (void *)*puVar9;
		 *         do {
		 *           pvVar7 = System.Delegate.Remove(pvVar8,pvVar5);
		 *           if (pvVar7 == null) {
		 *             lVar6 = 0;
		 *           }
		 *           else {
		 *             uVar10 = *(undefined8 *)puVar2;
		 *             lVar6 = func_0x031fde0c(pvVar7,uVar10);
		 *             if (lVar6 == 0) {
		 *               noreturn_helper_30fe2b4(pvVar7,uVar10);
		 *             }
		 *           }
		 *           pvVar7 = (void *)func_0x03236d84(puVar9,lVar6,pvVar8);
		 *           bVar4 = pvVar7 != pvVar8;
		 *           pvVar8 = pvVar7;
		 *         } while (bVar4);
		 *         return;
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3284F50 VA: 0x781896FF50
		public void .ctor();
		/*
		 *   undefined *puVar1;
		 *
		 *   this.calibrationMilliSeconds = 2000;
		 *   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;
		 */
	}
}
