Post: PC Write/Read Memory Library (Open Source)
04-19-2015, 07:24 PM #1
Default Avatar
Bch
Guest
(adsbygoogle = window.adsbygoogle || []).push({});
What is this?
This will allow you to write/read memory to and from the GTA 5 Process (PC).

Functions
    bool Attach()
void Write(uint address, byte Input)
void Write(uint address, byte[] Input)
void Write(uint address, Int16 Input)
void Write(uint address, Int16[] Input)
void Write(uint address, Int32 Input)
void Write(uint address, Int32[] Input)
void Write(uint address, Int64 Input)
void Write(uint address, Int64[] Input)
void Write(uint address, UInt16 Input)
void Write(uint address, IUnt16[] Input)
void Write(uint address, Int32 Input)
void Write(uint address, Int32[] Input)
void Write(uint address, Int64 Input)
void Write(uint address, Int64[] Input)
void Write(uint address, bool Input)
void Write(uint address, bool[] Input)
void Write(uint address, float Input)
void Write(uint address, float[] Input)
void Write(uint address, string Input)
byte ReadByte(uint address)
bytes ReadBytes(uint address, int Length)
Int16 ReadInt16(uint address)
Int32 ReadInt32(uint address)
Int64 ReadInt64(uint address)
UInt16 ReadUInt16(uint address)
UInt32 ReadUInt32(uint address)
UInt64 ReadUInt64(uint address)
bool ReadBool(uint address)
float ReadFloat(uint address)
float[] ReadFloats(uint address)
string ReadString(uint address)
uint ReadPointer(long address_gap)


Source
You must login or register to view this content.

Library File
You must login or register to view this content.

Sample Project
You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 14 users say thank you to Bch for this useful post:

AKONIT92, Insight, elgolumm, Welsh, kr0wns, Kryptus, mankool, Pyro577, ResistThePower, roosterpro, RTE, Slinky, V7X3
04-21-2015, 02:16 PM #20
Default Avatar
Bch
Guest
Originally posted by splintter View Post
We should have a thread with a table with memory addresses (separated by exe version)... it will be great together with this lib!


Crack on and create one then Happy
04-21-2015, 02:20 PM #21
Renton
Hurah!
Originally posted by Beach View Post
Why would you need that? Do you mean to search for the vehicle hash or something? :think:


something i wanna mod is dynamic, it moves apon new session/reboot of game.
spent 3 hours looking for pointer cant seem to find it. i had a pointer for it on ps3 but cant seem to find the same one.
being able to search for bytes from 1 area to another would allow me to make it automatic rather then providing it the address manually.
04-21-2015, 03:11 PM #22
Originally posted by Beach View Post
Crack on and create one then Happy


My idea is that we already have some of addresses as we have trainers and editors released, so why not have a database of this? Just giving an idea, don't shot me out.
04-21-2015, 04:20 PM #23
Originally posted by Renton View Post
something i wanna mod is dynamic, it moves apon new session/reboot of game.
spent 3 hours looking for pointer cant seem to find it. i had a pointer for it on ps3 but cant seem to find the same one.
being able to search for bytes from 1 area to another would allow me to make it automatic rather then providing it the address manually.

On PS3 you can put a breakpoint on your address and in the registers you'll find an (static)address then if you look in the disassembly you'll find an offset as well, which in your case would probably be dynamic. So, I guess, once you get that static address, you can simply just search through the memory starting there. I'm not sure if you can do anything like that for PC though, but I hope this helps

The following 2 users say thank you to John for this useful post:

Renton, Smoky420

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo