namespace UnityStandardAssets.CrossPlatformInput
{

	// [TypeInfo RVA: 0x0]
	public class MobileControlRig : MonoBehaviour
	{
		// RVA: 0x327CA7C VA: 0x7818967A7C
		private void OnEnable();
		/*
		 *   byte bVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   void *pvVar5;
		 *   long *plVar6;
		 *   undefined8 *puVar7;
		 *   long *this_00;
		 *   long lVar8;
		 *   long lVar9;
		 *   ulong uVar10;
		 *   int *piVar11;
		 *
		 *   if ((bRam000000000754ac66 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IDisposable_6FC11D0);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IEnumerator_6FC0B40);
		 *     func_0x031fdc8c(PTR_DAT_070c57b8);
		 *     bRam000000000754ac66 = 1;
		 *   }
		 *   pvVar5 = UnityEngine.Component.get_transform(this);
		 *   if (pvVar5 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   plVar6 = UnityEngine.Transform.GetEnumerator(pvVar5);
		 *   puVar4 = PTR_DAT_070c57b8;
		 *   puVar3 = typeinfo_ptr_mscorlib_IDisposable_6FC11D0;
		 *   puVar2 = typeinfo_ptr_mscorlib_IEnumerator_6FC0B40;
		 *   do {
		 *     if (plVar6 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     lVar9 = *plVar6;
		 *     lVar8 = *(long *)puVar2;
		 *     uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *     if (uVar10 != 0) {
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar11 + -2) == lVar8) {
		 *           puVar7 = (undefined8 *)(lVar9 + (long)*piVar11 * 0x10 + 0x138);
		 *           goto LAB_0337cc84;
		 *         }
		 *         uVar10 = uVar10 - 1;
		 *         piVar11 = piVar11 + 4;
		 *       } while (uVar10 != 0);
		 *     }
		 *     puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,0);
		 * LAB_0337cc84:
		 *     uVar10 = (*(code *)*puVar7)(plVar6,puVar7[1]);
		 *     if ((uVar10 & 1) == 0) {
		 *       plVar6 = (long *)func_0x031fde0c(plVar6,*(undefined8 *)puVar3);
		 *       if (plVar6 == null) {
		 *         return;
		 *       }
		 *       lVar9 = *plVar6;
		 *       lVar8 = *(long *)puVar3;
		 *       uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *       if (uVar10 == 0) goto LAB_0337cd98;
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       break;
		 *     }
		 *     if (plVar6 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     lVar9 = *plVar6;
		 *     lVar8 = *(long *)puVar2;
		 *     uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *     if (uVar10 != 0) {
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar11 + -2) == lVar8) {
		 *           puVar7 = (undefined8 *)(lVar9 + (long)(*piVar11 + 1) * 0x10 + 0x138);
		 *           goto LAB_0337ccec;
		 *         }
		 *         uVar10 = uVar10 - 1;
		 *         piVar11 = piVar11 + 4;
		 *       } while (uVar10 != 0);
		 *     }
		 *     puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,1);
		 * LAB_0337ccec:
		 *     this_00 = (long *)(*(code *)*puVar7)(plVar6,puVar7[1]);
		 *     if (this_00 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     bVar1 = *(byte *)(*(long *)puVar4 + 0x130);
		 *     if ((*(byte *)(*this_00 + 0x130) < bVar1) ||
		 *        (*(long *)(*(long *)(*this_00 + 200) + (ulong)bVar1 * 8 + -8) != *(long *)puVar4)) {
		 *       noreturn_helper_30fe2b4();
		 *     }
		 *     pvVar5 = UnityEngine.Component.get_gameObject(this_00);
		 *     if (pvVar5 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     UnityEngine.GameObject.SetActive(pvVar5,true);
		 *   } while( true );
		 *   while( true ) {
		 *     uVar10 = uVar10 - 1;
		 *     piVar11 = piVar11 + 4;
		 *     if (uVar10 == 0) break;
		 *     if (*(long *)(piVar11 + -2) == lVar8) {
		 *       puVar7 = (undefined8 *)(lVar9 + (long)*piVar11 * 0x10 + 0x138);
		 *       goto LAB_0337cdb4;
		 *     }
		 *   }
		 * LAB_0337cd98:
		 *   puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,0);
		 * LAB_0337cdb4:
		 *   (*(code *)*puVar7)(plVar6,puVar7[1]);
		 *   return;
		 */
		// RVA: 0x327CA8C VA: 0x7818967A8C
		private void Start();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   int iVar3;
		 *   undefined8 uVar4;
		 *   ulong uVar5;
		 *   void *this_00;
		 *   long *plVar6;
		 *   void *extraout_x1;
		 *   long lVar7;
		 *   undefined8 *puVar8;
		 *   long lVar9;
		 *   long *plStack_48;
		 *   undefined8 uStack_40;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000754ac65 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5798);
		 *     func_0x031fdc8c(PTR_DAT_070c57a0);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_GameObject_6FC1548);
		 *     func_0x031fdc8c(PTR_DAT_070c57a8);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c57b0);
		 *     bRam000000000754ac65 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   puVar2 = PTR_DAT_070c57a8;
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1,methodInfo);
		 *   }
		 *   uVar4 = func_0x03890260(*(undefined8 *)puVar2);
		 *   uVar5 = UnityEngine.Object.op_Equality(uVar4,null);
		 *   puVar1 = PTR_DAT_070c57b0;
		 *   if ((uVar5 & 1) == 0) {
		 *     return;
		 *   }
		 *   this_00 = (void *)func_0x031fdf24(*(undefined8 *)
		 *                                      typeinfo_ptr_UnityEngine_CoreModule_GameObject_6FC1548);
		 *   UnityEngine.GameObject..ctor(this_00,*(void **)puVar1);
		 *   if (this_00 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   lVar7 = *(long *)PTR_DAT_070c5798;
		 *   uStack_40 = 0x337cb68;
		 *   puVar8 = *(undefined8 **)(lVar7 + 0x38);
		 *   if (puVar8 == null) {
		 *     func_0x03237280(lVar7);
		 *     puVar8 = *(undefined8 **)(lVar7 + 0x38);
		 *   }
		 *   uVar4 = *puVar8;
		 *   if (*(int *)(*(long *)(PTR_DAT_070c0840 + 0xe0) + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   uVar4 = System.Type.GetTypeFromHandle(uVar4);
		 *   plVar6 = (long *)UnityEngine.GameObject.AddComponent(this_00,uVar4);
		 *   lVar7 = *(long *)(*(long *)(lVar7 + 0x38) + 8);
		 *   if ((*(ushort *)(lVar7 + 0x135) & 1) == 0) {
		 *     lVar7 = func_0x03237224(lVar7);
		 *   }
		 *   if (plVar6 != null) {
		 *     lVar9 = *plVar6;
		 *     uVar5 = func_0x03260758(lVar7,lVar9);
		 *     if ((((((uVar5 & 1) == 0) && ((*(ushort *)(lVar9 + 0x135) >> 0xc & 1) != 0)) &&
		 *          (((*(byte *)(lVar7 + 0x118) >> 5 & 1) != 0 ||
		 *           ((*(char *)(lVar7 + 0x2a) == '\x1e' || (*(char *)(lVar7 + 0x2a) == '\x13')))))) &&
		 *         (*(long *)(lVar7 + 0x70) != 0)) &&
		 *        ((((lVar7 = *(long *)(*(long *)(lVar7 + 0x70) + 0x28), lVar7 != 0 &&
		 *           (plStack_48 = (long *)func_0x03249f74(plVar6,lVar7), plStack_48 == null)) &&
		 *          (iVar3 = (*(code *)**(undefined8 **)plVar6[2])((undefined8 *)plVar6[2],lVar7,&plStack_48),
		 *          -1 < iVar3)) && (uVar5 = func_0x0324a004(plVar6,lVar7,plStack_48), (uVar5 & 1) == 0)))) {
		 *       (**(code **)(*plStack_48 + 0x10))();
		 *       func_0x03249f74(plVar6,lVar7);
		 *     }
		 *   }
		 *   return;
		 */
		// RVA: 0x327CA84 VA: 0x7818967A84
		private void CheckEnableControlRig();
		/*
		 *   byte bVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   void *pvVar5;
		 *   long *plVar6;
		 *   undefined8 *puVar7;
		 *   long *this_00;
		 *   long lVar8;
		 *   long lVar9;
		 *   ulong uVar10;
		 *   int *piVar11;
		 *
		 *   if ((bRam000000000754ac66 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IDisposable_6FC11D0);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IEnumerator_6FC0B40);
		 *     func_0x031fdc8c(PTR_DAT_070c57b8);
		 *     bRam000000000754ac66 = 1;
		 *   }
		 *   pvVar5 = UnityEngine.Component.get_transform(this);
		 *   if (pvVar5 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   plVar6 = UnityEngine.Transform.GetEnumerator(pvVar5);
		 *   puVar4 = PTR_DAT_070c57b8;
		 *   puVar3 = typeinfo_ptr_mscorlib_IDisposable_6FC11D0;
		 *   puVar2 = typeinfo_ptr_mscorlib_IEnumerator_6FC0B40;
		 *   do {
		 *     if (plVar6 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     lVar9 = *plVar6;
		 *     lVar8 = *(long *)puVar2;
		 *     uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *     if (uVar10 != 0) {
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar11 + -2) == lVar8) {
		 *           puVar7 = (undefined8 *)(lVar9 + (long)*piVar11 * 0x10 + 0x138);
		 *           goto LAB_0337cc84;
		 *         }
		 *         uVar10 = uVar10 - 1;
		 *         piVar11 = piVar11 + 4;
		 *       } while (uVar10 != 0);
		 *     }
		 *     puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,0);
		 * LAB_0337cc84:
		 *     uVar10 = (*(code *)*puVar7)(plVar6,puVar7[1]);
		 *     if ((uVar10 & 1) == 0) {
		 *       plVar6 = (long *)func_0x031fde0c(plVar6,*(undefined8 *)puVar3);
		 *       if (plVar6 == null) {
		 *         return;
		 *       }
		 *       lVar9 = *plVar6;
		 *       lVar8 = *(long *)puVar3;
		 *       uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *       if (uVar10 == 0) goto LAB_0337cd98;
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       break;
		 *     }
		 *     if (plVar6 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     lVar9 = *plVar6;
		 *     lVar8 = *(long *)puVar2;
		 *     uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *     if (uVar10 != 0) {
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar11 + -2) == lVar8) {
		 *           puVar7 = (undefined8 *)(lVar9 + (long)(*piVar11 + 1) * 0x10 + 0x138);
		 *           goto LAB_0337ccec;
		 *         }
		 *         uVar10 = uVar10 - 1;
		 *         piVar11 = piVar11 + 4;
		 *       } while (uVar10 != 0);
		 *     }
		 *     puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,1);
		 * LAB_0337ccec:
		 *     this_00 = (long *)(*(code *)*puVar7)(plVar6,puVar7[1]);
		 *     if (this_00 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     bVar1 = *(byte *)(*(long *)puVar4 + 0x130);
		 *     if ((*(byte *)(*this_00 + 0x130) < bVar1) ||
		 *        (*(long *)(*(long *)(*this_00 + 200) + (ulong)bVar1 * 8 + -8) != *(long *)puVar4)) {
		 *       noreturn_helper_30fe2b4();
		 *     }
		 *     pvVar5 = UnityEngine.Component.get_gameObject(this_00);
		 *     if (pvVar5 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     UnityEngine.GameObject.SetActive(pvVar5,true);
		 *   } while( true );
		 *   while( true ) {
		 *     uVar10 = uVar10 - 1;
		 *     piVar11 = piVar11 + 4;
		 *     if (uVar10 == 0) break;
		 *     if (*(long *)(piVar11 + -2) == lVar8) {
		 *       puVar7 = (undefined8 *)(lVar9 + (long)*piVar11 * 0x10 + 0x138);
		 *       goto LAB_0337cdb4;
		 *     }
		 *   }
		 * LAB_0337cd98:
		 *   puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,0);
		 * LAB_0337cdb4:
		 *   (*(code *)*puVar7)(plVar6,puVar7[1]);
		 *   return;
		 */
		// RVA: 0x327CB94 VA: 0x7818967B94
		private void EnableControlRig(bool enabled);
		/*
		 *   byte bVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   void *pvVar5;
		 *   long *plVar6;
		 *   undefined8 *puVar7;
		 *   long *this_00;
		 *   long lVar8;
		 *   long lVar9;
		 *   ulong uVar10;
		 *   int *piVar11;
		 *
		 *   if ((bRam000000000754ac66 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IDisposable_6FC11D0);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IEnumerator_6FC0B40);
		 *     func_0x031fdc8c(PTR_DAT_070c57b8);
		 *     bRam000000000754ac66 = 1;
		 *   }
		 *   pvVar5 = UnityEngine.Component.get_transform(this);
		 *   if (pvVar5 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   plVar6 = UnityEngine.Transform.GetEnumerator(pvVar5);
		 *   puVar4 = PTR_DAT_070c57b8;
		 *   puVar3 = typeinfo_ptr_mscorlib_IDisposable_6FC11D0;
		 *   puVar2 = typeinfo_ptr_mscorlib_IEnumerator_6FC0B40;
		 *   do {
		 *     if (plVar6 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     lVar9 = *plVar6;
		 *     lVar8 = *(long *)puVar2;
		 *     uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *     if (uVar10 != 0) {
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar11 + -2) == lVar8) {
		 *           puVar7 = (undefined8 *)(lVar9 + (long)*piVar11 * 0x10 + 0x138);
		 *           goto LAB_0337cc84;
		 *         }
		 *         uVar10 = uVar10 - 1;
		 *         piVar11 = piVar11 + 4;
		 *       } while (uVar10 != 0);
		 *     }
		 *     puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,0);
		 * LAB_0337cc84:
		 *     uVar10 = (*(code *)*puVar7)(plVar6,puVar7[1]);
		 *     if ((uVar10 & 1) == 0) {
		 *       plVar6 = (long *)func_0x031fde0c(plVar6,*(undefined8 *)puVar3);
		 *       if (plVar6 == null) {
		 *         return;
		 *       }
		 *       lVar9 = *plVar6;
		 *       lVar8 = *(long *)puVar3;
		 *       uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *       if (uVar10 == 0) goto LAB_0337cd98;
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       break;
		 *     }
		 *     if (plVar6 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     lVar9 = *plVar6;
		 *     lVar8 = *(long *)puVar2;
		 *     uVar10 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *     if (uVar10 != 0) {
		 *       piVar11 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar11 + -2) == lVar8) {
		 *           puVar7 = (undefined8 *)(lVar9 + (long)(*piVar11 + 1) * 0x10 + 0x138);
		 *           goto LAB_0337ccec;
		 *         }
		 *         uVar10 = uVar10 - 1;
		 *         piVar11 = piVar11 + 4;
		 *       } while (uVar10 != 0);
		 *     }
		 *     puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,1);
		 * LAB_0337ccec:
		 *     this_00 = (long *)(*(code *)*puVar7)(plVar6,puVar7[1]);
		 *     if (this_00 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     bVar1 = *(byte *)(*(long *)puVar4 + 0x130);
		 *     if ((*(byte *)(*this_00 + 0x130) < bVar1) ||
		 *        (*(long *)(*(long *)(*this_00 + 200) + (ulong)bVar1 * 8 + -8) != *(long *)puVar4)) {
		 *       noreturn_helper_30fe2b4();
		 *     }
		 *     pvVar5 = UnityEngine.Component.get_gameObject(this_00);
		 *     if (pvVar5 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     UnityEngine.GameObject.SetActive(pvVar5,enabled);
		 *   } while( true );
		 *   while( true ) {
		 *     uVar10 = uVar10 - 1;
		 *     piVar11 = piVar11 + 4;
		 *     if (uVar10 == 0) break;
		 *     if (*(long *)(piVar11 + -2) == lVar8) {
		 *       puVar7 = (undefined8 *)(lVar9 + (long)*piVar11 * 0x10 + 0x138);
		 *       goto LAB_0337cdb4;
		 *     }
		 *   }
		 * LAB_0337cd98:
		 *   puVar7 = (undefined8 *)func_0x03237558(plVar6,lVar8,0);
		 * LAB_0337cdb4:
		 *   (*(code *)*puVar7)(plVar6,puVar7[1]);
		 *   return;
		 */
		// RVA: 0x327CEEC VA: 0x7818967EEC
		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;
		 */
	}
}
