geode/loader/launcher/ios/main.cpp
2022-07-30 19:24:03 +03:00

11 lines
No EOL
235 B
C++

#include <dlfcn.h>
#include <unistd.h>
#include <thread>
void inject() __attribute__((constructor)) {
std::thread t1([]() {
sleep(1);
dlopen("/Library/MobileSubstrate/DynamicLibraries/Geode.dylib", RTLD_NOW);
});
t1.detach();
}