Jump to content

Theos Tweak making help


Go to solution Solved by castix,

20 posts in this topic

Recommended Posts

Posted

%hook Phoenixuser

-(int)coins {

return 1999999999;

}

 

Phoenixuser

-(bool)isShipPermanentlyUnlocked {

return true;

}

%end

 

 

 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Phoenix HD 2.6.0 Hack by Lord Alucard ( ͡° ͜ʖ ͡°)" message:@"Enjoy the hack and visit iOSGods.com for more" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

It's probably horrible, buts it a learning experience. First attempt at a tweak for me

Posted (edited)

%hook Phoenixuser
-(int)coins {
return 1999999999;
}

 

-(bool)isShipPermanentlyUnlocked {
return true;
}
%end

 

 

Since they have same Class, so it can have many in 1.

Updated by Amuyea
Posted

What's your tweak.xm?

I don't know what I'm doing :sad:

 

esnlhj.jpg

 

First time for everything

%hook Phoenixuser

-(int)coins {

return 1999999999;

}

 

-(bool)isShipPermanentlyUnlocked {

return true;

}

 

-(void)setCoins:(int) {

return pass-through

Argument 1999999999

}

%end

 

%hook ShipIconView

-(void) setunlocked {

return pass-through

Argument true

}

 

-(bool) unlocked {

return true

}

%end

 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Phoenix HD 2.6.0 Hack by Lord Alucard ( ͡° ͜ʖ ͡°)" message:@"Enjoy the hack and visit iOSGods.com for more" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

 

 

 

 

Tweak.xm

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