Beispiel #1
0
    internal void method_11(Class168 A_0, int A_1)
    {
        int num = this.class741_0.method_2();

        for (int i = 0; i < A_0.method_21().method_4(); i++)
        {
            this.class741_0.method_9(num + A_0.method_17(i));
            Class1110 class3 = (Class1110)A_0.method_21().method_18(i);
            class3.int_1 += num;
            int num5 = A_0.method_21().method_16(i);
            this.class154_0.method_6(A_1 + num5, class3);
            Class765 class2 = A_0.method_18(i);
            Class433 class4 = A_0.method_19(class2.int_0);
            Class433 class5 = this.method_12(class4.string_0, class4.string_1);
            class2.int_0 = class5.int_0;
            this.arrayList_1.Add(class2);
            for (int k = 0; k < class2.int_1.Length; k++)
            {
                string str = A_0.method_20(class2.int_1[k]);
                class2.int_1[k] = this.method_13(str);
                string str2 = A_0.method_20(class2.int_2[k]);
                class2.int_2[k] = this.method_13(str2);
            }
        }
        for (int j = 0; j < A_0.method_22().method_4(); j++)
        {
            Class486 class6 = (Class486)A_0.method_22().method_18(j);
            class6.int_1 += num;
            int num6 = A_0.method_22().method_16(j);
            this.class164_0.method_6(A_1 + num6, class6);
        }
    }
Beispiel #2
0
    protected override void vmethod_0(Class764 A_0, int A_1)
    {
        Class168 class2 = A_0.method_16();
        Class765 class3 = class2.method_18(A_1);

        class2.method_19(class3.int_0);
        for (int i = 0; i < class3.int_1.Length; i++)
        {
            class2.method_20(class3.int_1[i]);
            class2.method_20(class3.int_2[i]);
        }
    }
Beispiel #3
0
    private void method_20(Class1132 A_0, string A_1)
    {
        int num = 9;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䤮䈰", num));
        }
        this.class1132_0 = A_0;
        BinaryReader reader = new BinaryReader(this.class1132_0.method_0().method_5(BookmarkStart.b("砮帰䄲儴猶嘸堺䠼刾⑀ⵂㅄ", num)), Class813.smethod_0(true));

        this.class703_0 = new Class703(reader);
        if (this.class703_0.method_1())
        {
            throw new NotSupportedException(BookmarkStart.b("笮夰娲䘴᜶崸吺帼䨾ⱀ♂⭄㍆楈≊㹌潎㽐㱒⅔睖⩘⹚ⵜ⽞๠ᅢᅤɦ൨䕪", num));
        }
        if (this.class703_0.bool_4)
        {
            if (A_1 == null)
            {
                throw new PasswordErrorException(BookmarkStart.b("欮帰倲䀴娶尸唺䤼Ἶ⡀あ敄≆❈⡊㽌㙎⅐❒ご㍖畘筚ቜ⽞Ѡൢ䕤፦Ũ๪䵬Ὦၰrٴvᙸॺ᥼彾愈ꮊﶌレ뎜", num));
            }
            new Class987().method_1(this.class1132_0, this.class703_0, A_1);
        }
        Stream input = this.class1132_0.method_0().method_5(BookmarkStart.b("砮帰䄲儴猶嘸堺䠼刾⑀ⵂㅄ", num));

        this.binaryReader_0 = new BinaryReader(input, Class813.smethod_0(true));
        this.binaryReader_1 = new BinaryReader(input, Class813.smethod_0(false));
        this.class703_0.method_3(this.binaryReader_0);
        Stream stream2 = this.class1132_0.method_0().method_5(this.class703_0.method_0());

        this.binaryReader_2 = new BinaryReader(stream2, Encoding.Unicode);
        Stream stream3 = this.class1132_0.method_0().method_4(BookmarkStart.b("欮倰䜲吴", num));

        this.binaryReader_3 = (stream3 != null) ? new BinaryReader(stream3, Encoding.Unicode) : null;
        this.class770_0     = new Class770(this.method_5(), this.method_3());
        this.class160_0     = new Class160(this.method_5(), this.method_1(), this.method_3());
        this.method_26();
        this.method_27();
        this.class598_0  = new Class598(this.method_5(), this.method_3());
        this.class165_0  = new Class165(this.method_5(), this.method_3(), this.class160_0.method_4());
        this.class348_0  = new Class348(SubDocumentType.Main, this.method_5(), this.method_3());
        this.class348_1  = new Class348(SubDocumentType.Header, this.method_5(), this.method_3());
        this.class996_0  = new Class996(this.method_5(), this.method_3());
        this.class700_0  = new Class700(FootnoteType.Footnote, this.method_5(), this.method_3());
        this.class700_1  = new Class700(FootnoteType.Endnote, this.method_5(), this.method_3());
        this.class1065_0 = new Class1065(this.method_5(), this.method_3());
        this.class168_0  = new Class168(this.method_5(), this.method_3());
        this.class349_0  = new Class349(this.method_5(), this.method_3());
        this.class986_0  = new Class986(this.method_5(), this.method_3());
        this.method_21();
    }
    private void method_5(int A_0)
    {
        Class996 class2 = this.class764_0.method_9();

        this.class132_0.method_0(this.class764_0, class2.method_13(), A_0);
        this.class136_0.method_0(this.class764_0, class2.method_14(), A_0);
        Class168 class3 = this.class764_0.method_16();

        this.class135_0.method_0(this.class764_0, class3.method_21(), A_0);
        this.class133_0.method_0(this.class764_0, class3.method_22(), A_0);
        Class1065 class4 = this.class764_0.method_12();

        this.class131_0.method_0(this.class764_0, class4.method_11(), A_0);
        this.class134_0.method_0(this.class764_0, class4.method_12(), A_0);
        Class700 class5 = this.class764_0.method_10();
        Class700 class6 = this.class764_0.method_11();

        this.class130_0.method_0(this.class764_0, class5.method_6(), A_0);
        this.class130_1.method_0(this.class764_0, class6.method_6(), A_0);
        this.class129_0.method_0(this.class764_0, this.class764_0.method_18().method_6(), A_0);
    }
Beispiel #5
0
        public static long smethod_0(string string0, Stream[] stream0)
        {
            long length;

            using (var @class = new FsbClass1())
            {
                @class.Byte0   = FsbEncryptionKey;
                @class.Enum200 = FsbEnum1.Const3;
                @class.Enum210 = FsbFlags1.Flag0;
                for (var i = 0; i < stream0.Length; i++)
                {
                    var stream = stream0[i];
                    stream.Position = 0L;
                    var class2 = AudioManager.smethod_3(stream);
                    var class3 = new Class168();
                    class3.FileName = i + ".mp3";
                    class3.Enum220  = (((class2.method_0() == 1) ? FsbFlags2.Flag6 : FsbFlags2.Flag7) |
                                       FsbFlags2.Flag10);
                    class3.Int0    = class2.method_3();
                    class3.Ushort0 = 255;
                    class3.Short0  = 0;
                    class3.Ushort1 = 255;
                    class3.Uint3   = (uint)class2.method_0();
                    class3.Uint0   = class2.Uint0;
                    class3.Uint1   = 0u;
                    class3.Uint2   = class3.Uint0 - 1u;
                    class3.Float2  = 1f;
                    class3.Float3  = 10000f;
                    class3.Int1    = 0;
                    class3.Short1  = 0;
                    class3.Short2  = -1;
                    class3.Stream1 = stream;
                    @class.method_33().Add(class3);
                }
                @class.method_16(string0);
                length = new FileInfo(string0).Length;
            }
            return(length);
        }
Beispiel #6
0
    // Token: 0x06000ECE RID: 3790 RVA: 0x000454CC File Offset: 0x000436CC
    private Class167 method_10()
    {
        Class167 @class = null;
        Class168 class2 = null;

        while (this.int_0 < this.string_0.Length)
        {
            object object_  = this.method_9();
            object object_2 = null;
            if (this.string_0[this.int_0] == ')' || this.string_0[this.int_0] == '|')
            {
                goto IL_67;
            }
            if (this.string_0[this.int_0] == '&')
            {
                goto IL_67;
            }
            Enum10 enum10_ = this.method_15();
            object_2 = this.method_9();
IL_6A:
            Class169 class3 = new Class169();
            class3.method_3(object_);
            class3.method_1(enum10_);
            class3.method_5(object_2);
            Class169 class4 = class3;
            if (this.string_0[this.int_0] == ')')
            {
                if (class2 != null)
                {
                    class2.method_2().Add(class4);
                    return(@class);
                }
                return(class4);
            }
            else
            {
                if (this.string_0[this.int_0] == '&')
                {
                    if (!this.method_14("&&"))
                    {
                        throw this.method_8();
                    }
                    if (class2 == null || class2.method_0() != (Enum10)8)
                    {
                        Class168 class5 = new Class168();
                        class5.method_1((Enum10)8);
                        Class168 class6 = class5;
                        if (class2 != null)
                        {
                            class2.method_2().Add(class6);
                        }
                        class2 = class6;
                        if (@class == null)
                        {
                            @class = class2;
                        }
                    }
                    class2.method_2().Add(class4);
                }
                if (this.string_0[this.int_0] != '|')
                {
                    continue;
                }
                if (this.method_14("||"))
                {
                    if (class2 == null || class2.method_0() != (Enum10)9)
                    {
                        Class168 class7 = new Class168();
                        class7.method_1((Enum10)9);
                        Class168 class8 = class7;
                        if (class2 != null)
                        {
                            class2.method_2().Add(class8);
                        }
                        class2 = class8;
                        if (@class == null)
                        {
                            @class = class2;
                        }
                    }
                    class2.method_2().Add(class4);
                    continue;
                }
                throw this.method_8();
            }
IL_67:
            enum10_ = (Enum10)3;
            goto IL_6A;
        }
        throw new JsonException("Path ended with open query.");
    }
 public abstract void Visit(Class168 c);
 public override void Visit(Class168 c) { }
Beispiel #9
0
    // Token: 0x06000505 RID: 1285 RVA: 0x0002B6EC File Offset: 0x000298EC
    public static Class144 smethod_1(object object_0, Type type_0)
    {
        Class144 @class = object_0 as Class144;

        if (@class != null)
        {
            return(@class);
        }
        if (type_0 == null)
        {
            if (object_0 == null)
            {
                return(new Class171());
            }
            type_0 = object_0.GetType();
        }
        type_0 = Class107.smethod_1(type_0);
        if (type_0 == Class28.type_0)
        {
            @class = new Class171();
            if (object_0 != null && object_0.GetType() != Class28.type_0)
            {
                @class.method_1(object_0.GetType());
            }
        }
        else if (Class104.smethod_0 <Array>(type_0))
        {
            @class = new Class145();
        }
        else if (Class104.smethod_0 <string>(type_0))
        {
            @class = new Class148();
        }
        else if (Class104.smethod_0 <IntPtr>(type_0))
        {
            @class = new Class151();
        }
        else if (Class104.smethod_0 <UIntPtr>(type_0))
        {
            @class = new Class162();
        }
        else if (Class104.smethod_0 <ulong>(type_0))
        {
            @class = new Class170();
        }
        else if (Class104.smethod_0 <uint>(type_0))
        {
            @class = new Class168();
        }
        else if (Class104.smethod_0 <ushort>(type_0))
        {
            @class = new Class164();
        }
        else if (Class104.smethod_0 <long>(type_0))
        {
            @class = new Class161();
        }
        else if (Class104.smethod_0 <int>(type_0))
        {
            @class = new Class150();
        }
        else if (Class104.smethod_0 <short>(type_0))
        {
            @class = new Class146();
        }
        else if (Class104.smethod_0 <byte>(type_0))
        {
            @class = new Class169();
        }
        else if (Class104.smethod_0 <sbyte>(type_0))
        {
            @class = new Class166();
        }
        else if (Class104.smethod_0 <double>(type_0))
        {
            @class = new Class163();
        }
        else if (Class104.smethod_0 <float>(type_0))
        {
            @class = new Class167();
        }
        else if (Class104.smethod_0 <bool>(type_0))
        {
            @class = new Class149();
        }
        else if (Class104.smethod_0 <char>(type_0))
        {
            @class = new Class160();
        }
        else if (Class28.smethod_0(type_0))
        {
            Class171 class2 = new Class171();
            class2.method_1(type_0);
            @class = class2;
        }
        else
        {
            if (Class104.smethod_0 <Enum>(type_0))
            {
                Enum enum_;
                if (object_0 == null)
                {
                    if (type_0 == Class28.type_2)
                    {
                        enum_ = null;
                    }
                    else
                    {
                        enum_ = (Enum)Activator.CreateInstance(type_0);
                    }
                }
                else if (type_0 == Class28.type_2 && object_0 is Enum)
                {
                    enum_ = (Enum)object_0;
                }
                else
                {
                    enum_ = (Enum)Enum.ToObject(type_0, object_0);
                }
                return(new Class165(enum_));
            }
            if (Class104.smethod_0 <ValueType>(type_0))
            {
                if (object_0 == null)
                {
                    object object_;
                    if (type_0 == Class28.type_3)
                    {
                        object_ = null;
                    }
                    else
                    {
                        object_ = Activator.CreateInstance(type_0);
                    }
                    @class = new Class159(object_);
                }
                else
                {
                    if (object_0.GetType() != type_0)
                    {
                        try
                        {
                            object_0 = Convert.ChangeType(object_0, type_0);
                        }
                        catch
                        {
                        }
                    }
                    @class = new Class159(object_0);
                }
                return(@class);
            }
            @class = new Class171();
        }
        if (object_0 != null)
        {
            @class.vmethod_1(object_0);
        }
        return(@class);
    }