Skip to content
Guest Big Announcement

Help with Converting flex void values to Patcher

Featured Replies

Ok this is the reason why i have not finish the Vine hack is because i been stuck on these void values.

 

Heres some pictures of the Values i need help with listed below.

 

ok for the people that think am leeching and stealing this code no am not i give credit to the people that make it all am doing is combing all the hacks into one to make a good patcher plus i added some hacks of my own.

IMG_0225.png

 

 

IMG_0226.png

Updated by Dex

Solved by castix

  • Author

ok the leeching part i was giving credit to the developer of hack no stealing credit was intened on that

  • Solution

Mmhm I'm enjoying this so much haha you can't imagine !

 

However I will help you because I've got a bit compassion

 

First of all, in downloaded patches from other users every class-type will be displayed as void. You can see it because in the second picture it's returned a boolean so obviously not void (or it won't work).

 

To disable a void function is really easy. Just leave the block empty

- (void)someFunction {
}

In a patcher, well that's also not a big change

- (void)someFunction {
     if(GetPrefBool(@"kSomething")) {
     }   // Or ' return; '
     return %orig;
}

or

void someFunction(void *self) {
    if(GetPrefBool(@"kSomething")) {
    } else {
        old_someFunction(self);
    }
}

Mmhm I'm enjoying this so much haha you can't imagine !

 

However I will help you because I've got a bit compassion

 

First of all, in downloaded patches from other users every class-type will be displayed as void. You can see it because in the second picture it's returned a boolean so obviously not void (or it won't work).

 

To disable a void function is really easy. Just leave the block empty

 

- (void)someFunction {}
In a patcher, well that's also not a big change
- (void)someFunction {	 if(GetPrefBool(@"kSomething")) {	 }   // Or ' return; '	 return %orig;}
or
void someFunction(void *self) {    if(GetPrefBool(@"kSomething")) {    } else {	    old_someFunction(self);    }}
Where do you learn this stuff? I thought you had to rewrite the app's headers to do this @@Dex Btw code injection works too ;)

Updated by KingRalph

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.