Decompiled source of UniversalSolution v1.0.0

AdvertisingOnMenu.dll

Decompiled 4 months ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Logging;
using Microsoft.CodeAnalysis;
using On.RoR2.UI.MainMenu;
using RoR2.UI;
using RoR2.UI.MainMenu;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("AdvertisingOnMenu")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+ecb467b238601bc2309e02779df92ea5d0a6c4b8")]
[assembly: AssemblyProduct("AdvertisingOnMenu")]
[assembly: AssemblyTitle("AdvertisingOnMenu")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace AdvertisingSpace
{
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInPlugin("RoR2INC.YourLinkOnMenu", "YourLinkOnMenu", "1.0.0")]
	public class AdvertisingSpacePlugin : BaseUnityPlugin
	{
		[CompilerGenerated]
		private static class <>O
		{
			public static UnityAction <0>__Email;
		}

		public const string PluginGUID = "RoR2INC.YourLinkOnMenu";

		public const string PluginAuthor = "RoR2INC";

		public const string PluginName = "YourLinkOnMenu";

		public const string PluginVersion = "1.0.0";

		public void Awake()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_0012: Expected O, but got Unknown
			BaseMainMenuScreen.Awake += new hook_Awake(BaseMainMenuScreen_Awake);
		}

		private void BaseMainMenuScreen_Awake(orig_Awake orig, BaseMainMenuScreen self)
		{
			//IL_00e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0118: Unknown result type (might be due to invalid IL or missing references)
			//IL_0122: Expected O, but got Unknown
			//IL_019e: Unknown result type (might be due to invalid IL or missing references)
			//IL_01d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e0: Expected O, but got Unknown
			//IL_013a: Unknown result type (might be due to invalid IL or missing references)
			//IL_013f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0145: Expected O, but got Unknown
			//IL_025c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0294: Unknown result type (might be due to invalid IL or missing references)
			//IL_029e: Expected O, but got Unknown
			//IL_01f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0203: Expected O, but got Unknown
			//IL_031a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0352: Unknown result type (might be due to invalid IL or missing references)
			//IL_035c: Expected O, but got Unknown
			//IL_02b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_02bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_02c1: Expected O, but got Unknown
			//IL_03d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0410: Unknown result type (might be due to invalid IL or missing references)
			//IL_041a: Expected O, but got Unknown
			//IL_0374: Unknown result type (might be due to invalid IL or missing references)
			//IL_0379: Unknown result type (might be due to invalid IL or missing references)
			//IL_037f: Expected O, but got Unknown
			//IL_0496: Unknown result type (might be due to invalid IL or missing references)
			//IL_04ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d8: Expected O, but got Unknown
			//IL_0432: Unknown result type (might be due to invalid IL or missing references)
			//IL_0437: Unknown result type (might be due to invalid IL or missing references)
			//IL_043d: Expected O, but got Unknown
			//IL_0554: Unknown result type (might be due to invalid IL or missing references)
			//IL_058c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0596: Expected O, but got Unknown
			//IL_04f0: Unknown result type (might be due to invalid IL or missing references)
			//IL_04f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_04fb: Expected O, but got Unknown
			//IL_0612: Unknown result type (might be due to invalid IL or missing references)
			//IL_064a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0654: Expected O, but got Unknown
			//IL_05ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_05b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_05b9: Expected O, but got Unknown
			//IL_06d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0708: Unknown result type (might be due to invalid IL or missing references)
			//IL_0712: Expected O, but got Unknown
			//IL_066c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0671: Unknown result type (might be due to invalid IL or missing references)
			//IL_0677: Expected O, but got Unknown
			//IL_078e: Unknown result type (might be due to invalid IL or missing references)
			//IL_07c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_07d0: Expected O, but got Unknown
			//IL_072a: Unknown result type (might be due to invalid IL or missing references)
			//IL_072f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0735: Expected O, but got Unknown
			//IL_084c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0884: Unknown result type (might be due to invalid IL or missing references)
			//IL_088e: Expected O, but got Unknown
			//IL_07e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_07ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_07f3: Expected O, but got Unknown
			//IL_090a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0942: Unknown result type (might be due to invalid IL or missing references)
			//IL_094c: Expected O, but got Unknown
			//IL_08a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_08ab: Unknown result type (might be due to invalid IL or missing references)
			//IL_08b1: Expected O, but got Unknown
			//IL_09c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a00: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a0a: Expected O, but got Unknown
			//IL_0964: Unknown result type (might be due to invalid IL or missing references)
			//IL_0969: Unknown result type (might be due to invalid IL or missing references)
			//IL_096f: Expected O, but got Unknown
			//IL_0a86: Unknown result type (might be due to invalid IL or missing references)
			//IL_0abe: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ac8: Expected O, but got Unknown
			//IL_0a22: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a27: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a2d: Expected O, but got Unknown
			//IL_0b44: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b7c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b86: Expected O, but got Unknown
			//IL_0ae0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ae5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aeb: Expected O, but got Unknown
			//IL_0c02: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c3a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c44: Expected O, but got Unknown
			//IL_0b9e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ba3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ba9: Expected O, but got Unknown
			//IL_0cc0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cf8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d02: Expected O, but got Unknown
			//IL_0c5c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c61: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c67: Expected O, but got Unknown
			//IL_0d7e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0db6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dc0: Expected O, but got Unknown
			//IL_0d1a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d1f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d25: Expected O, but got Unknown
			//IL_0e3c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e74: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e7e: Expected O, but got Unknown
			//IL_0dd8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ddd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0de3: Expected O, but got Unknown
			//IL_0efa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f32: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f3c: Expected O, but got Unknown
			//IL_0e96: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e9b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ea1: Expected O, but got Unknown
			//IL_0fb8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ff0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ffa: Expected O, but got Unknown
			//IL_0f54: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f59: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f5f: Expected O, but got Unknown
			//IL_1076: Unknown result type (might be due to invalid IL or missing references)
			//IL_10ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_10b8: Expected O, but got Unknown
			//IL_1012: Unknown result type (might be due to invalid IL or missing references)
			//IL_1017: Unknown result type (might be due to invalid IL or missing references)
			//IL_101d: Expected O, but got Unknown
			//IL_1134: Unknown result type (might be due to invalid IL or missing references)
			//IL_116c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1176: Expected O, but got Unknown
			//IL_10d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_10d5: Unknown result type (might be due to invalid IL or missing references)
			//IL_10db: Expected O, but got Unknown
			//IL_11f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_122a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1234: Expected O, but got Unknown
			//IL_118e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1193: Unknown result type (might be due to invalid IL or missing references)
			//IL_1199: Expected O, but got Unknown
			//IL_12b0: Unknown result type (might be due to invalid IL or missing references)
			//IL_12e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_12f2: Expected O, but got Unknown
			//IL_124c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1251: Unknown result type (might be due to invalid IL or missing references)
			//IL_1257: Expected O, but got Unknown
			//IL_136e: Unknown result type (might be due to invalid IL or missing references)
			//IL_13a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_13b0: Expected O, but got Unknown
			//IL_130a: Unknown result type (might be due to invalid IL or missing references)
			//IL_130f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1315: Expected O, but got Unknown
			//IL_142c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1464: Unknown result type (might be due to invalid IL or missing references)
			//IL_146e: Expected O, but got Unknown
			//IL_13c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_13cd: Unknown result type (might be due to invalid IL or missing references)
			//IL_13d3: Expected O, but got Unknown
			//IL_14ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_1522: Unknown result type (might be due to invalid IL or missing references)
			//IL_152c: Expected O, but got Unknown
			//IL_1486: Unknown result type (might be due to invalid IL or missing references)
			//IL_148b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1491: Expected O, but got Unknown
			//IL_15a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_15e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_15ea: Expected O, but got Unknown
			//IL_1544: Unknown result type (might be due to invalid IL or missing references)
			//IL_1549: Unknown result type (might be due to invalid IL or missing references)
			//IL_154f: Expected O, but got Unknown
			//IL_1666: Unknown result type (might be due to invalid IL or missing references)
			//IL_169e: Unknown result type (might be due to invalid IL or missing references)
			//IL_16a8: Expected O, but got Unknown
			//IL_1602: Unknown result type (might be due to invalid IL or missing references)
			//IL_1607: Unknown result type (might be due to invalid IL or missing references)
			//IL_160d: Expected O, but got Unknown
			//IL_1724: Unknown result type (might be due to invalid IL or missing references)
			//IL_175c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1766: Expected O, but got Unknown
			//IL_16c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_16c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_16cb: Expected O, but got Unknown
			//IL_17e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_181a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1824: Expected O, but got Unknown
			//IL_177e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1783: Unknown result type (might be due to invalid IL or missing references)
			//IL_1789: Expected O, but got Unknown
			//IL_183c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1841: Unknown result type (might be due to invalid IL or missing references)
			//IL_1847: Expected O, but got Unknown
			orig.Invoke(self);
			if (Object.op_Implicit((Object)(object)self) && Object.op_Implicit((Object)(object)((Component)self).transform.Find("SafeZone")) && Object.op_Implicit((Object)(object)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel")) && Object.op_Implicit((Object)(object)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel")) && Object.op_Implicit((Object)(object)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")))
			{
				GameObject val = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component = val.GetComponent<RectTransform>();
				((Transform)component).localPosition = new Vector3(480f, -452f, 0f);
				HGButton component2 = val.GetComponent<HGButton>();
				component2.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component3 = val.GetComponent<LanguageTextMeshController>();
				component3.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component2).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick = ((Button)component2).onClick;
				object obj = <>O.<0>__Email;
				if (obj == null)
				{
					UnityAction val2 = Email;
					<>O.<0>__Email = val2;
					obj = (object)val2;
				}
				((UnityEvent)onClick).AddListener((UnityAction)obj);
				GameObject val3 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val3.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component4 = val3.GetComponent<RectTransform>();
				((Transform)component4).localPosition = new Vector3(480f, -500f, 0f);
				HGButton component5 = val3.GetComponent<HGButton>();
				component5.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component6 = val3.GetComponent<LanguageTextMeshController>();
				component6.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component5).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick2 = ((Button)component5).onClick;
				object obj2 = <>O.<0>__Email;
				if (obj2 == null)
				{
					UnityAction val4 = Email;
					<>O.<0>__Email = val4;
					obj2 = (object)val4;
				}
				((UnityEvent)onClick2).AddListener((UnityAction)obj2);
				GameObject val5 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val5.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component7 = val5.GetComponent<RectTransform>();
				((Transform)component7).localPosition = new Vector3(480f, -548f, 0f);
				HGButton component8 = val5.GetComponent<HGButton>();
				component8.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component9 = val5.GetComponent<LanguageTextMeshController>();
				component9.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component8).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick3 = ((Button)component8).onClick;
				object obj3 = <>O.<0>__Email;
				if (obj3 == null)
				{
					UnityAction val6 = Email;
					<>O.<0>__Email = val6;
					obj3 = (object)val6;
				}
				((UnityEvent)onClick3).AddListener((UnityAction)obj3);
				GameObject val7 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val7.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component10 = val7.GetComponent<RectTransform>();
				((Transform)component10).localPosition = new Vector3(480f, -596f, 0f);
				HGButton component11 = val7.GetComponent<HGButton>();
				component11.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component12 = val7.GetComponent<LanguageTextMeshController>();
				component12.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component11).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick4 = ((Button)component11).onClick;
				object obj4 = <>O.<0>__Email;
				if (obj4 == null)
				{
					UnityAction val8 = Email;
					<>O.<0>__Email = val8;
					obj4 = (object)val8;
				}
				((UnityEvent)onClick4).AddListener((UnityAction)obj4);
				GameObject val9 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val9.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component13 = val9.GetComponent<RectTransform>();
				((Transform)component13).localPosition = new Vector3(480f, -644f, 0f);
				HGButton component14 = val9.GetComponent<HGButton>();
				component14.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component15 = val9.GetComponent<LanguageTextMeshController>();
				component15.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component14).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick5 = ((Button)component14).onClick;
				object obj5 = <>O.<0>__Email;
				if (obj5 == null)
				{
					UnityAction val10 = Email;
					<>O.<0>__Email = val10;
					obj5 = (object)val10;
				}
				((UnityEvent)onClick5).AddListener((UnityAction)obj5);
				GameObject val11 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val11.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component16 = val11.GetComponent<RectTransform>();
				((Transform)component16).localPosition = new Vector3(480f, -692f, 0f);
				HGButton component17 = val11.GetComponent<HGButton>();
				component17.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component18 = val11.GetComponent<LanguageTextMeshController>();
				component18.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component17).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick6 = ((Button)component17).onClick;
				object obj6 = <>O.<0>__Email;
				if (obj6 == null)
				{
					UnityAction val12 = Email;
					<>O.<0>__Email = val12;
					obj6 = (object)val12;
				}
				((UnityEvent)onClick6).AddListener((UnityAction)obj6);
				GameObject val13 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val13.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component19 = val13.GetComponent<RectTransform>();
				((Transform)component19).localPosition = new Vector3(480f, -740f, 0f);
				HGButton component20 = val13.GetComponent<HGButton>();
				component20.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component21 = val13.GetComponent<LanguageTextMeshController>();
				component21.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component20).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick7 = ((Button)component20).onClick;
				object obj7 = <>O.<0>__Email;
				if (obj7 == null)
				{
					UnityAction val14 = Email;
					<>O.<0>__Email = val14;
					obj7 = (object)val14;
				}
				((UnityEvent)onClick7).AddListener((UnityAction)obj7);
				GameObject val15 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val15.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component22 = val15.GetComponent<RectTransform>();
				((Transform)component22).localPosition = new Vector3(480f, -788f, 0f);
				HGButton component23 = val15.GetComponent<HGButton>();
				component23.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component24 = val15.GetComponent<LanguageTextMeshController>();
				component24.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component23).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick8 = ((Button)component23).onClick;
				object obj8 = <>O.<0>__Email;
				if (obj8 == null)
				{
					UnityAction val16 = Email;
					<>O.<0>__Email = val16;
					obj8 = (object)val16;
				}
				((UnityEvent)onClick8).AddListener((UnityAction)obj8);
				GameObject val17 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val17.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component25 = val17.GetComponent<RectTransform>();
				((Transform)component25).localPosition = new Vector3(800f, -452f, 0f);
				HGButton component26 = val17.GetComponent<HGButton>();
				component26.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component27 = val17.GetComponent<LanguageTextMeshController>();
				component27.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component26).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick9 = ((Button)component26).onClick;
				object obj9 = <>O.<0>__Email;
				if (obj9 == null)
				{
					UnityAction val18 = Email;
					<>O.<0>__Email = val18;
					obj9 = (object)val18;
				}
				((UnityEvent)onClick9).AddListener((UnityAction)obj9);
				GameObject val19 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val19.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component28 = val19.GetComponent<RectTransform>();
				((Transform)component28).localPosition = new Vector3(800f, -500f, 0f);
				HGButton component29 = val19.GetComponent<HGButton>();
				component29.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component30 = val19.GetComponent<LanguageTextMeshController>();
				component30.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component29).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick10 = ((Button)component29).onClick;
				object obj10 = <>O.<0>__Email;
				if (obj10 == null)
				{
					UnityAction val20 = Email;
					<>O.<0>__Email = val20;
					obj10 = (object)val20;
				}
				((UnityEvent)onClick10).AddListener((UnityAction)obj10);
				GameObject val21 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val21.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component31 = val21.GetComponent<RectTransform>();
				((Transform)component31).localPosition = new Vector3(800f, -548f, 0f);
				HGButton component32 = val21.GetComponent<HGButton>();
				component32.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component33 = val21.GetComponent<LanguageTextMeshController>();
				component33.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component32).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick11 = ((Button)component32).onClick;
				object obj11 = <>O.<0>__Email;
				if (obj11 == null)
				{
					UnityAction val22 = Email;
					<>O.<0>__Email = val22;
					obj11 = (object)val22;
				}
				((UnityEvent)onClick11).AddListener((UnityAction)obj11);
				GameObject val23 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val23.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component34 = val23.GetComponent<RectTransform>();
				((Transform)component34).localPosition = new Vector3(800f, -596f, 0f);
				HGButton component35 = val23.GetComponent<HGButton>();
				component35.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component36 = val23.GetComponent<LanguageTextMeshController>();
				component36.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component35).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick12 = ((Button)component35).onClick;
				object obj12 = <>O.<0>__Email;
				if (obj12 == null)
				{
					UnityAction val24 = Email;
					<>O.<0>__Email = val24;
					obj12 = (object)val24;
				}
				((UnityEvent)onClick12).AddListener((UnityAction)obj12);
				GameObject val25 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val25.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component37 = val25.GetComponent<RectTransform>();
				((Transform)component37).localPosition = new Vector3(800f, -644f, 0f);
				HGButton component38 = val25.GetComponent<HGButton>();
				component38.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component39 = val25.GetComponent<LanguageTextMeshController>();
				component39.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component38).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick13 = ((Button)component38).onClick;
				object obj13 = <>O.<0>__Email;
				if (obj13 == null)
				{
					UnityAction val26 = Email;
					<>O.<0>__Email = val26;
					obj13 = (object)val26;
				}
				((UnityEvent)onClick13).AddListener((UnityAction)obj13);
				GameObject val27 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val27.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component40 = val27.GetComponent<RectTransform>();
				((Transform)component40).localPosition = new Vector3(800f, -692f, 0f);
				HGButton component41 = val27.GetComponent<HGButton>();
				component41.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component42 = val27.GetComponent<LanguageTextMeshController>();
				component42.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component41).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick14 = ((Button)component41).onClick;
				object obj14 = <>O.<0>__Email;
				if (obj14 == null)
				{
					UnityAction val28 = Email;
					<>O.<0>__Email = val28;
					obj14 = (object)val28;
				}
				((UnityEvent)onClick14).AddListener((UnityAction)obj14);
				GameObject val29 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val29.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component43 = val29.GetComponent<RectTransform>();
				((Transform)component43).localPosition = new Vector3(800f, -740f, 0f);
				HGButton component44 = val29.GetComponent<HGButton>();
				component44.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component45 = val29.GetComponent<LanguageTextMeshController>();
				component45.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component44).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick15 = ((Button)component44).onClick;
				object obj15 = <>O.<0>__Email;
				if (obj15 == null)
				{
					UnityAction val30 = Email;
					<>O.<0>__Email = val30;
					obj15 = (object)val30;
				}
				((UnityEvent)onClick15).AddListener((UnityAction)obj15);
				GameObject val31 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val31.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component46 = val31.GetComponent<RectTransform>();
				((Transform)component46).localPosition = new Vector3(800f, -788f, 0f);
				HGButton component47 = val31.GetComponent<HGButton>();
				component47.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component48 = val31.GetComponent<LanguageTextMeshController>();
				component48.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component47).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick16 = ((Button)component47).onClick;
				object obj16 = <>O.<0>__Email;
				if (obj16 == null)
				{
					UnityAction val32 = Email;
					<>O.<0>__Email = val32;
					obj16 = (object)val32;
				}
				((UnityEvent)onClick16).AddListener((UnityAction)obj16);
				GameObject val33 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val33.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component49 = val33.GetComponent<RectTransform>();
				((Transform)component49).localPosition = new Vector3(1120f, -452f, 0f);
				HGButton component50 = val33.GetComponent<HGButton>();
				component50.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component51 = val33.GetComponent<LanguageTextMeshController>();
				component51.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component50).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick17 = ((Button)component50).onClick;
				object obj17 = <>O.<0>__Email;
				if (obj17 == null)
				{
					UnityAction val34 = Email;
					<>O.<0>__Email = val34;
					obj17 = (object)val34;
				}
				((UnityEvent)onClick17).AddListener((UnityAction)obj17);
				GameObject val35 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val35.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component52 = val35.GetComponent<RectTransform>();
				((Transform)component52).localPosition = new Vector3(1120f, -500f, 0f);
				HGButton component53 = val35.GetComponent<HGButton>();
				component53.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component54 = val35.GetComponent<LanguageTextMeshController>();
				component54.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component53).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick18 = ((Button)component53).onClick;
				object obj18 = <>O.<0>__Email;
				if (obj18 == null)
				{
					UnityAction val36 = Email;
					<>O.<0>__Email = val36;
					obj18 = (object)val36;
				}
				((UnityEvent)onClick18).AddListener((UnityAction)obj18);
				GameObject val37 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val37.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component55 = val37.GetComponent<RectTransform>();
				((Transform)component55).localPosition = new Vector3(1120f, -548f, 0f);
				HGButton component56 = val37.GetComponent<HGButton>();
				component56.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component57 = val37.GetComponent<LanguageTextMeshController>();
				component57.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component56).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick19 = ((Button)component56).onClick;
				object obj19 = <>O.<0>__Email;
				if (obj19 == null)
				{
					UnityAction val38 = Email;
					<>O.<0>__Email = val38;
					obj19 = (object)val38;
				}
				((UnityEvent)onClick19).AddListener((UnityAction)obj19);
				GameObject val39 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val39.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component58 = val39.GetComponent<RectTransform>();
				((Transform)component58).localPosition = new Vector3(1120f, -596f, 0f);
				HGButton component59 = val39.GetComponent<HGButton>();
				component59.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component60 = val39.GetComponent<LanguageTextMeshController>();
				component60.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component59).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick20 = ((Button)component59).onClick;
				object obj20 = <>O.<0>__Email;
				if (obj20 == null)
				{
					UnityAction val40 = Email;
					<>O.<0>__Email = val40;
					obj20 = (object)val40;
				}
				((UnityEvent)onClick20).AddListener((UnityAction)obj20);
				GameObject val41 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val41.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component61 = val41.GetComponent<RectTransform>();
				((Transform)component61).localPosition = new Vector3(1120f, -644f, 0f);
				HGButton component62 = val41.GetComponent<HGButton>();
				component62.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component63 = val41.GetComponent<LanguageTextMeshController>();
				component63.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component62).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick21 = ((Button)component62).onClick;
				object obj21 = <>O.<0>__Email;
				if (obj21 == null)
				{
					UnityAction val42 = Email;
					<>O.<0>__Email = val42;
					obj21 = (object)val42;
				}
				((UnityEvent)onClick21).AddListener((UnityAction)obj21);
				GameObject val43 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val43.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component64 = val43.GetComponent<RectTransform>();
				((Transform)component64).localPosition = new Vector3(1120f, -692f, 0f);
				HGButton component65 = val43.GetComponent<HGButton>();
				component65.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component66 = val43.GetComponent<LanguageTextMeshController>();
				component66.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component65).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick22 = ((Button)component65).onClick;
				object obj22 = <>O.<0>__Email;
				if (obj22 == null)
				{
					UnityAction val44 = Email;
					<>O.<0>__Email = val44;
					obj22 = (object)val44;
				}
				((UnityEvent)onClick22).AddListener((UnityAction)obj22);
				GameObject val45 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val45.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component67 = val45.GetComponent<RectTransform>();
				((Transform)component67).localPosition = new Vector3(1120f, -740f, 0f);
				HGButton component68 = val45.GetComponent<HGButton>();
				component68.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component69 = val45.GetComponent<LanguageTextMeshController>();
				component69.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component68).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick23 = ((Button)component68).onClick;
				object obj23 = <>O.<0>__Email;
				if (obj23 == null)
				{
					UnityAction val46 = Email;
					<>O.<0>__Email = val46;
					obj23 = (object)val46;
				}
				((UnityEvent)onClick23).AddListener((UnityAction)obj23);
				GameObject val47 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val47.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component70 = val47.GetComponent<RectTransform>();
				((Transform)component70).localPosition = new Vector3(1120f, -788f, 0f);
				HGButton component71 = val47.GetComponent<HGButton>();
				component71.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component72 = val47.GetComponent<LanguageTextMeshController>();
				component72.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component71).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick24 = ((Button)component71).onClick;
				object obj24 = <>O.<0>__Email;
				if (obj24 == null)
				{
					UnityAction val48 = Email;
					<>O.<0>__Email = val48;
					obj24 = (object)val48;
				}
				((UnityEvent)onClick24).AddListener((UnityAction)obj24);
				GameObject val49 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val49.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component73 = val49.GetComponent<RectTransform>();
				((Transform)component73).localPosition = new Vector3(1440f, -452f, 0f);
				HGButton component74 = val49.GetComponent<HGButton>();
				component74.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component75 = val49.GetComponent<LanguageTextMeshController>();
				component75.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component74).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick25 = ((Button)component74).onClick;
				object obj25 = <>O.<0>__Email;
				if (obj25 == null)
				{
					UnityAction val50 = Email;
					<>O.<0>__Email = val50;
					obj25 = (object)val50;
				}
				((UnityEvent)onClick25).AddListener((UnityAction)obj25);
				GameObject val51 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val51.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component76 = val51.GetComponent<RectTransform>();
				((Transform)component76).localPosition = new Vector3(1440f, -500f, 0f);
				HGButton component77 = val51.GetComponent<HGButton>();
				component77.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component78 = val51.GetComponent<LanguageTextMeshController>();
				component78.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component77).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick26 = ((Button)component77).onClick;
				object obj26 = <>O.<0>__Email;
				if (obj26 == null)
				{
					UnityAction val52 = Email;
					<>O.<0>__Email = val52;
					obj26 = (object)val52;
				}
				((UnityEvent)onClick26).AddListener((UnityAction)obj26);
				GameObject val53 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val53.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component79 = val53.GetComponent<RectTransform>();
				((Transform)component79).localPosition = new Vector3(1440f, -548f, 0f);
				HGButton component80 = val53.GetComponent<HGButton>();
				component80.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component81 = val53.GetComponent<LanguageTextMeshController>();
				component81.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component80).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick27 = ((Button)component80).onClick;
				object obj27 = <>O.<0>__Email;
				if (obj27 == null)
				{
					UnityAction val54 = Email;
					<>O.<0>__Email = val54;
					obj27 = (object)val54;
				}
				((UnityEvent)onClick27).AddListener((UnityAction)obj27);
				GameObject val55 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val55.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component82 = val55.GetComponent<RectTransform>();
				((Transform)component82).localPosition = new Vector3(1440f, -596f, 0f);
				HGButton component83 = val55.GetComponent<HGButton>();
				component83.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component84 = val55.GetComponent<LanguageTextMeshController>();
				component84.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component83).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick28 = ((Button)component83).onClick;
				object obj28 = <>O.<0>__Email;
				if (obj28 == null)
				{
					UnityAction val56 = Email;
					<>O.<0>__Email = val56;
					obj28 = (object)val56;
				}
				((UnityEvent)onClick28).AddListener((UnityAction)obj28);
				GameObject val57 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val57.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component85 = val57.GetComponent<RectTransform>();
				((Transform)component85).localPosition = new Vector3(1440f, -644f, 0f);
				HGButton component86 = val57.GetComponent<HGButton>();
				component86.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component87 = val57.GetComponent<LanguageTextMeshController>();
				component87.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component62).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick29 = ((Button)component62).onClick;
				object obj29 = <>O.<0>__Email;
				if (obj29 == null)
				{
					UnityAction val58 = Email;
					<>O.<0>__Email = val58;
					obj29 = (object)val58;
				}
				((UnityEvent)onClick29).AddListener((UnityAction)obj29);
				GameObject val59 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val59.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component88 = val59.GetComponent<RectTransform>();
				((Transform)component88).localPosition = new Vector3(1440f, -692f, 0f);
				HGButton component89 = val59.GetComponent<HGButton>();
				component89.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component90 = val59.GetComponent<LanguageTextMeshController>();
				component90.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component89).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick30 = ((Button)component89).onClick;
				object obj30 = <>O.<0>__Email;
				if (obj30 == null)
				{
					UnityAction val60 = Email;
					<>O.<0>__Email = val60;
					obj30 = (object)val60;
				}
				((UnityEvent)onClick30).AddListener((UnityAction)obj30);
				GameObject val61 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val61.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component91 = val61.GetComponent<RectTransform>();
				((Transform)component91).localPosition = new Vector3(1440f, -740f, 0f);
				HGButton component92 = val61.GetComponent<HGButton>();
				component92.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component93 = val61.GetComponent<LanguageTextMeshController>();
				component93.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component92).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick31 = ((Button)component92).onClick;
				object obj31 = <>O.<0>__Email;
				if (obj31 == null)
				{
					UnityAction val62 = Email;
					<>O.<0>__Email = val62;
					obj31 = (object)val62;
				}
				((UnityEvent)onClick31).AddListener((UnityAction)obj31);
				GameObject val63 = Object.Instantiate<GameObject>(((Component)((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel/JuicePanel/GenericMenuButton (Singleplayer)")).gameObject);
				val63.transform.parent = ((Component)self).transform.Find("SafeZone/GenericMenuButtonPanel");
				RectTransform component94 = val63.GetComponent<RectTransform>();
				((Transform)component94).localPosition = new Vector3(1440f, -788f, 0f);
				HGButton component95 = val63.GetComponent<HGButton>();
				component95.hoverToken = "YOUR AD HERE! CONTACT ME: [email protected].";
				LanguageTextMeshController component96 = val63.GetComponent<LanguageTextMeshController>();
				component96.token = "YOUR AD HERE! CONTACT ME: [email protected].";
				((Button)component95).onClick = new ButtonClickedEvent();
				ButtonClickedEvent onClick32 = ((Button)component95).onClick;
				object obj32 = <>O.<0>__Email;
				if (obj32 == null)
				{
					UnityAction val64 = Email;
					<>O.<0>__Email = val64;
					obj32 = (object)val64;
				}
				((UnityEvent)onClick32).AddListener((UnityAction)obj32);
			}
		}

		internal static void Email()
		{
			Application.OpenURL("mailto:[email protected]");
		}
	}
	internal static class Log
	{
		private static ManualLogSource _logSource;

		internal static void Init(ManualLogSource logSource)
		{
			_logSource = logSource;
		}

		internal static void Debug(object data)
		{
			_logSource.LogDebug(data);
		}

		internal static void Error(object data)
		{
			_logSource.LogError(data);
		}

		internal static void Fatal(object data)
		{
			_logSource.LogFatal(data);
		}

		internal static void Info(object data)
		{
			_logSource.LogInfo(data);
		}

		internal static void Message(object data)
		{
			_logSource.LogMessage(data);
		}

		internal static void Warning(object data)
		{
			_logSource.LogWarning(data);
		}
	}
}