private void method_7(EscherDrawingType A_0) { Class276 class2 = Class276.smethod_0(A_0); Class278 class3 = new Class278(); Class658 class4 = new Class658(this.document_0, this.class274_0.method_14(), class3); Class931 class5 = new Class931(class4); ShapeBase[] baseArray = smethod_0(this.method_11(A_0)); Class277 class6 = class2.method_16(); for (int i = 0; i < baseArray.Length; i++) { class6.method_7().Add(class5.method_1(baseArray[i], EscherShapeKind.Top)); } if ((A_0 == EscherDrawingType.Main) && (this.shapeObject_0 != null)) { Class273 class7 = class5.method_6(this.shapeObject_0, EscherShapeKind.Background); class2.method_7().Add(class7); } if (class3.method_8() > 0) { class2.method_7().Add(class3); } this.class1063_0.Add(class2); }
internal static Class276 smethod_0(EscherDrawingType A_0) { Class276 class2 = new Class276(); class2.method_15(A_0); Class289 class3 = new Class289(); class2.method_7().Add(class3); class3.method_5(((int)A_0) + 1); Class277 class4 = new Class277(); class2.method_7().Add(class4); Class273 class5 = new Class273(); class4.method_7().Add(class5); Class285 class6 = new Class285(); class5.method_7().Add(class6); Class279 class7 = new Class279(); class7.method_5(0); class7.method_31(ShapeType.NonPrimitive); class7.method_7(true); class7.method_11(true); class5.method_7().Add(class7); return(class2); }
internal void method_3(BinaryReader A_0, int A_1, int A_2, BinaryReader A_3) { if (A_2 != 0) { A_0.BaseStream.Position = A_1; int num = A_1 + A_2; this.class274_0 = (Class274)Class1062.smethod_0(A_0); this.class274_0.method_11(A_3); if (this.class274_0.method_14() != null) { foreach (Class268 class4 in this.class274_0.method_14().method_7()) { if (class4.method_8() != null) { this.method_4(class4); } } } this.class1063_0 = new Class1063(); while (A_0.BaseStream.Position < num) { EscherDrawingType type = (EscherDrawingType)A_0.ReadByte(); Class276 class3 = (Class276)Class1062.smethod_0(A_0); class3.method_15(type); this.class1063_0.Add(class3); } foreach (Class276 class2 in this.class1063_0) { this.method_10(class2); } } }
private void method_10(Class276 A_0) { int num = 14; Class658 class2 = new Class658(this.document_0, this.class274_0.method_14(), A_0.method_13()); Class931 class3 = new Class931(class2); Hashtable hashtable = this.method_11(A_0.method_14()); for (int i = 0; i < A_0.method_8(); i++) { Class266 class4 = A_0.method_9(i); switch (class4.method_3().method_8()) { case EscherRecordType.ShapeGroupContainer: { Class277 class6 = (Class277)class4; if (class6.method_11().method_10() && !class6.method_11().method_12()) { smethod_1(class6, class3, hashtable); } break; } case EscherRecordType.ShapeContainer: { Class273 class5 = (Class273)class4; if (class5.method_11().method_24() && !class5.method_11().method_12()) { this.shapeObject_0 = class3.method_4(class5); } break; } case EscherRecordType.SolverContainer: case EscherRecordType.Dg: case EscherRecordType.RegroupItems: break; case EscherRecordType.Dgg: case EscherRecordType.Bse: goto Label_00FF; default: goto Label_00FF; } } return; Label_00FF: throw new InvalidOperationException(BookmarkStart.b("愳堵匷吹医䤽⸿扁㙃⍅⭇╉㹋⩍灏♑ⵓ♕㵗穙㕛そ䁟͡䙥ⵧᥩཫ٭ᕯqᝳṵᵷࡹ屻ꊋ", num)); }
internal static bool smethod_0(Process process_0, Delegate6 delegate6_0, out string string_0) { if (Initialized) { string_0 = "SmartInitialize has already been called."; return(false); } if (process_0 == null) { string_0 = "process == null"; return(false); } if (delegate6_0 == null) { string_0 = "getOffsetsDelegate == null"; return(false); } if (Class247.smethod_1(process_0.MainModule.FileName) == Class247.UInt32_0) { string_0 = "This client version is unsupported."; return(false); } if (delegate6_0(String_0, out string_0) != null) { if (!string.IsNullOrEmpty(string_0)) { string_0 = string.Format("The data required to run the bot was not successfully obtained. Please make sure your key is still valid at the Buddy Auth Portal: http://buddyauth.com/User/Keys {0}{0}For any further assistance, please contact support: https://bosslandgmbh.zendesk.com/home", Environment.NewLine); } return(false); } try { ExternalProcessMemoryInitParams externalProcessMemoryInitParams = new ExternalProcessMemoryInitParams { Process = process_0, StartupRasm = false, DefaultCacheValue = true, Executor = ExecutorInitParams.DX9() }; externalProcessMemoryInitParams.Executor.MinSkipBytes = 8; try { externalProcessMemory_0 = new ExternalProcessMemory(externalProcessMemoryInitParams); } catch (Exception ex) { if (!ex.Message.Equals("Could not find DX9 in process!")) { throw; } //TritonHs.ilog_0.Info("Process is not using DX9, now trying DX11..."); externalProcessMemoryInitParams = new ExternalProcessMemoryInitParams { Process = process_0, StartupRasm = false, DefaultCacheValue = true, Executor = ExecutorInitParams.DX11() }; externalProcessMemoryInitParams.Executor.MinSkipBytes = 8; externalProcessMemory_0 = new ExternalProcessMemory(externalProcessMemoryInitParams); } externalProcessMemory_0.ProcessExited += Class246.ChuckInstance9.method_0; class276_0 = new Class276(externalProcessMemory_0); using (AcquireFrame()) { intptr_1 = class276_0.method_2(); } ProcessHookManager.smethod_3(); Hotkeys.Initialize(ClientWindowHandle); Input.DebugMouseCursorPos = false; Initialized = true; TritonHs.bool_0 = false; } catch (Exception ex2) { string_0 = ex2.ToString(); return(false); } string_0 = string.Empty; return(true); }
public abstract void Visit(Class276 c);
public override void Visit(Class276 c) { }