我在为The Forest游戏作弊但是我遇到了算术溢出错误。如果我将地址写为int,我会得到一个错误,如图中我怎么能读取0x9B2D9BA4 + 0C
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TheForest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public static int address = 0x9B2D9BA4 +0C;
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
VAMemory vam = new VAMemory("TheForest32");
bool check = vam.CheckProcess();
if (check)
{
stickLBL.Text = vam.ReadInt32((IntPtr)address).ToString();
}
else {
MessageBox.Show("Game is not work!");
}
}
}
}