geokar2006 / ByNameModding

MOVED https://github.com/ByNameModding/BNM-Android
113 stars 34 forks source link

Help me 🥺 #11

Closed ghost closed 2 years ago

ghost commented 2 years ago

Sorry, I just tried LoadClass on android 11 , but always stuck on loading screen.Unity 2017.4.x Code:

static LoadClass UTime;

namespace HackThread
{
    void *init(void *) {
        do {
           sleep(1);
        } while (!isLibLoaded("libil2cpp.so"));
    sleep(2);

    UTime = LoadClass("UnityEngine","Time");

    return NULL;
    }
}

__attribute__((constructor))
void initialize_hack_thread() {
    pthread_t ptid;
    pthread_create(&ptid, NULL, HackThread::init, NULL);
}
geokar2006 commented 2 years ago

Which game?

ghost commented 2 years ago

Which game?

Mobile Legends : Bang Bang by Moonton

geokar2006 commented 2 years ago

Maybe game protected?

ghost commented 2 years ago

Yes, but using this version https://github.com/kuteteen/ByNameMD it worked. But again I want to use the full version😅