Jump to content

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


180 posts in this topic

Recommended Posts

Posted

can you be just a little more specific on the finding headers with flex part? im not quite getting it. just a simple step by step tutorial...please??? :wub:

Posted

dont mind what i just said.

 

 

Anyways, THANK YOU SO MUCH FOR THIS TUTORIAL!

 

I have found it very helpful and you just made my life better.

 

imma give you credit on all my ms hacks!

 

any good games to mod for starters?

Posted

I'm following everything correctly here, my tweak compiles and installs fine, but it doesn't seem to be working. My code is ok, bundle location is correct, am I completely missing something?

thank you for this awesome tutorial.

what programming language is that?

The language is Objective C
Posted (edited)

So basically MS  you use to rewrite a function or whatever it's called?

 

Tell me something i have this here in Flex.

 

-(void) setLotsOCoins:(id)

 

so the argument is NULL  and Pass-through

 

so i can rewrite that to:

-(void)setLotsOCoins:(int)argument {
argument = 999999;
}

? thank you.

 

Another thing, that i'm confused about is after the .deb is done how do the file knows where to install it self?

does it install in the game folder , or where i specify what is the game and where should it be installed?

 

thank you.

Updated by Fred22
Posted (edited)

 

Your code should be like this:

-(void) setLotsOCoins:(int)coins
{
%orig(999999);
}

When creating a project in THEOS, it will ask you for this

[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: "bundleid"

And taht is where you will put the bundle id and it will install itself.

Updated by Diiversityyyy
Posted

Your code should be like this:

-(void) setLotsOCoins:(int)coins
{
%orig(999999);
}

When creating a project in THEOS, it will ask you for this

[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: "bundleid"

And taht is where you will put the bundle id and it will install itself.

 

hmm ok what is %orig? oh argument is the name of the thing i'm changing? it could be like gold too?

 

Where do i get the App Bundle ID correctly?

 

Thank you <3

Posted

hmm ok what is %orig? oh argument is the name of the thing i'm changing? it could be like gold too?

 

Where do i get the App Bundle ID correctly?

 

Thank you <3

When there is an argument, you add a name to it. %orig are used for those.

App Bundle ID can be found in the ItunesMetadata.plist :)

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