namespace Photon.Chat.UtilityScripts
{

	// [TypeInfo RVA: 0x0]
	public class TextToggleIsOnTransition : MonoBehaviour
	{
		public UnityEngine.UI.Toggle toggle; // 0x20
		private UnityEngine.UI.Text _text; // 0x28
		public UnityEngine.Color NormalOnColor; // 0x30
		public UnityEngine.Color NormalOffColor; // 0x40
		public UnityEngine.Color HoverOnColor; // 0x50
		public UnityEngine.Color HoverOffColor; // 0x60
		private bool isHover; // 0x70

		// RVA: 0x3294CC4 VA: 0x781897FCC4
		public void OnEnable();
		/*
		 *   uint uVar1;
		 *   undefined *puVar2;
		 *   undefined8 uVar3;
		 *   long lVar4;
		 *   void *in_x2;
		 *   long lVar5;
		 *   undefined8 *puVar6;
		 *   long lVar7;
		 *   long lVar8;
		 *
		 *   puVar2 = PTR_DAT_070c6260;
		 *   if ((bRam000000000754ad65 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6260);
		 *     func_0x031fdc8c(PTR_DAT_070c6268);
		 *     func_0x031fdc8c(PTR_DAT_070c5908);
		 *     func_0x031fdc8c(PTR_DAT_070c5910);
		 *     bRam000000000754ad65 = 1;
		 *   }
		 *   uVar3 = func_0x0373df50(this,*(undefined8 *)puVar2);
		 *   *(undefined8 *)((long)this + 0x28) = uVar3;
		 *   func_0x031fdc38((undefined8 *)((long)this + 0x28),uVar3);
		 *   if (*(long *)((long)this + 0x20) != 0) {
		 *     TextToggleIsOnTransition.OnValueChanged(this,*(bool *)(*(long *)((long)this + 0x20) + 0x120));
		 *     puVar2 = PTR_DAT_070c6268;
		 *     if (*(long *)((long)this + 0x20) != 0) {
		 *       lVar8 = *(long *)(*(long *)((long)this + 0x20) + 0x118);
		 *       uVar3 = func_0x031fdf24(*(undefined8 *)PTR_DAT_070c5908);
		 *       func_0x048ad01c(uVar3,this,*(undefined8 *)puVar2,0);
		 *       if (lVar8 != 0) {
		 *         uVar3 = func_0x048e6ab4(uVar3,*(undefined8 *)
		 *                                        (*(long *)(*(long *)(*(long *)PTR_DAT_070c5910 + 0x20) + 0xc0
		 *                                                  ) + 0x10));
		 *         if (lVar8 == 0) {
		 *           IL2CPP.ThrowNullReferenceException();
		 *         }
		 *         lVar8 = *(long *)(lVar8 + 0x10);
		 *         if (lVar8 != 0) {
		 *           if ((bRam0000000007560144 & 1) == 0) {
		 *             func_0x031fdc8c(PTR_DAT_0714f990);
		 *             bRam0000000007560144 = 1;
		 *           }
		 *           lVar4 = *(long *)(lVar8 + 0x18);
		 *           if (lVar4 != 0) {
		 *             lVar5 = *(long *)(lVar4 + 0x10);
		 *             lVar7 = *(long *)PTR_DAT_0714f990;
		 *             *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + 1;
		 *             if (lVar5 != 0) {
		 *               uVar1 = *(uint *)(lVar4 + 0x18);
		 *               if (uVar1 < *(uint *)(lVar5 + 0x18)) {
		 *                 *(uint *)(lVar4 + 0x18) = uVar1 + 1;
		 *                 puVar6 = (undefined8 *)(lVar5 + (long)(int)uVar1 * 8 + 0x20);
		 *                 *puVar6 = uVar3;
		 *                 func_0x031fdc38(puVar6,uVar3);
		 *               }
		 *               else {
		 *                 func_0x03f2d704(lVar4,uVar3,
		 *                                 *(undefined8 *)(*(long *)(*(long *)(lVar7 + 0x20) + 0xc0) + 0x70));
		 *               }
		 *               *(undefined1 *)(lVar8 + 0x28) = 1;
		 *               return;
		 *             }
		 *           }
		 *           IL2CPP.ThrowNullReferenceException();
		 *         }
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294E18 VA: 0x781897FE18
		public void OnDisable();
		/*
		 *   int iVar1;
		 *   uint uVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   undefined *puVar5;
		 *   undefined *puVar6;
		 *   undefined *puVar7;
		 *   void *pvVar8;
		 *   long *plVar9;
		 *   long *plVar10;
		 *   ulong uVar11;
		 *   undefined8 uVar12;
		 *   void *extraout_x1;
		 *   undefined8 uVar13;
		 *   long lVar14;
		 *   long lVar15;
		 *   int iVar16;
		 *   long lVar17;
		 *
		 *   if ((bRam000000000754ad66 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6268);
		 *     func_0x031fdc8c(PTR_DAT_070c5908);
		 *     func_0x031fdc8c(PTR_DAT_070c6270);
		 *     bRam000000000754ad66 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   puVar3 = PTR_DAT_070c6268;
		 *   if (*(long *)((long)this + 0x20) != 0) {
		 *     lVar15 = *(long *)(*(long *)((long)this + 0x20) + 0x118);
		 *     pvVar8 = (void *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070c5908,methodInfo);
		 *     func_0x048ad01c(pvVar8,this,*(undefined8 *)puVar3,0);
		 *     if (lVar15 != 0) {
		 *       uVar13 = *(undefined8 *)PTR_DAT_070c6270;
		 *       if (pvVar8 != null) {
		 *         uVar13 = *(undefined8 *)((long)pvVar8 + 0x20);
		 *         pvVar8 = System.Delegate.get_Method(pvVar8);
		 *         puVar4 = PTR_DAT_0714f9a0;
		 *         puVar3 = PTR_DAT_0714f998;
		 *         if (lVar15 != 0) {
		 *           lVar15 = *(long *)(lVar15 + 0x10);
		 *           if (lVar15 == 0) {
		 *             IL2CPP.ThrowNullReferenceException();
		 *           }
		 *           if ((bRam0000000007560145 & 1) == 0) {
		 *             func_0x031fdc8c(PTR_DAT_0714f9a8);
		 *             func_0x031fdc8c(PTR_DAT_0714f990);
		 *             func_0x031fdc8c(PTR_DAT_0714f9b0);
		 *             func_0x031fdc8c(PTR_DAT_0714f9a0);
		 *             func_0x031fdc8c(PTR_DAT_0714f9b8);
		 *             func_0x031fdc8c(PTR_DAT_070cae58);
		 *             func_0x031fdc8c(PTR_DAT_070cae60);
		 *             func_0x031fdc8c(PTR_DAT_0714f998);
		 *             func_0x031fdc8c(PTR_DAT_0714f9c0);
		 *             bRam0000000007560145 = 1;
		 *           }
		 *           plVar9 = (long *)func_0x031fdf24(*(undefined8 *)puVar3);
		 *           func_0x03f2ce9c(plVar9,*(undefined8 *)puVar4);
		 *           puVar7 = PTR_DAT_0714f9c0;
		 *           puVar6 = PTR_DAT_0714f9b0;
		 *           puVar5 = PTR_DAT_0714f9a8;
		 *           puVar4 = PTR_DAT_0714f990;
		 *           puVar3 = PTR_DAT_070cae60;
		 *           lVar17 = *(long *)(lVar15 + 0x18);
		 *           if (lVar17 != 0) {
		 *             iVar16 = 0;
		 *             while (iVar16 < *(int *)(lVar17 + 0x18)) {
		 *               plVar10 = (long *)func_0x03f2d434(lVar17,iVar16,*(undefined8 *)puVar3);
		 *               if (plVar10 == null) goto LAB_06997098;
		 *               uVar11 = (**(code **)(*plVar10 + 0x188))
		 *                                  (plVar10,uVar13,pvVar8,*(undefined8 *)(*plVar10 + 400));
		 *               if ((uVar11 & 1) != 0) {
		 *                 if ((*(long *)(lVar15 + 0x18) == 0) ||
		 *                    (uVar12 = func_0x03f2d434(*(long *)(lVar15 + 0x18),iVar16,*(undefined8 *)puVar3),
		 *                    plVar9 == null)) goto LAB_06997098;
		 *                 lVar17 = plVar9[2];
		 *                 lVar14 = *(long *)puVar4;
		 *                 *(int *)((long)plVar9 + 0x1c) = *(int *)((long)plVar9 + 0x1c) + 1;
		 *                 if (lVar17 == 0) goto LAB_06997098;
		 *                 uVar2 = *(uint *)(plVar9 + 3);
		 *                 if (uVar2 < *(uint *)(lVar17 + 0x18)) {
		 *                   *(uint *)(plVar9 + 3) = uVar2 + 1;
		 *                   *(undefined8 *)(lVar17 + (long)(int)uVar2 * 8 + 0x20) = uVar12;
		 *                   func_0x031fdc38();
		 *                 }
		 *                 else {
		 *                   func_0x03f2d704(plVar9,uVar12,
		 *                                   *(undefined8 *)(*(long *)(*(long *)(lVar14 + 0x20) + 0xc0) + 0x70)
		 *                                  );
		 *                 }
		 *               }
		 *               lVar17 = *(long *)(lVar15 + 0x18);
		 *               iVar16 = iVar16 + 1;
		 *               if (lVar17 == 0) goto LAB_06997098;
		 *             }
		 *             uVar13 = func_0x031fdf24(*(undefined8 *)puVar7);
		 *             if (plVar9 != null) {
		 *               func_0x043e7f38(uVar13,plVar9,*(undefined8 *)(*plVar9 + 0x210),0);
		 *               func_0x03f2ecfc(lVar17,uVar13,*(undefined8 *)puVar6);
		 *               if ((*(long *)(lVar15 + 0x10) != 0) && (*(long *)(lVar15 + 0x18) != 0)) {
		 *                 iVar16 = *(int *)(*(long *)(lVar15 + 0x10) + 0x18);
		 *                 iVar1 = *(int *)(*(long *)(lVar15 + 0x18) + 0x18);
		 *                 lVar17 = func_0x031fdf24(*(undefined8 *)PTR_DAT_0714f998);
		 *                 func_0x03f2cf14(lVar17,iVar1 + iVar16,*(undefined8 *)PTR_DAT_0714f9b8);
		 *                 if (lVar17 != 0) {
		 *                   func_0x03f2d914(lVar17,*(undefined8 *)(lVar15 + 0x10),*(undefined8 *)puVar5);
		 *                   func_0x03f2d914(lVar17,*(undefined8 *)(lVar15 + 0x18),*(undefined8 *)puVar5);
		 *                   *(long *)(lVar15 + 0x20) = lVar17;
		 *                   func_0x031fdc38((long *)(lVar15 + 0x20),lVar17);
		 *                   *(undefined1 *)(lVar15 + 0x28) = 0;
		 *                   return;
		 *                 }
		 *               }
		 *             }
		 *           }
		 * LAB_06997098:
		 *           IL2CPP.ThrowNullReferenceException();
		 *         }
		 *       }
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294DB0 VA: 0x781897FDB0
		public void OnValueChanged(bool isOn);
		/*
		 *   undefined4 *puVar1;
		 *   undefined4 *puVar2;
		 *   undefined4 *puVar3;
		 *   undefined4 *puVar4;
		 *   long *plVar5;
		 *
		 *   plVar5 = *(long **)((long)this + 0x28);
		 *   puVar1 = (undefined4 *)((long)this + 0x50);
		 *   puVar2 = (undefined4 *)((long)this + 0x54);
		 *   puVar3 = (undefined4 *)((long)this + 0x58);
		 *   puVar4 = (undefined4 *)((long)this + 0x5c);
		 *   if (!isOn) {
		 *     puVar1 = (undefined4 *)((long)this + 0x40);
		 *     puVar2 = (undefined4 *)((long)this + 0x44);
		 *     puVar3 = (undefined4 *)((long)this + 0x48);
		 *     puVar4 = (undefined4 *)((long)this + 0x4c);
		 *   }
		 *   if (plVar5 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   (**(code **)(*plVar5 + 0x2a8))
		 *             (*puVar1,*puVar2,*puVar3,*puVar4,plVar5,*(undefined8 *)(*plVar5 + 0x2b0));
		 *   return;
		 */
		// RVA: 0x3294EBC VA: 0x781897FEBC
		public void OnPointerEnter(UnityEngine.EventSystems.PointerEventData eventData);
		/*
		 *   undefined4 *puVar1;
		 *   undefined4 *puVar2;
		 *   undefined4 *puVar3;
		 *   undefined4 *puVar4;
		 *   long *plVar5;
		 *
		 *   *(undefined1 *)((long)this + 0x70) = 1;
		 *   if (*(long *)((long)this + 0x20) != 0) {
		 *     plVar5 = *(long **)((long)this + 0x28);
		 *     if (*(char *)(*(long *)((long)this + 0x20) + 0x120) == '\0') {
		 *       puVar1 = (undefined4 *)((long)this + 0x60);
		 *       puVar2 = (undefined4 *)((long)this + 100);
		 *       puVar3 = (undefined4 *)((long)this + 0x68);
		 *       puVar4 = (undefined4 *)((long)this + 0x6c);
		 *     }
		 *     else {
		 *       puVar1 = (undefined4 *)((long)this + 0x50);
		 *       puVar2 = (undefined4 *)((long)this + 0x54);
		 *       puVar3 = (undefined4 *)((long)this + 0x58);
		 *       puVar4 = (undefined4 *)((long)this + 0x5c);
		 *     }
		 *     if (plVar5 != null) {
		 *       (**(code **)(*plVar5 + 0x2a8))
		 *                 (*puVar1,*puVar2,*puVar3,*puVar4,plVar5,*(undefined8 *)(*plVar5 + 0x2b0));
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294F30 VA: 0x781897FF30
		public void OnPointerExit(UnityEngine.EventSystems.PointerEventData eventData);
		/*
		 *   undefined4 *puVar1;
		 *   undefined4 *puVar2;
		 *   undefined4 *puVar3;
		 *   undefined4 *puVar4;
		 *   long *plVar5;
		 *
		 *   *(undefined1 *)((long)this + 0x70) = 0;
		 *   if (*(long *)((long)this + 0x20) != 0) {
		 *     plVar5 = *(long **)((long)this + 0x28);
		 *     if (*(char *)(*(long *)((long)this + 0x20) + 0x120) == '\0') {
		 *       puVar1 = (undefined4 *)((long)this + 0x40);
		 *       puVar2 = (undefined4 *)((long)this + 0x44);
		 *       puVar3 = (undefined4 *)((long)this + 0x48);
		 *       puVar4 = (undefined4 *)((long)this + 0x4c);
		 *     }
		 *     else {
		 *       puVar1 = (undefined4 *)((long)this + 0x30);
		 *       puVar2 = (undefined4 *)((long)this + 0x34);
		 *       puVar3 = (undefined4 *)((long)this + 0x38);
		 *       puVar4 = (undefined4 *)((long)this + 0x3c);
		 *     }
		 *     if (plVar5 != null) {
		 *       (**(code **)(*plVar5 + 0x2a8))
		 *                 (*puVar1,*puVar2,*puVar3,*puVar4,plVar5,*(undefined8 *)(*plVar5 + 0x2b0));
		 *       return;
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3294FA0 VA: 0x781897FFA0
		public void .ctor();
		/*
		 *   undefined8 uVar1;
		 *   undefined8 uVar2;
		 *   undefined *puVar3;
		 *   undefined1 auVar4 [16];
		 *
		 *   uVar2 = _UNK_01349ba8;
		 *   uVar1 = _UNK_01349ba0;
		 *   auVar4 = NEON_fmov(0x3f800000,4);
		 *   *(undefined8 *)((long)this + 0x58) = _UNK_01349ba8;
		 *   *(undefined8 *)((long)this + 0x50) = uVar1;
		 *   *(undefined8 *)((long)this + 0x68) = uVar2;
		 *   *(undefined8 *)((long)this + 0x60) = uVar1;
		 *   *(long *)((long)this + 0x38) = auVar4._8_8_;
		 *   *(long *)((long)this + 0x30) = auVar4._0_8_;
		 *   *(undefined8 *)((long)this + 0x48) = uVar2;
		 *   *(undefined8 *)((long)this + 0x40) = uVar1;
		 *   puVar3 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000755f76f & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8,0);
		 *     bRam000000000755f76f = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   return;
		 */
	}
}
