From 64489cf31c5755260c64114389c5bc833ec37c06 Mon Sep 17 00:00:00 2001 From: gggaa2152 <60614405+gggaa2152@users.noreply.github.com> Date: Sat, 25 Jul 2026 03:26:15 +0800 Subject: [PATCH] Update main.cpp --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 6c72c74bf..28dda8079 100644 --- a/main.cpp +++ b/main.cpp @@ -2297,7 +2297,7 @@ void InitBusinessHooks() { char line[512]; while (fgets(line, sizeof(line), fp)) { if (strstr(line, "libil2cpp.so") && strstr(line, "r-xp")) { - sscanf(line, "%lx", &g_il2cppBase); break; + ssscanf(line, "%lx", &g_il2cppBase); break; } } fclose(fp); @@ -4665,3 +4665,4 @@ __attribute__((constructor)) void Init() { pthread_create(&t, 0, SetupThread, 0); pthread_detach(t); } +```eof