uintptr_t value = 0;
ReadProcessMemory(ProcessCS2, reinterpret_cast<LPVOID>(module + 0x17361E8), &value, sizeof(uintptr_t), NULL);
The function fails if the requested read operation crosses into an area of the process that is inaccessible.
ReadProcessMemory(ProcessCS2, reinterpret_cast<LPVOID>(0x7FFE6C0861E8), &value, sizeof(uintptr_t), NULL);