namespace Photon.Voice.Unity.Demos.DemoVoiceUI
{

	// [TypeInfo RVA: 0x0]
	public class CodecSettingsUI : MonoBehaviour
	{
		private UnityEngine.UI.Dropdown frameDurationDropdown; // 0x20
		private UnityEngine.UI.Dropdown samplingRateDropdown; // 0x28
		private UnityEngine.UI.InputField bitrateInputField; // 0x30
		private Photon.Voice.Unity.Recorder recorder; // 0x38
		private static readonly System.Collections.Generic.List<System.String> frameDurationOptions; // 0x0
		private static readonly System.Collections.Generic.List<System.String> samplingRateOptions; // 0x8

		// RVA: 0x328E25C VA: 0x781897925C
		private void Awake();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   undefined *puVar5;
		 *   void *methodInfo_00;
		 *   void *methodInfo_01;
		 *   void *pvVar6;
		 *   void *pvVar7;
		 *   void *pvVar8;
		 *
		 *   if ((bRam000000000754ad21 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5e78);
		 *     func_0x031fdc8c(PTR_DAT_070c5e80);
		 *     func_0x031fdc8c(PTR_DAT_070c5e88);
		 *     func_0x031fdc8c(PTR_DAT_070c5e90);
		 *     func_0x031fdc8c(PTR_DAT_070c4d28);
		 *     func_0x031fdc8c(PTR_DAT_070c5e98);
		 *     bRam000000000754ad21 = 1;
		 *   }
		 *   puVar4 = PTR_DAT_070c5e90;
		 *   if (this.frameDurationDropdown != null) {
		 *     UnityEngine.UI.Dropdown.ClearOptions(this.frameDurationDropdown);
		 *     pvVar7 = this.frameDurationDropdown;
		 *     if (*(int *)(*(long *)puVar4 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     puVar5 = PTR_DAT_070c5e98;
		 *     puVar1 = PTR_DAT_070c5e80;
		 *     if (pvVar7 != null) {
		 *       UnityEngine.UI.Dropdown.AddOptions(pvVar7,(void *)**(undefined8 **)(*(long *)puVar4 + 0xb8));
		 *       CodecSettingsUI.InitFrameDuration(this);
		 *       pvVar8 = this.frameDurationDropdown;
		 *       pvVar7 = (void *)func_0x031fdf24(*(undefined8 *)puVar5);
		 *       pvVar6 = *(void **)puVar1;
		 *       func_0x048ad238(pvVar7,this,pvVar6,0);
		 *       UiExtensions.SetSingleOnValueChangedCallback(pvVar8,pvVar7);
		 *       if (this.samplingRateDropdown != null) {
		 *         UnityEngine.UI.Dropdown.ClearOptions(this.samplingRateDropdown);
		 *         puVar3 = PTR_DAT_070c5e88;
		 *         puVar2 = PTR_DAT_070c5e78;
		 *         puVar1 = PTR_DAT_070c4d28;
		 *         if (this.samplingRateDropdown != null) {
		 *           UnityEngine.UI.Dropdown.AddOptions(this.samplingRateDropdown,*(void **)(*(long *)(*(long *)puVar4 + 0xb8) + 8));
		 *           CodecSettingsUI.InitSamplingRate(this);
		 *           pvVar8 = this.samplingRateDropdown;
		 *           pvVar7 = (void *)func_0x031fdf24(*(undefined8 *)puVar5);
		 *           pvVar6 = *(void **)puVar3;
		 *           func_0x048ad238(pvVar7,this,pvVar6,0);
		 *           UiExtensions.SetSingleOnValueChangedCallback(pvVar8,pvVar7);
		 *           pvVar8 = this.bitrateInputField;
		 *           pvVar7 = (void *)func_0x031fdf24(*(undefined8 *)puVar1);
		 *           pvVar6 = *(void **)puVar2;
		 *           func_0x048ad3a0(pvVar7,this,pvVar6,0);
		 *           UiExtensions.SetSingleOnValueChangedCallback(pvVar8,pvVar7);
		 *           if (this.recorder != null) {
		 *             pvVar6 = this.bitrateInputField;
		 *             pvVar7 = System.Int32.ToString(&stack0xffffffffffffffec);
		 *             if (pvVar6 != null) {
		 *               UnityEngine.UI.InputField.set_text(pvVar6,pvVar7);
		 *               return;
		 *             }
		 *           }
		 *           IL2CPP.ThrowNullReferenceException();
		 *         }
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328E55C VA: 0x781897955C
		private void Update();
		/*
		 *   void *value;
		 *   void *methodInfo_00;
		 *   void *this_00;
		 *   undefined4 uStack_14;
		 *
		 *   CodecSettingsUI.InitFrameDuration(this);
		 *   CodecSettingsUI.InitSamplingRate(this);
		 *   uStack_14 = 0;
		 *   if (this.recorder != null) {
		 *     uStack_14 = *(undefined4 *)((long)this.recorder + 0x74);
		 *     this_00 = this.bitrateInputField;
		 *     value = System.Int32.ToString(&uStack_14);
		 *     if (this_00 != null) {
		 *       UnityEngine.UI.InputField.set_text(this_00,value);
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328E57C VA: 0x781897957C
		private void OnBitrateChanged(string newBitrateString);
		/*
		 *   bool bVar1;
		 *   int iStack_14;
		 *
		 *   iStack_14 = 0;
		 *   bVar1 = System.Int32.TryParse(newBitrateString,(int)&iStack_14);
		 *   if (bVar1) {
		 *     if (this.recorder == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     Recorder.set_Bitrate(this.recorder,iStack_14);
		 *   }
		 *   return;
		 */
		// RVA: 0x328E5C8 VA: 0x78189795C8
		private void OnFrameDurationChanged(int index);
		/*
		 *   int iVar1;
		 *   void *pvVar2;
		 *   undefined8 *puVar3;
		 *   long lVar4;
		 *   ulong uVar5;
		 *   int *piVar6;
		 *   long *plVar7;
		 *   long lVar8;
		 *   undefined8 uVar9;
		 *   undefined8 uVar10;
		 *
		 *   pvVar2 = this.recorder;
		 *   if (pvVar2 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   piVar6 = (int *)(&UNK_01397a80 + (ulong)(uint)index * 4);
		 *   if (5 < (uint)index) {
		 *     piVar6 = (int *)((long)pvVar2 + 0x70);
		 *   }
		 *   iVar1 = *piVar6;
		 *   if ((bRam0000000007555700 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c12e8,iVar1,0);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_071025e8);
		 *     bRam0000000007555700 = 1;
		 *   }
		 *   if (*(int *)((long)pvVar2 + 0x70) == iVar1) {
		 *     return;
		 *   }
		 *   *(int *)((long)pvVar2 + 0x70) = iVar1;
		 *   if (*(long *)((long)pvVar2 + 0x20) != 0) {
		 *     plVar7 = *(long **)(*(long *)((long)pvVar2 + 0x20) + 0x18);
		 *     lVar8 = *(long *)PTR_DAT_070c12e8;
		 *     lVar4 = *(long *)(lVar8 + 0x38);
		 *     if (lVar4 == 0) {
		 *       func_0x03237280(lVar8);
		 *       lVar4 = *(long *)(lVar8 + 0x38);
		 *     }
		 *     lVar4 = *(long *)(lVar4 + 0x10);
		 *     if ((*(ushort *)(lVar4 + 0x135) & 1) == 0) {
		 *       lVar4 = func_0x03237224();
		 *     }
		 *     if (*(int *)(lVar4 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     lVar4 = *(long *)(*(long *)(lVar8 + 0x38) + 0x10);
		 *     if ((*(ushort *)(lVar4 + 0x135) & 1) == 0) {
		 *       lVar4 = func_0x03237224();
		 *     }
		 *     if (plVar7 != null) {
		 *       lVar8 = *plVar7;
		 *       uVar5 = (ulong)*(ushort *)(lVar8 + 0x12e);
		 *       uVar9 = **(undefined8 **)(lVar4 + 0xb8);
		 *       uVar10 = *(undefined8 *)PTR_DAT_071025e8;
		 *       if (uVar5 != 0) {
		 *         piVar6 = (int *)(*(long *)(lVar8 + 0xb0) + 8);
		 *         do {
		 *           if (*(long *)(piVar6 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848) {
		 *             puVar3 = (undefined8 *)(lVar8 + (long)(*piVar6 + 1) * 0x10 + 0x138);
		 *             goto LAB_05bdec88;
		 *           }
		 *           uVar5 = uVar5 - 1;
		 *           piVar6 = piVar6 + 4;
		 *         } while (uVar5 != 0);
		 *       }
		 *       puVar3 = (undefined8 *)
		 *                func_0x03237558(plVar7,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_05bdec88:
		 *       (*(code *)*puVar3)(plVar7,3,uVar10,uVar9,puVar3[1]);
		 *       if (*(char *)((long)pvVar2 + 0x89) == '\0') {
		 *         return;
		 *       }
		 *       *(undefined4 *)((long)pvVar2 + 0xdc) = 1;
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328E5FC VA: 0x78189795FC
		private void OnSamplingRateChanged(int index);
		/*
		 *   int iVar1;
		 *   void *pvVar2;
		 *   undefined8 *puVar3;
		 *   long lVar4;
		 *   ulong uVar5;
		 *   int *piVar6;
		 *   long *plVar7;
		 *   long lVar8;
		 *   undefined8 uVar9;
		 *   undefined8 uVar10;
		 *
		 *   pvVar2 = this.recorder;
		 *   if (pvVar2 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   piVar6 = (int *)(&UNK_01397a98 + (long)index * 4);
		 *   if (4 < (uint)index) {
		 *     piVar6 = (int *)((long)pvVar2 + 0x6c);
		 *   }
		 *   iVar1 = *piVar6;
		 *   if ((bRam00000000075556ff & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c12e8,iVar1,0);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848);
		 *     func_0x031fdc8c(PTR_DAT_071025e0);
		 *     bRam00000000075556ff = 1;
		 *   }
		 *   if (*(int *)((long)pvVar2 + 0x6c) == iVar1) {
		 *     return;
		 *   }
		 *   *(int *)((long)pvVar2 + 0x6c) = iVar1;
		 *   if (*(long *)((long)pvVar2 + 0x20) != 0) {
		 *     plVar7 = *(long **)(*(long *)((long)pvVar2 + 0x20) + 0x18);
		 *     lVar8 = *(long *)PTR_DAT_070c12e8;
		 *     lVar4 = *(long *)(lVar8 + 0x38);
		 *     if (lVar4 == 0) {
		 *       func_0x03237280(lVar8);
		 *       lVar4 = *(long *)(lVar8 + 0x38);
		 *     }
		 *     lVar4 = *(long *)(lVar4 + 0x10);
		 *     if ((*(ushort *)(lVar4 + 0x135) & 1) == 0) {
		 *       lVar4 = func_0x03237224();
		 *     }
		 *     if (*(int *)(lVar4 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     lVar4 = *(long *)(*(long *)(lVar8 + 0x38) + 0x10);
		 *     if ((*(ushort *)(lVar4 + 0x135) & 1) == 0) {
		 *       lVar4 = func_0x03237224();
		 *     }
		 *     if (plVar7 != null) {
		 *       lVar8 = *plVar7;
		 *       uVar5 = (ulong)*(ushort *)(lVar8 + 0x12e);
		 *       uVar9 = **(undefined8 **)(lVar4 + 0xb8);
		 *       uVar10 = *(undefined8 *)PTR_DAT_071025e0;
		 *       if (uVar5 != 0) {
		 *         piVar6 = (int *)(*(long *)(lVar8 + 0xb0) + 8);
		 *         do {
		 *           if (*(long *)(piVar6 + -2) == *(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848) {
		 *             puVar3 = (undefined8 *)(lVar8 + (long)(*piVar6 + 1) * 0x10 + 0x138);
		 *             goto LAB_05bdeb14;
		 *           }
		 *           uVar5 = uVar5 - 1;
		 *           piVar6 = piVar6 + 4;
		 *         } while (uVar5 != 0);
		 *       }
		 *       puVar3 = (undefined8 *)
		 *                func_0x03237558(plVar7,*(long *)typeinfo_ptr_PhotonVoice_API_ILogger_6FC5848,1);
		 * LAB_05bdeb14:
		 *       (*(code *)*puVar3)(plVar7,3,uVar10,uVar9,puVar3[1]);
		 *       if (*(char *)((long)pvVar2 + 0x89) == '\0') {
		 *         return;
		 *       }
		 *       *(undefined4 *)((long)pvVar2 + 0xdc) = 1;
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328E418 VA: 0x7818979418
		private void InitFrameDuration();
		/*
		 *   undefined4 uVar1;
		 *   byte bVar2;
		 *   uint uVar3;
		 *   int iVar4;
		 *   undefined *puVar5;
		 *   undefined *puVar6;
		 *   undefined *puVar7;
		 *   bool bVar8;
		 *   void *pvVar9;
		 *   long *plVar10;
		 *   undefined8 uVar11;
		 *   void *this_00;
		 *   void *methodInfo_00;
		 *   long lVar12;
		 *   long lVar13;
		 *   long lVar14;
		 *   int iVar15;
		 *   long *plVar16;
		 *   undefined4 uStack_64;
		 *
		 *   puVar5 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
		 *   if (this.recorder == null) {
		 * LAB_0338e4a0:
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   iVar15 = *(int *)((long)this.recorder + 0x70);
		 *   if (iVar15 < 0x2711) {
		 *     uVar3 = (uint)(iVar15 == 10000) << 1;
		 *     if (iVar15 == 5000) {
		 *       uVar3 = 1;
		 *     }
		 *     methodInfo = (void *)(ulong)uVar3;
		 *   }
		 *   else if (iVar15 == 20000) {
		 *     methodInfo = (void *)0x3;
		 *   }
		 *   else if (iVar15 == 40000) {
		 *     methodInfo = (void *)0x4;
		 *   }
		 *   else if (iVar15 == 60000) {
		 *     methodInfo = (void *)0x5;
		 *   }
		 *   else {
		 *     methodInfo = null;
		 *   }
		 *   pvVar9 = this.frameDurationDropdown;
		 *   this = null;
		 *   if (pvVar9 == null) goto LAB_0338e4a0;
		 *   if ((bRam00000000075626ea & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
		 *     func_0x031fdc8c(PTR_DAT_07154538);
		 *     func_0x031fdc8c(PTR_DAT_07100358);
		 *     func_0x031fdc8c(PTR_DAT_07143d58);
		 *     bRam00000000075626ea = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar5 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   bVar8 = UnityEngine.Application.get_isPlaying();
		 *   iVar15 = (int)methodInfo;
		 *   if (bVar8) {
		 *     if (*(int *)((long)pvVar9 + 0x128) == iVar15) {
		 *       return;
		 *     }
		 *     lVar13 = *(long *)((long)pvVar9 + 0x130);
		 *     if ((lVar13 == 0) || (*(long *)(lVar13 + 0x10) == 0)) goto LAB_06a7a588;
		 *     if (*(int *)(*(long *)(lVar13 + 0x10) + 0x18) == 0) {
		 *       return;
		 *     }
		 *   }
		 *   else {
		 *     lVar13 = *(long *)((long)pvVar9 + 0x130);
		 *     if (lVar13 == 0) goto LAB_06a7a588;
		 *   }
		 *   if (*(long *)(lVar13 + 0x10) != 0) {
		 *     iVar4 = *(int *)(*(long *)(lVar13 + 0x10) + 0x18) + -1;
		 *     if (iVar4 <= iVar15) {
		 *       iVar15 = iVar4;
		 *     }
		 *     *(int *)((long)pvVar9 + 0x128) = iVar15;
		 *     UnityEngine.UI.Dropdown.RefreshShownValue(pvVar9);
		 *     UISystemProfilerApi.AddMarker(*(undefined8 *)PTR_DAT_07143d58,pvVar9);
		 *     this_00 = *(void **)((long)pvVar9 + 0x138);
		 *     if (this_00 != null) {
		 *       uVar1 = *(undefined4 *)((long)pvVar9 + 0x128);
		 *       lVar13 = *(long *)PTR_DAT_07100358;
		 *       if ((bRam000000000754d420 & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_070cae50);
		 *         func_0x031fdc8c(PTR_DAT_070cae58);
		 *         func_0x031fdc8c(PTR_DAT_070cae60);
		 *         func_0x031fdc8c(PTR_DAT_070c0a10);
		 *         bRam000000000754d420 = 1;
		 *       }
		 *       if ((this_00 != null) &&
		 *          (pvVar9 = UnityEngine.Events.UnityEventBase.PrepareInvoke(this_00), puVar7 = PTR_DAT_070cae60,
		 *          puVar6 = PTR_DAT_070cae50, puVar5 = PTR_DAT_070c0a10, pvVar9 != null)) {
		 *         if (0 < *(int *)((long)pvVar9 + 0x18)) {
		 *           iVar15 = 0;
		 *           do {
		 *             plVar10 = (long *)func_0x03f2d434(pvVar9,iVar15,*(undefined8 *)puVar7);
		 *             lVar12 = *(long *)(*(long *)(*(long *)(lVar13 + 0x20) + 0xc0) + 0x28);
		 *             if ((*(ushort *)(lVar12 + 0x135) & 1) == 0) {
		 *               lVar12 = func_0x03237224(lVar12);
		 *             }
		 *             if (plVar10 == null) {
		 * LAB_048e7b24:
		 *               plVar10 = (long *)func_0x03f2d434(pvVar9,iVar15,*(undefined8 *)puVar7);
		 *               if (plVar10 != null) {
		 *                 bVar2 = *(byte *)(*(long *)puVar6 + 0x130);
		 *                 if ((bVar2 <= *(byte *)(*plVar10 + 0x130)) &&
		 *                    (*(long *)(*(long *)(*plVar10 + 200) + (ulong)bVar2 * 8 + -8) == *(long *)puVar6)
		 *                    ) {
		 *                   InvokableCall.Invoke(plVar10);
		 *                   goto LAB_048e7c08;
		 *                 }
		 *               }
		 *               plVar10 = (long *)func_0x03f2d434(pvVar9,iVar15,*(undefined8 *)puVar7);
		 *               plVar16 = *(long **)((long)this_00 + 0x28);
		 *               if (plVar16 == null) {
		 *                 uVar11 = func_0x031fdd78(*(undefined8 *)puVar5,1);
		 *                 *(undefined8 *)((long)this_00 + 0x28) = uVar11;
		 *                 func_0x031fdc38((long)this_00 + 0x28,uVar11);
		 *                 plVar16 = *(long **)((long)this_00 + 0x28);
		 *               }
		 *               uStack_64 = uVar1;
		 *               lVar12 = func_0x031fde10(*(undefined8 *)
		 *                                         (*(long *)(*(long *)(lVar13 + 0x20) + 0xc0) + 0x40),
		 *                                        &uStack_64);
		 *               if (plVar16 == null) goto LAB_048e7c5c;
		 *               if ((lVar12 != 0) &&
		 *                  (lVar14 = func_0x031fde0c(lVar12,*(undefined8 *)(*plVar16 + 0x40)), lVar14 == 0)) {
		 *                 uVar11 = func_0x031fdf58();
		 *                 IL2CPP.ThrowManagedException();
		 *               }
		 *               if ((int)plVar16[3] == 0) {
		 *                 IL2CPP.ThrowIndexOutOfRangeException();
		 *               }
		 *               plVar16[4] = lVar12;
		 *               func_0x031fdc38(plVar16 + 4,lVar12);
		 *               if (plVar10 == null) goto LAB_048e7c5c;
		 *               (**(code **)(*plVar10 + 0x178))
		 *                         (plVar10,*(undefined8 *)((long)this_00 + 0x28),
		 *                          *(undefined8 *)(*plVar10 + 0x180));
		 *             }
		 *             else {
		 *               lVar14 = *plVar10;
		 *               if ((*(byte *)(lVar14 + 0x130) < *(byte *)(lVar12 + 0x130)) ||
		 *                  (*(long *)(*(long *)(lVar14 + 200) + (ulong)*(byte *)(lVar12 + 0x130) * 8 + -8) !=
		 *                   lVar12)) goto LAB_048e7b24;
		 *               (**(code **)(lVar14 + 0x198))(plVar10,uVar1,*(undefined8 *)(lVar14 + 0x1a0));
		 *             }
		 * LAB_048e7c08:
		 *             iVar15 = iVar15 + 1;
		 *           } while (iVar15 < *(int *)((long)pvVar9 + 0x18));
		 *         }
		 *         return;
		 *       }
		 * LAB_048e7c5c:
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 * LAB_06a7a588:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328E4A4 VA: 0x78189794A4
		private void InitSamplingRate();
		/*
		 *   int iVar1;
		 *   undefined4 uVar2;
		 *   byte bVar3;
		 *   undefined *puVar4;
		 *   undefined *puVar5;
		 *   undefined *puVar6;
		 *   bool bVar7;
		 *   void *pvVar8;
		 *   long *plVar9;
		 *   undefined8 uVar10;
		 *   void *this_00;
		 *   void *methodInfo_00;
		 *   long lVar11;
		 *   long lVar12;
		 *   int iVar13;
		 *   long lVar14;
		 *   int iVar15;
		 *   int iVar16;
		 *   int iVar17;
		 *   long *plVar18;
		 *   undefined4 uStack_64;
		 *
		 *   puVar4 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
		 *   if ((this.recorder == null) ||
		 *      (pvVar8 = this.samplingRateDropdown, pvVar8 == null)) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   iVar1 = *(int *)((long)this.recorder + 0x6c);
		 *   iVar15 = 24000;
		 *   if (iVar1 < 0x3e81) {
		 *     iVar15 = 12000;
		 *   }
		 *   iVar13 = 48000;
		 *   if (iVar1 < 0x3e81) {
		 *     iVar13 = 16000;
		 *   }
		 *   iVar17 = 3;
		 *   if (iVar1 < 0x3e81) {
		 *     iVar17 = 1;
		 *   }
		 *   iVar16 = 4;
		 *   if (iVar1 < 0x3e81) {
		 *     iVar16 = 2;
		 *   }
		 *   if (iVar1 != iVar13) {
		 *     iVar16 = 0;
		 *   }
		 *   if (iVar1 != iVar15) {
		 *     iVar17 = iVar16;
		 *   }
		 *   if ((bRam00000000075626ea & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
		 *     func_0x031fdc8c(PTR_DAT_07154538);
		 *     func_0x031fdc8c(PTR_DAT_07100358);
		 *     func_0x031fdc8c(PTR_DAT_07143d58);
		 *     bRam00000000075626ea = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar4 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   bVar7 = UnityEngine.Application.get_isPlaying();
		 *   if (bVar7) {
		 *     if (*(int *)((long)pvVar8 + 0x128) == iVar17) {
		 *       return;
		 *     }
		 *     lVar12 = *(long *)((long)pvVar8 + 0x130);
		 *     if ((lVar12 == 0) || (*(long *)(lVar12 + 0x10) == 0)) goto LAB_06a7a588;
		 *     if (*(int *)(*(long *)(lVar12 + 0x10) + 0x18) == 0) {
		 *       return;
		 *     }
		 *   }
		 *   else {
		 *     lVar12 = *(long *)((long)pvVar8 + 0x130);
		 *     if (lVar12 == 0) goto LAB_06a7a588;
		 *   }
		 *   if (*(long *)(lVar12 + 0x10) != 0) {
		 *     iVar15 = *(int *)(*(long *)(lVar12 + 0x10) + 0x18) + -1;
		 *     if (iVar15 <= iVar17) {
		 *       iVar17 = iVar15;
		 *     }
		 *     *(int *)((long)pvVar8 + 0x128) = iVar17;
		 *     UnityEngine.UI.Dropdown.RefreshShownValue(pvVar8);
		 *     UISystemProfilerApi.AddMarker(*(undefined8 *)PTR_DAT_07143d58,pvVar8);
		 *     this_00 = *(void **)((long)pvVar8 + 0x138);
		 *     if (this_00 != null) {
		 *       uVar2 = *(undefined4 *)((long)pvVar8 + 0x128);
		 *       lVar12 = *(long *)PTR_DAT_07100358;
		 *       if ((bRam000000000754d420 & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_070cae50);
		 *         func_0x031fdc8c(PTR_DAT_070cae58);
		 *         func_0x031fdc8c(PTR_DAT_070cae60);
		 *         func_0x031fdc8c(PTR_DAT_070c0a10);
		 *         bRam000000000754d420 = 1;
		 *       }
		 *       if ((this_00 != null) &&
		 *          (pvVar8 = UnityEngine.Events.UnityEventBase.PrepareInvoke(this_00), puVar6 = PTR_DAT_070cae60,
		 *          puVar5 = PTR_DAT_070cae50, puVar4 = PTR_DAT_070c0a10, pvVar8 != null)) {
		 *         if (0 < *(int *)((long)pvVar8 + 0x18)) {
		 *           iVar15 = 0;
		 *           do {
		 *             plVar9 = (long *)func_0x03f2d434(pvVar8,iVar15,*(undefined8 *)puVar6);
		 *             lVar11 = *(long *)(*(long *)(*(long *)(lVar12 + 0x20) + 0xc0) + 0x28);
		 *             if ((*(ushort *)(lVar11 + 0x135) & 1) == 0) {
		 *               lVar11 = func_0x03237224(lVar11);
		 *             }
		 *             if (plVar9 == null) {
		 * LAB_048e7b24:
		 *               plVar9 = (long *)func_0x03f2d434(pvVar8,iVar15,*(undefined8 *)puVar6);
		 *               if (plVar9 != null) {
		 *                 bVar3 = *(byte *)(*(long *)puVar5 + 0x130);
		 *                 if ((bVar3 <= *(byte *)(*plVar9 + 0x130)) &&
		 *                    (*(long *)(*(long *)(*plVar9 + 200) + (ulong)bVar3 * 8 + -8) == *(long *)puVar5))
		 *                 {
		 *                   InvokableCall.Invoke(plVar9);
		 *                   goto LAB_048e7c08;
		 *                 }
		 *               }
		 *               plVar9 = (long *)func_0x03f2d434(pvVar8,iVar15,*(undefined8 *)puVar6);
		 *               plVar18 = *(long **)((long)this_00 + 0x28);
		 *               if (plVar18 == null) {
		 *                 uVar10 = func_0x031fdd78(*(undefined8 *)puVar4,1);
		 *                 *(undefined8 *)((long)this_00 + 0x28) = uVar10;
		 *                 func_0x031fdc38((long)this_00 + 0x28,uVar10);
		 *                 plVar18 = *(long **)((long)this_00 + 0x28);
		 *               }
		 *               uStack_64 = uVar2;
		 *               lVar11 = func_0x031fde10(*(undefined8 *)
		 *                                         (*(long *)(*(long *)(lVar12 + 0x20) + 0xc0) + 0x40),
		 *                                        &uStack_64);
		 *               if (plVar18 == null) goto LAB_048e7c5c;
		 *               if ((lVar11 != 0) &&
		 *                  (lVar14 = func_0x031fde0c(lVar11,*(undefined8 *)(*plVar18 + 0x40)), lVar14 == 0)) {
		 *                 uVar10 = func_0x031fdf58();
		 *                 IL2CPP.ThrowManagedException();
		 *               }
		 *               if ((int)plVar18[3] == 0) {
		 *                 IL2CPP.ThrowIndexOutOfRangeException();
		 *               }
		 *               plVar18[4] = lVar11;
		 *               func_0x031fdc38(plVar18 + 4,lVar11);
		 *               if (plVar9 == null) goto LAB_048e7c5c;
		 *               (**(code **)(*plVar9 + 0x178))
		 *                         (plVar9,*(undefined8 *)((long)this_00 + 0x28),
		 *                          *(undefined8 *)(*plVar9 + 0x180));
		 *             }
		 *             else {
		 *               lVar14 = *plVar9;
		 *               if ((*(byte *)(lVar14 + 0x130) < *(byte *)(lVar11 + 0x130)) ||
		 *                  (*(long *)(*(long *)(lVar14 + 200) + (ulong)*(byte *)(lVar11 + 0x130) * 8 + -8) !=
		 *                   lVar11)) goto LAB_048e7b24;
		 *               (**(code **)(lVar14 + 0x198))(plVar9,uVar2,*(undefined8 *)(lVar14 + 0x1a0));
		 *             }
		 * LAB_048e7c08:
		 *             iVar15 = iVar15 + 1;
		 *           } while (iVar15 < *(int *)((long)pvVar8 + 0x18));
		 *         }
		 *         return;
		 *       }
		 * LAB_048e7c5c:
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 * LAB_06a7a588:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328E50C VA: 0x781897950C
		private void InitBitrate();
		/*
		 *   void *value;
		 *   void *this_00;
		 *   undefined4 uStack_14;
		 *
		 *   uStack_14 = 0;
		 *   if (this.recorder != null) {
		 *     uStack_14 = *(undefined4 *)((long)this.recorder + 0x74);
		 *     this_00 = this.bitrateInputField;
		 *     value = System.Int32.ToString(&uStack_14);
		 *     if (this_00 != null) {
		 *       UnityEngine.UI.InputField.set_text(this_00,value);
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328E630 VA: 0x7818979630
		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;
		 */
		// RVA: 0x328E638 VA: 0x7818979638
		private static void .cctor();
		/*
		 *   uint uVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   long lVar4;
		 *   undefined8 *puVar5;
		 *   undefined8 uVar6;
		 *   long lVar7;
		 *   long lVar8;
		 *
		 *   puVar3 = PTR_DAT_070c0760;
		 *   puVar2 = PTR_DAT_070c0758;
		 *   if ((bRam000000000754ad22 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5e90);
		 *     func_0x031fdc8c(PTR_DAT_070c0780);
		 *     func_0x031fdc8c(PTR_DAT_070c0760);
		 *     func_0x031fdc8c(PTR_DAT_070c0758);
		 *     func_0x031fdc8c(PTR_DAT_070c5ea0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ea8);
		 *     func_0x031fdc8c(PTR_DAT_070c5eb0);
		 *     func_0x031fdc8c(PTR_DAT_070c5eb8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ec0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ec8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ed0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ed8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ee0);
		 *     func_0x031fdc8c(PTR_DAT_070c5ee8);
		 *     func_0x031fdc8c(PTR_DAT_070c5ef0);
		 *     bRam000000000754ad22 = 1;
		 *   }
		 *   lVar4 = func_0x031fdf24(*(undefined8 *)puVar2);
		 *   func_0x03f2ce9c(lVar4,*(undefined8 *)puVar3);
		 *   puVar2 = PTR_DAT_070c0780;
		 *   if (lVar4 != 0) {
		 *     lVar7 = *(long *)(lVar4 + 0x10);
		 *     uVar6 = *(undefined8 *)PTR_DAT_070c5ef0;
		 *     lVar8 = *(long *)PTR_DAT_070c0780;
		 *     *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + 1;
		 *     puVar3 = PTR_DAT_070c5ee0;
		 *     if (lVar7 != 0) {
		 *       uVar1 = *(uint *)(lVar4 + 0x18);
		 *       if (uVar1 < *(uint *)(lVar7 + 0x18)) {
		 *         *(uint *)(lVar4 + 0x18) = uVar1 + 1;
		 *         puVar5 = (undefined8 *)(lVar7 + (long)(int)uVar1 * 8 + 0x20);
		 *         *puVar5 = uVar6;
		 *         goto SUB_031fdc38;
		 *       }
		 *       func_0x03f2d704(lVar4,uVar6,*(undefined8 *)(*(long *)(*(long *)(lVar8 + 0x20) + 0xc0) + 0x70))
		 *       ;
		 *       lVar7 = *(long *)(lVar4 + 0x10);
		 *       uVar6 = *(undefined8 *)puVar3;
		 *       lVar8 = *(long *)puVar2;
		 *       *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + 1;
		 *       puVar3 = PTR_DAT_070c5ea0;
		 *       if (lVar7 != 0) {
		 *         uVar1 = *(uint *)(lVar4 + 0x18);
		 *         if (uVar1 < *(uint *)(lVar7 + 0x18)) {
		 *           *(uint *)(lVar4 + 0x18) = uVar1 + 1;
		 *           *(undefined8 *)(lVar7 + (long)(int)uVar1 * 8 + 0x20) = uVar6;
		 *           func_0x031fdc38();
		 *         }
		 *         else {
		 *           func_0x03f2d704(lVar4,uVar6,
		 *                           *(undefined8 *)(*(long *)(*(long *)(lVar8 + 0x20) + 0xc0) + 0x70));
		 *         }
		 *         lVar7 = *(long *)(lVar4 + 0x10);
		 *         uVar6 = *(undefined8 *)puVar3;
		 *         lVar8 = *(long *)puVar2;
		 *         *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + 1;
		 *         puVar3 = PTR_DAT_070c5ed8;
		 *         if (lVar7 != 0) {
		 *           uVar1 = *(uint *)(lVar4 + 0x18);
		 *           if (uVar1 < *(uint *)(lVar7 + 0x18)) {
		 *             *(uint *)(lVar4 + 0x18) = uVar1 + 1;
		 *             puVar5 = (undefined8 *)(lVar7 + (long)(int)uVar1 * 8 + 0x20);
		 *             *puVar5 = uVar6;
		 *             goto SUB_031fdc38;
		 *           }
		 *           func_0x03f2d704(lVar4,uVar6,
		 *                           *(undefined8 *)(*(long *)(*(long *)(lVar8 + 0x20) + 0xc0) + 0x70));
		 *           lVar7 = *(long *)(lVar4 + 0x10);
		 *           uVar6 = *(undefined8 *)puVar3;
		 *           lVar8 = *(long *)puVar2;
		 *           *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + 1;
		 *           puVar3 = PTR_DAT_070c5ea8;
		 *           if (lVar7 != 0) {
		 *             uVar1 = *(uint *)(lVar4 + 0x18);
		 *             if (uVar1 < *(uint *)(lVar7 + 0x18)) {
		 *               *(uint *)(lVar4 + 0x18) = uVar1 + 1;
		 *               *(undefined8 *)(lVar7 + (long)(int)uVar1 * 8 + 0x20) = uVar6;
		 *               func_0x031fdc38();
		 *             }
		 *             else {
		 *               func_0x03f2d704(lVar4,uVar6,
		 *                               *(undefined8 *)(*(long *)(*(long *)(lVar8 + 0x20) + 0xc0) + 0x70));
		 *             }
		 *             lVar7 = *(long *)(lVar4 + 0x10);
		 *             uVar6 = *(undefined8 *)puVar3;
		 *             lVar8 = *(long *)puVar2;
		 *             *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + 1;
		 *             puVar3 = PTR_DAT_070c5eb0;
		 *             if (lVar7 != 0) {
		 *               uVar1 = *(uint *)(lVar4 + 0x18);
		 *               if (uVar1 < *(uint *)(lVar7 + 0x18)) {
		 *                 *(uint *)(lVar4 + 0x18) = uVar1 + 1;
		 *                 puVar5 = (undefined8 *)(lVar7 + (long)(int)uVar1 * 8 + 0x20);
		 *                 *puVar5 = uVar6;
		 *               }
		 *               else {
		 *                 func_0x03f2d704(lVar4,uVar6,
		 *                                 *(undefined8 *)(*(long *)(*(long *)(lVar8 + 0x20) + 0xc0) + 0x70));
		 *                 lVar7 = *(long *)(lVar4 + 0x10);
		 *                 uVar6 = *(undefined8 *)puVar3;
		 *                 lVar8 = *(long *)puVar2;
		 *                 *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + 1;
		 *                 puVar2 = PTR_DAT_070c5e90;
		 *                 if (lVar7 == 0) goto LAB_0338ebb8;
		 *                 uVar1 = *(uint *)(lVar4 + 0x18);
		 *                 if (uVar1 < *(uint *)(lVar7 + 0x18)) {
		 *                   *(uint *)(lVar4 + 0x18) = uVar1 + 1;
		 *                   *(undefined8 *)(lVar7 + (long)(int)uVar1 * 8 + 0x20) = uVar6;
		 *                   func_0x031fdc38();
		 *                 }
		 *                 else {
		 *                   func_0x03f2d704(lVar4,uVar6,
		 *                                   *(undefined8 *)(*(long *)(*(long *)(lVar8 + 0x20) + 0xc0) + 0x70))
		 *                   ;
		 *                 }
		 *                 **(long **)(*(long *)puVar2 + 0xb8) = lVar4;
		 *                 puVar5 = *(undefined8 **)(*(long *)puVar2 + 0xb8);
		 *               }
		 * SUB_031fdc38:
		 *               if (iRam00000000077785f0 != 0) {
		 *                 func_0x032ed0c0(1L << ((ulong)puVar5 >> 0xc & 0x3f),
		 *                                 ((ulong)puVar5 >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
		 *               }
		 *               return;
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 * LAB_0338ebb8:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
	}
}
