namespace ExitGames.Demos.DemoPunVoice
{

	// [TypeInfo RVA: 0x0]
	private sealed class <>c : Object
	{
		public static readonly ExitGames.Demos.DemoPunVoice.VoiceDemoUI.<>c <>9; // 0x0
		public static System.Func<Photon.Voice.DeviceInfo,System.String> <>9__33_0; // 0x8
		public static System.Func<Photon.Voice.DeviceInfo,System.String> <>9__33_1; // 0x10

		// RVA: 0x3284FDC VA: 0x781896FFDC
		private static void .cctor();
		/*
		 *   undefined *puVar1;
		 *   void *this;
		 *
		 *   puVar1 = PTR_DAT_070c5a68;
		 *   if ((bRam000000000754acc1 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5a68);
		 *     bRam000000000754acc1 = 1;
		 *   }
		 *   this = (void *)func_0x031fdf24(*(undefined8 *)puVar1);
		 *   System.Object..ctor(this);
		 *   **(undefined8 **)(*(long *)puVar1 + 0xb8) = this;
		 *   if (iRam00000000077785f0 != 0) {
		 *     func_0x032ed0c0(1L << (*(ulong *)(*(long *)puVar1 + 0xb8) >> 0xc & 0x3f),
		 *                     (*(ulong *)(*(long *)puVar1 + 0xb8) >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
		 *   }
		 *   return;
		 */
		// RVA: 0x3285044 VA: 0x7818970044
		public void .ctor();
		/*
		 *   return;
		 */
		// RVA: 0x328504C VA: 0x781897004C
		internal string <Start>b__33_0(Photon.Voice.DeviceInfo x);
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   int iVar4;
		 *   void *dest;
		 *   long lVar5;
		 *   void *pvVar6;
		 *   long *plVar7;
		 *   void *pvVar8;
		 *   long *plVar9;
		 *   undefined4 auStack_34 [3];
		 *
		 *   puVar2 = PTR_DAT_070c5b10;
		 *   if ((bRam000000000754acc2 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5b10);
		 *     bRam000000000754acc2 = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   puVar2 = PTR_DAT_070c5b10;
		 *   if ((bRam00000000075555f6 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5b10,0);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_Math_6FC0738);
		 *     func_0x031fdc8c(PTR_DAT_070cb6f0);
		 *     func_0x031fdc8c(PTR_DAT_070c1488);
		 *     func_0x031fdc8c(PTR_DAT_070c1688);
		 *     func_0x031fdc8c(PTR_DAT_070c0df0);
		 *     bRam00000000075555f6 = 1;
		 *   }
		 *   lVar5 = *(long *)puVar2;
		 *   if (*(char *)(param_2 + 0x20) == '\0') {
		 *     if (*(int *)(lVar5 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     auStack_34[0] = *(undefined4 *)(param_2 + 4);
		 *     pvVar6 = *(void **)(param_2 + 0x10);
		 *     pvVar8 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),auStack_34);
		 *     pvVar8 = System.String.Format(*(void **)PTR_DAT_070cb6f0,pvVar6,pvVar8);
		 *     return pvVar8;
		 *   }
		 *   if (*(int *)(lVar5 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar5 = *(long *)puVar2;
		 *   }
		 *   puVar1 = PTR_DAT_070c0df0;
		 *   plVar9 = (long *)(param_2 + 0x10);
		 *   plVar7 = (long *)PTR_DAT_070c0df0;
		 *   if ((*plVar9 != 0) && (plVar7 = plVar9, *(int *)(lVar5 + 0xe4) == 0)) {
		 *     func_0x031fde08();
		 *     lVar5 = *(long *)puVar2;
		 *   }
		 *   pvVar8 = (void *)*plVar7;
		 *   if (*(int *)(lVar5 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   pvVar6 = *(void **)(param_2 + 8);
		 *   if (pvVar6 != null) {
		 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)puVar2);
		 *       pvVar6 = *(void **)(param_2 + 8);
		 *     }
		 *     bVar3 = System.String.op_Equality(pvVar6,(void *)*plVar9);
		 *     if (!bVar3) {
		 *       if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       pvVar6 = *(void **)(param_2 + 8);
		 *       if (pvVar6 == null) {
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *       iVar4 = *(int *)((long)pvVar6 + 0x10);
		 *       if (*(int *)(*(long *)typeinfo_ptr_mscorlib_Math_6FC0738 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       iVar4 = System.Math.Min(10,iVar4);
		 *       pvVar6 = System.String.Substring(pvVar6,0,iVar4);
		 *       param_4 = null;
		 *       pvVar6 = System.String.Concat(*(void **)PTR_DAT_070c1688,pvVar6,*(void **)PTR_DAT_070c1488);
		 *       goto m_mscorlib_String_Concat_546B5FC;
		 *     }
		 *   }
		 *   pvVar6 = *(void **)puVar1;
		 * m_mscorlib_String_Concat_546B5FC:
		 *   if ((pvVar8 == null) || (iVar4 = *(int *)((long)pvVar8 + 0x10), iVar4 == 0)) {
		 *     if ((pvVar6 == null) || (pvVar8 = pvVar6, *(int *)((long)pvVar6 + 0x10) == 0)) {
		 *       pvVar8 = (void *)**(undefined8 **)(*(long *)(PTR_DAT_070c0840 + 0x90) + 0xb8);
		 *     }
		 *   }
		 *   else if ((pvVar6 != null) && (*(int *)((long)pvVar6 + 0x10) != 0)) {
		 *     dest = (void *)func_0x03214b40(*(int *)((long)pvVar6 + 0x10) + iVar4,pvVar6,0);
		 *     System.String.FillStringChecked(dest,0,pvVar8);
		 *     System.String.FillStringChecked(dest,iVar4,pvVar6);
		 *     pvVar8 = dest;
		 *   }
		 *   return pvVar8;
		 */
		// RVA: 0x32850A4 VA: 0x78189700A4
		internal string <Start>b__33_1(Photon.Voice.DeviceInfo x);
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   bool bVar3;
		 *   int iVar4;
		 *   void *dest;
		 *   long lVar5;
		 *   void *pvVar6;
		 *   long *plVar7;
		 *   void *pvVar8;
		 *   long *plVar9;
		 *   undefined4 auStack_34 [3];
		 *
		 *   puVar2 = PTR_DAT_070c5b10;
		 *   if ((bRam000000000754acc3 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5b10);
		 *     bRam000000000754acc3 = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   puVar2 = PTR_DAT_070c5b10;
		 *   if ((bRam00000000075555f6 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5b10,0);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_Math_6FC0738);
		 *     func_0x031fdc8c(PTR_DAT_070cb6f0);
		 *     func_0x031fdc8c(PTR_DAT_070c1488);
		 *     func_0x031fdc8c(PTR_DAT_070c1688);
		 *     func_0x031fdc8c(PTR_DAT_070c0df0);
		 *     bRam00000000075555f6 = 1;
		 *   }
		 *   lVar5 = *(long *)puVar2;
		 *   if (*(char *)(param_2 + 0x20) == '\0') {
		 *     if (*(int *)(lVar5 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     auStack_34[0] = *(undefined4 *)(param_2 + 4);
		 *     pvVar6 = *(void **)(param_2 + 0x10);
		 *     pvVar8 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),auStack_34);
		 *     pvVar8 = System.String.Format(*(void **)PTR_DAT_070cb6f0,pvVar6,pvVar8);
		 *     return pvVar8;
		 *   }
		 *   if (*(int *)(lVar5 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar5 = *(long *)puVar2;
		 *   }
		 *   puVar1 = PTR_DAT_070c0df0;
		 *   plVar9 = (long *)(param_2 + 0x10);
		 *   plVar7 = (long *)PTR_DAT_070c0df0;
		 *   if ((*plVar9 != 0) && (plVar7 = plVar9, *(int *)(lVar5 + 0xe4) == 0)) {
		 *     func_0x031fde08();
		 *     lVar5 = *(long *)puVar2;
		 *   }
		 *   pvVar8 = (void *)*plVar7;
		 *   if (*(int *)(lVar5 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   pvVar6 = *(void **)(param_2 + 8);
		 *   if (pvVar6 != null) {
		 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *       func_0x031fde08(*(long *)puVar2);
		 *       pvVar6 = *(void **)(param_2 + 8);
		 *     }
		 *     bVar3 = System.String.op_Equality(pvVar6,(void *)*plVar9);
		 *     if (!bVar3) {
		 *       if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       pvVar6 = *(void **)(param_2 + 8);
		 *       if (pvVar6 == null) {
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *       iVar4 = *(int *)((long)pvVar6 + 0x10);
		 *       if (*(int *)(*(long *)typeinfo_ptr_mscorlib_Math_6FC0738 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *       }
		 *       iVar4 = System.Math.Min(10,iVar4);
		 *       pvVar6 = System.String.Substring(pvVar6,0,iVar4);
		 *       param_4 = null;
		 *       pvVar6 = System.String.Concat(*(void **)PTR_DAT_070c1688,pvVar6,*(void **)PTR_DAT_070c1488);
		 *       goto m_mscorlib_String_Concat_546B5FC;
		 *     }
		 *   }
		 *   pvVar6 = *(void **)puVar1;
		 * m_mscorlib_String_Concat_546B5FC:
		 *   if ((pvVar8 == null) || (iVar4 = *(int *)((long)pvVar8 + 0x10), iVar4 == 0)) {
		 *     if ((pvVar6 == null) || (pvVar8 = pvVar6, *(int *)((long)pvVar6 + 0x10) == 0)) {
		 *       pvVar8 = (void *)**(undefined8 **)(*(long *)(PTR_DAT_070c0840 + 0x90) + 0xb8);
		 *     }
		 *   }
		 *   else if ((pvVar6 != null) && (*(int *)((long)pvVar6 + 0x10) != 0)) {
		 *     dest = (void *)func_0x03214b40(*(int *)((long)pvVar6 + 0x10) + iVar4,pvVar6,0);
		 *     System.String.FillStringChecked(dest,0,pvVar8);
		 *     System.String.FillStringChecked(dest,iVar4,pvVar6);
		 *     pvVar8 = dest;
		 *   }
		 *   return pvVar8;
		 */
	}
}
