namespace Photon.Voice.Unity.Demos.DemoVoiceUI
{

	// [TypeInfo RVA: 0x0]
	public class RemoteSpeakerUI : MonoBehaviour
	{
		private UnityEngine.UI.Text nameText; // 0x20
		protected UnityEngine.UI.Image remoteIsMuting; // 0x28
		private UnityEngine.UI.Image remoteIsTalking; // 0x30
		private UnityEngine.UI.InputField playDelayInputField; // 0x38
		private UnityEngine.UI.Text bufferLagText; // 0x40
		private UnityEngine.UI.Slider volumeSlider; // 0x48
		private UnityEngine.UI.Text photonVad; // 0x50
		private UnityEngine.UI.Text webrtcVad; // 0x58
		private UnityEngine.UI.Text aec; // 0x60
		private UnityEngine.UI.Text agc; // 0x68
		private UnityEngine.UI.Text mic; // 0x70
		protected Photon.Voice.Unity.Speaker speaker; // 0x78
		private UnityEngine.AudioSource audioSource; // 0x80
		protected Photon.Voice.Unity.VoiceConnection voiceConnection; // 0x88
		protected Photon.Realtime.LoadBalancingClient loadBalancingClient; // 0x90
		private int smoothedLag; // 0x98

		// RVA: 0x329371C VA: 0x781897E71C
		protected Photon.Realtime.Player get_Actor();
		/*
		 *   long *plVar1;
		 *   undefined8 uVar2;
		 *   long lVar3;
		 *
		 *   if ((*(long *)(param_1 + 0x90) == 0) ||
		 *      (plVar1 = *(long **)(*(long *)(param_1 + 0x90) + 0x128), plVar1 == null)) {
		 *     return 0;
		 *   }
		 *   if ((*(long *)(param_1 + 0x78) != 0) &&
		 *      (lVar3 = *(long *)(*(long *)(param_1 + 0x78) + 0x50), lVar3 != 0)) {
		 *     uVar2 = (**(code **)(*plVar1 + 0x1d8))
		 *                       (plVar1,*(undefined4 *)(lVar3 + 0x40),0,*(undefined8 *)(*plVar1 + 0x1e0));
		 *     return uVar2;
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x329376C VA: 0x781897E76C
		protected virtual void Start();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   void *pvVar3;
		 *   long *plVar4;
		 *   void *methodInfo_00;
		 *   void *methodInfo_01;
		 *   void *methodInfo_02;
		 *   void **ppvVar5;
		 *   void **ppvVar6;
		 *   void *pvVar7;
		 *   void *pvVar8;
		 *   int iStack_34;
		 *
		 *   puVar2 = PTR_DAT_070c6178;
		 *   puVar1 = PTR_DAT_070c0730;
		 *   if ((bRam000000000754ad51 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c0730);
		 *     func_0x031fdc8c(PTR_DAT_070c6178);
		 *     func_0x031fdc8c(PTR_DAT_070c6180);
		 *     func_0x031fdc8c(PTR_DAT_070c6188);
		 *     func_0x031fdc8c(PTR_DAT_070c4d28);
		 *     func_0x031fdc8c(PTR_DAT_070c5e50);
		 *     bRam000000000754ad51 = 1;
		 *   }
		 *   iStack_34 = 0;
		 *   pvVar3 = (void *)func_0x0373df50(this,*(undefined8 *)puVar2);
		 *   ppvVar6 = &this.speaker;
		 *   *ppvVar6 = pvVar3;
		 *   func_0x031fdc38(ppvVar6,pvVar3);
		 *   pvVar3 = (void *)func_0x0373df50(this,*(undefined8 *)puVar1);
		 *   ppvVar5 = &this.audioSource;
		 *   *ppvVar5 = pvVar3;
		 *   func_0x031fdc38(ppvVar5,pvVar3);
		 *   if (*ppvVar6 != null) {
		 *     pvVar7 = this.playDelayInputField;
		 *     iStack_34 = Photon.Voice.Unity.Speaker.get_PlayDelay(*ppvVar6);
		 *     pvVar3 = System.Int32.ToString(&iStack_34);
		 *     puVar2 = PTR_DAT_070c6180;
		 *     puVar1 = PTR_DAT_070c4d28;
		 *     if (pvVar7 != null) {
		 *       UnityEngine.UI.InputField.set_text(pvVar7,pvVar3);
		 *       pvVar8 = this.playDelayInputField;
		 *       pvVar3 = (void *)func_0x031fdf24(*(undefined8 *)puVar1);
		 *       pvVar7 = *(void **)puVar2;
		 *       func_0x048ad3a0(pvVar3,this,pvVar7,0);
		 *       UiExtensions.SetSingleOnEndEditCallback(pvVar8,pvVar3);
		 *       RemoteSpeakerUI.SetNickname(this);
		 *       RemoteSpeakerUI.SetMutedState(this);
		 *       RemoteSpeakerUI.SetProperties(this);
		 *       if (this.volumeSlider != null) {
		 *         UnityEngine.UI.Slider.set_minValue(this.volumeSlider,0.0);
		 *         puVar2 = PTR_DAT_070c6188;
		 *         puVar1 = PTR_DAT_070c5e50;
		 *         if (this.volumeSlider != null) {
		 *           UnityEngine.UI.Slider.set_maxValue(this.volumeSlider,1.0);
		 *           pvVar8 = this.volumeSlider;
		 *           pvVar3 = (void *)func_0x031fdf24(*(undefined8 *)puVar1);
		 *           pvVar7 = *(void **)puVar2;
		 *           func_0x048ad89c(pvVar3,this,pvVar7,0);
		 *           UiExtensions.SetSingleOnValueChangedCallback(pvVar8,pvVar3);
		 *           plVar4 = this.volumeSlider;
		 *           if (plVar4 != null) {
		 *             (**(code **)(*plVar4 + 0x428))(0x3f800000,plVar4,*(undefined8 *)(*plVar4 + 0x430));
		 *             if (*ppvVar5 != null) {
		 *               UnityEngine.AudioSource.set_volume(*ppvVar5,1.0);
		 *               return;
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3293C94 VA: 0x781897EC94
		private void OnVolumeChanged(float newValue);
		/*
		 *   void *obj;
		 *   long lVar1;
		 *
		 *   obj = this.audioSource;
		 *   if (obj == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if ((bRam000000000755d748 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_0714e1b0,0);
		 *     bRam000000000755d748 = 1;
		 *   }
		 *   if (obj != null) {
		 *     lVar1 = *(long *)((long)obj + 0x10);
		 *     if (lVar1 == 0) {
		 *       UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(obj);
		 *     }
		 *     if (pcRam000000000755d7a0 == null) {
		 *       pcRam000000000755d7a0 = (code *)func_0x031fdc50(&UNK_0136db23);
		 *     }
		 *     (*pcRam000000000755d7a0)(newValue,lVar1);
		 *     return;
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3293CAC VA: 0x781897ECAC
		private void OnPlayDelayChanged(string str);
		/*
		 *   bool bVar1;
		 *   long *args;
		 *   long lVar2;
		 *   undefined8 uVar3;
		 *   int iStack_24;
		 *
		 *   if ((bRam000000000754ad52 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     func_0x031fdc8c(PTR_DAT_070c61c8);
		 *     bRam000000000754ad52 = 1;
		 *   }
		 *   iStack_24 = 0;
		 *   bVar1 = System.Int32.TryParse(str,(int)&iStack_24);
		 *   if (bVar1) {
		 *     if (this.speaker == null) {
		 * LAB_03393db4:
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     Photon.Voice.Unity.Speaker.set_PlayDelay(this.speaker,iStack_24);
		 *   }
		 *   else {
		 *     args = (long *)func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a10,1);
		 *     if (args == null) goto LAB_03393db4;
		 *     if ((str != null) &&
		 *        (lVar2 = func_0x031fde0c(str,*(undefined8 *)(*args + 0x40)), lVar2 == 0)) {
		 *       uVar3 = func_0x031fdf58();
		 *       IL2CPP.ThrowManagedException();
		 *     }
		 *     if ((int)args[3] == 0) {
		 *       IL2CPP.ThrowIndexOutOfRangeException();
		 *     }
		 *     args[4] = (long)str;
		 *     func_0x031fdc38(args + 4,str);
		 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     UnityEngine.Debug.LogErrorFormat(*(void **)PTR_DAT_070c61c8,args);
		 *   }
		 *   return;
		 */
		// RVA: 0x3293DC8 VA: 0x781897EDC8
		private void Update();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   int iVar4;
		 *   undefined8 uVar5;
		 *   long *args;
		 *   long lVar6;
		 *   long lVar7;
		 *   void *pvVar8;
		 *   long *plVar9;
		 *   int iStack_3c;
		 *   int iStack_38;
		 *   int iStack_34;
		 *
		 *   if ((bRam000000000754ad53 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     func_0x031fdc8c(PTR_DAT_070c61d0);
		 *     func_0x031fdc8c(PTR_DAT_070c61d8);
		 *     func_0x031fdc8c(PTR_DAT_070c61e0);
		 *     bRam000000000754ad53 = 1;
		 *   }
		 *   if (this.speaker != null) {
		 *     pvVar8 = this.remoteIsTalking;
		 *     bVar3 = Photon.Voice.Unity.Speaker.get_IsPlaying(this.speaker);
		 *     if (pvVar8 != null) {
		 *       UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar8,bVar3);
		 *       if (this.speaker != null) {
		 *         bVar3 = Photon.Voice.Unity.Speaker.get_IsPlaying(this.speaker);
		 *         if (bVar3) {
		 *           if (this.speaker == null) goto LAB_03393fd8;
		 *           iVar4 = Photon.Voice.Unity.Speaker.get_Lag(this.speaker);
		 *           plVar9 = this.bufferLagText;
		 *           uVar5 = *(undefined8 *)PTR_DAT_070c0a10;
		 *           this.smoothedLag = (iVar4 + this.smoothedLag * 99) / 100;
		 *           args = (long *)func_0x031fdd78(uVar5,4);
		 *           puVar1 = PTR_DAT_070c61d8;
		 *           if (args == null) goto LAB_03393fd8;
		 *           if ((*(long *)PTR_DAT_070c61d8 != 0) &&
		 *              (lVar6 = func_0x031fde0c(*(long *)PTR_DAT_070c61d8,*(undefined8 *)(*args + 0x40)),
		 *              lVar6 == 0)) {
		 * LAB_03394058:
		 *             uVar5 = func_0x031fdf58();
		 *             IL2CPP.ThrowManagedException();
		 *           }
		 *           if ((int)args[3] == 0) {
		 * LAB_03394054:
		 *             IL2CPP.ThrowIndexOutOfRangeException();
		 *           }
		 *           args[4] = *(long *)puVar1;
		 *           func_0x031fdc38();
		 *           puVar1 = PTR_DAT_070c0840;
		 *           iStack_34 = this.smoothedLag;
		 *           lVar6 = func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),&iStack_34);
		 *           if ((lVar6 != 0) &&
		 *              (lVar7 = func_0x031fde0c(lVar6,*(undefined8 *)(*args + 0x40)), lVar7 == 0))
		 *           goto LAB_03394058;
		 *           if ((*(uint *)(args + 3) & 0xfffffffe) == 0) goto LAB_03394054;
		 *           args[5] = lVar6;
		 *           func_0x031fdc38(args + 5,lVar6);
		 *           puVar2 = PTR_DAT_070c61d0;
		 *           if ((*(long *)PTR_DAT_070c61d0 != 0) &&
		 *              (lVar6 = func_0x031fde0c(*(long *)PTR_DAT_070c61d0,*(undefined8 *)(*args + 0x40)),
		 *              lVar6 == 0)) goto LAB_03394058;
		 *           if (*(uint *)(args + 3) < 3) goto LAB_03394054;
		 *           args[6] = *(long *)puVar2;
		 *           func_0x031fdc38();
		 *           iStack_38 = iVar4;
		 *           lVar6 = func_0x031fde10(*(undefined8 *)(puVar1 + 0x48),&iStack_38);
		 *           if ((lVar6 != 0) &&
		 *              (lVar7 = func_0x031fde0c(lVar6,*(undefined8 *)(*args + 0x40)), lVar7 == 0))
		 *           goto LAB_03394058;
		 *           if ((*(uint *)(args + 3) & 0xfffffffc) == 0) goto LAB_03394054;
		 *           args[7] = lVar6;
		 *           func_0x031fdc38(args + 7,lVar6);
		 *           pvVar8 = System.String.Concat(args);
		 *         }
		 *         else {
		 *           iStack_3c = this.smoothedLag;
		 *           plVar9 = this.bufferLagText;
		 *           pvVar8 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),&iStack_3c);
		 *           pvVar8 = System.String.Concat(*(void **)PTR_DAT_070c61d8,pvVar8,*(void **)PTR_DAT_070c61e0);
		 *         }
		 *         if (plVar9 != null) {
		 *           (**(code **)(*plVar9 + 0x5e8))(plVar9,pvVar8,*(undefined8 *)(*plVar9 + 0x5f0));
		 *           return;
		 *         }
		 *       }
		 *     }
		 *   }
		 * LAB_03393fd8:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294064 VA: 0x781897F064
		private void OnDestroy();
		/*
		 *   int iVar1;
		 *   int iVar2;
		 *   undefined *puVar3;
		 *   void *pvVar4;
		 *   undefined8 *puVar5;
		 *   long lVar6;
		 *   long lVar7;
		 *
		 *   puVar3 = typeinfo_ptr_PhotonRealtime_CallbackTargetChange_6FFEE58;
		 *   pvVar4 = this.loadBalancingClient;
		 *   if (pvVar4 == null) {
		 *     return;
		 *   }
		 *   if ((bRam000000000755510c & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_CallbackTargetChange_6FFEE58,this,0);
		 *     func_0x031fdc8c(PTR_DAT_070fee60);
		 *     bRam000000000755510c = 1;
		 *   }
		 *   lVar7 = *(long *)((long)pvVar4 + 0x188);
		 *   pvVar4 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
		 *   System.Object..ctor(pvVar4);
		 *   *(undefined8 *)((long)pvVar4 + 0x10) = this;
		 *   func_0x031fdc38((undefined8 *)((long)pvVar4 + 0x10),this);
		 *   *(undefined1 *)((long)pvVar4 + 0x18) = 0;
		 *   if (lVar7 == 0) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   lVar6 = *(long *)(lVar7 + 0x10);
		 *   if (lVar6 != 0) {
		 *     iVar2 = *(int *)(lVar7 + 0x20);
		 *     if (iVar2 == *(int *)(lVar6 + 0x18)) {
		 *       iVar1 = iVar2 + 4;
		 *       if (iVar2 + 4 <= iVar2 * 2) {
		 *         iVar1 = iVar2 << 1;
		 *       }
		 *       func_0x04486cc4(lVar7,iVar1,
		 *                       *(undefined8 *)
		 *                        (*(long *)(*(long *)(*(long *)PTR_DAT_070fee60 + 0x20) + 0xc0) + 0x28));
		 *       lVar6 = *(long *)(lVar7 + 0x10);
		 *       if (lVar6 == 0) goto LAB_044868c0;
		 *     }
		 *     if (*(uint *)(lVar6 + 0x18) <= *(uint *)(lVar7 + 0x1c)) {
		 *       IL2CPP.ThrowIndexOutOfRangeException();
		 *     }
		 *     puVar5 = (undefined8 *)(lVar6 + (long)(int)*(uint *)(lVar7 + 0x1c) * 8 + 0x20);
		 *     *puVar5 = pvVar4;
		 *     func_0x031fdc38(puVar5,pvVar4);
		 *     if (*(long *)(lVar7 + 0x10) != 0) {
		 *       iVar2 = 0;
		 *       if (*(int *)(lVar7 + 0x1c) + 1 != *(int *)(*(long *)(lVar7 + 0x10) + 0x18)) {
		 *         iVar2 = *(int *)(lVar7 + 0x1c) + 1;
		 *       }
		 *       *(int *)(lVar7 + 0x1c) = iVar2;
		 *       *(ulong *)(lVar7 + 0x20) =
		 *            CONCAT44((int)((ulong)*(undefined8 *)(lVar7 + 0x20) >> 0x20) + 1,
		 *                     (int)*(undefined8 *)(lVar7 + 0x20) + 1);
		 *       return;
		 *     }
		 *   }
		 * LAB_044868c0:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3293968 VA: 0x781897E968
		private void SetNickname();
		/*
		 *   bool bVar1;
		 *   void *pvVar2;
		 *   long lVar3;
		 *   long *plVar4;
		 *   undefined4 uStack_14;
		 *
		 *   if ((bRam000000000754ad54 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6190);
		 *     bRam000000000754ad54 = 1;
		 *   }
		 *   if (this.speaker != null) {
		 *     pvVar2 = UnityEngine.Object.get_name(this.speaker);
		 *     lVar3 = RemoteSpeakerUI.get_Actor(this);
		 *     if (lVar3 != 0) {
		 *       lVar3 = RemoteSpeakerUI.get_Actor(this);
		 *       if (lVar3 == 0) goto LAB_03393a44;
		 *       pvVar2 = *(void **)(lVar3 + 0x20);
		 *       bVar1 = System.String.IsNullOrEmpty(pvVar2);
		 *       if (bVar1) {
		 *         lVar3 = RemoteSpeakerUI.get_Actor(this);
		 *         if (lVar3 == 0) goto LAB_03393a44;
		 *         uStack_14 = *(undefined4 *)(lVar3 + 0x18);
		 *         pvVar2 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),&uStack_14);
		 *         pvVar2 = System.String.Concat(*(void **)PTR_DAT_070c6190,pvVar2);
		 *       }
		 *     }
		 *     plVar4 = this.nameText;
		 *     if (plVar4 != null) {
		 *       (**(code **)(*plVar4 + 0x5e8))(plVar4,pvVar2,*(undefined8 *)(*plVar4 + 0x5f0));
		 *       return;
		 *     }
		 *   }
		 * LAB_03393a44:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3293A48 VA: 0x781897EA48
		private void SetMutedState();
		/*
		 *   uint uVar1;
		 *
		 *   RemoteSpeakerUI.get_Actor();
		 *   uVar1 = PhotonDemoExtensions.IsMuted();
		 *   (**(code **)(*(long *)this + 0x1d8))(this,uVar1 & 1,*(undefined8 *)(*(long *)this + 0x1e0));
		 *   return;
		 */
		// RVA: 0x3293A70 VA: 0x781897EA70
		private void SetProperties();
		/*
		 *   undefined8 *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   byte bVar4;
		 *   void *str3;
		 *   ulong uVar5;
		 *   void *extraout_x1;
		 *   void *pvVar6;
		 *   long *plVar7;
		 *   undefined4 uStack_34;
		 *
		 *   if ((bRam000000000754ad55 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6198);
		 *     func_0x031fdc8c(PTR_DAT_070c61a0);
		 *     func_0x031fdc8c(PTR_DAT_070c61a8);
		 *     func_0x031fdc8c(PTR_DAT_070c61b0);
		 *     func_0x031fdc8c(PTR_DAT_070c61b8);
		 *     func_0x031fdc8c(PTR_DAT_070c0df0);
		 *     func_0x031fdc8c(PTR_DAT_070c61c0);
		 *     bRam000000000754ad55 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar6 = this.photonVad;
		 *   uStack_34 = 0;
		 *   RemoteSpeakerUI.get_Actor(this);
		 *   bVar4 = PhotonDemoExtensions.HasPhotonVAD();
		 *   if (pvVar6 != null) {
		 *     UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,(bool)(bVar4 & 1));
		 *     pvVar6 = this.webrtcVad;
		 *     RemoteSpeakerUI.get_Actor(this);
		 *     bVar4 = PhotonDemoExtensions.HasWebRTCVAD();
		 *     if (pvVar6 != null) {
		 *       UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,(bool)(bVar4 & 1));
		 *       pvVar6 = this.aec;
		 *       RemoteSpeakerUI.get_Actor(this);
		 *       bVar4 = PhotonDemoExtensions.HasAEC();
		 *       if (pvVar6 != null) {
		 *         UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,(bool)(bVar4 & 1))
		 *         ;
		 *         pvVar6 = this.agc;
		 *         RemoteSpeakerUI.get_Actor(this);
		 *         bVar4 = PhotonDemoExtensions.HasAGC();
		 *         puVar3 = PTR_DAT_070c61b8;
		 *         puVar2 = PTR_DAT_070c61a8;
		 *         if (pvVar6 != null) {
		 *           UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,(bool)(bVar4 & 1));
		 *           plVar7 = this.agc;
		 *           RemoteSpeakerUI.get_Actor(this);
		 *           uStack_34 = PhotonDemoExtensions.GetAGCGain();
		 *           pvVar6 = System.Int32.ToString(&uStack_34);
		 *           RemoteSpeakerUI.get_Actor(this);
		 *           uStack_34 = PhotonDemoExtensions.GetAGCLevel();
		 *           str3 = System.Int32.ToString(&uStack_34);
		 *           pvVar6 = System.String.Concat(*(void **)puVar2,pvVar6,*(void **)puVar3,str3);
		 *           if (plVar7 != null) {
		 *             (**(code **)(*plVar7 + 0x5e8))(plVar7,pvVar6,*(undefined8 *)(*plVar7 + 0x5f0));
		 *             RemoteSpeakerUI.get_Actor(this);
		 *             uVar5 = PhotonDemoExtensions.GetMic();
		 *             if (this.mic != null) {
		 *               UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(this.mic,(uVar5 & 0xff) != 0);
		 *               plVar7 = this.mic;
		 *               if (plVar7 != null) {
		 *                 puVar1 = (undefined8 *)PTR_DAT_070c61b0;
		 *                 if (uVar5 >> 0x20 != 0) {
		 *                   puVar1 = (undefined8 *)PTR_DAT_070c61c0;
		 *                 }
		 *                 if ((uVar5 & 0xff) == 0) {
		 *                   puVar1 = (undefined8 *)PTR_DAT_070c0df0;
		 *                 }
		 *                 (**(code **)(*plVar7 + 0x5e8))(plVar7,*puVar1,*(undefined8 *)(*plVar7 + 0x5f0));
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x329407C VA: 0x781897F07C
		protected virtual void SetMutedState(bool isMuted);
		/*
		 *   void *obj;
		 *   long lVar1;
		 *
		 *   obj = this.remoteIsMuting;
		 *   if (obj == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if ((bRam000000000755f745 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_0714f3a0,isMuted,0);
		 *     bRam000000000755f745 = 1;
		 *   }
		 *   if (obj != null) {
		 *     lVar1 = *(long *)((long)obj + 0x10);
		 *     if (lVar1 == 0) {
		 *       UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(obj);
		 *     }
		 *     if (pcRam000000000755f750 == null) {
		 *       pcRam000000000755f750 = (code *)func_0x031fdc50(&UNK_0137c3e0);
		 *     }
		 *     (*pcRam000000000755f750)(lVar1,isMuted);
		 *     return;
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294098 VA: 0x781897F098
		protected virtual void OnActorPropertiesChanged(Photon.Realtime.Player targetPlayer, ExitGames.Client.Photon.Hashtable changedProps);
		/*
		 *   undefined8 *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   byte bVar4;
		 *   void *str3;
		 *   ulong uVar5;
		 *   void *methodInfo;
		 *   long lVar6;
		 *   long *plVar7;
		 *   void *pvVar8;
		 *   undefined1 auVar9 [16];
		 *   undefined4 uStack_34;
		 *
		 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000754ad56 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     bRam000000000754ad56 = 1;
		 *   }
		 *   pvVar8 = param_1->speaker;
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   auVar9 = UnityEngine.Object.op_Inequality(pvVar8,null);
		 *   if ((auVar9._0_8_ & 1) != 0) {
		 *     if (param_1->speaker == null) {
		 * LAB_03394154:
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     lVar6 = *(long *)((long)param_1->speaker + 0x50);
		 *     if (lVar6 != 0) {
		 *       if (param_2 == 0) goto LAB_03394154;
		 *       if (*(int *)(param_2 + 0x18) == *(int *)(lVar6 + 0x40)) {
		 *         RemoteSpeakerUI.SetMutedState(param_1);
		 *         RemoteSpeakerUI.SetNickname(param_1);
		 *         if ((bRam000000000754ad55 & 1) == 0) {
		 *           func_0x031fdc8c(PTR_DAT_070c6198);
		 *           func_0x031fdc8c(PTR_DAT_070c61a0);
		 *           func_0x031fdc8c(PTR_DAT_070c61a8);
		 *           func_0x031fdc8c(PTR_DAT_070c61b0);
		 *           func_0x031fdc8c(PTR_DAT_070c61b8);
		 *           func_0x031fdc8c(PTR_DAT_070c0df0);
		 *           func_0x031fdc8c(PTR_DAT_070c61c0);
		 *           bRam000000000754ad55 = 1;
		 *         }
		 *         pvVar8 = param_1->photonVad;
		 *         uStack_34 = 0;
		 *         RemoteSpeakerUI.get_Actor(param_1);
		 *         bVar4 = PhotonDemoExtensions.HasPhotonVAD();
		 *         if (pvVar8 != null) {
		 *           UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar8,(bool)(bVar4 & 1));
		 *           pvVar8 = param_1->webrtcVad;
		 *           RemoteSpeakerUI.get_Actor(param_1);
		 *           bVar4 = PhotonDemoExtensions.HasWebRTCVAD();
		 *           if (pvVar8 != null) {
		 *             UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar8,(bool)(bVar4 & 1));
		 *             pvVar8 = param_1->aec;
		 *             RemoteSpeakerUI.get_Actor(param_1);
		 *             bVar4 = PhotonDemoExtensions.HasAEC();
		 *             if (pvVar8 != null) {
		 *               UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar8,(bool)(bVar4 & 1));
		 *               pvVar8 = param_1->agc;
		 *               RemoteSpeakerUI.get_Actor(param_1);
		 *               bVar4 = PhotonDemoExtensions.HasAGC();
		 *               puVar3 = PTR_DAT_070c61b8;
		 *               puVar2 = PTR_DAT_070c61a8;
		 *               if (pvVar8 != null) {
		 *                 UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar8,(bool)(bVar4 & 1));
		 *                 plVar7 = param_1->agc;
		 *                 RemoteSpeakerUI.get_Actor(param_1);
		 *                 uStack_34 = PhotonDemoExtensions.GetAGCGain();
		 *                 pvVar8 = System.Int32.ToString(&uStack_34);
		 *                 RemoteSpeakerUI.get_Actor(param_1);
		 *                 uStack_34 = PhotonDemoExtensions.GetAGCLevel();
		 *                 str3 = System.Int32.ToString(&uStack_34);
		 *                 pvVar8 = System.String.Concat(*(void **)puVar2,pvVar8,*(void **)puVar3,str3);
		 *                 if (plVar7 != null) {
		 *                   (**(code **)(*plVar7 + 0x5e8))(plVar7,pvVar8,*(undefined8 *)(*plVar7 + 0x5f0));
		 *                   RemoteSpeakerUI.get_Actor(param_1);
		 *                   uVar5 = PhotonDemoExtensions.GetMic();
		 *                   if (param_1->mic != null) {
		 *                     UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(param_1->mic,(uVar5 & 0xff) != 0);
		 *                     plVar7 = param_1->mic;
		 *                     if (plVar7 != null) {
		 *                       puVar1 = (undefined8 *)PTR_DAT_070c61b0;
		 *                       if (uVar5 >> 0x20 != 0) {
		 *                         puVar1 = (undefined8 *)PTR_DAT_070c61c0;
		 *                       }
		 *                       if ((uVar5 & 0xff) == 0) {
		 *                         puVar1 = (undefined8 *)PTR_DAT_070c0df0;
		 *                       }
		 *                       (**(code **)(*plVar7 + 0x5e8))
		 *                                 (plVar7,*puVar1,*(undefined8 *)(*plVar7 + 0x5f0));
		 *                       return;
		 *                     }
		 *                   }
		 *                 }
		 *               }
		 *             }
		 *           }
		 *         }
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *     }
		 *   }
		 *   return;
		 */
		// RVA: 0x3294158 VA: 0x781897F158
		public virtual void Init(Photon.Voice.Unity.VoiceConnection vC);
		/*
		 *   int iVar1;
		 *   int iVar2;
		 *   undefined *puVar3;
		 *   void *pvVar4;
		 *   undefined8 *puVar5;
		 *   long lVar6;
		 *   void **ppvVar7;
		 *   void **ppvVar8;
		 *   long lVar9;
		 *
		 *   ppvVar7 = &this.voiceConnection;
		 *   *ppvVar7 = vC;
		 *   func_0x031fdc38(ppvVar7);
		 *   if (*ppvVar7 != null) {
		 *     ppvVar8 = &this.loadBalancingClient;
		 *     *ppvVar8 = *(void **)((long)*ppvVar7 + 0x50);
		 *     func_0x031fdc38(ppvVar8);
		 *     puVar3 = typeinfo_ptr_PhotonRealtime_CallbackTargetChange_6FFEE58;
		 *     pvVar4 = *ppvVar8;
		 *     if (pvVar4 != null) {
		 *       if ((bRam000000000755510b & 1) == 0) {
		 *         func_0x031fdc8c(typeinfo_ptr_PhotonRealtime_CallbackTargetChange_6FFEE58,this,0);
		 *         func_0x031fdc8c(PTR_DAT_070fee60);
		 *         bRam000000000755510b = 1;
		 *       }
		 *       lVar9 = *(long *)((long)pvVar4 + 0x188);
		 *       pvVar4 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
		 *       System.Object..ctor(pvVar4);
		 *       *(undefined8 *)((long)pvVar4 + 0x10) = this;
		 *       func_0x031fdc38((undefined8 *)((long)pvVar4 + 0x10),this);
		 *       *(undefined1 *)((long)pvVar4 + 0x18) = 1;
		 *       if (lVar9 == 0) {
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *       lVar6 = *(long *)(lVar9 + 0x10);
		 *       if (lVar6 != 0) {
		 *         iVar2 = *(int *)(lVar9 + 0x20);
		 *         if (iVar2 == *(int *)(lVar6 + 0x18)) {
		 *           iVar1 = iVar2 + 4;
		 *           if (iVar2 + 4 <= iVar2 * 2) {
		 *             iVar1 = iVar2 << 1;
		 *           }
		 *           func_0x04486cc4(lVar9,iVar1,
		 *                           *(undefined8 *)
		 *                            (*(long *)(*(long *)(*(long *)PTR_DAT_070fee60 + 0x20) + 0xc0) + 0x28));
		 *           lVar6 = *(long *)(lVar9 + 0x10);
		 *           if (lVar6 == 0) goto LAB_044868c0;
		 *         }
		 *         if (*(uint *)(lVar6 + 0x18) <= *(uint *)(lVar9 + 0x1c)) {
		 *           IL2CPP.ThrowIndexOutOfRangeException();
		 *         }
		 *         puVar5 = (undefined8 *)(lVar6 + (long)(int)*(uint *)(lVar9 + 0x1c) * 8 + 0x20);
		 *         *puVar5 = pvVar4;
		 *         func_0x031fdc38(puVar5,pvVar4);
		 *         if (*(long *)(lVar9 + 0x10) != 0) {
		 *           iVar2 = 0;
		 *           if (*(int *)(lVar9 + 0x1c) + 1 != *(int *)(*(long *)(lVar9 + 0x10) + 0x18)) {
		 *             iVar2 = *(int *)(lVar9 + 0x1c) + 1;
		 *           }
		 *           *(int *)(lVar9 + 0x1c) = iVar2;
		 *           *(ulong *)(lVar9 + 0x20) =
		 *                CONCAT44((int)((ulong)*(undefined8 *)(lVar9 + 0x20) >> 0x20) + 1,
		 *                         (int)*(undefined8 *)(lVar9 + 0x20) + 1);
		 *           return;
		 *         }
		 *       }
		 * LAB_044868c0:
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x32941B0 VA: 0x781897F1B0
		private void Photon.Realtime.IInRoomCallbacks.OnPlayerEnteredRoom(Photon.Realtime.Player newPlayer);
		/*
		 *   return;
		 */
		// RVA: 0x32941B4 VA: 0x781897F1B4
		private void Photon.Realtime.IInRoomCallbacks.OnPlayerLeftRoom(Photon.Realtime.Player otherPlayer);
		/*
		 *   return;
		 */
		// RVA: 0x32941B8 VA: 0x781897F1B8
		private void Photon.Realtime.IInRoomCallbacks.OnRoomPropertiesUpdate(ExitGames.Client.Photon.Hashtable propertiesThatChanged);
		/*
		 *   return;
		 */
		// RVA: 0x32941BC VA: 0x781897F1BC
		private void Photon.Realtime.IInRoomCallbacks.OnPlayerPropertiesUpdate(Photon.Realtime.Player targetPlayer, ExitGames.Client.Photon.Hashtable changedProps);
		/*
		 *   (**(code **)(*param_1 + 0x1e8))();
		 *   return;
		 */
		// RVA: 0x32941C8 VA: 0x781897F1C8
		private void Photon.Realtime.IInRoomCallbacks.OnMasterClientSwitched(Photon.Realtime.Player newMasterClient);
		/*
		 *   return;
		 */
		// RVA: 0x32941CC VA: 0x781897F1CC
		public void .ctor();
		/*
		 *   undefined *puVar1;
		 *
		 *   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;
		 */
	}
}
