Skip to content
Guest Big Announcement

Please help me with modding issues

Featured Replies

After the module function is turned on, the function cannot be turned off

 

void (*oldReloadDurUp)(void *instance); //字段偏移

void reloaddurationup(void *instance) {

      

        if (instance != NULL) {

 

         if (canFastr) { 

  

     *(float *) ((uint64_t) instance + 0x154) = 40.0;

 

    }

 

  }

     return oldReloadDurUp(instance);

}

 

A64HookFunction( (void*)getAbsoluteAddress("libil2cpp.so", 0x6875E0), (void *)reloaddurationup, (void **)&oldReloadDurUp);

 

 

canFastr = boolean;

 

Please help me where is the problem

 

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.