From eaa4b9cd507b8ac9ae7ad66fbecb8d3c24983a38 Mon Sep 17 00:00:00 2001 From: gggaa2152 <60614405+gggaa2152@users.noreply.github.com> Date: Sat, 25 Jul 2026 03:48:50 +0800 Subject: [PATCH] Update main.cpp --- main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 28dda8079..6c72c74bf 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")) { - ssscanf(line, "%lx", &g_il2cppBase); break; + sscanf(line, "%lx", &g_il2cppBase); break; } } fclose(fp); @@ -4665,4 +4665,3 @@ __attribute__((constructor)) void Init() { pthread_create(&t, 0, SetupThread, 0); pthread_detach(t); } -```eof