Beispiel #1
0
 private void method_11(Class1154 A_0, uint A_1)
 {
     byte[] destinationArray = new byte[0x10];
     Array.Copy(this.byte_0, 0, destinationArray, 0, 5);
     Array.Copy(BitConverter.GetBytes(A_1), 0, destinationArray, 5, 4);
     A_0.method_5(smethod_1(destinationArray, 9));
 }
Beispiel #2
0
 private void method_10(Class1154 A_0, Stream A_1)
 {
     if (A_1 != null)
     {
         A_1.Position = 0L;
         uint num3 = 0;
         this.method_11(A_0, 0);
         byte[] buffer = new byte[0x10];
         int    num2   = 0;
         while (num2 < A_1.Length)
         {
             int num = A_1.Read(buffer, 0, buffer.Length);
             A_0.method_0(buffer, num);
             A_1.Position -= num;
             A_1.Write(buffer, 0, num);
             num2 += num;
             if ((num2 % 0x200) == 0)
             {
                 num3++;
                 this.method_11(A_0, num3);
             }
         }
         A_1.Position = 0L;
     }
 }
Beispiel #3
0
    private void method_8(Class1132 A_0, string A_1)
    {
        Class1154 class2 = new Class1154();

        this.method_9(class2, A_0, A_1, 0x34);
        this.method_9(class2, A_0, BookmarkStart.b("怶嘸䤺夼笾⹀⁂い⩆ⱈ╊㥌", 0x11), 0x44);
        this.method_9(class2, A_0, BookmarkStart.b("猶堸伺尼", 0x11), 0);
    }
Beispiel #4
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));
    }
Beispiel #5
0
    private void method_9(Class1154 A_0, Class1132 A_1, string A_2, int A_3)
    {
        Stream stream = (MemoryStream)A_1.method_0()[A_2];

        if (stream != null)
        {
            byte[] buffer = new byte[A_3];
            stream.Position = 0L;
            stream.Read(buffer, 0, A_3);
            this.method_10(A_0, stream);
            stream.Position = 0L;
            stream.Write(buffer, 0, A_3);
        }
    }
Beispiel #6
0
    private void method_14(BinaryWriter A_0, string A_1)
    {
        byte[]    buffer  = this.method_15(0x10);
        byte[]    buffer2 = this.method_15(0x10);
        Class1154 class2  = this.method_12(A_1, buffer);

        byte[] buffer3 = new byte[0x10];
        byte[] buffer4 = new byte[0x10];
        class2.method_2(buffer2, buffer3);
        class2.method_2(smethod_0(buffer2), buffer4);
        A_0.Write(buffer);
        A_0.Write(buffer3);
        A_0.Write(buffer4);
    }
Beispiel #7
0
    private Class1154 method_12(string A_0, byte[] A_1)
    {
        byte[] bytes = Encoding.Unicode.GetBytes((A_0 == null) ? "" : A_0);
        this.byte_0 = smethod_0(bytes);
        byte[] destinationArray = new byte[0x150];
        for (int i = 0; i < 0x10; i++)
        {
            Array.Copy(this.byte_0, 0, destinationArray, i * 0x15, 5);
            Array.Copy(A_1, 0, destinationArray, (i * 0x15) + 5, 0x10);
        }
        this.byte_0 = smethod_0(destinationArray);
        Class1154 class2 = new Class1154();

        this.method_11(class2, 0);
        return(class2);
    }