Using this library : https://github.com/NAME_1/GTLibCpp 
Read all methods definition from here : https://github.com/NAME_1/GTLibCpp/blob/master/GTLibc.hpp
Here are methods for GTLibCpp

        // GTLibc public methods.
        // Find game process and window.
        HANDLE FindGameProcess(const std::string &gameName);
        HWND FindGameWindow(const std::string &windowName);

        // Read and write memory.
        template <typename T>
        T ReadAddress(DWORD address);
        template <typename T>
        bool WriteAddress(DWORD address, const T &value);

        // Read  and write memory with offsets.
        template <typename T>
        T ReadAddressOffset(DWORD address, const DWORD offset);
        template <typename T>
        bool WriteAddressOffset(DWORD address, DWORD offset, const T &value);
        template <typename T>
        T ReadAddressOffsets(DWORD address, const std::vector<DWORD> &offsets);
        template <typename T>
        bool WriteAddressOffsets(DWORD address, const std::vector<DWORD> &offsets, const T &value);

        // Read and write pointers with offsets.
        template <typename T>
        T ReadPointer(DWORD address);
        template <typename T>
        bool WritePointer(DWORD address, DWORD pointerOffset, const T &value);

        template <typename T>
        T ReadPointerOffset(DWORD address, const DWORD offset);
        template <typename T>
        bool WritePointerOffset(DWORD address, const std::vector<DWORD> &offsets, const T &value);

      