Jump to content

Help with Converting flex void values to Patcher


Go to solution Solved by castix,

8 posts in this topic

Recommended Posts

Posted (edited)

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
Posted

Stop using Flex Cloud -_-

 

its the same as leeching

True lol xD

  • Solution
Posted

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);
    }
}
Posted (edited)

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines