textbox help

hello i need help on something specific but don't know how to explain it.
 
*(INT*)(*(DWORD*)0x525252 + 0x74) = 1;

this is basically a pointer + an offset equaling to 1 (game hacking)
i need help getting the addresses from a textbox.
something like
1
2
3
textBox1->Text = "0x525252";
textBox2->Text = "0x74";
*(INT*)(*(DWORD*)textBox1->Text + textBox2->Text) = 1;

any ideas or examples?
Do you want to convert the values from the textboxes to an int ?
1
2
3
4
5
6
7
8
9
10
11
try
{
  int num1 = Convert::ToInt32(textBox1->Text, 16);
  int num2 = Convert::ToInt32(textBox2->Text, 16);
  
  // TO DO - use num1 and num2
}
catch(Exception^ ex)
{
  MessageBox::Show(ex->Message);
}
oh, maybe that will work. i will try when i get home.
thanks, that worked
Topic archived. No new replies allowed.