Code:
public class AH
{
private static int proc_id;
public AH(int procID)
{
proc_id = procID;
}
public static void GetBuyOut()
{
int buyoutItem1 = GetBuyoutValue(new List<int>() {0, 0xC, 0xD8 }); // 1st Item
int buyoutItem2 = GetBuyoutValue(new List<int>() {0, 0xC, 0x1F0 }); // 2nd Item
int buyoutItem3 = GetBuyoutValue(new List<int>() {0, 0xC, 0x54, 0, 0x2B4 }); // 3rd Item
Console.WriteLine(buyoutItem1);
Console.WriteLine(buyoutItem2);
Console.WriteLine(buyoutItem3);
}
private static int GetBuyoutValue(List<int> offsets)
{
ProcessMemory memory = new ProcessMemory(proc_id);
memory.StartProcess();
int result = memory.ReadInt(memory.ImageAddress() + 0x00FC7590);
foreach (int item in offsets)
{
result = memory.ReadInt(result += item);
}
return result;
}
}
If you look at that code, you will be able to figure out how to get the rest of the information.
Hope that helps.