// [TypeInfo RVA: 0x0]
public class SpawnPrefabOnEnable : MonoBehaviour
{
	public UnityEngine.GameObject Ragdoll; // 0x20
	public UnityEngine.Transform SpawnPos; // 0x28

	// RVA: 0x32539F0 VA: 0x781893E9F0
	private void OnEnable();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   ulong uVar4;
	 *   undefined8 uVar5;
	 *   long lVar6;
	 *   long lVar7;
	 *   long lVar8;
	 *   undefined8 *puVar9;
	 *   void *extraout_x1;
	 *   undefined8 uVar10;
	 *   undefined8 extraout_x1_00;
	 *   undefined8 extraout_x1_01;
	 *   int *piVar11;
	 *   void *pvVar12;
	 *   long *plVar13;
	 *   UnityEngine_Vector3 UVar14;
	 *   UnityEngine_Vector4 UVar15;
	 *
	 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754aa8b & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
	 *     func_0x031fdc8c(PTR_DAT_070c16f0);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(PTR_DAT_070c4870);
	 *     func_0x031fdc8c(PTR_DAT_070c4878);
	 *     bRam000000000754aa8b = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   pvVar12 = this.Ragdoll;
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar2,methodInfo);
	 *   }
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
	 *   uVar4 = UnityEngine.Object.op_Equality(pvVar12,null);
	 *   puVar3 = PTR_DAT_070c4878;
	 *   if ((uVar4 & 1) == 0) {
	 *     pvVar12 = this.SpawnPos;
	 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     uVar4 = UnityEngine.Object.op_Equality(pvVar12,null);
	 *     if ((uVar4 & 1) == 0) {
	 *       if (this.SpawnPos != null) {
	 *         pvVar12 = this.Ragdoll;
	 *         UVar14 = UnityEngine.Transform.get_position(this.SpawnPos)
	 *         ;
	 *         if (this.SpawnPos != null) {
	 *           UVar15 = UnityEngine.Transform.get_rotation(this.SpawnPos);
	 *           if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *             func_0x031fde08();
	 *           }
	 *           lVar8 = *(long *)PTR_DAT_070c16f0;
	 *           if ((*(long *)(lVar8 + 0x38) == 0) &&
	 *              (func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8),
	 *              *(long *)(lVar8 + 0x38) == 0)) {
	 *             func_0x03237280(lVar8);
	 *           }
	 *           if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
	 *             func_0x031fde08();
	 *           }
	 *           lVar6 = UnityEngine.Object.Instantiate(UVar14.x,UVar14.y,UVar14.z,UVar15.x,UVar15.y,UVar15.z,UVar15.w,pvVar12,0);
	 *           lVar8 = **(long **)(lVar8 + 0x38);
	 *           if ((*(ushort *)(lVar8 + 0x135) & 1) == 0) {
	 *             lVar8 = func_0x03237224(lVar8);
	 *           }
	 *           if ((lVar6 != 0) && (lVar7 = func_0x031fde0c(lVar6,lVar8), lVar7 == 0)) {
	 *             noreturn_helper_30fe2b4(lVar6,lVar8);
	 *           }
	 *           return;
	 *         }
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     uVar5 = *(undefined8 *)PTR_DAT_070c4870;
	 *   }
	 *   else {
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     uVar5 = *(undefined8 *)puVar3;
	 *   }
	 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
	 *   uVar10 = 0;
	 *   if ((bRam000000000755e09c & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,0);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40);
	 *     bRam000000000755e09c = 1;
	 *     uVar10 = extraout_x1_00;
	 *   }
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *     uVar10 = extraout_x1_01;
	 *   }
	 *   if (cRam000000000755000b == '\0') {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,uVar10);
	 *     cRam000000000755000b = '\x01';
	 *   }
	 *   lVar8 = *(long *)puVar2;
	 *   if (*(int *)(lVar8 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *     lVar8 = *(long *)puVar2;
	 *   }
	 *   plVar13 = *(long **)(*(long *)(lVar8 + 0xb8) + 8);
	 *   if (plVar13 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   lVar8 = *plVar13;
	 *   uVar4 = (ulong)*(ushort *)(lVar8 + 0x12e);
	 *   if (uVar4 != 0) {
	 *     piVar11 = (int *)(*(long *)(lVar8 + 0xb0) + 8);
	 *     do {
	 *       if (*(long *)(piVar11 + -2) == *(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40) {
	 *         puVar9 = (undefined8 *)(lVar8 + (long)(*piVar11 + 3) * 0x10 + 0x138);
	 *         goto LAB_069357b4;
	 *       }
	 *       uVar4 = uVar4 - 1;
	 *       piVar11 = piVar11 + 4;
	 *     } while (uVar4 != 0);
	 *   }
	 *   puVar9 = (undefined8 *)
	 *            func_0x03237558(plVar13,*(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40,3);
	 * LAB_069357b4:
	 *   (*(code *)*puVar9)(plVar13,2,uVar5,puVar9[1]);
	 *   return;
	 */
	// RVA: 0x3253BC0 VA: 0x781893EBC0
	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;
	 */
}
