public static byte[] smethod_29(byte[] A_0, Class1044 A_1) { using (MemoryStream stream = new MemoryStream()) { BinaryWriter writer = new BinaryWriter(stream, Encoding.Unicode); int num = 0; writer.Write((ushort)0xcdd7); num = 0xcdd7; writer.Write((ushort)0x9ac6); num = 0x5711; writer.Write((short)0); num = 0x5711; writer.Write((short)A_1.method_0()); num = 0x5711 ^ A_1.method_0(); writer.Write((short)A_1.method_1()); num ^= A_1.method_1(); writer.Write((short)A_1.method_2()); num ^= A_1.method_2(); writer.Write((short)A_1.method_3()); num ^= A_1.method_3(); writer.Write((short)A_1.method_6()); num ^= (int)A_1.method_6(); writer.Write((short)0); writer.Write((short)0); writer.Write((ushort)num); writer.Write(A_0); return(stream.ToArray()); } }
protected override void vmethod_1(BinaryWriter A_0) { byte[] buffer = Class409.smethod_30(this.byte_1); base.method_9(A_0); A_0.Write(buffer.Length); Class1044 class2 = Class409.smethod_9(this.byte_1); A_0.Write(class2.method_0()); A_0.Write(class2.method_1()); A_0.Write(class2.method_2()); A_0.Write(class2.method_3()); A_0.Write(class2.method_11()); A_0.Write(class2.method_12()); if (buffer.Length > 0x4000) { MemoryStream stream = new MemoryStream(buffer); MemoryStream stream2 = new MemoryStream(); Class1156.smethod_4(stream, stream2, CompressionMethod.Stored); A_0.Write((int)stream2.Length); A_0.Write((byte)0); A_0.Write((byte)0xfe); A_0.Write(stream2.GetBuffer(), 0, (int)stream2.Length); stream2.Close(); stream.Close(); } else { A_0.Write(buffer.Length); A_0.Write((byte)0xfe); A_0.Write((byte)0xfe); A_0.Write(buffer); } }
internal static byte[] smethod_27(byte[] A_0) { MemoryStream output = new MemoryStream(); BinaryWriter writer = new BinaryWriter(output); string str = BookmarkStart.b("破搶瘸紺笼瘾ɀق籄楆祈", 15); for (int i = 0; i < str.Length; i++) { writer.Write((byte)str[i]); } writer.Write((uint)A_0.Length); Class1044 class2 = Class409.smethod_27(A_0); writer.Write(class2.method_0()); writer.Write(class2.method_1()); writer.Write(class2.method_2()); writer.Write(class2.method_3()); writer.Write(class2.method_11()); writer.Write(class2.method_12()); writer.Write((uint)0); writer.Write((ushort)0xfe00); for (int j = 0; j < 0x1d3; j++) { writer.Write((byte)0); } writer.Write(A_0); return(smethod_29(output.ToArray())); }