1. C# / Говнокод #28327

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    public static void Mein()
    	{
    		Govno8_Main.random_0 = new Random();
    		Govno8_Main.doubleBufferForm_0 = new Govno8.DoubleBufferForm();
    		Govno8_Main.byte_0 = ArrayModule.Create<byte>(4096, 0);
    		Govno8_Main.ushort_0 = 512;
    		Govno8_Main.string_0 = string.Empty;
    		Govno8_Main.openFileDialog_0 = new OpenFileDialog();
    		Govno8.OpenBinDialog.Title = "Open Chip-8 ROM File";
    		Govno8.OpenBinDialog.Filter = "Chip-8 ROM Files|*.ch8|All files|*.*";
    		switch (Govno8.OpenBinDialog.ShowDialog())
    		{
    			case DialogResult.OK:
    				{
    					byte[] array = File.ReadAllBytes(Govno8.OpenBinDialog.FileName);
    					if (array.Length != 0 && array.Length <= 3583)
    					{
    						Govno8.RomName = Govno8.OpenBinDialog.FileName;
    						array.CopyTo(Govno8.Memory, (int)Govno8.PC);
    					}
    					else
    					{
    						MessageBox.Show("Invalid ROM file", "FATAL ERROR", MessageBoxButtons.OK, MessageBoxIcon.Hand);
    						Environment.Exit(1);
    					}
    					break;
    				}
    			default:
    				Environment.Exit(1);
    				break;
    		}
    		Govno8_Main.byte_1 = new byte[]
    		{
    				240, 144, 144, 144, 240, 32, 96, 32, 32, 112,
    				240, 16, 240, 128, 240, 240, 16, 240, 16, 240,
    				144, 144, 240, 16, 16, 240, 128, 240, 16, 240,
    				240, 128, 240, 144, 240, 240, 16, 32, 64, 64,
    				240, 144, 240, 144, 240, 240, 144, 240, 16, 240,
    				240, 144, 240, 144, 144, 224, 144, 224, 144, 224,
    				240, 128, 128, 128, 240, 224, 144, 144, 144, 224,
    				240, 128, 240, 128, 240, 240, 128, 240, 128, 128
    		};
    		Govno8.Fontset.CopyTo(Govno8.Memory, 0);
    		Govno8_Main.ushort_1 = 0;
    		Govno8_Main.byte_2 = ArrayModule.Create<byte>(16, 0);
    		Govno8_Main.ushort_2 = 0;
    		Govno8_Main.ushort_3 = ArrayModule.Create<ushort>(16, 0);
    		Govno8_Main.ushort_4 = 0;
    		Govno8_Main.byte_3 = ArrayModule.Create<byte>(16, 0);
    		Govno8_Main.byte_4 = ArrayModule.Create<byte>(2048, 0);
    		Govno8_Main.byte_5 = 0;
    		Govno8_Main.byte_6 = 0;
    		Govno8_Main.dateTime_0 = DateTime.Now;
    		Govno8_Main.dateTime_1 = DateTime.Now;
    		Govno8_Main.fsharpAsync_0 = ExtraTopLevelOperators.DefaultAsyncBuilder.Delay<Unit>(Govno8.Class6.class6_0);
    		Govno8.Form.ClientSize = new Size(1024, 512);
    		CommonExtensions.AddToObservable<EventArgs>(Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.CreateEvent<EventHandler, EventArgs>(Govno8.Class7.class7_0, Govno8.Class8.class8_0, Govno8.Class10.class10_0), Govno8.Class11.class11_0);
    		CommonExtensions.AddToObservable<PaintEventArgs>(Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.CreateEvent<PaintEventHandler, PaintEventArgs>(Govno8.Class12.class12_0, Govno8.Class13.class13_0, Govno8.Class15.class15_0), Govno8.Class16.class16_0);
    		CommonExtensions.AddToObservable<KeyEventArgs>(Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.CreateEvent<KeyEventHandler, KeyEventArgs>(Govno8.Class17.class17_0, Govno8.Class18.class18_0, Govno8.Class20.class20_0), Govno8.Class21.class21_0);
    		CommonExtensions.AddToObservable<KeyEventArgs>(Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.CreateEvent<KeyEventHandler, KeyEventArgs>(Govno8.Class22.class22_0, Govno8.Class23.class23_0, Govno8.Class25.class25_0), Govno8.Class26.class26_0);
    		Govno8.Form.Text = string.Format("{0} - Chip-F Emulator", Govno8.RomName);
    		Govno8.Form.MaximizeBox = false;
    		Govno8.Form.FormBorderStyle = FormBorderStyle.FixedSingle;
    		Application.Run(Govno8.Form);
    	}

    Три раза переваренный кал...
    Скомпилен F# код, затем декомпиленный в C# и подправленный чутка)))
    А, ну и ещё деобфускатором прошелся прикола ради, перед декомпиляцией.

    P.S. Кстати капча ниже содержала 666... Как иронично...

    Запостил: DartPower, 10 Августа 2022

    Комментарии (3) RSS

    Добавить комментарий