Пример #1
0
    internal static void smethod_6(Class578 A_0, string A_1)
    {
        int           num     = 0;
        int           index   = 0;
        StringBuilder builder = new StringBuilder();

        while (num < A_1.Length)
        {
            if (A_1[num] != '%')
            {
                break;
            }
            num++;
            builder.Append((char)(A_1[num] - '1'));
            A_0.method_10()[index] = (byte)builder.Length;
            num += 2;
            A_0.method_12()[index] = A_1[num] - '0';
            num += 2;
            A_0.method_11()[index] = (ListPatternType)(A_1[num] - '0');
            num += 2;
            if ((num < A_1.Length) && (A_1[num] != '%'))
            {
                builder.Append(A_1[num]);
                num++;
            }
            index++;
        }
        A_0.method_14(builder.ToString());
    }
Пример #2
0
    internal static string smethod_1(Class578 A_0)
    {
        int    num = 8;
        string str = A_0.method_13();

        int[]             numArray  = A_0.method_12();
        ListPatternType[] typeArray = A_0.method_11();
        StringBuilder     builder   = new StringBuilder();
        int num2 = 0;

        for (int i = 0; num2 < str.Length; i++)
        {
            builder.Append(smethod_2(str[num2++]));
            builder.Append(BookmarkStart.b("ᐭ", num));
            builder.Append(Class1041.smethod_8(numArray[i]));
            builder.Append(BookmarkStart.b("ᐭ", num));
            builder.Append(Class1041.smethod_8((int)typeArray[i]));
            builder.Append(BookmarkStart.b("ᐭ", num));
            if (num2 < str.Length)
            {
                char ch = str[num2];
                if (ch > '\b')
                {
                    builder.Append(ch);
                    num2++;
                }
            }
        }
        return(builder.ToString());
    }
Пример #3
0
    private void method_80(Class578 A_0)
    {
        int num = base.binaryReader_0.ReadByte();

        A_0.method_9(num != 0);
        base.binaryReader_0.ReadByte();
        A_0.method_1(base.class812_0.method_1(base.binaryReader_0.ReadInt16()));
        A_0.method_3(Class353.smethod_2(base.binaryReader_0));
        for (int i = 0; i < 9; i++)
        {
            A_0.method_10()[i] = base.binaryReader_0.ReadByte();
        }
        for (int j = 0; j < 9; j++)
        {
            A_0.method_11()[j] = (ListPatternType)base.binaryReader_0.ReadByte();
        }
        base.binaryReader_0.ReadInt16();
        for (int k = 0; k < 9; k++)
        {
            A_0.method_12()[k] = base.binaryReader_0.ReadInt32();
        }
        A_0.method_14(Class813.smethod_3(base.binaryReader_0, 0x40));
    }
Пример #4
0
    private void method_81()
    {
        Class578 class2 = (Class578)this.method_82().method_31(0x465);

        if (class2 != null)
        {
            if (class2.method_6())
            {
                base.class345_0.method_4(SprmCode.PFNumRMIns, true);
            }
            if (class2.method_4())
            {
                base.class345_0.method_5(SprmCode.PNumRM);
                base.class345_0.Write((byte)0x80);
                int position = (int)base.class345_0.BaseStream.Position;
                base.class345_0.Write(class2.method_8() ? ((byte)1) : ((byte)0));
                base.class345_0.Write((byte)0);
                base.class345_0.Write((short)base.class812_0.method_2(class2.method_0()));
                Class353.smethod_3(class2.method_2(), base.class345_0);
                for (int i = 0; i < 9; i++)
                {
                    base.class345_0.Write(class2.method_10()[i]);
                }
                for (int j = 0; j < 9; j++)
                {
                    base.class345_0.Write((byte)class2.method_11()[j]);
                }
                base.class345_0.Write((short)0);
                for (int k = 0; k < 9; k++)
                {
                    base.class345_0.Write(class2.method_12()[k]);
                }
                Class813.smethod_4(class2.method_13(), base.class345_0, 0x40);
                long num4 = base.class345_0.BaseStream.Position;
            }
        }
    }