havok_mk

AiO Unlocker

Jan 18th, 2012
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 34.70 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include <Windows.h>
  4. #include <cstdio>
  5. #include <iostream>
  6. #include <shlobj.h>
  7.  
  8.  
  9. HWND hwnd;
  10. HANDLE phandle;
  11. DWORD pid;
  12.  
  13.     /* EMBLEM STUFF */
  14.      BYTE elite01data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x31, 0x00};
  15.     BYTE elite02data[]={ 0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x32,  0x00};
  16.     BYTE elite03data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x33, 0x00};
  17.     BYTE elite04data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x34, 0x00};
  18.     BYTE elite05data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x35, 0x00};
  19.     BYTE elite06data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x36, 0x00};
  20.     BYTE elite07data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x37, 0x00};
  21.     BYTE elite08data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x38, 0x00};
  22.     BYTE elite09data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x39, 0x00};
  23.     BYTE elite10data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x30, 0x00};
  24.     BYTE elite11data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x31, 0x00};
  25.     BYTE elite12data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x32, 0x00};
  26.     BYTE elite13data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x33, 0x00};
  27.     BYTE elite14data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x34, 0x00};
  28.     BYTE elite15data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x35, 0x00};
  29.     BYTE elite16data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x36, 0x00};
  30.     BYTE elite17data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x37, 0x00};
  31.     BYTE elite18data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x38, 0x00};
  32.     BYTE elite19data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x39, 0x00};
  33.     BYTE elite20data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x32, 0x30, 0x00};
  34.    
  35.     /* Start of titles stuff */
  36.    
  37.     BYTE title01data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x31, 0x00};
  38.     BYTE title02data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x32,  0x00};
  39.     /* elite_03 doesn't exist */
  40.     BYTE title04data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x34, 0x00};
  41.     BYTE title05data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x35, 0x00};
  42.     BYTE title06data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x36, 0x00};
  43.     BYTE title07data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x37, 0x00};
  44.     BYTE title08data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x38, 0x00};
  45.          BYTE title09data[]={0x6F,0x76,0x65,0x72,0x61,0x63,0x68,0x69,0x65,0x76,0x65,0x72,0x00};
  46.   BYTE title009data[]={ 0x75,0x6E,0x73,0x74,0x6F,0x70,0x70,0x61,0x62,0x6C,0x65,0x00};
  47.  
  48.  
  49.  
  50.    
  51.  DWORD title09datasize = sizeof(title09data);
  52.     DWORD title009datasize = sizeof(title009data);
  53.  
  54.    /* And this defines their size */
  55.  
  56.  
  57.    
  58.     DWORD elite01datasize = sizeof(elite01data);
  59.     DWORD elite02datasize = sizeof(elite02data);
  60.     DWORD elite03datasize = sizeof(elite03data);
  61.       DWORD elite04datasize = sizeof(elite04data);
  62.         DWORD elite05datasize = sizeof(elite05data);
  63.           DWORD elite06datasize = sizeof(elite06data);
  64.             DWORD elite07datasize = sizeof(elite07data);
  65.               DWORD elite08datasize = sizeof(elite08data);
  66.                 DWORD elite09datasize = sizeof(elite09data);
  67.                   DWORD elite10datasize = sizeof(elite10data);
  68.                     DWORD elite11datasize = sizeof(elite11data);
  69.                       DWORD elite12datasize = sizeof(elite12data);
  70.                         DWORD elite13datasize = sizeof(elite13data);
  71.                           DWORD elite14datasize = sizeof(elite14data);
  72.                             DWORD elite15datasize = sizeof(elite15data);
  73.                               DWORD elite16datasize = sizeof(elite16data);
  74.                                 DWORD elite17datasize = sizeof(elite17data);
  75.                                   DWORD elite18datasize = sizeof(elite18data);
  76.                                     DWORD elite19datasize = sizeof(elite19data);
  77.                                       DWORD elite20datasize = sizeof(elite20data); 
  78.                                      
  79.                                       /* TITLE SIZE */
  80.     DWORD title01datasize = sizeof(title01data);
  81.     DWORD title02datasize = sizeof(title02data);
  82.     DWORD title04datasize = sizeof(title04data);
  83.     DWORD title05datasize = sizeof(title05data);
  84.     DWORD title06datasize = sizeof(title06data);
  85.     DWORD title07datasize = sizeof(title07data);
  86.     DWORD title08datasize = sizeof(title08data);
  87.    
  88.  
  89. namespace aiounlocker {
  90.  
  91.     using namespace System;
  92.     using namespace System::ComponentModel;
  93.     using namespace System::Collections;
  94.     using namespace System::Windows::Forms;
  95.     using namespace System::Data;
  96.     using namespace System::Drawing;
  97.  
  98.     /// <summary>
  99.     /// Summary for Form1
  100.     ///
  101.     /// WARNING: If you change the name of this class, you will need to change the
  102.     ///          'Resource File Name' property for the managed resource compiler tool
  103.     ///          associated with all .resx files this class depends on.  Otherwise,
  104.     ///          the designers will not be able to interact properly with localized
  105.     ///          resources associated with this form.
  106.     /// </summary>
  107.     public ref class Form1 : public System::Windows::Forms::Form
  108.     {
  109.     public:
  110.         Form1(void)
  111.         {
  112.             InitializeComponent();
  113.             //
  114.             //TODO: Add the constructor code here
  115.             //
  116.         }
  117.  public:
  118.       [System::Runtime::InteropServices::DllImport("user32.dll")]
  119.       static HWND FindWindow(LPCTSTR lpClassName, LPCTSTR lpWindowName);
  120.  
  121.       [System::Runtime::InteropServices::DllImport("user32.dll")]
  122.       static DWORD GetWindowThreadProcessId(HWND hWnd, LPDWORD lpdwProcessId);
  123.  
  124.       [System::Runtime::InteropServices::DllImport("kernel32.dll")]
  125.       static BOOL WriteProcessMemory( HANDLE hProcess, LPVOID lpBaseAddress, LPCVOID lpBuffer, SIZE_T nSize, SIZE_T *lpNumberOfBytesWritten);
  126.  
  127.       [System::Runtime::InteropServices::DllImport("kernel32.dll")]
  128.       static BOOL ReadProcessMemory( HANDLE hProcess, LPCVOID lpBaseAddress, LPVOID lpBuffer, SIZE_T nSize, SIZE_T *lpNumberOfBytesRead);
  129.  
  130.       [System::Runtime::InteropServices::DllImport("kernel32.dll")]
  131.       static HANDLE OpenProcess(unsigned int dwDesiredAccess, int bInheritHandle, unsigned int dwProcessId);
  132.  
  133.     protected:
  134.         /// <summary>
  135.         /// Clean up any resources being used.
  136.         /// </summary>
  137.         ~Form1()
  138.         {
  139.             if (components)
  140.             {
  141.                 delete components;
  142.             }
  143.         }
  144.     private: System::Windows::Forms::Button^  button35;
  145.     protected:
  146.     private: System::Windows::Forms::GroupBox^  groupBox2;
  147.     private: System::Windows::Forms::Button^  button30;
  148.     private: System::Windows::Forms::Button^  button28;
  149.     private: System::Windows::Forms::Button^  button11;
  150.     private: System::Windows::Forms::Button^  button10;
  151.     private: System::Windows::Forms::Button^  button9;
  152.     private: System::Windows::Forms::Button^  button32;
  153.     private: System::Windows::Forms::Button^  button12;
  154.     private: System::Windows::Forms::Button^  button8;
  155.     private: System::Windows::Forms::Button^  button7;
  156.     private: System::Windows::Forms::Button^  button26;
  157.     private: System::Windows::Forms::Button^  button13;
  158.     private: System::Windows::Forms::Button^  button25;
  159.     private: System::Windows::Forms::Button^  button6;
  160.     private: System::Windows::Forms::GroupBox^  groupBox1;
  161.     private: System::Windows::Forms::Button^  button18;
  162.     private: System::Windows::Forms::Button^  button5;
  163.     private: System::Windows::Forms::Button^  button14;
  164.     private: System::Windows::Forms::Button^  button4;
  165.     private: System::Windows::Forms::Button^  button20;
  166.     private: System::Windows::Forms::Button^  button15;
  167.     private: System::Windows::Forms::Button^  button3;
  168.     private: System::Windows::Forms::Button^  button19;
  169.     private: System::Windows::Forms::Button^  button2;
  170.     private: System::Windows::Forms::Button^  button16;
  171.     private: System::Windows::Forms::Button^  button1;
  172.     private: System::Windows::Forms::Button^  button17;
  173.     private: System::Windows::Forms::Button^  button37;
  174.  
  175.     private: System::Windows::Forms::GroupBox^  groupBox4;
  176.     private: System::Windows::Forms::Button^  button39;
  177.     private: System::Windows::Forms::ToolStripStatusLabel^  toolStripStatusLabel1;
  178.     private: System::Windows::Forms::StatusStrip^  statusStrip1;
  179.  
  180.     private: System::Windows::Forms::Button^  button21;
  181.     private: System::Windows::Forms::LinkLabel^  linkLabel1;
  182.  
  183.     private:
  184.         /// <summary>
  185.         /// Required designer variable.
  186.         /// </summary>
  187.         System::ComponentModel::Container ^components;
  188.  
  189. #pragma region Windows Form Designer generated code
  190.         /// <summary>
  191.         /// Required method for Designer support - do not modify
  192.         /// the contents of this method with the code editor.
  193.         /// </summary>
  194.         void InitializeComponent(void)
  195.         {
  196.             System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
  197.             this->button35 = (gcnew System::Windows::Forms::Button());
  198.             this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
  199.             this->button30 = (gcnew System::Windows::Forms::Button());
  200.             this->button28 = (gcnew System::Windows::Forms::Button());
  201.             this->button11 = (gcnew System::Windows::Forms::Button());
  202.             this->button10 = (gcnew System::Windows::Forms::Button());
  203.             this->button9 = (gcnew System::Windows::Forms::Button());
  204.             this->button32 = (gcnew System::Windows::Forms::Button());
  205.             this->button12 = (gcnew System::Windows::Forms::Button());
  206.             this->button8 = (gcnew System::Windows::Forms::Button());
  207.             this->button7 = (gcnew System::Windows::Forms::Button());
  208.             this->button26 = (gcnew System::Windows::Forms::Button());
  209.             this->button13 = (gcnew System::Windows::Forms::Button());
  210.             this->button25 = (gcnew System::Windows::Forms::Button());
  211.             this->button6 = (gcnew System::Windows::Forms::Button());
  212.             this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
  213.             this->button18 = (gcnew System::Windows::Forms::Button());
  214.             this->button5 = (gcnew System::Windows::Forms::Button());
  215.             this->button14 = (gcnew System::Windows::Forms::Button());
  216.             this->button4 = (gcnew System::Windows::Forms::Button());
  217.             this->button20 = (gcnew System::Windows::Forms::Button());
  218.             this->button15 = (gcnew System::Windows::Forms::Button());
  219.             this->button3 = (gcnew System::Windows::Forms::Button());
  220.             this->button19 = (gcnew System::Windows::Forms::Button());
  221.             this->button2 = (gcnew System::Windows::Forms::Button());
  222.             this->button16 = (gcnew System::Windows::Forms::Button());
  223.             this->button1 = (gcnew System::Windows::Forms::Button());
  224.             this->button17 = (gcnew System::Windows::Forms::Button());
  225.             this->button37 = (gcnew System::Windows::Forms::Button());
  226.             this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
  227.             this->linkLabel1 = (gcnew System::Windows::Forms::LinkLabel());
  228.             this->button21 = (gcnew System::Windows::Forms::Button());
  229.             this->button39 = (gcnew System::Windows::Forms::Button());
  230.             this->toolStripStatusLabel1 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
  231.             this->statusStrip1 = (gcnew System::Windows::Forms::StatusStrip());
  232.             this->groupBox1->SuspendLayout();
  233.             this->groupBox4->SuspendLayout();
  234.             this->statusStrip1->SuspendLayout();
  235.             this->SuspendLayout();
  236.             //
  237.             // button35
  238.             //
  239.             this->button35->Location = System::Drawing::Point(6, 77);
  240.             this->button35->Name = L"button35";
  241.             this->button35->Size = System::Drawing::Size(159, 23);
  242.             this->button35->TabIndex = 8;
  243.             this->button35->Text = L"3";
  244.             this->button35->UseVisualStyleBackColor = true;
  245.             this->button35->Click += gcnew System::EventHandler(this, &Form1::button35_Click);
  246.             //
  247.             // groupBox2
  248.             //
  249.             this->groupBox2->Location = System::Drawing::Point(186, 2);
  250.             this->groupBox2->Name = L"groupBox2";
  251.             this->groupBox2->Size = System::Drawing::Size(182, 319);
  252.             this->groupBox2->TabIndex = 36;
  253.             this->groupBox2->TabStop = false;
  254.             this->groupBox2->Text = L"groupBox2";
  255.             //
  256.             // button30
  257.             //
  258.             this->button30->Location = System::Drawing::Point(6, 135);
  259.             this->button30->Name = L"button30";
  260.             this->button30->Size = System::Drawing::Size(159, 23);
  261.             this->button30->TabIndex = 10;
  262.             this->button30->Text = L"5";
  263.             this->button30->UseVisualStyleBackColor = true;
  264.             this->button30->Click += gcnew System::EventHandler(this, &Form1::button30_Click);
  265.             //
  266.             // button28
  267.             //
  268.             this->button28->Location = System::Drawing::Point(6, 164);
  269.             this->button28->Name = L"button28";
  270.             this->button28->Size = System::Drawing::Size(159, 23);
  271.             this->button28->TabIndex = 11;
  272.             this->button28->Text = L"6";
  273.             this->button28->UseVisualStyleBackColor = true;
  274.             this->button28->Click += gcnew System::EventHandler(this, &Form1::button28_Click);
  275.             //
  276.             // button11
  277.             //
  278.             this->button11->Location = System::Drawing::Point(87, 280);
  279.             this->button11->Name = L"button11";
  280.             this->button11->Size = System::Drawing::Size(75, 23);
  281.             this->button11->TabIndex = 25;
  282.             this->button11->Text = L"20";
  283.             this->button11->UseVisualStyleBackColor = true;
  284.             this->button11->Click += gcnew System::EventHandler(this, &Form1::button11_Click);
  285.             //
  286.             // button10
  287.             //
  288.             this->button10->Location = System::Drawing::Point(87, 135);
  289.             this->button10->Name = L"button10";
  290.             this->button10->Size = System::Drawing::Size(75, 23);
  291.             this->button10->TabIndex = 15;
  292.             this->button10->Text = L"10";
  293.             this->button10->UseVisualStyleBackColor = true;
  294.             this->button10->Click += gcnew System::EventHandler(this, &Form1::button10_Click);
  295.             //
  296.             // button9
  297.             //
  298.             this->button9->Location = System::Drawing::Point(6, 135);
  299.             this->button9->Name = L"button9";
  300.             this->button9->Size = System::Drawing::Size(75, 23);
  301.             this->button9->TabIndex = 14;
  302.             this->button9->Text = L"9";
  303.             this->button9->UseVisualStyleBackColor = true;
  304.             this->button9->Click += gcnew System::EventHandler(this, &Form1::button9_Click);
  305.             //
  306.             // button32
  307.             //
  308.             this->button32->Location = System::Drawing::Point(6, 106);
  309.             this->button32->Name = L"button32";
  310.             this->button32->Size = System::Drawing::Size(159, 23);
  311.             this->button32->TabIndex = 9;
  312.             this->button32->Text = L"4";
  313.             this->button32->UseVisualStyleBackColor = true;
  314.             this->button32->Click += gcnew System::EventHandler(this, &Form1::button32_Click);
  315.             //
  316.             // button12
  317.             //
  318.             this->button12->Location = System::Drawing::Point(6, 280);
  319.             this->button12->Name = L"button12";
  320.             this->button12->Size = System::Drawing::Size(75, 23);
  321.             this->button12->TabIndex = 24;
  322.             this->button12->Text = L"19";
  323.             this->button12->UseVisualStyleBackColor = true;
  324.             this->button12->Click += gcnew System::EventHandler(this, &Form1::button12_Click);
  325.             //
  326.             // button8
  327.             //
  328.             this->button8->Location = System::Drawing::Point(87, 106);
  329.             this->button8->Name = L"button8";
  330.             this->button8->Size = System::Drawing::Size(75, 23);
  331.             this->button8->TabIndex = 13;
  332.             this->button8->Text = L"8";
  333.             this->button8->UseVisualStyleBackColor = true;
  334.             this->button8->Click += gcnew System::EventHandler(this, &Form1::button8_Click);
  335.             //
  336.             // button7
  337.             //
  338.             this->button7->Location = System::Drawing::Point(6, 106);
  339.             this->button7->Name = L"button7";
  340.             this->button7->Size = System::Drawing::Size(75, 23);
  341.             this->button7->TabIndex = 12;
  342.             this->button7->Text = L"7";
  343.             this->button7->UseVisualStyleBackColor = true;
  344.             this->button7->Click += gcnew System::EventHandler(this, &Form1::button7_Click);
  345.             //
  346.             // button26
  347.             //
  348.             this->button26->Location = System::Drawing::Point(6, 193);
  349.             this->button26->Name = L"button26";
  350.             this->button26->Size = System::Drawing::Size(159, 23);
  351.             this->button26->TabIndex = 12;
  352.             this->button26->Text = L"7";
  353.             this->button26->UseVisualStyleBackColor = true;
  354.             this->button26->Click += gcnew System::EventHandler(this, &Form1::button26_Click);
  355.             //
  356.             // button13
  357.             //
  358.             this->button13->Location = System::Drawing::Point(87, 251);
  359.             this->button13->Name = L"button13";
  360.             this->button13->Size = System::Drawing::Size(75, 23);
  361.             this->button13->TabIndex = 23;
  362.             this->button13->Text = L"18";
  363.             this->button13->UseVisualStyleBackColor = true;
  364.             this->button13->Click += gcnew System::EventHandler(this, &Form1::button13_Click);
  365.             //
  366.             // button25
  367.             //
  368.             this->button25->Location = System::Drawing::Point(6, 222);
  369.             this->button25->Name = L"button25";
  370.             this->button25->Size = System::Drawing::Size(159, 23);
  371.             this->button25->TabIndex = 13;
  372.             this->button25->Text = L"Overachiever";
  373.             this->button25->UseVisualStyleBackColor = true;
  374.             this->button25->Click += gcnew System::EventHandler(this, &Form1::button25_Click);
  375.             //
  376.             // button6
  377.             //
  378.             this->button6->Location = System::Drawing::Point(87, 77);
  379.             this->button6->Name = L"button6";
  380.             this->button6->Size = System::Drawing::Size(75, 23);
  381.             this->button6->TabIndex = 11;
  382.             this->button6->Text = L"6";
  383.             this->button6->UseVisualStyleBackColor = true;
  384.             this->button6->Click += gcnew System::EventHandler(this, &Form1::button6_Click);
  385.             //
  386.             // groupBox1
  387.             //
  388.             this->groupBox1->Controls->Add(this->groupBox2);
  389.             this->groupBox1->Controls->Add(this->button11);
  390.             this->groupBox1->Controls->Add(this->button10);
  391.             this->groupBox1->Controls->Add(this->button9);
  392.             this->groupBox1->Controls->Add(this->button12);
  393.             this->groupBox1->Controls->Add(this->button8);
  394.             this->groupBox1->Controls->Add(this->button7);
  395.             this->groupBox1->Controls->Add(this->button13);
  396.             this->groupBox1->Controls->Add(this->button6);
  397.             this->groupBox1->Controls->Add(this->button18);
  398.             this->groupBox1->Controls->Add(this->button5);
  399.             this->groupBox1->Controls->Add(this->button14);
  400.             this->groupBox1->Controls->Add(this->button4);
  401.             this->groupBox1->Controls->Add(this->button20);
  402.             this->groupBox1->Controls->Add(this->button15);
  403.             this->groupBox1->Controls->Add(this->button3);
  404.             this->groupBox1->Controls->Add(this->button19);
  405.             this->groupBox1->Controls->Add(this->button2);
  406.             this->groupBox1->Controls->Add(this->button16);
  407.             this->groupBox1->Controls->Add(this->button1);
  408.             this->groupBox1->Controls->Add(this->button17);
  409.            
  410.             this->groupBox1->Location = System::Drawing::Point(10, 6);
  411.             this->groupBox1->Name = L"groupBox1";
  412.             this->groupBox1->Size = System::Drawing::Size(171, 319);
  413.             this->groupBox1->TabIndex = 38;
  414.             this->groupBox1->TabStop = false;
  415.             this->groupBox1->Text = L"Emblems";
  416.             //
  417.             // button18
  418.             //
  419.             this->button18->Location = System::Drawing::Point(6, 193);
  420.             this->button18->Name = L"button18";
  421.             this->button18->Size = System::Drawing::Size(75, 23);
  422.             this->button18->TabIndex = 18;
  423.             this->button18->Text = L"13";
  424.             this->button18->UseVisualStyleBackColor = true;
  425.             this->button18->Click += gcnew System::EventHandler(this, &Form1::button18_Click);
  426.             //
  427.             // button5
  428.             //
  429.             this->button5->Location = System::Drawing::Point(6, 77);
  430.             this->button5->Name = L"button5";
  431.             this->button5->Size = System::Drawing::Size(75, 23);
  432.             this->button5->TabIndex = 10;
  433.             this->button5->Text = L"5";
  434.             this->button5->UseVisualStyleBackColor = true;
  435.             this->button5->Click += gcnew System::EventHandler(this, &Form1::button5_Click);
  436.             //
  437.             // button14
  438.             //
  439.             this->button14->Location = System::Drawing::Point(6, 251);
  440.             this->button14->Name = L"button14";
  441.             this->button14->Size = System::Drawing::Size(75, 23);
  442.             this->button14->TabIndex = 22;
  443.             this->button14->Text = L"17";
  444.             this->button14->UseVisualStyleBackColor = true;
  445.             this->button14->Click += gcnew System::EventHandler(this, &Form1::button14_Click);
  446.             //
  447.             // button4
  448.             //
  449.             this->button4->Location = System::Drawing::Point(87, 48);
  450.             this->button4->Name = L"button4";
  451.             this->button4->Size = System::Drawing::Size(75, 23);
  452.             this->button4->TabIndex = 9;
  453.             this->button4->Text = L"4";
  454.             this->button4->UseVisualStyleBackColor = true;
  455.             this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
  456.             //
  457.             // button20
  458.             //
  459.             this->button20->Location = System::Drawing::Point(6, 164);
  460.             this->button20->Name = L"button20";
  461.             this->button20->Size = System::Drawing::Size(75, 23);
  462.             this->button20->TabIndex = 16;
  463.             this->button20->Text = L"11";
  464.             this->button20->UseVisualStyleBackColor = true;
  465.             this->button20->Click += gcnew System::EventHandler(this, &Form1::button20_Click);
  466.             //
  467.             // button15
  468.             //
  469.             this->button15->Location = System::Drawing::Point(87, 222);
  470.             this->button15->Name = L"button15";
  471.             this->button15->Size = System::Drawing::Size(75, 23);
  472.             this->button15->TabIndex = 21;
  473.             this->button15->Text = L"16";
  474.             this->button15->UseVisualStyleBackColor = true;
  475.             this->button15->Click += gcnew System::EventHandler(this, &Form1::button15_Click);
  476.             //
  477.             // button3
  478.             //
  479.             this->button3->Location = System::Drawing::Point(6, 48);
  480.             this->button3->Name = L"button3";
  481.             this->button3->Size = System::Drawing::Size(75, 23);
  482.             this->button3->TabIndex = 8;
  483.             this->button3->Text = L"3";
  484.             this->button3->UseVisualStyleBackColor = true;
  485.             this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
  486.             //
  487.             // button19
  488.             //
  489.             this->button19->Location = System::Drawing::Point(87, 164);
  490.             this->button19->Name = L"button19";
  491.             this->button19->Size = System::Drawing::Size(75, 23);
  492.             this->button19->TabIndex = 17;
  493.             this->button19->Text = L"12";
  494.             this->button19->UseVisualStyleBackColor = true;
  495.             this->button19->Click += gcnew System::EventHandler(this, &Form1::button19_Click);
  496.             //
  497.             // button2
  498.             //
  499.             this->button2->Location = System::Drawing::Point(87, 19);
  500.             this->button2->Name = L"button2";
  501.             this->button2->Size = System::Drawing::Size(75, 23);
  502.             this->button2->TabIndex = 7;
  503.             this->button2->Text = L"2";
  504.             this->button2->UseVisualStyleBackColor = true;
  505.             this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
  506.             //
  507.             // button16
  508.             //
  509.             this->button16->Location = System::Drawing::Point(6, 222);
  510.             this->button16->Name = L"button16";
  511.             this->button16->Size = System::Drawing::Size(75, 23);
  512.             this->button16->TabIndex = 20;
  513.             this->button16->Text = L"15";
  514.             this->button16->UseVisualStyleBackColor = true;
  515.             this->button16->Click += gcnew System::EventHandler(this, &Form1::button16_Click);
  516.             //
  517.             // button1
  518.             //
  519.             this->button1->Location = System::Drawing::Point(6, 19);
  520.             this->button1->Name = L"button1";
  521.             this->button1->Size = System::Drawing::Size(75, 23);
  522.             this->button1->TabIndex = 6;
  523.             this->button1->Text = L"1";
  524.             this->button1->UseVisualStyleBackColor = true;
  525.             this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
  526.             //
  527.             // button17
  528.             //
  529.             this->button17->Location = System::Drawing::Point(87, 193);
  530.             this->button17->Name = L"button17";
  531.             this->button17->Size = System::Drawing::Size(75, 23);
  532.             this->button17->TabIndex = 19;
  533.             this->button17->Text = L"14";
  534.             this->button17->UseVisualStyleBackColor = true;
  535.             this->button17->Click += gcnew System::EventHandler(this, &Form1::button17_Click);
  536.             //
  537.             // button37
  538.             //
  539.             this->button37->Location = System::Drawing::Point(6, 48);
  540.             this->button37->Name = L"button37";
  541.             this->button37->Size = System::Drawing::Size(159, 23);
  542.             this->button37->TabIndex = 7;
  543.             this->button37->Text = L"2";
  544.             this->button37->UseVisualStyleBackColor = true;
  545.             this->button37->Click += gcnew System::EventHandler(this, &Form1::button37_Click);
  546.             //
  547.             // groupBox4
  548.             //
  549.             this->groupBox4->Controls->Add(this->linkLabel1);
  550.             this->groupBox4->Controls->Add(this->button21);
  551.             this->groupBox4->Controls->Add(this->button25);
  552.             this->groupBox4->Controls->Add(this->button26);
  553.             this->groupBox4->Controls->Add(this->button28);
  554.             this->groupBox4->Controls->Add(this->button30);
  555.             this->groupBox4->Controls->Add(this->button32);
  556.             this->groupBox4->Controls->Add(this->button35);
  557.             this->groupBox4->Controls->Add(this->button37);
  558.             this->groupBox4->Controls->Add(this->button39);
  559.             this->groupBox4->Location = System::Drawing::Point(187, 6);
  560.             this->groupBox4->Name = L"groupBox4";
  561.             this->groupBox4->Size = System::Drawing::Size(171, 319);
  562.             this->groupBox4->TabIndex = 40;
  563.             this->groupBox4->TabStop = false;
  564.             this->groupBox4->Text = L"Titles";
  565.             //
  566.             // linkLabel1
  567.             //
  568.             this->linkLabel1->AutoSize = true;
  569.             this->linkLabel1->Location = System::Drawing::Point(53, 290);
  570.             this->linkLabel1->Name = L"linkLabel1";
  571.             this->linkLabel1->Size = System::Drawing::Size(70, 13);
  572.             this->linkLabel1->TabIndex = 17;
  573.             this->linkLabel1->TabStop = true;
  574.             this->linkLabel1->Text = L"By OrangePL";
  575.             this->linkLabel1->LinkClicked += gcnew System::Windows::Forms::LinkLabelLinkClickedEventHandler(this, &Form1::linkLabel1_LinkClicked);
  576.             //
  577.             // button21
  578.             //
  579.             this->button21->Location = System::Drawing::Point(6, 251);
  580.             this->button21->Name = L"button21";
  581.             this->button21->Size = System::Drawing::Size(159, 23);
  582.             this->button21->TabIndex = 16;
  583.             this->button21->Text = L"Unstoppable";
  584.             this->button21->UseVisualStyleBackColor = true;
  585.             this->button21->Click += gcnew System::EventHandler(this, &Form1::button21_Click);
  586.             //
  587.             // button39
  588.             //
  589.             this->button39->Location = System::Drawing::Point(6, 19);
  590.             this->button39->Name = L"button39";
  591.             this->button39->Size = System::Drawing::Size(159, 23);
  592.             this->button39->TabIndex = 6;
  593.             this->button39->Text = L"1";
  594.             this->button39->UseVisualStyleBackColor = true;
  595.             this->button39->Click += gcnew System::EventHandler(this, &Form1::button39_Click);
  596.             //
  597.             // toolStripStatusLabel1
  598.             //
  599.             this->toolStripStatusLabel1->Name = L"toolStripStatusLabel1";
  600.             this->toolStripStatusLabel1->Size = System::Drawing::Size(133, 17);
  601.             this->toolStripStatusLabel1->Text = L"Waiting for user action..";
  602.             //
  603.             // statusStrip1
  604.             //
  605.             this->statusStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->toolStripStatusLabel1});
  606.             this->statusStrip1->Location = System::Drawing::Point(0, 333);
  607.             this->statusStrip1->Name = L"statusStrip1";
  608.             this->statusStrip1->Size = System::Drawing::Size(399, 22);
  609.             this->statusStrip1->TabIndex = 39;
  610.             this->statusStrip1->Text = L"statusStrip1";
  611.             //
  612.             // Form1
  613.             //
  614.             this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  615.             this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  616.             this->ClientSize = System::Drawing::Size(399, 355);
  617.             this->Controls->Add(this->groupBox1);
  618.             this->Controls->Add(this->groupBox4);
  619.             this->Controls->Add(this->statusStrip1);
  620.             this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
  621.             this->Name = L"Form1";
  622.             this->Text = L"AiO Unlocker 1.4.368";
  623.             this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
  624.             this->groupBox1->ResumeLayout(false);
  625.             this->groupBox4->ResumeLayout(false);
  626.             this->groupBox4->PerformLayout();
  627.             this->statusStrip1->ResumeLayout(false);
  628.             this->statusStrip1->PerformLayout();
  629.             this->ResumeLayout(false);
  630.             this->PerformLayout();
  631.  
  632.         }
  633. #pragma endregion
  634.     private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {
  635. this->toolStripStatusLabel1->Text = L"Application succesfully loaded !";
  636.  hwnd = FindWindow(NULL, L"Call of Duty®: Modern Warfare® 3 Multiplayer");
  637.                  if(hwnd == NULL)
  638.                  {
  639.                      this->toolStripStatusLabel1->Text = L"I can't find the window. Consider launching MW3 c: ?";
  640.                     // this->Close();
  641.                  }
  642.                  GetWindowThreadProcessId(hwnd, &pid);
  643.                  phandle = OpenProcess(PROCESS_ALL_ACCESS, 0, pid);
  644.                  if(phandle == NULL)
  645.                  {
  646.                      this->toolStripStatusLabel1->Text = L"I can't open process neither window. Consider launching MW3 c: ?";
  647.                      //this->Close();
  648.                      this->groupBox1->Enabled = false;
  649.                      this->groupBox4->Enabled = false;
  650.                  }
  651.  
  652.  
  653.  
  654.              }
  655. private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
  656.  //WriteProcessMemory(phandle, (void*)0x01CD124B,  &classdata, (DWORD)sizeof(classdata), NULL);
  657.  WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite01data, elite01datasize, NULL);
  658.  this->toolStripStatusLabel1->Text = L"Emblem #1 set on X-Ray slot.";
  659.          }
  660. private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
  661.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite02data, elite02datasize, NULL);
  662.  this->toolStripStatusLabel1->Text = L"Emblem #2 set on X-Ray slot.";
  663.          }
  664. private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
  665.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite03data, elite03datasize, NULL);
  666.  this->toolStripStatusLabel1->Text = L"Emblem #3 set on X-Ray slot.";
  667.          }
  668. private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
  669.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite04data, elite04datasize, NULL);
  670.  this->toolStripStatusLabel1->Text = L"Emblem #4 set on X-Ray slot.";
  671.          }
  672. private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
  673.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite05data, elite05datasize, NULL);
  674.  this->toolStripStatusLabel1->Text = L"Emblem #5 set on X-Ray slot.";
  675.          }
  676. private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
  677.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite06data, elite06datasize, NULL);
  678.  this->toolStripStatusLabel1->Text = L"Emblem #6 set on X-Ray slot.";
  679.          }
  680. private: System::Void button7_Click(System::Object^  sender, System::EventArgs^  e) {
  681.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite07data, elite07datasize, NULL);
  682.               this->toolStripStatusLabel1->Text = L"Emblem #7 set on X-Ray slot.";
  683.          }
  684. private: System::Void button8_Click(System::Object^  sender, System::EventArgs^  e) {
  685.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite08data, elite08datasize, NULL);
  686.  this->toolStripStatusLabel1->Text = L"Emblem #8 set on X-Ray slot.";
  687.          }
  688. private: System::Void button9_Click(System::Object^  sender, System::EventArgs^  e) {
  689.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite09data, elite09datasize, NULL);
  690.  this->toolStripStatusLabel1->Text = L"Emblem #9 set on X-Ray slot.";
  691.          }
  692. private: System::Void button10_Click(System::Object^  sender, System::EventArgs^  e) {
  693.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite10data, elite10datasize, NULL);
  694.  this->toolStripStatusLabel1->Text = L"Emblem #10 set on X-Ray slot.";
  695.          }
  696. private: System::Void button20_Click(System::Object^  sender, System::EventArgs^  e) {
  697.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite11data, elite11datasize, NULL);
  698.  this->toolStripStatusLabel1->Text = L"Emblem #11 set on X-Ray slot.";
  699.          }
  700. private: System::Void button19_Click(System::Object^  sender, System::EventArgs^  e) {
  701.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite12data, elite12datasize, NULL);
  702.  this->toolStripStatusLabel1->Text = L"Emblem #12 set on X-Ray slot.";
  703.          }
  704. private: System::Void button18_Click(System::Object^  sender, System::EventArgs^  e) {
  705.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite13data, elite13datasize, NULL);
  706.  this->toolStripStatusLabel1->Text = L"Emblem #13 set on X-Ray slot.";
  707.          }
  708. private: System::Void button17_Click(System::Object^  sender, System::EventArgs^  e) {
  709.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite14data, elite14datasize, NULL);
  710.  this->toolStripStatusLabel1->Text = L"Emblem #14 set on X-Ray slot.";
  711.          }
  712. private: System::Void button16_Click(System::Object^  sender, System::EventArgs^  e) {
  713.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite15data, elite15datasize, NULL);
  714.  this->toolStripStatusLabel1->Text = L"Emblem #15 set on X-Ray slot.";
  715.          }
  716. private: System::Void button15_Click(System::Object^  sender, System::EventArgs^  e) {
  717.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite16data, elite16datasize, NULL);
  718.  this->toolStripStatusLabel1->Text = L"Emblem #16 set on X-Ray slot.";
  719.          }
  720. private: System::Void button14_Click(System::Object^  sender, System::EventArgs^  e) {
  721.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite17data, elite17datasize, NULL);
  722.  this->toolStripStatusLabel1->Text = L"Emblem #17 set on X-Ray slot.";
  723.          }
  724. private: System::Void button13_Click(System::Object^  sender, System::EventArgs^  e) {
  725.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite18data, elite18datasize, NULL);
  726.  this->toolStripStatusLabel1->Text = L"Emblem #18 set on X-Ray slot.";
  727.          }
  728. private: System::Void button12_Click(System::Object^  sender, System::EventArgs^  e) {
  729.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite19data, elite19datasize, NULL);
  730.  this->toolStripStatusLabel1->Text = L"Emblem #19 set on X-Ray slot.";
  731.          }
  732. private: System::Void button11_Click(System::Object^  sender, System::EventArgs^  e) {
  733.               WriteProcessMemory(phandle, (LPVOID)0x33B1F03A,  &elite20data, elite20datasize, NULL);
  734.  this->toolStripStatusLabel1->Text = L"Emblem #20 set on X-Ray slot.";
  735.          }
  736. private: System::Void button39_Click(System::Object^  sender, System::EventArgs^  e) {
  737.              WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title01data, title01datasize, NULL);
  738.              this->toolStripStatusLabel1->Text = L"Title #1 set on FNG slot.";
  739.          }
  740. private: System::Void button37_Click(System::Object^  sender, System::EventArgs^  e) {
  741.               WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title02data, title02datasize, NULL);
  742.              this->toolStripStatusLabel1->Text = L"Title #2 set on FNG slot.";
  743.          }
  744. private: System::Void button35_Click(System::Object^  sender, System::EventArgs^  e) {
  745.               WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title04data, title04datasize, NULL);
  746.              this->toolStripStatusLabel1->Text = L"Title #3 set on FNG slot.";
  747.          }
  748. private: System::Void button32_Click(System::Object^  sender, System::EventArgs^  e) {
  749.               WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title08data, title08datasize, NULL);
  750.              this->toolStripStatusLabel1->Text = L"Title #4 set on FNG slot.";
  751.          }
  752. private: System::Void button30_Click(System::Object^  sender, System::EventArgs^  e) {
  753.               WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title05data, title05datasize, NULL);
  754.              this->toolStripStatusLabel1->Text = L"Title #5 set on FNG slot.";
  755.          }
  756. private: System::Void button28_Click(System::Object^  sender, System::EventArgs^  e) {
  757.               WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title06data, title06datasize, NULL);
  758.              this->toolStripStatusLabel1->Text = L"Title #6 set on FNG slot.";
  759.          }
  760. private: System::Void button26_Click(System::Object^  sender, System::EventArgs^  e) {
  761.               WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title07data, title07datasize, NULL);
  762.              this->toolStripStatusLabel1->Text = L"Title #7 set on FNG slot.";
  763.          }
  764. private: System::Void button25_Click(System::Object^  sender, System::EventArgs^  e) {
  765.               WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title09data, title09datasize, NULL);
  766.              this->toolStripStatusLabel1->Text = L"Overachiever set on FNG slot.";
  767.          }
  768. private: System::Void button21_Click(System::Object^  sender, System::EventArgs^  e) {
  769.                WriteProcessMemory(phandle, (LPVOID)0x33B1C63D,  &title009data, title009datasize, NULL);
  770.              this->toolStripStatusLabel1->Text = L"Unstoppable set on FNG slot.";
  771.          }
  772. private: System::Void linkLabel1_LinkClicked(System::Object^  sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^  e) {
  773.              system("start http://www.youtube.com/TheOrangePL");
  774.          }
  775. };
  776. }
Advertisement
Add Comment
Please, Sign In to add comment