Пример #1
0
        public virtual float vmethod_0(int int_4)
        {
            if (!this.bool_1)
            {
                return(1f);
            }
            if (this.bool_2)
            {
                this.float_1 = new float[this.list_0.Count];
                this.float_2 = new float[this.list_0.Count];
                for (int i = 0; i < this.list_0.Count; i++)
                {
                    this.float_1[i] = this.list_0[i].float_0;
                    this.float_2[i] = this.list_0[i].float_1;
                }
                this.bool_2 = false;
            }
            float num = Class15.smethod_3(this.float_1, this.float_2, ((float)int_4 - (float)this.method_0()) / (float)this.method_2());

            switch (Class13.enum0_0)
            {
            case Class13.Enum0.const_3:
                return((float)Math.Sqrt((double)num));

            case Class13.Enum0.const_1:
                return(num * num);

            case Class13.Enum0.const_2:
                return(num * num * num);
            }
            return(num);
        }
Пример #2
0
 public static void smethod_7(float[] float_0, int int_3, int int_4)
 {
     try
     {
         Class15.smethod_6(float_0, int_3 - int_4 / 2, int_4, 1.5f);
     }
     catch (Exception)
     {
     }
 }
Пример #3
0
        public static void smethod_6(float[] float_0, int int_3, int int_4, float float_1)
        {
            float num = float_0[int_3];

            for (int i = int_3; i < int_3 + int_4; i++)
            {
                num        = Class15.smethod_5(num, float_0[i], float_1);
                float_0[i] = num;
            }
            num = float_0[int_3 + int_4 - 1];
            for (int j = int_3 + int_4 - 1; j >= int_3; j--)
            {
                num        = Class15.smethod_5(num, float_0[j], float_1);
                float_0[j] = num;
            }
        }
Пример #4
0
 public static string smethod_0(bool bool_0, bool bool_1, bool bool_2, bool bool_3, bool bool_4, bool bool_5)
 {
     return(Class15.smethod_3(bool_0, bool_2, bool_3, bool_1, bool_4, bool_5));
 }
Пример #5
0
 public void method_45(string string_2)
 {
     try
     {
         lock (Class15.object_0)
         {
             Class15.smethod_5();
             Class15.Class17 @class = null;
             try
             {
                 string      str         = Class15.Class16.string_0;
                 string      str2        = Class15.string_3 + "\\";
                 RegistryKey registryKey = Registry.CurrentUser;
                 if (Class15.smethod_0())
                 {
                     registryKey = Registry.LocalMachine;
                 }
                 RegistryKey registryKey2 = registryKey.OpenSubKey(str + str2, false);
                 if (registryKey2 != null)
                 {
                     Class15.Class17 class2 = new Class15.Class17();
                     class2.method_0((string)registryKey2.GetValue("1"), Class15.byte_1, Class15.byte_2);
                     if (@class == null)
                     {
                         @class = class2;
                     }
                     if (class2.ulong_0 > @class.ulong_0)
                     {
                         @class = class2;
                     }
                 }
             }
             catch
             {
             }
             try
             {
                 if (Class14.smethod_5(base.GetType().Assembly).ToString().Length > 0 && File.Exists(Class14.smethod_5(base.GetType().Assembly).ToString()))
                 {
                     Class15.Class17 class3 = new Class15.Class17();
                     class3.method_0(Class15.smethod_8(Path.GetDirectoryName(Class14.smethod_5(base.GetType().Assembly).ToString()), Class15.string_2), Class15.byte_1, Class15.byte_2);
                     if (@class == null)
                     {
                         @class = class3;
                     }
                     if (class3.ulong_0 > @class.ulong_0)
                     {
                         @class = class3;
                     }
                 }
             }
             catch
             {
             }
             try
             {
                 if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + Class15.Class16.string_2 + Class15.string_2))
                 {
                     Class15.Class17 class4 = new Class15.Class17();
                     class4.method_0(Encoding.Unicode.GetString(Class15.smethod_11(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + Class15.Class16.string_2 + Class15.string_2)), Class15.byte_1, Class15.byte_2);
                     if (@class == null)
                     {
                         @class = class4;
                     }
                     if (class4.ulong_0 > @class.ulong_0)
                     {
                         @class = class4;
                     }
                 }
             }
             catch
             {
             }
             if (@class == null)
             {
                 @class = new Class15.Class17();
             }
             @class.string_0 = string_2;
             try
             {
                 string      str3         = Class15.Class16.string_0;
                 string      str4         = Class15.string_3 + "\\";
                 RegistryKey registryKey3 = Registry.CurrentUser;
                 if (Class15.smethod_0())
                 {
                     registryKey3 = Registry.LocalMachine;
                 }
                 RegistryKey registryKey4;
                 if (registryKey3.OpenSubKey(str3 + str4, false) == null)
                 {
                     registryKey3 = Registry.CurrentUser;
                     if (Class15.smethod_0())
                     {
                         registryKey3 = Registry.LocalMachine;
                     }
                     registryKey4 = registryKey3.CreateSubKey(str3 + str4);
                 }
                 registryKey3 = Registry.CurrentUser;
                 if (Class15.smethod_0())
                 {
                     registryKey3 = Registry.LocalMachine;
                 }
                 registryKey4 = registryKey3.OpenSubKey(str3 + str4, true);
                 if (registryKey4 != null)
                 {
                     registryKey4.SetValue("1", @class.method_5(Class15.byte_1, Class15.byte_2));
                     registryKey4.Close();
                 }
             }
             catch
             {
             }
             try
             {
                 if (Class14.smethod_5(base.GetType().Assembly).ToString().Length > 0 && File.Exists(Class14.smethod_5(base.GetType().Assembly).ToString()))
                 {
                     Class15.smethod_7(Path.GetDirectoryName(Class14.smethod_5(base.GetType().Assembly).ToString()), Class15.string_2, @class.method_5(Class15.byte_1, Class15.byte_2));
                 }
             }
             catch
             {
             }
             try
             {
                 FileStream fileStream = new FileStream(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + Class15.Class16.string_2 + Class15.string_2, FileMode.Create, FileAccess.ReadWrite);
                 byte[]     bytes      = Encoding.Unicode.GetBytes(@class.method_5(Class15.byte_1, Class15.byte_2));
                 fileStream.Write(bytes, 0, bytes.Length);
                 fileStream.Close();
             }
             catch
             {
             }
         }
     }
     catch
     {
     }
 }
Пример #6
0
 public string method_44()
 {
     try
     {
         lock (Class15.object_0)
         {
             Class15.smethod_5();
             Class15.Class17 @class = null;
             try
             {
                 string      str         = Class15.Class16.string_0;
                 string      str2        = Class15.string_3 + "\\";
                 RegistryKey registryKey = Registry.CurrentUser;
                 if (Class15.smethod_0())
                 {
                     registryKey = Registry.LocalMachine;
                 }
                 RegistryKey registryKey2 = registryKey.OpenSubKey(str + str2, false);
                 if (registryKey2 != null)
                 {
                     Class15.Class17 class2 = new Class15.Class17();
                     class2.method_0((string)registryKey2.GetValue("1"), Class15.byte_1, Class15.byte_2);
                     if (@class == null)
                     {
                         @class = class2;
                     }
                     if (class2.ulong_0 > @class.ulong_0)
                     {
                         @class = class2;
                     }
                 }
             }
             catch
             {
             }
             try
             {
                 if (Class14.smethod_5(base.GetType().Assembly).ToString().Length > 0 && File.Exists(Class14.smethod_5(base.GetType().Assembly).ToString()))
                 {
                     Class15.Class17 class3 = new Class15.Class17();
                     class3.method_0(Class15.smethod_8(Path.GetDirectoryName(Class14.smethod_5(base.GetType().Assembly).ToString()), Class15.string_2), Class15.byte_1, Class15.byte_2);
                     if (@class == null)
                     {
                         @class = class3;
                     }
                     if (class3.ulong_0 > @class.ulong_0)
                     {
                         @class = class3;
                     }
                 }
             }
             catch
             {
             }
             try
             {
                 if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + Class15.Class16.string_2 + Class15.string_2))
                 {
                     Class15.Class17 class4 = new Class15.Class17();
                     class4.method_0(Encoding.Unicode.GetString(Class15.smethod_11(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + Class15.Class16.string_2 + Class15.string_2)), Class15.byte_1, Class15.byte_2);
                     if (@class == null)
                     {
                         @class = class4;
                     }
                     if (class4.ulong_0 > @class.ulong_0)
                     {
                         @class = class4;
                     }
                 }
             }
             catch
             {
             }
             if (@class == null)
             {
                 @class = new Class15.Class17();
             }
             return(@class.string_0);
         }
     }
     catch
     {
     }
     return("");
 }
Пример #7
0
 public static bool smethod_0()
 {
     Class15.ShowMessage("Method \"DeactivateLicenseViaLicenseServer()\" blocked. DEMO MODE!");
     return(false);
 }
Пример #8
0
        public static string smethod_3(bool bool_0, bool bool_1, bool bool_2, bool bool_3, bool bool_4, bool bool_5)
        {
            string result;

            lock (Class15.object_0)
            {
                Class34.string_0 = "";
                new Class15().method_10(null, typeof(Class34), null, true, false, true, false, Class15.smethod_3(bool_0, bool_1, bool_2, bool_3, bool_4, bool_5), "", null, false, false, false);
                Class33.smethod_0().method_1((Enum6)8);
                Class33.smethod_0().method_3((Enum6)8);
                Class33.smethod_0().method_5((Enum6)8);
                result = Class34.string_0;
            }
            return(result);
        }
Пример #9
0
 public static float smethod_0(float float_0)
 {
     return((float)Class15.smethod_1((double)float_0));
 }
Пример #10
0
 public static void smethod_8(float[] float_0, int int_3)
 {
     Class15.smethod_7(float_0, int_3, Class15.int_2);
 }