Currently I'm facing an issue where it occurs on different devices.
For my mod menu, I usually would use this section of code to initialise:
void *hack_thread(void *) {
LOGI(OBFUSCATE("pthread created"));
do {
sleep(1);
} while (!isLibraryLoaded(targetLibName))...
I've tried with the LGL Menu's HOOK_LIB and BNM's BNM::HOOK but neither has worked and both will crash when this method is hooked.
My Hook code:
void *(*old_getClassPassive)(void *instance);
void *getClassPassive(void *instance) {
LOGD("Return getClassPassive");
return...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.