Jump to content

[TUTORIAL] How To Hack Using Mobile Substrate (Method Hooking)


180 posts in this topic

Recommended Posts

Posted

Thanks :- i got it and also i couldnt copy/paste properly cuz i am using taptalk and it was adding or ignoring some characters :-)

 

 

I am so happy this is the start of something big for me :-)

 

I like to see how things work and then play with them. :-) my next steps will convert some of my flex tweaks and them add preferences bundle(i hope the i have the right idea of what preference bundles are, if they are the menus that add to setting and you can turn on/off the tweak k got it right lol) :-)

Yeah, you did it! :D

 

You can find preference bundles tutorial here: http://iosgods.com/topic/444-tutorial-how-to-make-a-preference-bundle/

Posted

I get the UI but it appear every time i leave the application(move in the multitask) and not only when i first open the app, when it appear when the app start is all good but when it appears after i come from the multitask the app stop responding. Any ideas? Should i hook another header?

Posted

I get the UI but it appear every time i leave the application(move in the multitask) and not only when i first open the app, when it appear when the app start is all good but when it appears after i come from the multitask the app stop responding. Any ideas? Should i hook another header?

The UI popup can be buggy on some games so I would look for another header like ApplicationDidTerminate (or something like that) to show the popup when the app is closed. :)

Posted

Can you hook the UI to any class and method? Or have to be a -(void)XXXX:(id)?

I haven't tried it but I'm guessing you can hook the UI popup to other methods also. Give it a try and let me know! :)

Posted

I haven't tried it but I'm guessing you can hook the UI popup to other methods also. Give it a try and let me know! :)

I was reading through the post and i think i found the way around but IDK how to do it.

 

Since i am hooking the UI to the AppdidBecomeActive every time i come from the multitask the app become active again the the UI is call, so how can i set a IF statement that disable the UI after the 1) the first time it was call or 2) the user press the "Thanks" button, my idea declaring a variant when the code start and set it to true and when that variant is true the UI is call and the "thanks" button will make the variant false and the UI wont b called again. Or

Declare a cumulative variant and every time the UI is called add 1 to the variant(initial value 0) and while the variant is <1 the UI is call.

 

 

What is the best way to do this and how i do the coding for it. I though about doing a new post but i posted my code here early so it will give you a better idea of what i am trying to do..!!!

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