Esempio n. 1
0
 private void method_4(Stream A_0, bool A_1, string A_2)
 {
     if (A_0 != null)
     {
         Class988 class2 = new Class988();
         byte[]   buffer = class2.method_2(A_2);
         int      num    = A_1 ? 0x44 : 0;
         class2.method_10(buffer, A_0, num);
     }
 }
Esempio n. 2
0
 protected void method_0(Interface8 reader)
 {
     this.enum3_0 = reader.FileFormatVersion < Class250.int_48 ? Class197.Enum3.const_0 : (Class197.Enum3)reader.imethod_11(Class197.string_0);
     if (this.enum3_0 == Class197.Enum3.const_0)
     {
         this.class988_0 = new Class988();
         this.class988_0.imethod_0(reader);
         this.double_0 = reader.FileFormatVersion < Class250.int_6 ? 0.0 : reader.imethod_8();
     }
     else if (this.enum3_0 == Class197.Enum3.const_1)
     {
         int length1 = reader.imethod_5();
         this.double_1 = new double[length1];
         for (int index = 0; index < length1; ++index)
         {
             this.double_1[index] = reader.imethod_8();
         }
         int length2 = reader.imethod_5();
         this.double_2 = new double[length2];
         for (int index = 0; index < length2; ++index)
         {
             this.double_2[index] = reader.imethod_8();
         }
         this.double_0 = reader.imethod_8();
         this.int_0    = reader.imethod_11(Class197.string_1);
         this.int_1    = reader.imethod_11(Class197.string_1);
         this.int_2    = reader.imethod_11(Class197.string_2);
         this.int_3    = reader.imethod_11(Class197.string_2);
     }
     else if (this.enum3_0 == Class197.Enum3.const_2)
     {
         this.class439_0 = new Class439(reader);
         this.class439_1 = new Class439(reader);
         this.int_0      = reader.imethod_11(Class197.string_1);
         this.int_1      = reader.imethod_11(Class197.string_1);
         this.int_2      = reader.imethod_11(Class197.string_2);
         this.int_3      = reader.imethod_11(Class197.string_2);
     }
     if (reader.FileFormatVersion < Class250.int_36)
     {
         return;
     }
     this.class796_0 = new Class796(reader);
     this.class796_1 = new Class796(reader);
 }
Esempio n. 3
0
    internal void method_1(Class1132 A_0, Class703 A_1, string A_2)
    {
        int    num     = 0x12;
        string key     = A_1.method_0();
        Stream stream  = null;
        Stream stream2 = null;
        Stream stream3 = null;

        if (A_0.method_0().ContainsKey(key))
        {
            stream = A_0.method_0().method_5(A_1.method_0());
        }
        if (A_0.method_0().ContainsKey(BookmarkStart.b("漷唹主娽пⵁ❃㍅╇⽉≋㩍", num)))
        {
            stream2 = A_0.method_0().method_5(BookmarkStart.b("漷唹主娽пⵁ❃㍅╇⽉≋㩍", num));
        }
        if (A_0.method_0().ContainsKey(BookmarkStart.b("簷嬹䠻弽", num)))
        {
            stream3 = A_0.method_0().method_5(BookmarkStart.b("簷嬹䠻弽", num));
        }
        if (A_1.bool_11)
        {
            Class988 class3 = new Class988();
            if (class3.method_0(A_2, (uint)A_1.int_8))
            {
                this.method_4(stream, false, A_2);
                this.method_4(stream2, true, A_2);
                this.method_4(stream3, false, A_2);
                return;
            }
        }
        else
        {
            BinaryReader reader = new BinaryReader(stream);
            switch (((VersionInfo)reader.ReadInt32()))
            {
            case VersionInfo.CryptoApi:
            case VersionInfo.CryptoApi2007:
            case VersionInfo.CryptoApi2010:
            {
                stream.Position = 0L;
                byte[] buffer = new byte[A_1.int_8];
                stream.Read(buffer, 0, A_1.int_8);
                Class994 class2 = null;
                using (MemoryStream stream4 = new MemoryStream(buffer))
                {
                    class2 = new Class994(stream4);
                }
                if (!this.method_3(A_2, class2))
                {
                    break;
                }
                A_0.method_0()[key] = this.method_5(stream, A_2, class2);
                A_0.method_0()[BookmarkStart.b("漷唹主娽пⵁ❃㍅╇⽉≋㩍", num)] = this.method_5(stream2, A_2, class2);
                if (stream3 != null)
                {
                    A_0.method_0()[BookmarkStart.b("簷嬹䠻弽", num)] = this.method_5(stream3, A_2, class2);
                }
                return;
            }

            case VersionInfo.RC4:
                if (this.method_13(reader, A_2))
                {
                    this.method_8(A_0, key);
                    return;
                }
                break;

            default:
                throw new InvalidOperationException(BookmarkStart.b("洷吹夻䘽〿❁❃㉅ⵇ⹉汋⭍㹏ㅑ♓⽕⡗⹙㕛ㅝ๟䉡ባͥᩧᥩիŭṯ山", num));
            }
        }
        this.method_2(A_2);
    }