Jump to content

Struggles with MSHook New way


Go to solution Solved by Rook,

43 posts in this topic

Recommended Posts

Posted

Hey..

 

I'm trying to use the MSHook new way, this one: https://iosgods.com/topic/4295-tutorial-how-to-hack-with-mshook-new-way/

 

it was going very good, but the problem is that I wanna use it with the Preference Bundle.. with that way above you return it and that's what it is, I wanna return it to true or false using the Preference bundle when I want

 

So, I tried the MSHook Generator Online, but every time I use that nothing works,

 

My question is, how can I make this code for a preference bundle?

bool isReverse()
return true;
}

 

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution
Posted

The online generator works fine. You're just probably doing it all wrong.

 

Always check your keys, your plist name, your bundle ID and the features itself.

Posted

The online generator works fine. You're just probably doing it all wrong.

 

Always check your keys, your plist name, your bundle ID and the features itself.

hmm okey then, tell me what am I doing wrong? 

I do the exact same in the online generator, this one codes it diffrent and then my code is not working :(

Posted

bool isReverse {

return TRUE;

}

Yeah tried this :/ it says: expect ';' 

bool isReverse {
return TRUE;
}

and when I do that it says: expected unqualified-id

Posted

Yeah tried this :/ it says: expect ';' 

bool isReverse {
return TRUE;
}

and when I do that it says: expected unqualified-id

 

when you compile? can i see your tweak.xm?

Posted

thats why, you need to hook each target class,

 

you're forgetting the %hook (target class)

yeahh.. well.. somehow the MSFindSymbol only works... (_bikeInfo_isReverse)

Posted (edited)

-(bool) isReverse {

return TRUE;

}

 

yeahh.. well.. somehow the MSFindSymbol only works... (_bikeInfo_isReverse)

can i see the flex patch?

Updated by Dannyyy

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