mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-07 23:15:52 +01:00
Update main.cpp
This commit is contained in:
parent
64489cf31c
commit
eaa4b9cd50
3
main.cpp
3
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user