// [TypeInfo RVA: 0x0]
public class EnableRandomObjectOnEnable : MonoBehaviour
{
	private UnityEngine.GameObject[] objects; // 0x20

	// RVA: 0x322E8F8 VA: 0x78189198F8
	private void OnEnable();
	/*
	 *   uint uVar1;
	 *   ulong uVar2;
	 *   long lVar3;
	 *   void *pvVar4;
	 *   undefined8 uVar5;
	 *
	 *   if ((bRam000000000754a927 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     bRam000000000754a927 = 1;
	 *   }
	 *   if ((this.objects == null) || (lVar3 = *(long *)((long)this.objects + 0x18), lVar3 == 0))
	 *   {
	 *     return;
	 *   }
	 *   uVar1 = Random.Range(0,(int)lVar3);
	 *   pvVar4 = this.objects;
	 *   if (pvVar4 != null) {
	 *     if (*(uint *)((long)pvVar4 + 0x18) <= uVar1) {
	 * LAB_0332e9e0:
	 *       IL2CPP.ThrowIndexOutOfRangeException();
	 *     }
	 *     uVar5 = *(undefined8 *)((long)pvVar4 + (long)(int)uVar1 * 8 + 0x20);
	 *     if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     uVar2 = UnityEngine.Object.op_Inequality(uVar5,null);
	 *     if ((uVar2 & 1) == 0) {
	 *       return;
	 *     }
	 *     pvVar4 = this.objects;
	 *     if (pvVar4 != null) {
	 *       if (*(uint *)((long)pvVar4 + 0x18) <= uVar1) goto LAB_0332e9e0;
	 *       pvVar4 = *(void **)((long)pvVar4 + (long)(int)uVar1 * 8 + 0x20);
	 *       if (pvVar4 != null) {
	 *         if ((bRam000000000755f7e0 & 1) == 0) {
	 *           func_0x031fdc8c(PTR_DAT_0714f3e0,1,0);
	 *           bRam000000000755f7e0 = 1;
	 *         }
	 *         if (pvVar4 == null) {
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         lVar3 = *(long *)((long)pvVar4 + 0x10);
	 *         if (lVar3 == 0) {
	 *           UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar4);
	 *         }
	 *         if (pcRam000000000755f860 == null) {
	 *           pcRam000000000755f860 = (code *)func_0x031fdc50(&UNK_0138da18);
	 *         }
	 *         (*pcRam000000000755f860)(lVar3,1);
	 *         return;
	 *       }
	 *     }
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x322E9E4 VA: 0x78189199E4
	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;
	 */
}
