public void Inject(PointerModel data) { if (this.HProcHandle != IntPtr.Zero) { UInt32 LobbyAddressToWrite = FindDmaAddress(5, this.HProcHandle, data.Offsets, data.BaseAddress); WriteToMemory(this.HProcHandle, LobbyAddressToWrite, this.ValueToByte(data.Value)); } }
public StellarImpactHandler() : base(GameWindow) { this.DataLobby = new PointerModel() { BaseAddress = 0x00BBC7CC, Offsets = new uint[5] { 0x0, 0x8, 0x14, 0x2C, 0x70 } }; }