Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <Windows.h>
- #include <cstdio>
- #include <iostream>
- #include <shlobj.h>
- HWND hwnd;
- HANDLE phandle;
- DWORD pid;
- /* EMBLEM STUFF */
- BYTE elite01data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x31, 0x00};
- BYTE elite02data[]={ 0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x32, 0x00};
- BYTE elite03data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x33, 0x00};
- BYTE elite04data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x34, 0x00};
- BYTE elite05data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x35, 0x00};
- BYTE elite06data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x36, 0x00};
- BYTE elite07data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x37, 0x00};
- BYTE elite08data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x38, 0x00};
- BYTE elite09data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x30, 0x39, 0x00};
- BYTE elite10data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x30, 0x00};
- BYTE elite11data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x31, 0x00};
- BYTE elite12data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x32, 0x00};
- BYTE elite13data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x33, 0x00};
- BYTE elite14data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x34, 0x00};
- BYTE elite15data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x35, 0x00};
- BYTE elite16data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x36, 0x00};
- BYTE elite17data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x37, 0x00};
- BYTE elite18data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x38, 0x00};
- BYTE elite19data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x39, 0x00};
- BYTE elite20data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x32, 0x30, 0x00};
- /* Start of titles stuff */
- BYTE title01data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x31, 0x00};
- BYTE title02data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x32, 0x00};
- /* elite_03 doesn't exist */
- BYTE title04data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x34, 0x00};
- BYTE title05data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x35, 0x00};
- BYTE title06data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x36, 0x00};
- BYTE title07data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x37, 0x00};
- BYTE title08data[]={0x65, 0x6C, 0x69, 0x74, 0x65, 0x5F, 0x30, 0x38, 0x00};
- BYTE title09data[]={0x6F,0x76,0x65,0x72,0x61,0x63,0x68,0x69,0x65,0x76,0x65,0x72,0x00};
- BYTE title009data[]={ 0x75,0x6E,0x73,0x74,0x6F,0x70,0x70,0x61,0x62,0x6C,0x65,0x00};
- DWORD title09datasize = sizeof(title09data);
- DWORD title009datasize = sizeof(title009data);
- /* And this defines their size */
- DWORD elite01datasize = sizeof(elite01data);
- DWORD elite02datasize = sizeof(elite02data);
- DWORD elite03datasize = sizeof(elite03data);
- DWORD elite04datasize = sizeof(elite04data);
- DWORD elite05datasize = sizeof(elite05data);
- DWORD elite06datasize = sizeof(elite06data);
- DWORD elite07datasize = sizeof(elite07data);
- DWORD elite08datasize = sizeof(elite08data);
- DWORD elite09datasize = sizeof(elite09data);
- DWORD elite10datasize = sizeof(elite10data);
- DWORD elite11datasize = sizeof(elite11data);
- DWORD elite12datasize = sizeof(elite12data);
- DWORD elite13datasize = sizeof(elite13data);
- DWORD elite14datasize = sizeof(elite14data);
- DWORD elite15datasize = sizeof(elite15data);
- DWORD elite16datasize = sizeof(elite16data);
- DWORD elite17datasize = sizeof(elite17data);
- DWORD elite18datasize = sizeof(elite18data);
- DWORD elite19datasize = sizeof(elite19data);
- DWORD elite20datasize = sizeof(elite20data);
- /* TITLE SIZE */
- DWORD title01datasize = sizeof(title01data);
- DWORD title02datasize = sizeof(title02data);
- DWORD title04datasize = sizeof(title04data);
- DWORD title05datasize = sizeof(title05data);
- DWORD title06datasize = sizeof(title06data);
- DWORD title07datasize = sizeof(title07data);
- DWORD title08datasize = sizeof(title08data);
- namespace aiounlocker {
- using namespace System;
- using namespace System::ComponentModel;
- using namespace System::Collections;
- using namespace System::Windows::Forms;
- using namespace System::Data;
- using namespace System::Drawing;
- /// <summary>
- /// Summary for Form1
- ///
- /// WARNING: If you change the name of this class, you will need to change the
- /// 'Resource File Name' property for the managed resource compiler tool
- /// associated with all .resx files this class depends on. Otherwise,
- /// the designers will not be able to interact properly with localized
- /// resources associated with this form.
- /// </summary>
- public ref class Form1 : public System::Windows::Forms::Form
- {
- public:
- Form1(void)
- {
- InitializeComponent();
- //
- //TODO: Add the constructor code here
- //
- }
- public:
- [System::Runtime::InteropServices::DllImport("user32.dll")]
- static HWND FindWindow(LPCTSTR lpClassName, LPCTSTR lpWindowName);
- [System::Runtime::InteropServices::DllImport("user32.dll")]
- static DWORD GetWindowThreadProcessId(HWND hWnd, LPDWORD lpdwProcessId);
- [System::Runtime::InteropServices::DllImport("kernel32.dll")]
- static BOOL WriteProcessMemory( HANDLE hProcess, LPVOID lpBaseAddress, LPCVOID lpBuffer, SIZE_T nSize, SIZE_T *lpNumberOfBytesWritten);
- [System::Runtime::InteropServices::DllImport("kernel32.dll")]
- static BOOL ReadProcessMemory( HANDLE hProcess, LPCVOID lpBaseAddress, LPVOID lpBuffer, SIZE_T nSize, SIZE_T *lpNumberOfBytesRead);
- [System::Runtime::InteropServices::DllImport("kernel32.dll")]
- static HANDLE OpenProcess(unsigned int dwDesiredAccess, int bInheritHandle, unsigned int dwProcessId);
- protected:
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- ~Form1()
- {
- if (components)
- {
- delete components;
- }
- }
- private: System::Windows::Forms::Button^ button35;
- protected:
- private: System::Windows::Forms::GroupBox^ groupBox2;
- private: System::Windows::Forms::Button^ button30;
- private: System::Windows::Forms::Button^ button28;
- private: System::Windows::Forms::Button^ button11;
- private: System::Windows::Forms::Button^ button10;
- private: System::Windows::Forms::Button^ button9;
- private: System::Windows::Forms::Button^ button32;
- private: System::Windows::Forms::Button^ button12;
- private: System::Windows::Forms::Button^ button8;
- private: System::Windows::Forms::Button^ button7;
- private: System::Windows::Forms::Button^ button26;
- private: System::Windows::Forms::Button^ button13;
- private: System::Windows::Forms::Button^ button25;
- private: System::Windows::Forms::Button^ button6;
- private: System::Windows::Forms::GroupBox^ groupBox1;
- private: System::Windows::Forms::Button^ button18;
- private: System::Windows::Forms::Button^ button5;
- private: System::Windows::Forms::Button^ button14;
- private: System::Windows::Forms::Button^ button4;
- private: System::Windows::Forms::Button^ button20;
- private: System::Windows::Forms::Button^ button15;
- private: System::Windows::Forms::Button^ button3;
- private: System::Windows::Forms::Button^ button19;
- private: System::Windows::Forms::Button^ button2;
- private: System::Windows::Forms::Button^ button16;
- private: System::Windows::Forms::Button^ button1;
- private: System::Windows::Forms::Button^ button17;
- private: System::Windows::Forms::Button^ button37;
- private: System::Windows::Forms::GroupBox^ groupBox4;
- private: System::Windows::Forms::Button^ button39;
- private: System::Windows::Forms::ToolStripStatusLabel^ toolStripStatusLabel1;
- private: System::Windows::Forms::StatusStrip^ statusStrip1;
- private: System::Windows::Forms::Button^ button21;
- private: System::Windows::Forms::LinkLabel^ linkLabel1;
- private:
- /// <summary>
- /// Required designer variable.
- /// </summary>
- System::ComponentModel::Container ^components;
- #pragma region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- void InitializeComponent(void)
- {
- System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
- this->button35 = (gcnew System::Windows::Forms::Button());
- this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
- this->button30 = (gcnew System::Windows::Forms::Button());
- this->button28 = (gcnew System::Windows::Forms::Button());
- this->button11 = (gcnew System::Windows::Forms::Button());
- this->button10 = (gcnew System::Windows::Forms::Button());
- this->button9 = (gcnew System::Windows::Forms::Button());
- this->button32 = (gcnew System::Windows::Forms::Button());
- this->button12 = (gcnew System::Windows::Forms::Button());
- this->button8 = (gcnew System::Windows::Forms::Button());
- this->button7 = (gcnew System::Windows::Forms::Button());
- this->button26 = (gcnew System::Windows::Forms::Button());
- this->button13 = (gcnew System::Windows::Forms::Button());
- this->button25 = (gcnew System::Windows::Forms::Button());
- this->button6 = (gcnew System::Windows::Forms::Button());
- this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
- this->button18 = (gcnew System::Windows::Forms::Button());
- this->button5 = (gcnew System::Windows::Forms::Button());
- this->button14 = (gcnew System::Windows::Forms::Button());
- this->button4 = (gcnew System::Windows::Forms::Button());
- this->button20 = (gcnew System::Windows::Forms::Button());
- this->button15 = (gcnew System::Windows::Forms::Button());
- this->button3 = (gcnew System::Windows::Forms::Button());
- this->button19 = (gcnew System::Windows::Forms::Button());
- this->button2 = (gcnew System::Windows::Forms::Button());
- this->button16 = (gcnew System::Windows::Forms::Button());
- this->button1 = (gcnew System::Windows::Forms::Button());
- this->button17 = (gcnew System::Windows::Forms::Button());
- this->button37 = (gcnew System::Windows::Forms::Button());
- this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
- this->linkLabel1 = (gcnew System::Windows::Forms::LinkLabel());
- this->button21 = (gcnew System::Windows::Forms::Button());
- this->button39 = (gcnew System::Windows::Forms::Button());
- this->toolStripStatusLabel1 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
- this->statusStrip1 = (gcnew System::Windows::Forms::StatusStrip());
- this->groupBox1->SuspendLayout();
- this->groupBox4->SuspendLayout();
- this->statusStrip1->SuspendLayout();
- this->SuspendLayout();
- //
- // button35
- //
- this->button35->Location = System::Drawing::Point(6, 77);
- this->button35->Name = L"button35";
- this->button35->Size = System::Drawing::Size(159, 23);
- this->button35->TabIndex = 8;
- this->button35->Text = L"3";
- this->button35->UseVisualStyleBackColor = true;
- this->button35->Click += gcnew System::EventHandler(this, &Form1::button35_Click);
- //
- // groupBox2
- //
- this->groupBox2->Location = System::Drawing::Point(186, 2);
- this->groupBox2->Name = L"groupBox2";
- this->groupBox2->Size = System::Drawing::Size(182, 319);
- this->groupBox2->TabIndex = 36;
- this->groupBox2->TabStop = false;
- this->groupBox2->Text = L"groupBox2";
- //
- // button30
- //
- this->button30->Location = System::Drawing::Point(6, 135);
- this->button30->Name = L"button30";
- this->button30->Size = System::Drawing::Size(159, 23);
- this->button30->TabIndex = 10;
- this->button30->Text = L"5";
- this->button30->UseVisualStyleBackColor = true;
- this->button30->Click += gcnew System::EventHandler(this, &Form1::button30_Click);
- //
- // button28
- //
- this->button28->Location = System::Drawing::Point(6, 164);
- this->button28->Name = L"button28";
- this->button28->Size = System::Drawing::Size(159, 23);
- this->button28->TabIndex = 11;
- this->button28->Text = L"6";
- this->button28->UseVisualStyleBackColor = true;
- this->button28->Click += gcnew System::EventHandler(this, &Form1::button28_Click);
- //
- // button11
- //
- this->button11->Location = System::Drawing::Point(87, 280);
- this->button11->Name = L"button11";
- this->button11->Size = System::Drawing::Size(75, 23);
- this->button11->TabIndex = 25;
- this->button11->Text = L"20";
- this->button11->UseVisualStyleBackColor = true;
- this->button11->Click += gcnew System::EventHandler(this, &Form1::button11_Click);
- //
- // button10
- //
- this->button10->Location = System::Drawing::Point(87, 135);
- this->button10->Name = L"button10";
- this->button10->Size = System::Drawing::Size(75, 23);
- this->button10->TabIndex = 15;
- this->button10->Text = L"10";
- this->button10->UseVisualStyleBackColor = true;
- this->button10->Click += gcnew System::EventHandler(this, &Form1::button10_Click);
- //
- // button9
- //
- this->button9->Location = System::Drawing::Point(6, 135);
- this->button9->Name = L"button9";
- this->button9->Size = System::Drawing::Size(75, 23);
- this->button9->TabIndex = 14;
- this->button9->Text = L"9";
- this->button9->UseVisualStyleBackColor = true;
- this->button9->Click += gcnew System::EventHandler(this, &Form1::button9_Click);
- //
- // button32
- //
- this->button32->Location = System::Drawing::Point(6, 106);
- this->button32->Name = L"button32";
- this->button32->Size = System::Drawing::Size(159, 23);
- this->button32->TabIndex = 9;
- this->button32->Text = L"4";
- this->button32->UseVisualStyleBackColor = true;
- this->button32->Click += gcnew System::EventHandler(this, &Form1::button32_Click);
- //
- // button12
- //
- this->button12->Location = System::Drawing::Point(6, 280);
- this->button12->Name = L"button12";
- this->button12->Size = System::Drawing::Size(75, 23);
- this->button12->TabIndex = 24;
- this->button12->Text = L"19";
- this->button12->UseVisualStyleBackColor = true;
- this->button12->Click += gcnew System::EventHandler(this, &Form1::button12_Click);
- //
- // button8
- //
- this->button8->Location = System::Drawing::Point(87, 106);
- this->button8->Name = L"button8";
- this->button8->Size = System::Drawing::Size(75, 23);
- this->button8->TabIndex = 13;
- this->button8->Text = L"8";
- this->button8->UseVisualStyleBackColor = true;
- this->button8->Click += gcnew System::EventHandler(this, &Form1::button8_Click);
- //
- // button7
- //
- this->button7->Location = System::Drawing::Point(6, 106);
- this->button7->Name = L"button7";
- this->button7->Size = System::Drawing::Size(75, 23);
- this->button7->TabIndex = 12;
- this->button7->Text = L"7";
- this->button7->UseVisualStyleBackColor = true;
- this->button7->Click += gcnew System::EventHandler(this, &Form1::button7_Click);
- //
- // button26
- //
- this->button26->Location = System::Drawing::Point(6, 193);
- this->button26->Name = L"button26";
- this->button26->Size = System::Drawing::Size(159, 23);
- this->button26->TabIndex = 12;
- this->button26->Text = L"7";
- this->button26->UseVisualStyleBackColor = true;
- this->button26->Click += gcnew System::EventHandler(this, &Form1::button26_Click);
- //
- // button13
- //
- this->button13->Location = System::Drawing::Point(87, 251);
- this->button13->Name = L"button13";
- this->button13->Size = System::Drawing::Size(75, 23);
- this->button13->TabIndex = 23;
- this->button13->Text = L"18";
- this->button13->UseVisualStyleBackColor = true;
- this->button13->Click += gcnew System::EventHandler(this, &Form1::button13_Click);
- //
- // button25
- //
- this->button25->Location = System::Drawing::Point(6, 222);
- this->button25->Name = L"button25";
- this->button25->Size = System::Drawing::Size(159, 23);
- this->button25->TabIndex = 13;
- this->button25->Text = L"Overachiever";
- this->button25->UseVisualStyleBackColor = true;
- this->button25->Click += gcnew System::EventHandler(this, &Form1::button25_Click);
- //
- // button6
- //
- this->button6->Location = System::Drawing::Point(87, 77);
- this->button6->Name = L"button6";
- this->button6->Size = System::Drawing::Size(75, 23);
- this->button6->TabIndex = 11;
- this->button6->Text = L"6";
- this->button6->UseVisualStyleBackColor = true;
- this->button6->Click += gcnew System::EventHandler(this, &Form1::button6_Click);
- //
- // groupBox1
- //
- this->groupBox1->Controls->Add(this->groupBox2);
- this->groupBox1->Controls->Add(this->button11);
- this->groupBox1->Controls->Add(this->button10);
- this->groupBox1->Controls->Add(this->button9);
- this->groupBox1->Controls->Add(this->button12);
- this->groupBox1->Controls->Add(this->button8);
- this->groupBox1->Controls->Add(this->button7);
- this->groupBox1->Controls->Add(this->button13);
- this->groupBox1->Controls->Add(this->button6);
- this->groupBox1->Controls->Add(this->button18);
- this->groupBox1->Controls->Add(this->button5);
- this->groupBox1->Controls->Add(this->button14);
- this->groupBox1->Controls->Add(this->button4);
- this->groupBox1->Controls->Add(this->button20);
- this->groupBox1->Controls->Add(this->button15);
- this->groupBox1->Controls->Add(this->button3);
- this->groupBox1->Controls->Add(this->button19);
- this->groupBox1->Controls->Add(this->button2);
- this->groupBox1->Controls->Add(this->button16);
- this->groupBox1->Controls->Add(this->button1);
- this->groupBox1->Controls->Add(this->button17);
- this->groupBox1->Location = System::Drawing::Point(10, 6);
- this->groupBox1->Name = L"groupBox1";
- this->groupBox1->Size = System::Drawing::Size(171, 319);
- this->groupBox1->TabIndex = 38;
- this->groupBox1->TabStop = false;
- this->groupBox1->Text = L"Emblems";
- //
- // button18
- //
- this->button18->Location = System::Drawing::Point(6, 193);
- this->button18->Name = L"button18";
- this->button18->Size = System::Drawing::Size(75, 23);
- this->button18->TabIndex = 18;
- this->button18->Text = L"13";
- this->button18->UseVisualStyleBackColor = true;
- this->button18->Click += gcnew System::EventHandler(this, &Form1::button18_Click);
- //
- // button5
- //
- this->button5->Location = System::Drawing::Point(6, 77);
- this->button5->Name = L"button5";
- this->button5->Size = System::Drawing::Size(75, 23);
- this->button5->TabIndex = 10;
- this->button5->Text = L"5";
- this->button5->UseVisualStyleBackColor = true;
- this->button5->Click += gcnew System::EventHandler(this, &Form1::button5_Click);
- //
- // button14
- //
- this->button14->Location = System::Drawing::Point(6, 251);
- this->button14->Name = L"button14";
- this->button14->Size = System::Drawing::Size(75, 23);
- this->button14->TabIndex = 22;
- this->button14->Text = L"17";
- this->button14->UseVisualStyleBackColor = true;
- this->button14->Click += gcnew System::EventHandler(this, &Form1::button14_Click);
- //
- // button4
- //
- this->button4->Location = System::Drawing::Point(87, 48);
- this->button4->Name = L"button4";
- this->button4->Size = System::Drawing::Size(75, 23);
- this->button4->TabIndex = 9;
- this->button4->Text = L"4";
- this->button4->UseVisualStyleBackColor = true;
- this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
- //
- // button20
- //
- this->button20->Location = System::Drawing::Point(6, 164);
- this->button20->Name = L"button20";
- this->button20->Size = System::Drawing::Size(75, 23);
- this->button20->TabIndex = 16;
- this->button20->Text = L"11";
- this->button20->UseVisualStyleBackColor = true;
- this->button20->Click += gcnew System::EventHandler(this, &Form1::button20_Click);
- //
- // button15
- //
- this->button15->Location = System::Drawing::Point(87, 222);
- this->button15->Name = L"button15";
- this->button15->Size = System::Drawing::Size(75, 23);
- this->button15->TabIndex = 21;
- this->button15->Text = L"16";
- this->button15->UseVisualStyleBackColor = true;
- this->button15->Click += gcnew System::EventHandler(this, &Form1::button15_Click);
- //
- // button3
- //
- this->button3->Location = System::Drawing::Point(6, 48);
- this->button3->Name = L"button3";
- this->button3->Size = System::Drawing::Size(75, 23);
- this->button3->TabIndex = 8;
- this->button3->Text = L"3";
- this->button3->UseVisualStyleBackColor = true;
- this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
- //
- // button19
- //
- this->button19->Location = System::Drawing::Point(87, 164);
- this->button19->Name = L"button19";
- this->button19->Size = System::Drawing::Size(75, 23);
- this->button19->TabIndex = 17;
- this->button19->Text = L"12";
- this->button19->UseVisualStyleBackColor = true;
- this->button19->Click += gcnew System::EventHandler(this, &Form1::button19_Click);
- //
- // button2
- //
- this->button2->Location = System::Drawing::Point(87, 19);
- this->button2->Name = L"button2";
- this->button2->Size = System::Drawing::Size(75, 23);
- this->button2->TabIndex = 7;
- this->button2->Text = L"2";
- this->button2->UseVisualStyleBackColor = true;
- this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
- //
- // button16
- //
- this->button16->Location = System::Drawing::Point(6, 222);
- this->button16->Name = L"button16";
- this->button16->Size = System::Drawing::Size(75, 23);
- this->button16->TabIndex = 20;
- this->button16->Text = L"15";
- this->button16->UseVisualStyleBackColor = true;
- this->button16->Click += gcnew System::EventHandler(this, &Form1::button16_Click);
- //
- // button1
- //
- this->button1->Location = System::Drawing::Point(6, 19);
- this->button1->Name = L"button1";
- this->button1->Size = System::Drawing::Size(75, 23);
- this->button1->TabIndex = 6;
- this->button1->Text = L"1";
- this->button1->UseVisualStyleBackColor = true;
- this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
- //
- // button17
- //
- this->button17->Location = System::Drawing::Point(87, 193);
- this->button17->Name = L"button17";
- this->button17->Size = System::Drawing::Size(75, 23);
- this->button17->TabIndex = 19;
- this->button17->Text = L"14";
- this->button17->UseVisualStyleBackColor = true;
- this->button17->Click += gcnew System::EventHandler(this, &Form1::button17_Click);
- //
- // button37
- //
- this->button37->Location = System::Drawing::Point(6, 48);
- this->button37->Name = L"button37";
- this->button37->Size = System::Drawing::Size(159, 23);
- this->button37->TabIndex = 7;
- this->button37->Text = L"2";
- this->button37->UseVisualStyleBackColor = true;
- this->button37->Click += gcnew System::EventHandler(this, &Form1::button37_Click);
- //
- // groupBox4
- //
- this->groupBox4->Controls->Add(this->linkLabel1);
- this->groupBox4->Controls->Add(this->button21);
- this->groupBox4->Controls->Add(this->button25);
- this->groupBox4->Controls->Add(this->button26);
- this->groupBox4->Controls->Add(this->button28);
- this->groupBox4->Controls->Add(this->button30);
- this->groupBox4->Controls->Add(this->button32);
- this->groupBox4->Controls->Add(this->button35);
- this->groupBox4->Controls->Add(this->button37);
- this->groupBox4->Controls->Add(this->button39);
- this->groupBox4->Location = System::Drawing::Point(187, 6);
- this->groupBox4->Name = L"groupBox4";
- this->groupBox4->Size = System::Drawing::Size(171, 319);
- this->groupBox4->TabIndex = 40;
- this->groupBox4->TabStop = false;
- this->groupBox4->Text = L"Titles";
- //
- // linkLabel1
- //
- this->linkLabel1->AutoSize = true;
- this->linkLabel1->Location = System::Drawing::Point(53, 290);
- this->linkLabel1->Name = L"linkLabel1";
- this->linkLabel1->Size = System::Drawing::Size(70, 13);
- this->linkLabel1->TabIndex = 17;
- this->linkLabel1->TabStop = true;
- this->linkLabel1->Text = L"By OrangePL";
- this->linkLabel1->LinkClicked += gcnew System::Windows::Forms::LinkLabelLinkClickedEventHandler(this, &Form1::linkLabel1_LinkClicked);
- //
- // button21
- //
- this->button21->Location = System::Drawing::Point(6, 251);
- this->button21->Name = L"button21";
- this->button21->Size = System::Drawing::Size(159, 23);
- this->button21->TabIndex = 16;
- this->button21->Text = L"Unstoppable";
- this->button21->UseVisualStyleBackColor = true;
- this->button21->Click += gcnew System::EventHandler(this, &Form1::button21_Click);
- //
- // button39
- //
- this->button39->Location = System::Drawing::Point(6, 19);
- this->button39->Name = L"button39";
- this->button39->Size = System::Drawing::Size(159, 23);
- this->button39->TabIndex = 6;
- this->button39->Text = L"1";
- this->button39->UseVisualStyleBackColor = true;
- this->button39->Click += gcnew System::EventHandler(this, &Form1::button39_Click);
- //
- // toolStripStatusLabel1
- //
- this->toolStripStatusLabel1->Name = L"toolStripStatusLabel1";
- this->toolStripStatusLabel1->Size = System::Drawing::Size(133, 17);
- this->toolStripStatusLabel1->Text = L"Waiting for user action..";
- //
- // statusStrip1
- //
- this->statusStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->toolStripStatusLabel1});
- this->statusStrip1->Location = System::Drawing::Point(0, 333);
- this->statusStrip1->Name = L"statusStrip1";
- this->statusStrip1->Size = System::Drawing::Size(399, 22);
- this->statusStrip1->TabIndex = 39;
- this->statusStrip1->Text = L"statusStrip1";
- //
- // Form1
- //
- this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
- this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
- this->ClientSize = System::Drawing::Size(399, 355);
- this->Controls->Add(this->groupBox1);
- this->Controls->Add(this->groupBox4);
- this->Controls->Add(this->statusStrip1);
- this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
- this->Name = L"Form1";
- this->Text = L"AiO Unlocker 1.4.368";
- this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
- this->groupBox1->ResumeLayout(false);
- this->groupBox4->ResumeLayout(false);
- this->groupBox4->PerformLayout();
- this->statusStrip1->ResumeLayout(false);
- this->statusStrip1->PerformLayout();
- this->ResumeLayout(false);
- this->PerformLayout();
- }
- #pragma endregion
- private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
- this->toolStripStatusLabel1->Text = L"Application succesfully loaded !";
- hwnd = FindWindow(NULL, L"Call of Duty®: Modern Warfare® 3 Multiplayer");
- if(hwnd == NULL)
- {
- this->toolStripStatusLabel1->Text = L"I can't find the window. Consider launching MW3 c: ?";
- // this->Close();
- }
- GetWindowThreadProcessId(hwnd, &pid);
- phandle = OpenProcess(PROCESS_ALL_ACCESS, 0, pid);
- if(phandle == NULL)
- {
- this->toolStripStatusLabel1->Text = L"I can't open process neither window. Consider launching MW3 c: ?";
- //this->Close();
- this->groupBox1->Enabled = false;
- this->groupBox4->Enabled = false;
- }
- }
- private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
- //WriteProcessMemory(phandle, (void*)0x01CD124B, &classdata, (DWORD)sizeof(classdata), NULL);
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite01data, elite01datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #1 set on X-Ray slot.";
- }
- private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite02data, elite02datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #2 set on X-Ray slot.";
- }
- private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite03data, elite03datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #3 set on X-Ray slot.";
- }
- private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite04data, elite04datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #4 set on X-Ray slot.";
- }
- private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite05data, elite05datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #5 set on X-Ray slot.";
- }
- private: System::Void button6_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite06data, elite06datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #6 set on X-Ray slot.";
- }
- private: System::Void button7_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite07data, elite07datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #7 set on X-Ray slot.";
- }
- private: System::Void button8_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite08data, elite08datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #8 set on X-Ray slot.";
- }
- private: System::Void button9_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite09data, elite09datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #9 set on X-Ray slot.";
- }
- private: System::Void button10_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite10data, elite10datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #10 set on X-Ray slot.";
- }
- private: System::Void button20_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite11data, elite11datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #11 set on X-Ray slot.";
- }
- private: System::Void button19_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite12data, elite12datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #12 set on X-Ray slot.";
- }
- private: System::Void button18_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite13data, elite13datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #13 set on X-Ray slot.";
- }
- private: System::Void button17_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite14data, elite14datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #14 set on X-Ray slot.";
- }
- private: System::Void button16_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite15data, elite15datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #15 set on X-Ray slot.";
- }
- private: System::Void button15_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite16data, elite16datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #16 set on X-Ray slot.";
- }
- private: System::Void button14_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite17data, elite17datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #17 set on X-Ray slot.";
- }
- private: System::Void button13_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite18data, elite18datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #18 set on X-Ray slot.";
- }
- private: System::Void button12_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite19data, elite19datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #19 set on X-Ray slot.";
- }
- private: System::Void button11_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F03A, &elite20data, elite20datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Emblem #20 set on X-Ray slot.";
- }
- private: System::Void button39_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title01data, title01datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Title #1 set on FNG slot.";
- }
- private: System::Void button37_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title02data, title02datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Title #2 set on FNG slot.";
- }
- private: System::Void button35_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title04data, title04datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Title #3 set on FNG slot.";
- }
- private: System::Void button32_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title08data, title08datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Title #4 set on FNG slot.";
- }
- private: System::Void button30_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title05data, title05datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Title #5 set on FNG slot.";
- }
- private: System::Void button28_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title06data, title06datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Title #6 set on FNG slot.";
- }
- private: System::Void button26_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title07data, title07datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Title #7 set on FNG slot.";
- }
- private: System::Void button25_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title09data, title09datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Overachiever set on FNG slot.";
- }
- private: System::Void button21_Click(System::Object^ sender, System::EventArgs^ e) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1C63D, &title009data, title009datasize, NULL);
- this->toolStripStatusLabel1->Text = L"Unstoppable set on FNG slot.";
- }
- private: System::Void linkLabel1_LinkClicked(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) {
- system("start http://www.youtube.com/TheOrangePL");
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment