namespace ExitGames.Demos.DemoPunVoice
{

	// [TypeInfo RVA: 0x0]
	public class ProximityVoiceTrigger : VoiceComponent
	{
		private System.Collections.Generic.List<System.Byte> groupsToAdd; // 0x28
		private System.Collections.Generic.List<System.Byte> groupsToRemove; // 0x30
		private System.Byte[] subscribedGroups; // 0x38
		private Photon.Voice.PUN.PhotonVoiceView photonVoiceView; // 0x40
		private Photon.Pun.PhotonView photonView; // 0x48

		// RVA: 0x327E4F0 VA: 0x78189694F0
		public byte get_TargetInterestGroup();
		/*
		 *   undefined *puVar1;
		 *   byte bVar2;
		 *   ulong uVar3;
		 *   void *extraout_x1;
		 *   void *pvVar4;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000754ac84 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     bRam000000000754ac84 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar4 = this.photonView;
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1,methodInfo);
		 *   }
		 *   uVar3 = UnityEngine.Object.op_Inequality(pvVar4,null);
		 *   if ((uVar3 & 1) == 0) {
		 *     bVar2 = 0;
		 *   }
		 *   else {
		 *     if (this.photonView == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     bVar2 = (byte)*(undefined4 *)((long)this.photonView + 0x88);
		 *   }
		 *   return bVar2;
		 */
		// RVA: 0x327E570 VA: 0x7818969570
		protected override void Awake();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   bool bVar4;
		 *   void *pvVar5;
		 *   long *plVar6;
		 *   long *plVar7;
		 *   long lVar8;
		 *   long lVar9;
		 *   undefined8 *puVar10;
		 *   ulong uVar11;
		 *   int *piVar12;
		 *   undefined8 uVar13;
		 *   undefined1 auVar14 [16];
		 *   byte abStack_34 [4];
		 *
		 *   puVar3 = PTR_DAT_070c5840;
		 *   puVar2 = PTR_DAT_070c4af8;
		 *   puVar1 = PTR_DAT_070c07e0;
		 *   if ((bRam000000000754ac85 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c4af8);
		 *     func_0x031fdc8c(PTR_DAT_070c5840);
		 *     func_0x031fdc8c(PTR_DAT_070c07e0);
		 *     bRam000000000754ac85 = 1;
		 *   }
		 *   pvVar5 = (void *)func_0x0373e4dc(this,*(undefined8 *)puVar3);
		 *   this.photonVoiceView = pvVar5;
		 *   func_0x031fdc38();
		 *   pvVar5 = (void *)func_0x0373e4dc(this,*(undefined8 *)puVar2);
		 *   this.photonView = pvVar5;
		 *   func_0x031fdc38();
		 *   pvVar5 = (void *)func_0x0373df50(this,*(undefined8 *)puVar1);
		 *   if (pvVar5 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   UnityEngine.Collider.set_isTrigger(pvVar5,true);
		 *   if ((bRam000000000754ac8a & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     func_0x031fdc8c(PTR_DAT_070c5850);
		 *     bRam000000000754ac8a = 1;
		 *   }
		 *   if (this.photonView != null) {
		 *     if ((*(char *)((long)this.photonView + 0x68) != '\0') ||
		 *        (bVar4 = UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.get_enabled(this), !bVar4)) {
		 *       return;
		 *     }
		 *     plVar6 = (long *)VoiceComponent.get_Logger(this);
		 *     auVar14 = func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a10,1);
		 *     plVar7 = auVar14._0_8_;
		 *     abStack_34[0] =
		 *          ProximityVoiceTrigger.get_TargetInterestGroup(this)
		 *     ;
		 *     lVar8 = func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x18),abStack_34);
		 *     if (plVar7 != null) {
		 *       if ((lVar8 != 0) &&
		 *          (lVar9 = func_0x031fde0c(lVar8,*(undefined8 *)(*plVar7 + 0x40)), lVar9 == 0)) {
		 *         uVar13 = func_0x031fdf58();
		 *         IL2CPP.ThrowManagedException();
		 *       }
		 *       if ((int)plVar7[3] == 0) {
		 *         IL2CPP.ThrowIndexOutOfRangeException();
		 *       }
		 *       plVar7[4] = lVar8;
		 *       func_0x031fdc38(plVar7 + 4,lVar8);
		 *       if (plVar6 != null) {
		 *         lVar8 = *plVar6;
		 *         uVar11 = (ulong)*(ushort *)(lVar8 + 0x12e);
		 *         uVar13 = *(undefined8 *)PTR_DAT_070c5850;
		 *         if (uVar11 != 0) {
		 *           piVar12 = (int *)(*(long *)(lVar8 + 0xb0) + 8);
		 *           do {
		 *             if (*(long *)(piVar12 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848) {
		 *               puVar10 = (undefined8 *)(lVar8 + (long)(*piVar12 + 1) * 0x10 + 0x138);
		 *               goto LAB_0337e798;
		 *             }
		 *             uVar11 = uVar11 - 1;
		 *             piVar12 = piVar12 + 4;
		 *           } while (uVar11 != 0);
		 *         }
		 *         puVar10 = (undefined8 *)
		 *                   func_0x03237558(plVar6,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_0337e798:
		 *         (*(code *)*puVar10)(plVar6,3,uVar13,plVar7,puVar10[1]);
		 *         UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(this,false);
		 *         return;
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x327E7F0 VA: 0x78189697F0
		private void ToggleTransmission();
		/*
		 *   byte value;
		 *   byte bVar1;
		 *   void *pvVar2;
		 *   long *plVar3;
		 *   long *plVar4;
		 *   long lVar5;
		 *   long lVar6;
		 *   undefined8 *puVar7;
		 *   void *extraout_x1;
		 *   ulong uVar8;
		 *   int *piVar9;
		 *   undefined8 uVar10;
		 *   undefined1 auVar11 [16];
		 *   byte abStack_34 [4];
		 *
		 *   if ((bRam000000000754ac86 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c5858);
		 *     bRam000000000754ac86 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   if (this.photonVoiceView == null) goto LAB_0337e9f8;
		 *   uVar10 = *(undefined8 *)((long)this.photonVoiceView + 0x38);
		 *   if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8,methodInfo);
		 *   }
		 *   auVar11 = UnityEngine.Object.op_Inequality(uVar10,null);
		 *   if ((auVar11._0_8_ & 1) != 0) {
		 *     value = ProximityVoiceTrigger.get_TargetInterestGroup(this);
		 *     if ((this.photonVoiceView == null) ||
		 *        (pvVar2 = *(void **)((long)this.photonVoiceView + 0x38), pvVar2 == null))
		 *     goto LAB_0337e9f8;
		 *     bVar1 = Recorder.get_InterestGroup(pvVar2);
		 *     if (bVar1 != value) {
		 *       plVar3 = (long *)VoiceComponent.get_Logger(this);
		 *       plVar4 = (long *)func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a10,1);
		 *       abStack_34[0] = value;
		 *       lVar5 = func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x18),abStack_34);
		 *       if (plVar4 == null) goto LAB_0337e9f8;
		 *       if ((lVar5 != 0) &&
		 *          (lVar6 = func_0x031fde0c(lVar5,*(undefined8 *)(*plVar4 + 0x40)), lVar6 == 0)) {
		 *         uVar10 = func_0x031fdf58();
		 *         IL2CPP.ThrowManagedException();
		 *       }
		 *       if ((int)plVar4[3] == 0) {
		 *         IL2CPP.ThrowIndexOutOfRangeException();
		 *       }
		 *       plVar4[4] = lVar5;
		 *       func_0x031fdc38(plVar4 + 4,lVar5);
		 *       if (plVar3 == null) goto LAB_0337e9f8;
		 *       lVar5 = *plVar3;
		 *       uVar8 = (ulong)*(ushort *)(lVar5 + 0x12e);
		 *       uVar10 = *(undefined8 *)PTR_DAT_070c5858;
		 *       if (uVar8 != 0) {
		 *         piVar9 = (int *)(*(long *)(lVar5 + 0xb0) + 8);
		 *         do {
		 *           if (*(long *)(piVar9 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848) {
		 *             puVar7 = (undefined8 *)(lVar5 + (long)(*piVar9 + 1) * 0x10 + 0x138);
		 *             goto LAB_0337e994;
		 *           }
		 *           uVar8 = uVar8 - 1;
		 *           piVar9 = piVar9 + 4;
		 *         } while (uVar8 != 0);
		 *       }
		 *       puVar7 = (undefined8 *)
		 *                func_0x03237558(plVar3,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_0337e994:
		 *       (*(code *)*puVar7)(plVar3,3,uVar10,plVar4,puVar7[1]);
		 *       if ((this.photonVoiceView == null) ||
		 *          (pvVar2 = *(void **)((long)this.photonVoiceView + 0x38), pvVar2 == null))
		 *       goto LAB_0337e9f8;
		 *       Recorder.set_InterestGroup(pvVar2,value);
		 *     }
		 *     if ((this.photonVoiceView == null) ||
		 *        (pvVar2 = *(void **)((long)this.photonVoiceView + 0x38), pvVar2 == null)) {
		 * LAB_0337e9f8:
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     Recorder.set_RecordingEnabled(pvVar2,true);
		 *   }
		 *   return;
		 */
		// RVA: 0x327EA0C VA: 0x7818969A0C
		private void OnTriggerEnter(UnityEngine.Collider other);
		/*
		 *   bool bVar1;
		 *   byte bVar2;
		 *   byte bVar3;
		 *   ProximityVoiceTrigger *this_00;
		 *   long *plVar4;
		 *   long *plVar5;
		 *   long lVar6;
		 *   long lVar7;
		 *   undefined8 *puVar8;
		 *   void *extraout_x1;
		 *   void *methodInfo_00;
		 *   void *methodInfo_01;
		 *   ulong uVar9;
		 *   int *piVar10;
		 *   undefined8 uVar11;
		 *   undefined1 auVar12 [16];
		 *   byte abStack_34 [4];
		 *
		 *   methodInfo_00 = other;
		 *   if ((bRam000000000754ac87 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5860);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_070c5868);
		 *     func_0x031fdc8c(PTR_DAT_070c5870);
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c5878);
		 *     bRam000000000754ac87 = 1;
		 *     methodInfo_00 = extraout_x1;
		 *   }
		 *   bVar1 = ProximityVoiceTrigger.IsLocalCheck(this);
		 *   if (!bVar1) {
		 *     return;
		 *   }
		 *   if (other != null) {
		 *     this_00 = (ProximityVoiceTrigger *)func_0x0373df50(other,*(undefined8 *)PTR_DAT_070c5860);
		 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     }
		 *     auVar12 = UnityEngine.Object.op_Inequality(this_00,null);
		 *     if ((auVar12._0_8_ & 1) == 0) {
		 *       return;
		 *     }
		 *     if (this_00 != null) {
		 *       bVar2 = ProximityVoiceTrigger.get_TargetInterestGroup(this_00);
		 *       plVar4 = (long *)VoiceComponent.get_Logger(this);
		 *       plVar5 = (long *)func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a10,1);
		 *       abStack_34[0] = bVar2;
		 *       lVar6 = func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x18),abStack_34);
		 *       if (plVar5 != null) {
		 *         if ((lVar6 != 0) &&
		 *            (lVar7 = func_0x031fde0c(lVar6,*(undefined8 *)(*plVar5 + 0x40)), lVar7 == 0)) {
		 *           uVar11 = func_0x031fdf58();
		 *           IL2CPP.ThrowManagedException();
		 *         }
		 *         if ((int)plVar5[3] == 0) {
		 *           IL2CPP.ThrowIndexOutOfRangeException();
		 *         }
		 *         plVar5[4] = lVar6;
		 *         func_0x031fdc38(plVar5 + 4,lVar6);
		 *         if (plVar4 != null) {
		 *           lVar6 = *plVar4;
		 *           uVar9 = (ulong)*(ushort *)(lVar6 + 0x12e);
		 *           uVar11 = *(undefined8 *)PTR_DAT_070c5878;
		 *           if (uVar9 != 0) {
		 *             piVar10 = (int *)(*(long *)(lVar6 + 0xb0) + 8);
		 *             do {
		 *               if (*(long *)(piVar10 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848)
		 *               {
		 *                 puVar8 = (undefined8 *)(lVar6 + (long)(*piVar10 + 1) * 0x10 + 0x138);
		 *                 goto LAB_0337ebd8;
		 *               }
		 *               uVar9 = uVar9 - 1;
		 *               piVar10 = piVar10 + 4;
		 *             } while (uVar9 != 0);
		 *           }
		 *           puVar8 = (undefined8 *)
		 *                    func_0x03237558(plVar4,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_0337ebd8:
		 *           (*(code *)*puVar8)(plVar4,4,uVar11,plVar5,puVar8[1]);
		 *           bVar3 = ProximityVoiceTrigger.get_TargetInterestGroup(this);
		 *           if (bVar2 == 0) {
		 *             return;
		 *           }
		 *           if (bVar2 == bVar3) {
		 *             return;
		 *           }
		 *           if (this.groupsToAdd != null) {
		 *             uVar9 = func_0x03e8a320(this.groupsToAdd,bVar2,*(undefined8 *)PTR_DAT_070c5870);
		 *             if ((uVar9 & 1) != 0) {
		 *               return;
		 *             }
		 *             if (this.groupsToAdd != null) {
		 *               func_0x02d71da4(this.groupsToAdd,bVar2,*(undefined8 *)PTR_DAT_070c5868);
		 *               return;
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x327EC70 VA: 0x7818969C70
		private void OnTriggerExit(UnityEngine.Collider other);
		/*
		 *   undefined *puVar1;
		 *   bool bVar2;
		 *   byte bVar3;
		 *   byte bVar4;
		 *   ProximityVoiceTrigger *this_00;
		 *   long *plVar5;
		 *   long *plVar6;
		 *   long lVar7;
		 *   long lVar8;
		 *   undefined8 *puVar9;
		 *   void *extraout_x1;
		 *   void *methodInfo_00;
		 *   void *methodInfo_01;
		 *   ulong uVar10;
		 *   int *piVar11;
		 *   undefined8 uVar12;
		 *   undefined1 auVar13 [16];
		 *   byte abStack_34 [4];
		 *
		 *   methodInfo_00 = other;
		 *   if ((bRam000000000754ac88 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5860);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_070c5868);
		 *     func_0x031fdc8c(PTR_DAT_070c5870);
		 *     func_0x031fdc8c(PTR_DAT_070c5880);
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c5888);
		 *     bRam000000000754ac88 = 1;
		 *     methodInfo_00 = extraout_x1;
		 *   }
		 *   bVar2 = ProximityVoiceTrigger.IsLocalCheck(this);
		 *   if (!bVar2) {
		 *     return;
		 *   }
		 *   if (other != null) {
		 *     this_00 = (ProximityVoiceTrigger *)func_0x0373df50(other,*(undefined8 *)PTR_DAT_070c5860);
		 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     }
		 *     auVar13 = UnityEngine.Object.op_Inequality(this_00,null);
		 *     if ((auVar13._0_8_ & 1) == 0) {
		 *       return;
		 *     }
		 *     if (this_00 != null) {
		 *       bVar3 = ProximityVoiceTrigger.get_TargetInterestGroup(this_00);
		 *       plVar5 = (long *)VoiceComponent.get_Logger(this);
		 *       plVar6 = (long *)func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a10,1);
		 *       abStack_34[0] = bVar3;
		 *       lVar7 = func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x18),abStack_34);
		 *       if (plVar6 != null) {
		 *         if ((lVar7 != 0) &&
		 *            (lVar8 = func_0x031fde0c(lVar7,*(undefined8 *)(*plVar6 + 0x40)), lVar8 == 0)) {
		 *           uVar12 = func_0x031fdf58();
		 *           IL2CPP.ThrowManagedException();
		 *         }
		 *         if ((int)plVar6[3] == 0) {
		 *           IL2CPP.ThrowIndexOutOfRangeException();
		 *         }
		 *         plVar6[4] = lVar7;
		 *         func_0x031fdc38(plVar6 + 4,lVar7);
		 *         if (plVar5 != null) {
		 *           lVar7 = *plVar5;
		 *           uVar10 = (ulong)*(ushort *)(lVar7 + 0x12e);
		 *           uVar12 = *(undefined8 *)PTR_DAT_070c5888;
		 *           if (uVar10 != 0) {
		 *             piVar11 = (int *)(*(long *)(lVar7 + 0xb0) + 8);
		 *             do {
		 *               if (*(long *)(piVar11 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848)
		 *               {
		 *                 puVar9 = (undefined8 *)(lVar7 + (long)(*piVar11 + 1) * 0x10 + 0x138);
		 *                 goto LAB_0337ee48;
		 *               }
		 *               uVar10 = uVar10 - 1;
		 *               piVar11 = piVar11 + 4;
		 *             } while (uVar10 != 0);
		 *           }
		 *           puVar9 = (undefined8 *)
		 *                    func_0x03237558(plVar5,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_0337ee48:
		 *           (*(code *)*puVar9)(plVar5,4,uVar12,plVar6,puVar9[1]);
		 *           bVar4 = ProximityVoiceTrigger.get_TargetInterestGroup(this);
		 *           puVar1 = PTR_DAT_070c5870;
		 *           if (bVar3 == 0) {
		 *             return;
		 *           }
		 *           if (bVar3 == bVar4) {
		 *             return;
		 *           }
		 *           if (this.groupsToAdd != null) {
		 *             uVar10 = func_0x03e8a320(this.groupsToAdd,bVar3,*(undefined8 *)PTR_DAT_070c5870);
		 *             if ((uVar10 & 1) != 0) {
		 *               if (this.groupsToAdd == null) goto LAB_0337ef00;
		 *               func_0x03e8b434(this.groupsToAdd,bVar3,*(undefined8 *)PTR_DAT_070c5880);
		 *             }
		 *             if (this.groupsToRemove != null) {
		 *               uVar10 = func_0x03e8a320(this.groupsToRemove,bVar3,*(undefined8 *)puVar1);
		 *               if ((uVar10 & 1) != 0) {
		 *                 return;
		 *               }
		 *               if (this.groupsToRemove != null) {
		 *                 func_0x02d71da4(this.groupsToRemove,bVar3,*(undefined8 *)PTR_DAT_070c5868);
		 *                 return;
		 *               }
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 * LAB_0337ef00:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x327EF14 VA: 0x7818969F14
		protected void Update();
		/*
		 *   bool bVar1;
		 *   void **ppvVar2;
		 *   void *pvVar3;
		 *   long *plVar4;
		 *   long lVar5;
		 *   undefined8 uVar6;
		 *   void *methodInfo_00;
		 *   void *methodInfo_01;
		 *   undefined8 unaff_x30;
		 *   undefined1 auVar7 [16];
		 *   undefined1 auStack_60 [16];
		 *   byte abStack_44 [4];
		 *
		 *   if ((bRam000000000754ac89 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c12e8);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_070c5868);
		 *     func_0x031fdc8c(PTR_DAT_070c5890);
		 *     func_0x031fdc8c(PTR_DAT_070c5870);
		 *     func_0x031fdc8c(PTR_DAT_070c5880);
		 *     func_0x031fdc8c(PTR_DAT_070c5898);
		 *     func_0x031fdc8c(PTR_DAT_070c58a0);
		 *     func_0x031fdc8c(PTR_DAT_070c58a8);
		 *     func_0x031fdc8c(PTR_DAT_070c58b0);
		 *     func_0x031fdc8c(PTR_DAT_070c58b8);
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     func_0x031fdc8c(PTR_DAT_070c58c0);
		 *     func_0x031fdc8c(PTR_DAT_070c58c8);
		 *     bRam000000000754ac89 = 1;
		 *   }
		 *   pvVar3 = Photon.Voice.PUN.PunVoiceClient.get_Instance();
		 *   if ((pvVar3 != null) && (*(void **)((long)pvVar3 + 0x50) != null)) {
		 *     bVar1 = Photon.Realtime.LoadBalancingClient.get_InRoom(*(void **)((long)pvVar3 + 0x50));
		 *     if (!bVar1) {
		 *       ppvVar2 = &this.subscribedGroups;
		 *       *ppvVar2 = null;
		 * SUB_031fdc38:
		 *       if (iRam00000000077785f0 != 0) {
		 *         *(undefined8 *)((long)register0x00000008 + -0x10) = unaff_x30;
		 *         func_0x032ed0c0(1L << ((ulong)ppvVar2 >> 0xc & 0x3f),
		 *                         ((ulong)ppvVar2 >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
		 *       }
		 *       return;
		 *     }
		 *     bVar1 = ProximityVoiceTrigger.IsLocalCheck(this);
		 *     if (!bVar1) {
		 *       return;
		 *     }
		 *     pvVar3 = this.groupsToAdd;
		 *     if (pvVar3 != null) {
		 *       if (*(int *)((long)pvVar3 + 0x18) < 1) {
		 *         pvVar3 = this.groupsToRemove;
		 *         if (pvVar3 == null) goto LAB_0337f550;
		 *         if (*(int *)((long)pvVar3 + 0x18) < 1) {
		 *           ProximityVoiceTrigger.ToggleTransmission(this);
		 *           return;
		 *         }
		 *       }
		 *       else {
		 *         func_0x03e8b9f4(pvVar3,*(undefined8 *)PTR_DAT_070c5898);
		 *         pvVar3 = this.groupsToRemove;
		 *         if (pvVar3 == null) goto LAB_0337f550;
		 *       }
		 *       if (0 < *(int *)((long)pvVar3 + 0x18)) {
		 *         func_0x03e8b9f4(pvVar3,*(undefined8 *)PTR_DAT_070c5898);
		 *       }
		 *       VoiceComponent.get_Logger(this);
		 *       auVar7 = func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a10,3);
		 *       plVar4 = auVar7._0_8_;
		 *       abStack_44[0] =
		 *            ProximityVoiceTrigger.get_TargetInterestGroup(this);
		 *       pvVar3 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x18),abStack_44);
		 *       if (plVar4 != null) {
		 *         if ((pvVar3 != null) &&
		 *            (lVar5 = func_0x031fde0c(pvVar3,*(undefined8 *)(*plVar4 + 0x40)), lVar5 == 0)) {
		 *           uVar6 = func_0x031fdf58();
		 *           IL2CPP.ThrowManagedException();
		 *         }
		 *         if ((int)plVar4[3] == 0) {
		 *           IL2CPP.ThrowIndexOutOfRangeException();
		 *         }
		 *         ppvVar2 = (void **)(plVar4 + 4);
		 *         *ppvVar2 = pvVar3;
		 *         unaff_x30 = 0x337f140;
		 *         register0x00000008 = (BADSPACEBASE *)auStack_60;
		 *         goto SUB_031fdc38;
		 *       }
		 *     }
		 *   }
		 * LAB_0337f550:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x327E63C VA: 0x781896963C
		private bool IsLocalCheck();
		/*
		 *   char cVar1;
		 *   bool bVar2;
		 *   long *plVar3;
		 *   long *plVar4;
		 *   long lVar5;
		 *   undefined8 *puVar6;
		 *   long lVar7;
		 *   ulong uVar8;
		 *   int *piVar9;
		 *   undefined8 uVar10;
		 *   undefined1 auVar11 [16];
		 *   byte abStack_34 [4];
		 *
		 *   auVar11._8_8_ = methodInfo;
		 *   auVar11._0_8_ = this;
		 *   if ((bRam000000000754ac8a & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_070c0a10);
		 *     auVar11 = func_0x031fdc8c(PTR_DAT_070c5850);
		 *     bRam000000000754ac8a = 1;
		 *   }
		 *   if (this.photonView != null) {
		 *     cVar1 = *(char *)((long)this.photonView + 0x68);
		 *     if ((cVar1 != '\0') ||
		 *        (bVar2 = UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.get_enabled(this), !bVar2)) {
		 * LAB_0337e7c0:
		 *       return cVar1 != '\0';
		 *     }
		 *     plVar3 = (long *)VoiceComponent.get_Logger(this);
		 *     auVar11 = func_0x031fdd78(*(undefined8 *)PTR_DAT_070c0a10,1);
		 *     plVar4 = auVar11._0_8_;
		 *     abStack_34[0] =
		 *          ProximityVoiceTrigger.get_TargetInterestGroup(this)
		 *     ;
		 *     auVar11 = func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x18),abStack_34);
		 *     lVar7 = auVar11._0_8_;
		 *     if (plVar4 != null) {
		 *       if ((lVar7 != 0) &&
		 *          (lVar5 = func_0x031fde0c(lVar7,*(undefined8 *)(*plVar4 + 0x40)), lVar5 == 0)) {
		 *         uVar10 = func_0x031fdf58();
		 *         IL2CPP.ThrowManagedException();
		 *       }
		 *       if ((int)plVar4[3] == 0) {
		 *         IL2CPP.ThrowIndexOutOfRangeException();
		 *       }
		 *       plVar4[4] = lVar7;
		 *       auVar11 = func_0x031fdc38(plVar4 + 4,lVar7);
		 *       if (plVar3 != null) {
		 *         lVar7 = *plVar3;
		 *         uVar8 = (ulong)*(ushort *)(lVar7 + 0x12e);
		 *         uVar10 = *(undefined8 *)PTR_DAT_070c5850;
		 *         if (uVar8 != 0) {
		 *           piVar9 = (int *)(*(long *)(lVar7 + 0xb0) + 8);
		 *           do {
		 *             if (*(long *)(piVar9 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848) {
		 *               puVar6 = (undefined8 *)(lVar7 + (long)(*piVar9 + 1) * 0x10 + 0x138);
		 *               goto LAB_0337e798;
		 *             }
		 *             uVar8 = uVar8 - 1;
		 *             piVar9 = piVar9 + 4;
		 *           } while (uVar8 != 0);
		 *         }
		 *         puVar6 = (undefined8 *)
		 *                  func_0x03237558(plVar3,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_0337e798:
		 *         (*(code *)*puVar6)(plVar3,3,uVar10,plVar4,puVar6[1]);
		 *         UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(this,false);
		 *         goto LAB_0337e7c0;
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x327F608 VA: 0x781896A608
		public void .ctor();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   void *pvVar3;
		 *   void *extraout_x1;
		 *   undefined1 auVar4 [16];
		 *
		 *   puVar2 = PTR_DAT_070c58b8;
		 *   puVar1 = PTR_DAT_070c58a0;
		 *   if ((bRam000000000754ac8b & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c58a0);
		 *     func_0x031fdc8c(PTR_DAT_070c58b8);
		 *     bRam000000000754ac8b = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar3 = (void *)func_0x031fdf24(*(undefined8 *)puVar2,methodInfo);
		 *   func_0x03e89710(pvVar3,*(undefined8 *)puVar1);
		 *   this.groupsToAdd = pvVar3;
		 *   func_0x031fdc38(&this.groupsToAdd,pvVar3);
		 *   pvVar3 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
		 *   func_0x03e89710(pvVar3,*(undefined8 *)puVar1);
		 *   this.groupsToRemove = pvVar3;
		 *   func_0x031fdc38(&this.groupsToRemove,pvVar3);
		 *   puVar1 = typeinfo_ptr_PhotonVoice_VoiceComponentImpl_70024D0;
		 *   if ((bRam0000000007555748 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_VoiceComponentImpl_70024D0,0);
		 *     bRam0000000007555748 = 1;
		 *   }
		 *   auVar4 = func_0x031fdf24(*(undefined8 *)puVar1);
		 *   pvVar3 = auVar4._0_8_;
		 *   Photon.Voice.Unity.VoiceComponentImpl..ctor(pvVar3);
		 *   *(void **)&this.field_0x20 = pvVar3;
		 *   func_0x031fdc38(&this.field_0x20,pvVar3);
		 *   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;
		 */
	}
}
