namespace TMPro.Examples
{

	// [TypeInfo RVA: 0x0]
	public class TMP_ExampleScript_01 : MonoBehaviour
	{
		public TMPro.Examples.TMP_ExampleScript_01.objectType ObjectType; // 0x20
		public bool isStatic; // 0x24
		private TMPro.TMP_Text m_text; // 0x28
		private const string k_label; // 0x0
		private int count; // 0x30

		// RVA: 0x326E37C VA: 0x781895937C
		private void Awake();
		/*
		 *   undefined8 *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   void *pvVar4;
		 *   undefined8 uVar5;
		 *   long lVar6;
		 *   void *this_00;
		 *   long *plVar7;
		 *
		 *   if ((bRam000000000754abf9 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c3388);
		 *     func_0x031fdc8c(PTR_DAT_070c33a0);
		 *     func_0x031fdc8c(PTR_DAT_070c52a0);
		 *     func_0x031fdc8c(PTR_DAT_070c1540);
		 *     func_0x031fdc8c(PTR_DAT_070c50c0);
		 *     func_0x031fdc8c(PTR_DAT_070c5438);
		 *     func_0x031fdc8c(PTR_DAT_070c5460);
		 *     func_0x031fdc8c(PTR_DAT_070c5468);
		 *     func_0x031fdc8c(PTR_DAT_070c5470);
		 *     bRam000000000754abf9 = 1;
		 *   }
		 *   if (this.ObjectType == 0) {
		 *     pvVar4 = (void *)func_0x0373df50(this,*(undefined8 *)PTR_DAT_070c33a0);
		 *     if (pvVar4 == null) {
		 *       pvVar4 = UnityEngine.Component.get_gameObject(this);
		 *       puVar1 = (undefined8 *)PTR_DAT_070c1540;
		 *       goto joined_r0x0336e470;
		 *     }
		 *   }
		 *   else {
		 *     pvVar4 = (void *)func_0x0373df50(this,*(undefined8 *)PTR_DAT_070c3388);
		 *     if (pvVar4 == null) {
		 *       pvVar4 = UnityEngine.Component.get_gameObject(this);
		 *       puVar1 = (undefined8 *)PTR_DAT_070c52a0;
		 * joined_r0x0336e470:
		 *       if (pvVar4 == null) goto LAB_0336e598;
		 *       pvVar4 = (void *)func_0x037f2fa8(pvVar4,*puVar1);
		 *     }
		 *   }
		 *   this.m_text = pvVar4;
		 *   func_0x031fdc38();
		 *   this_00 = this.m_text;
		 *   pvVar4 = (void *)func_0x03949758(*(undefined8 *)PTR_DAT_070c5470,*(undefined8 *)PTR_DAT_070c5438);
		 *   puVar3 = PTR_DAT_070c5468;
		 *   puVar2 = PTR_DAT_070c50c0;
		 *   if (this_00 != null) {
		 *     TMPro.TMP_Text.set_font(this_00,pvVar4);
		 *     plVar7 = this.m_text;
		 *     uVar5 = func_0x03949758(*(undefined8 *)puVar3,*(undefined8 *)puVar2);
		 *     if (plVar7 != null) {
		 *       (**(code **)(*plVar7 + 0x578))(plVar7,uVar5,*(undefined8 *)(*plVar7 + 0x580));
		 *       if (this.m_text != null) {
		 *         TMPro.TMP_Text.set_fontSize(this.m_text,120.0);
		 *         plVar7 = this.m_text;
		 *         if (plVar7 != null) {
		 *           (**(code **)(*plVar7 + 0x558))
		 *                     (plVar7,*(undefined8 *)PTR_DAT_070c5460,*(undefined8 *)(*plVar7 + 0x560));
		 *           if (this.m_text != null) {
		 *             TMPro.TMP_Text.GetPreferredValues(this.m_text,INFINITY,INFINITY);
		 *             if ((this.m_text != null) &&
		 *                (pvVar4 = TMPro.TMP_Text.get_rectTransform(this.m_text), pvVar4 != null)) {
		 *               if ((bRam000000000755feaa & 1) == 0) {
		 *                 func_0x031fdc8c(PTR_DAT_0714f860,0);
		 *                 bRam000000000755feaa = 1;
		 *               }
		 *               if (pvVar4 != null) {
		 *                 lVar6 = *(long *)((long)pvVar4 + 0x10);
		 *                 if (lVar6 == 0) {
		 *                   UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar4);
		 *                 }
		 *                 if (pcRam000000000755fef8 == null) {
		 *                   pcRam000000000755fef8 = (code *)func_0x031fdc50(&UNK_01380d4f);
		 *                 }
		 *                 (*pcRam000000000755fef8)(lVar6,&stack0xffffffffffffffe8);
		 *                 return;
		 *               }
		 *               IL2CPP.ThrowNullReferenceException();
		 *             }
		 *           }
		 *         }
		 *       }
		 *     }
		 *   }
		 * LAB_0336e598:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x326E59C VA: 0x781895959C
		private void Update();
		/*
		 *   void *extraout_x1;
		 *
		 *   if ((bRam000000000754abfa & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c5478);
		 *     bRam000000000754abfa = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   if (this.isStatic == false) {
		 *     if (this.m_text == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     TMPro.TMP_Text.SetText(this.m_text,*(void **)PTR_DAT_070c5478,(float)(this.count % 1000));
		 *     this.count = this.count + 1;
		 *   }
		 *   return;
		 */
		// RVA: 0x326E630 VA: 0x7818959630
		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;
		 */
	}
}
