So I am making an AI BOT for game Bloons TD6, but for it to work I need to get money value so he knows when he can buy something. For that I decided to find pointer to in-game money but I don't know how to read memory with python, I managed to do it in cpp but for bot to work I need it in python. I already managed to get PID, now I just need to read an address from memory.
Also important to mention is that value that I want to read is double.
PROCESS_ALL_ACCESS = 0x1F0FFF
HWND = win32ui.FindWindow(None,"BloonsTD6").GetSafeHwnd()
PID = win32process.GetWindowThreadProcessId(HWND)[1]