Exemple #1
0
        public object[] UploadFPInPatch(object[] object_2)
        {
            Class84 class2 = new Class84();

            Class101.smethod_0("发票上传-批量接口:进入");
            if ((object_2 != null) && (object_2.Length >= 1))
            {
                Class101.smethod_0("发票上传-批量接口:传入发票为:" + object_2[0].ToString());
                try
                {
                    Class87.bool_3 = true;
                    if (Class87.bool_4)
                    {
                        new ServerUP().UPloadInPatch(object_2[0].ToString());
                    }
                    else
                    {
                        Class87.bool_2 = true;
                        Class85 class3 = new Class85();
                        Class87.string_1 = string.Empty;
                        Class87.bool_0   = false;
                        class3.method_3(object_2[0].ToString());
                    }
                    Class101.smethod_0("发票上传-批量接口:离开");
                }
                catch (Exception exception)
                {
                    Class101.smethod_1("发票上传-批量接口:接口异常" + exception.ToString());
                    Class87.string_1 = exception.ToString();
                }
                return(new object[] { Class87.xmlDocument_0 });
            }
            Class101.smethod_0("发票上传-批量接口:没有传入发票信息");
            return(new object[] { class2.method_24() });
        }
Exemple #2
0
 public void Initialize()
 {
     if (!this.bool_4)
     {
         this.string_0 = null;
     }
     this.int_6 = 0;
     this.int_5 = 0;
     if (this.sock5ProxyInfo_0 != null)
     {
         this.object_0 = this.sock5ProxyInfo_0.method_0(this.agileIPE_0.String_0, this.agileIPE_0.Port, this.int_1, this.int_0, out this.class85_0);
     }
     else
     {
         this.class85_0 = new Class85(this.agileIPE_0.String_0, this.agileIPE_0.Port, this.int_3, this.string_0);
         this.class85_0.method_11(this.int_1);
         this.class85_0.method_9(this.int_0);
         this.object_0 = this.class85_0.method_12();
     }
     this.object_0.WriteTimeout = this.int_7;
     this.string_0     = this.class85_0.method_6();
     this.int_3        = this.class85_0.method_4();
     this.ipendPoint_0 = this.agileIPE_0.IPEndPoint_0;
     this.isConnected  = 1;
     this.vmethod_0();
     bool_0 = true;
 }
Exemple #3
0
        private void FormMain_Shown(object sender, EventArgs e)
        {
            if (ExecuteAfterLoadEvent != null)
            {
                ExecuteAfterLoadEvent();
            }
            this.method_6();
            this.class85_0  = new Class85();
            this.class105_0 = new Class105();
            try
            {
                if (!base.TaxCardInstance.QYLX.ISTDQY)
                {
                    if (this.method_7())
                    {
                        this.SetInfoStatus("在线");
                    }
                    else
                    {
                        this.SetInfoStatus("离线");
                    }
                    this.backgroundWorker_0.RunWorkerAsync();
                    this.backgroundWorker_1.RunWorkerAsync();
                    this.backgroundWorker_2.RunWorkerAsync();
                }
            }
            catch (Exception)
            {
            }
            LodgingWindow win = new LodgingWindow();

            win.Show();
        }
Exemple #4
0
 public object[] UploadFPBySingle(object[] object_2)
 {
     if ((object_2 != null) && (object_2.Length >= 1))
     {
         try
         {
             Class87.bool_3 = true;
             Class101.smethod_0(string.Concat(new object[] { "传递的参数个数:", object_2.Length, "    ", object_2[0].ToString(), "    ", object_2[1].ToString(), "      ", object_2[2].ToString() }));
             Class87.bool_2 = true;
             if (Class87.bool_4)
             {
                 new ServerUP().UPLoadSingleInInterface(object_2[0].ToString(), object_2[1].ToString(), object_2[2].ToString());
             }
             else
             {
                 Class85 class2 = new Class85();
                 Class87.string_1 = string.Empty;
                 Class87.bool_0   = false;
                 Class101.smethod_0("接口开始上传");
                 class2.method_2(object_2[0].ToString(), object_2[1].ToString(), object_2[2].ToString());
             }
             Class101.smethod_0("接口上传结束");
         }
         catch (Exception exception)
         {
             Class101.smethod_1("接口上传异常:" + exception.ToString());
             Class87.string_1 = exception.ToString();
         }
         Class101.smethod_0(string.Concat(new object[] { "接口调用结束:", Class87.bool_0, "   ", Class87.string_0, "   ", Class87.string_1 }));
         return(new object[] { Class87.bool_0, Class87.string_0, Class87.string_1 });
     }
     return(new object[] { false, "-0001", "没有传递需要上传的发票信息!" });
 }
Exemple #5
0
    // Token: 0x06000127 RID: 295 RVA: 0x0000361B File Offset: 0x0000181B
    public override Class80 vmethod_4()
    {
        Class85 @class = new Class85();

        @class.method_3(this.sbyte_0);
        @class.method_1(base.method_0());
        return(@class);
    }
Exemple #6
0
    internal static DigitalSignature smethod_0(BinaryReader A_0, byte[] A_1)
    {
        bool             flag;
        int              num       = 8;
        DigitalSignature signature = new DigitalSignature(DigitalSignatureType.CryptoApi);

        try
        {
            int num2 = A_0.ReadInt32();
            int num3 = A_0.ReadInt32();
            smethod_1(A_0);
            uint num4     = A_0.ReadUInt32();
            uint num5     = A_0.ReadUInt32();
            long fileTime = num4;
            fileTime  = fileTime << 0x20;
            fileTime |= num5;
            signature.method_0(DateTime.FromFileTimeUtc(fileTime));
            A_0.ReadInt32();
            int count = A_0.ReadInt32();
            int num8  = A_0.ReadInt32();
            A_0.ReadInt32();
            int num9  = A_0.ReadInt32();
            int num10 = A_0.ReadInt32();
            A_0.ReadInt32();
            Class1029.smethod_5(A_0, (num2 + 1) * 2);
            Class1029.smethod_5(A_0, (num3 + 1) * 2);
            byte[] array   = A_0.ReadBytes(count);
            byte[] rawData = A_0.ReadBytes(num8);
            A_0.ReadBytes(num9);
            A_0.ReadBytes(num10);
            if (num8 == 0)
            {
                throw new InvalidOperationException(BookmarkStart.b("稭堯圱䘳匵ᠷ匹伻ḽ⸿ⵁ摃╅ⵇ㡉㡋❍㙏㭑㝓㝕ⱗ㽙籛㭝ൟaţɥ౧ཀྵ࡫乭ᙯᵱٳ噵᥷婹᡻᝽ꪉヒﲑ鍊낝", num));
            }
            X509Certificate2 certificate = new X509Certificate2(rawData);
            signature.method_3(certificate);
            RSAParameters parameters = ((RSACryptoServiceProvider)certificate.PublicKey.Key).ExportParameters(false);
            Array.Reverse(array);
            byte[] buffer3          = Class1078.smethod_0(array);
            Rsa    rsa              = new Rsa(parameters.Modulus, parameters.Exponent);
            byte[] sourceArray      = Class1078.smethod_1(Class1078.smethod_2(rsa, buffer3), rsa.Modulus.method_0() >> 3);
            byte[] destinationArray = new byte[0x10];
            Array.Copy(sourceArray, sourceArray.Length - 0x10, destinationArray, 0, 0x10);
            MD5 md = new MD5();
            md.Update(A_1, A_1.Length);
            md.Update(BitConverter.GetBytes(num5), 4);
            md.Update(BitConverter.GetBytes(num4), 4);
            md.FinalUpdate();
            flag = Class85.smethod_1(destinationArray, md.Digest);
        }
        catch (Exception)
        {
            flag = false;
        }
        signature.method_2(flag);
        return(signature);
    }
    private bool method_2()
    {
        byte[] buffer = this.method_12().method_9();
        int    num    = this.method_12().method_4();

        byte[] buffer2 = smethod_0(this.method_4(buffer, this.method_12().method_11(), byte_2), num, 0);
        byte[] buffer3 = this.class803_0.method_0(this.method_4(buffer, this.method_12().method_10(), byte_1));
        return(Class85.smethod_1(buffer2, buffer3));
    }
Exemple #8
0
 internal byte[] method_5()
 {
     byte[] buffer = this.method_16();
     if (!Class85.smethod_19(buffer))
     {
         return(this.method_13());
     }
     return(buffer);
 }
    private void method_4(BinaryReader A_0)
    {
        int num = 0;

        if (base.method_1() != 0)
        {
            A_0.ReadBytes(0x10);
            if (A_0.ReadInt32() == 2)
            {
                EsUriFlags flags = (EsUriFlags)A_0.ReadInt32();
                if ((flags & EsUriFlags.HasDisplayName) != 0)
                {
                    Class1029.smethod_7(A_0);
                }
                if ((flags & EsUriFlags.HasFrameName) != 0)
                {
                    this.string_2 = Class1029.smethod_7(A_0);
                }
                if ((flags & EsUriFlags.HasMoniker) != 0)
                {
                    if ((flags & EsUriFlags.MonikerSavedAsStr) == 0)
                    {
                        byte[] buffer = A_0.ReadBytes(0x10);
                        if (!Class85.smethod_1(buffer, byte_1))
                        {
                            if (!Class85.smethod_1(buffer, byte_2))
                            {
                                Guid guid = new Guid(buffer);
                                throw new InvalidOperationException(string.Format(BookmarkStart.b("猥䘧䄩䈫䄭䜯就ᐳ帵䄷䨹夻䰽ⰿ⭁⩃ⵅ桇ⱉ⍋㱍㵏㍑⁓硕硗᝙㍛そय़ॡţᑥ䡧⵩㥫❭㑯剱ᵳյ塷Ź䱻ͽ깿", num), guid.ToString()));
                            }
                            this.string_0 = smethod_1(A_0);
                        }
                        else
                        {
                            this.string_0 = smethod_0(A_0);
                        }
                    }
                    else
                    {
                        this.string_0 = Class1029.smethod_7(A_0);
                    }
                }
                if ((flags & EsUriFlags.HasLocationStr) != 0)
                {
                    this.string_1 = Class1029.smethod_7(A_0);
                }
                if ((flags & EsUriFlags.HasGUID) != 0)
                {
                    A_0.ReadBytes(0x10);
                }
                if ((flags & EsUriFlags.HasCreationTime) != 0)
                {
                    A_0.ReadBytes(8);
                }
            }
        }
    }
    private void method_4(BinaryReader A_0)
    {
        int num = 14;

        if (base.method_1() != 0)
        {
            A_0.ReadBytes(0x10);
            if (A_0.ReadInt32() == 2)
            {
                EscherUriFlags flags = (EscherUriFlags)A_0.ReadInt32();
                if ((flags & EscherUriFlags.HasDisplayName) != 0)
                {
                    Class813.smethod_7(A_0);
                }
                if ((flags & EscherUriFlags.HasFrameName) != 0)
                {
                    this.string_2 = Class813.smethod_7(A_0);
                }
                if ((flags & EscherUriFlags.HasMoniker) != 0)
                {
                    if ((flags & EscherUriFlags.MonikerSavedAsStr) == 0)
                    {
                        byte[] buffer = A_0.ReadBytes(0x10);
                        if (!Class85.smethod_1(buffer, byte_1))
                        {
                            if (!Class85.smethod_1(buffer, byte_2))
                            {
                                Guid guid = new Guid(buffer);
                                throw new InvalidOperationException(string.Format(BookmarkStart.b("愳堵匷吹医䤽⸿扁ⱃ㽅㡇⽉㹋≍㥏㱑㽓癕㹗㕙⹛㍝şᙡ䩣䙥╧թɫݭ᭯᝱ٳ噵㽷⽹㕻㩽ꁿꚅ몉ꂍ", num), guid.ToString()));
                            }
                            this.string_0 = smethod_1(A_0);
                        }
                        else
                        {
                            this.string_0 = smethod_0(A_0);
                        }
                    }
                    else
                    {
                        this.string_0 = Class813.smethod_7(A_0);
                    }
                }
                if ((flags & EscherUriFlags.HasLocationStr) != 0)
                {
                    this.string_1 = Class813.smethod_7(A_0);
                }
                if ((flags & EscherUriFlags.HasGUID) != 0)
                {
                    A_0.ReadBytes(0x10);
                }
                if ((flags & EscherUriFlags.HasCreationTime) != 0)
                {
                    A_0.ReadBytes(8);
                }
            }
        }
    }
        public int IndexOfKey(int key)
        {
            int num = Class85.smethod_7(this.int_1, 0, this.int_2, key);

            if (num < 0)
            {
                return(-1);
            }
            return(num);
        }
Exemple #12
0
    public int method_14(int A_0)
    {
        int num = Class85.smethod_7(this.int_2, 0, this.int_1, A_0);

        if (num < 0)
        {
            return(-1);
        }
        return(num);
    }
Exemple #13
0
    private bool method_13(BinaryReader A_0, string A_1)
    {
        byte[]    buffer  = A_0.ReadBytes(0x10);
        byte[]    buffer2 = A_0.ReadBytes(0x10);
        byte[]    buffer3 = A_0.ReadBytes(0x10);
        Class1154 class2  = this.method_12(A_1, buffer);

        class2.method_0(buffer2, 0x10);
        class2.method_0(buffer3, 0x10);
        return(Class85.smethod_11(smethod_0(buffer2), buffer3, 0x10));
    }
Exemple #14
0
    public void method_5(int A_0, object A_1)
    {
        int num2 = 0x13;
        int num  = Class85.smethod_7(this.int_2, 0, this.int_1, A_0);

        if (num >= 0)
        {
            throw new ArgumentException(BookmarkStart.b("崸为䴼匾⡀⁂⑄㍆ⱈ", num2));
        }
        this.method_16(~num, A_0, A_1);
    }
Exemple #15
0
 internal void method_17(byte[] A_0)
 {
     this.imageSize_0 = null;
     if (!Class85.smethod_19(A_0))
     {
         this.interface7_0.imethod_3(null);
     }
     else
     {
         this.interface7_0.imethod_3(smethod_0(A_0));
     }
 }
Exemple #16
0
    public void method_4(int A_0, object A_1)
    {
        int index = Class85.smethod_7(this.int_2, 0, this.int_1, A_0);

        if (index >= 0)
        {
            this.object_0[index] = A_1;
        }
        else
        {
            this.method_16(~index, A_0, A_1);
        }
    }
    private static void smethod_1(ICryptoTransform A_0, Class534 A_1)
    {
        int      num    = 0x11;
        Class803 class2 = new Class803();

        byte[] buffer  = A_0.TransformFinalBlock(A_1.byte_1, 0, A_1.byte_1.Length);
        byte[] buffer2 = A_0.TransformFinalBlock(A_1.byte_2, 0, A_1.byte_2.Length);
        byte[] buffer3 = class2.method_0(buffer);
        if (!Class85.smethod_11(buffer2, buffer3, A_1.int_1))
        {
            throw new Exception(BookmarkStart.b("挶儸帺ᴼ嬾⹀⁂い⩆ⱈ╊㥌潎⅐㉒♔⑖⹘㑚⽜㭞䅠੢ᙤ䝦hժ๬nͰŲၴᑶ൸啺", num));
        }
    }
Exemple #18
0
 internal Stream method_4()
 {
     byte[] buffer = this.method_16();
     if (Class85.smethod_19(buffer))
     {
         return(new MemoryStream(buffer));
     }
     try
     {
         return(new MemoryStream(this.method_11(this.interface7_0.imethod_0())));
     }
     catch (Exception)
     {
         return(Class567.smethod_13());
     }
 }
 internal bool method_45(int[] A_0)
 {
     for (int i = 0; i < base.Count; i++)
     {
         int num2 = base.method_18(i);
         if (Class85.smethod_7(A_0, 0, A_0.Length, num2) < 0)
         {
             object obj2 = base.method_19(i);
             if (!(obj2 is Interface31) || !((Interface31)obj2).imethod_0())
             {
                 return(true);
             }
         }
     }
     return(false);
 }
        private static bool smethod_1(AttrCollection A_0, ref int A_1, ref int A_2, int[] A_3)
        {
            int count = A_0.Count;
            int num2  = (A_3 != null) ? A_3.Length : 0;

            while (A_1 < count)
            {
                A_2 = A_0.method_18(A_1);
                if ((A_3 == null) || (Class85.smethod_7(A_3, 0, num2, A_2) < 0))
                {
                    return(true);
                }
                A_1++;
            }
            return(false);
        }
    private bool method_3(Stream A_0)
    {
        byte[] buffer  = this.method_12().method_9();
        byte[] buffer2 = this.method_11().method_9();
        int    num     = this.method_11().method_4();
        int    num2    = this.method_11().method_2();

        byte[]             buffer3   = this.method_4(buffer, this.method_12().method_12(), byte_3);
        byte[]             buffer4   = this.method_9(buffer2, byte_4, num2, 0);
        KeyedHashAlgorithm algorithm = KeyedHashAlgorithm.Create(BookmarkStart.b("挪怬渮爰", 5) + this.method_11().method_8());

        algorithm.Key = this.method_5(buffer3, buffer4, this.method_11().method_12(), num, 0);
        byte[] buffer5 = algorithm.ComputeHash(A_0);
        byte[] buffer6 = this.method_9(buffer2, byte_5, num2, 0);
        byte[] buffer7 = this.method_5(buffer3, buffer6, this.method_11().method_13(), num, 0);
        return(Class85.smethod_1(buffer5, buffer7));
    }
Exemple #22
0
        internal NetworkStream method_0(string string_2, int int_1, int int_2, int int_3, out Class85 class85_0)
        {
            class85_0 = new Class85(this.hiUlFldbZG, this.int_0);
            class85_0.method_11(int_2);
            class85_0.method_9(int_3);
            NetworkStream stream = class85_0.method_12();

            byte[] buffer = new byte[3];
            buffer[0] = 5;
            buffer[1] = 1;
            byte[] buffer2 = buffer;
            stream.Write(buffer2, 0, buffer2.Length);
            byte[] buffer3 = new byte[2];
            int    num     = stream.Read(buffer3, 0, buffer3.Length);

            if (num < 2)
            {
                throw new Exception("Error occurred when shake hand with proxy server.");
            }
            if (buffer3[1] != 0)
            {
                throw new Exception("Error occurred when shake hand with proxy server.");
            }
            byte[] destinationArray = new byte[10];
            destinationArray[0] = 5;
            destinationArray[1] = 1;
            destinationArray[2] = 0;
            destinationArray[3] = 1;
            Array.Copy(IPAddress.Parse(string_2).GetAddressBytes(), 0, destinationArray, 4, 4);
            Array.Copy(BitConverter.GetBytes(IPAddress.HostToNetworkOrder(int_1)), 2, destinationArray, 8, 2);
            stream.Write(destinationArray, 0, destinationArray.Length);
            byte[] buffer5 = new byte[0x200];
            stream.Read(buffer5, 0, buffer5.Length);
            if (num == 0)
            {
                throw new Exception("Error occurred when request connection from proxy server .");
            }
            if (buffer5[1] != 0)
            {
                throw new Exception("Error occurred when request connection from proxy server .");
            }
            return(stream);
        }
Exemple #23
0
        private INterface7 method_4(ZzSoundClass class1070, Class82 class820, int int2)
        {
            INterface7 @interface = null;

            switch (int2)
            {
            case 1:
                if (_class920 == null)
                {
                    _class920 = new Class92();
                    _class920.vmethod_0(class820, class1070, _class800, _class801, _class840,
                                        _class1041.method_0());
                }
                @interface = _class920;
                break;

            case 2:
                if (_class930 == null)
                {
                    _class930 = new Class93();
                    _class930.vmethod_0(class820, class1070, _class800, _class801, _class840,
                                        _class1041.method_0());
                }
                @interface = _class930;
                break;

            case 3:
                if (_class850 == null)
                {
                    _class850 = new Class85(class820, class1070, _class800, _class801, _class840,
                                            _class1041.method_0());
                }
                @interface = _class850;
                break;
            }
            if (@interface == null)
            {
                throw new DecoderException(DecoderError.UnsupportedLayer, null);
            }
            return(@interface);
        }
 public object this[int key]
 {
     get
     {
         int index = this.IndexOfKey(key);
         if (index < 0)
         {
             return(null);
         }
         return(this.object_0[index]);
     }
     set
     {
         int index = Class85.smethod_7(this.int_1, 0, this.int_2, key);
         if (index >= 0)
         {
             this.object_0[index] = value;
         }
         else
         {
             this.method_1(~index, key, value);
         }
     }
 }
 internal bool method_1(Class428 A_0)
 {
     return(Class85.smethod_1(this.byte_0, A_0.byte_0));
 }
Exemple #26
0
 internal bool method_2()
 {
     return(Class85.smethod_19(this.method_3()));
 }
Exemple #27
0
 string object.ToString()
 {
     return(string.Format(BookmarkStart.b("圫ḭ䴯ḱᐳ縵崷嬹堻嬽㈿硁㽃睅㕇晉汋੍ㅏ♑㕓汕⍗桙⅛", 6), base.GetType().Name, this.class768_0.ToString(), Class85.smethod_4(this.byte_0)));
 }
 string object.ToString()
 {
     return(string.Format(BookmarkStart.b("嘬Ἦ䰰ἲᔴ缶尸娺夼娾㍀祂㹄癆㑈杊浌୎ぐ❒㑔浖≘楚⁜", 7), base.GetType().Name, this.class728_0.ToString(), Class85.smethod_4(this.byte_0)));
 }
Exemple #29
0
    // Token: 0x06000148 RID: 328 RVA: 0x0000F174 File Offset: 0x0000D374
    public static Class80 smethod_1(object object_0, Type type_0)
    {
        Class80 @class = object_0 as Class80;

        if (@class != null)
        {
            return(@class);
        }
        if (type_0 == null)
        {
            if (object_0 == null)
            {
                return(new Class90());
            }
            type_0 = object_0.GetType();
        }
        type_0 = Class37.smethod_1(type_0);
        if (type_0 == Class175.type_0)
        {
            @class = new Class90();
            if (object_0 != null && object_0.GetType() != Class175.type_0)
            {
                @class.method_1(object_0.GetType());
            }
        }
        else if (Class29.smethod_0 <Array>(type_0))
        {
            @class = new Class93();
        }
        else if (Class29.smethod_0 <string>(type_0))
        {
            @class = new Class96();
        }
        else if (Class29.smethod_0 <IntPtr>(type_0))
        {
            @class = new Class99();
        }
        else if (Class29.smethod_0 <UIntPtr>(type_0))
        {
            @class = new Class83();
        }
        else if (Class29.smethod_0 <ulong>(type_0))
        {
            @class = new Class89();
        }
        else if (Class29.smethod_0 <uint>(type_0))
        {
            @class = new Class92();
        }
        else if (Class29.smethod_0 <ushort>(type_0))
        {
            @class = new Class87();
        }
        else if (Class29.smethod_0 <long>(type_0))
        {
            @class = new Class82();
        }
        else if (Class29.smethod_0 <int>(type_0))
        {
            @class = new Class98();
        }
        else if (Class29.smethod_0 <short>(type_0))
        {
            @class = new Class94();
        }
        else if (Class29.smethod_0 <byte>(type_0))
        {
            @class = new Class88();
        }
        else if (Class29.smethod_0 <sbyte>(type_0))
        {
            @class = new Class85();
        }
        else if (Class29.smethod_0 <double>(type_0))
        {
            @class = new Class86();
        }
        else if (Class29.smethod_0 <float>(type_0))
        {
            @class = new Class91();
        }
        else if (Class29.smethod_0 <bool>(type_0))
        {
            @class = new Class97();
        }
        else if (Class29.smethod_0 <char>(type_0))
        {
            @class = new Class81();
        }
        else if (Class175.smethod_0(type_0))
        {
            Class90 class2 = new Class90();
            class2.method_1(type_0);
            @class = class2;
        }
        else
        {
            if (Class29.smethod_0 <Enum>(type_0))
            {
                Enum enum_;
                if (object_0 == null)
                {
                    if (type_0 == Class175.type_2)
                    {
                        enum_ = null;
                    }
                    else
                    {
                        enum_ = (Enum)Activator.CreateInstance(type_0);
                    }
                }
                else if (type_0 == Class175.type_2 && object_0 is Enum)
                {
                    enum_ = (Enum)object_0;
                }
                else
                {
                    enum_ = (Enum)Enum.ToObject(type_0, object_0);
                }
                return(new Class84(enum_));
            }
            if (Class29.smethod_0 <ValueType>(type_0))
            {
                if (object_0 == null)
                {
                    object object_;
                    if (type_0 == Class175.type_3)
                    {
                        object_ = null;
                    }
                    else
                    {
                        object_ = Activator.CreateInstance(type_0);
                    }
                    @class = new Class107(object_);
                }
                else
                {
                    if (object_0.GetType() != type_0)
                    {
                        try
                        {
                            object_0 = Convert.ChangeType(object_0, type_0);
                        }
                        catch
                        {
                        }
                    }
                    @class = new Class107(object_0);
                }
                return(@class);
            }
            @class = new Class90();
        }
        if (object_0 != null)
        {
            @class.vmethod_1(object_0);
        }
        return(@class);
    }
    internal void method_1(byte[] A_0)
    {
        int num = 6;

        if (A_0 != null)
        {
            Stream baseStream = this.binaryReader_0.BaseStream;
            baseStream.Position = 0L;
            baseStream.Write(A_0, 0, A_0.Length);
            baseStream.Position = 0L;
            for (int i = 0; baseStream.Position < A_0.Length; i++)
            {
                int      position = (int)baseStream.Position;
                SprmCode code     = (SprmCode)this.binaryReader_0.ReadUInt16();
                int      count    = smethod_1(this.binaryReader_0, code);
                SprmType type     = (SprmType)(((int)(code & 0x1c00)) >> 10);
                if (bool_1)
                {
                    byte[] buffer = new byte[count];
                    long   num8   = baseStream.Position;
                    baseStream.Read(buffer, 0, count);
                    baseStream.Position = num8;
                }
                if (this.method_0(code, i))
                {
                    int      num4   = this.binaryReader_0.ReadInt32();
                    Class428 class2 = Class430.smethod_0(this.binaryReader_1, num4);
                    if (this.class479_0 == null)
                    {
                        this.class479_0 = new Class479(this.interface15_0, this.binaryReader_1);
                    }
                    this.class479_0.method_2(this.bool_0);
                    this.class479_0.method_1(class2.method_2());
                    baseStream.Position = A_0.Length;
                }
                else
                {
                    int num6 = (int)baseStream.Position;
                    int num2 = num6 + count;
                    if (!this.interface15_0.imethod_0(code, type, count, this.binaryReader_0) && bool_1)
                    {
                        int num9 = Math.Min((int)(num2 - position), (int)(A_0.Length - position));
                        string.Format(BookmarkStart.b("樫䄭䔯就倳ᘵ䴷吹堻儽⌿㝁⥃⍅♇㹉⥋⩍灏őѓѕᕗ恙❛湝婟㩡ᥣ䙥ᡧ୩ṫ཭ᵯ᝱s፵੷婹ၻ᭽늇붋벏늑ꚛ뺝\udb9f\u90a1\ud9a3\u88a5", num), (int)code, count, Class85.smethod_5(A_0, position, num9));
                    }
                    if (baseStream.Position != num2)
                    {
                        if ((baseStream.Position != num6) && (baseStream.Position == num2))
                        {
                            switch (code)
                            {
                            case SprmCode.TCellShdEx:
                            case SprmCode.TCellShdExRaw:
                            case SprmCode.PChgTabs:
                            case SprmCode.CShdEx:
                                goto Label_01CC;
                            }
                            throw new InvalidOperationException(string.Format(BookmarkStart.b("攫䀭匯崱䘳䐵崷夹䠻刽㤿扁㙃⍅⥇⹉汋ᵍOQᥓ汕⍗橙晛ٝᵟ䱡䑣⍥ၧᩩ५൭ѯ᝱ၳ噵ͷ䭹Ż剽ꁿꢇ늑꒕몙ﺛ풟잡힣袥", num), (int)code, count, baseStream.Position - num6));
                        }
                        baseStream.Position = num2;
                    }
                    Label_01CC :;
                }
            }
        }
    }