示例#1
0
        public Class135(Class144 class1440, Class140 class1401, Class136 class1360, int int7, int int8,
                        int int9) : base(class1401, int8)
        {
            _int6 = class1360.vmethod_2();
            _int1 = int9;
            for (var i = 0; i < int9; i++)
            {
                _int5[i] = class1440.vmethod_12(int7);
            }
            var num = class1440.vmethod_10(4);

            if (num == 15)
            {
                throw new IOException("STREAM_DECODER_ERROR_STATUS_LOST_SYNC");
            }
            _int2 = num + 1;
            _int3 = class1440.vmethod_12(5);
            for (var j = 0; j < int9; j++)
            {
                _int4[j] = class1440.vmethod_12(_int2);
            }
            var num2 = class1440.vmethod_10(2);
            var num3 = num2;

            if (num3 != 0)
            {
                throw new IOException("STREAM_DECODER_UNPARSEABLE_STREAM");
            }
            _class1370 = new Class138();
            ((Class138)_class1370).Int0      = class1440.vmethod_10(4);
            ((Class138)_class1370).Class1430 = class1360.vmethod_1();
            if (_class1370 is Class138)
            {
                ((Class138)_class1370).vmethod_0(class1440, int9, ((Class138)_class1370).Int0, class1401,
                                                 class1360.vmethod_2());
            }
            Buffer.BlockCopy(_int5, 0, class1360.vmethod_0(), 0, int9 << 2);
            if (int7 + _int2 + Class141.smethod_0(int9) > 32)
            {
                Class130.smethod_1(class1360.vmethod_2(), class1401.Int0 - int9, _int4, int9, _int3,
                                   class1360.vmethod_0(), int9);
                return;
            }
            if (int7 <= 16 && _int2 <= 16)
            {
                Class130.smethod_0(class1360.vmethod_2(), class1401.Int0 - int9, _int4, int9, _int3,
                                   class1360.vmethod_0(), int9);
                return;
            }
            Class130.smethod_0(class1360.vmethod_2(), class1401.Int0 - int9, _int4, int9, _int3, class1360.vmethod_0(),
                               int9);
        }
示例#2
0
 internal static void smethod_0()
 {
     if (Class116.mutex_0.WaitOne(TimeSpan.Zero, true))
     {
         Class116.smethod_7();
         new GClass3();
         Class5.smethod_2();
         Class130.smethod_0();
         Application.Run(new Startup(true));
         Class116.mutex_0.ReleaseMutex();
         return;
     }
     Class133.PostMessage((IntPtr)65535, Class133.int_0, IntPtr.Zero, IntPtr.Zero);
 }
示例#3
0
        public Class135(Class144 class144_0, Class140 class140_1, Class136 class136_0, int int_7, int int_8, int int_9) : base(class140_1, int_8)
        {
            this.int_6 = class136_0.vmethod_2();
            this.int_1 = int_9;
            for (int i = 0; i < int_9; i++)
            {
                this.int_5[i] = class144_0.vmethod_12(int_7);
            }
            int num = class144_0.vmethod_10(4);

            if (num == 15)
            {
                throw new IOException("STREAM_DECODER_ERROR_STATUS_LOST_SYNC");
            }
            this.int_2 = num + 1;
            this.int_3 = class144_0.vmethod_12(5);
            for (int j = 0; j < int_9; j++)
            {
                this.int_4[j] = class144_0.vmethod_12(this.int_2);
            }
            int num2 = class144_0.vmethod_10(2);
            int num3 = num2;

            if (num3 != 0)
            {
                throw new IOException("STREAM_DECODER_UNPARSEABLE_STREAM");
            }
            this.class137_0 = new Class138();
            ((Class138)this.class137_0).int_0      = class144_0.vmethod_10(4);
            ((Class138)this.class137_0).class143_0 = class136_0.vmethod_1();
            if (this.class137_0 is Class138)
            {
                ((Class138)this.class137_0).vmethod_0(class144_0, int_9, ((Class138)this.class137_0).int_0, class140_1, class136_0.vmethod_2());
            }
            Buffer.BlockCopy(this.int_5, 0, class136_0.vmethod_0(), 0, int_9 << 2);
            if (int_7 + this.int_2 + Class141.smethod_0(int_9) > 32)
            {
                Class130.smethod_1(class136_0.vmethod_2(), class140_1.int_0 - int_9, this.int_4, int_9, this.int_3, class136_0.vmethod_0(), int_9);
                return;
            }
            if (int_7 <= 16 && this.int_2 <= 16)
            {
                Class130.smethod_0(class136_0.vmethod_2(), class140_1.int_0 - int_9, this.int_4, int_9, this.int_3, class136_0.vmethod_0(), int_9);
                return;
            }
            Class130.smethod_0(class136_0.vmethod_2(), class140_1.int_0 - int_9, this.int_4, int_9, this.int_3, class136_0.vmethod_0(), int_9);
        }
示例#4
0
 // Token: 0x060005C0 RID: 1472 RVA: 0x00031464 File Offset: 0x0002F664
 public Startup(bool bool_0 = true)
 {
     Startup.startup_0 = this;
     Class130.smethod_0();
     new Notification();
     this.method_3(bool_0);
     this.InitializeComponent();
     Application.EnableVisualStyles();
     base.Size = new Size(600, 400);
     EO.WebBrowser.Runtime.AddLicense("Y80M66Xm+8+4iVmXpLHLn1mXwPIP41nr/QEQvFu807/u56vm8fbNn6/c9gQU7qe0psLjrWmZpMDpjEOXpLHLu2jY8P0a9neEjrHLn1mz8wMP5KvA8vcan53Y+PbooWqos8LkrmuntcjNn6zs5tYj76Lp6QTs83aZtcLasHKmtsHct1uX+vYd8qLm8s7NsHCZpMDpjEOXpLHLu6zg6/8M867p6c/42KPf0sDs0WzAvf/v6Y/kuf//qmzIwc7nrqzg6/8M867p6c+4iXWm8PoO5Kfq6c+4iXXj7fQQ7azcwp61n1mXpM0X6Jzc8gQQyJ21t+PcsG2rtsTixnGttMPcr3yzs/0U4p7l9/b043eEjrHLn1mz8PoO5Kfq6fbp06LkpNUM6Kfr8//nrqXg5/YZ8p7cwp61n1mXpA==");
     EO.Base.Runtime.Exception += MainWindow.smethod_2;
     EO.Base.Runtime.InitWorkerProcessExecutable(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "CyberAIO\\engine.exe"));
     this.webView_0 = new WebView();
     this.webView_0.Create(base.Handle);
     this.webView_0.LoadHtmlAndWait(Class158.smethod_8());
     this.smethod_20(new System.Action(Startup.Class135.class135_0.method_0));
 }
示例#5
0
    // Token: 0x06000AE9 RID: 2793 RVA: 0x00039EF8 File Offset: 0x000380F8
    private JsonSchemaType?method_14(JToken jtoken_0)
    {
        JTokenType type = jtoken_0.Type;

        if (type == JTokenType.Array)
        {
            JsonSchemaType?jsonSchemaType = new JsonSchemaType?(JsonSchemaType.None);
            foreach (JToken jtoken in ((IEnumerable <JToken>)jtoken_0))
            {
                if (jtoken.Type != JTokenType.String)
                {
                    throw JsonException.Create(jtoken, jtoken.Path, "Expected JSON schema type string token, got {0}.".smethod_0(CultureInfo.InvariantCulture, jtoken_0.Type));
                }
                jsonSchemaType |= Class130.smethod_0((string)jtoken);
            }
            return(jsonSchemaType);
        }
        if (type != JTokenType.String)
        {
            throw JsonException.Create(jtoken_0, jtoken_0.Path, "Expected array or JSON schema type string token, got {0}.".smethod_0(CultureInfo.InvariantCulture, jtoken_0.Type));
        }
        return(new JsonSchemaType?(Class130.smethod_0((string)jtoken_0)));
    }