Update main.cpp

This commit is contained in:
gggaa2152 2026-07-25 03:48:50 +08:00 committed by GitHub
parent 64489cf31c
commit eaa4b9cd50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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