//HEADER
public static string process = "javaw";
public static int bClient;
public static int aExp = 0x0007A398;
//INSIDE THE HOTKEY
if (GetModuleAddy())
{
int oExp = bClient + aExp;
Memory.WritePointerInt32(process, oExp, new int[5] { 0x3F0, 0x634, 0x300, 0x530, 0x264 }, 300);
}
//OUTSIDE
static bool GetModuleAddy()
{
try
{
Process[] p = Process.GetProcessesByName(process);
if (p.Length > 0)
{
foreach (ProcessModule m in p[0].Modules)
{
if (m.ModuleName == "avutil-ttv-51.dll")
{
bClient = (int)m.BaseAddress;
return true;
}
}
return true;
}
else
{
return false;
}
}
catch (Exception ex)
{
return false;
}
}