chore: what the fuck

This commit is contained in:
2025-06-19 23:25:30 +07:00
parent fa12cfc815
commit 2ec777f8d5
10 changed files with 98 additions and 3 deletions

View File

@ -0,0 +1,8 @@
import json
import win32api
import win32con
ys_hkey = win32api.RegOpenKeyEx(win32con.HKEY_CURRENT_USER, "Software\\miHoYo\\Genshin Impact", 0, win32con.KEY_ALL_ACCESS)
data_bytes = win32api.RegQueryValueEx(ys_hkey, "GENERAL_DATA_h2389025596")[0]
data = json.loads(data_bytes[:-1])
print(data)