Jump to content

Theos Tweak making help


Go to solution Solved by castix,

20 posts in this topic

Recommended Posts

Posted (edited)

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

Looks like you have referred Flex2 , you need to class dump files in order to have a good look at target classes

Updated by Vegito
Posted (edited)

Good to know, don't know how to do that

i'll guide you through it, right now i am going to college i will be back in 6 hours till then you can ask others for help , if you don't get any help i will help you out, safety and peace bro, Adios!

Updated by Vegito
  • Solution
Posted

- (void)setCoins:(int)fp8 {

fp8 = 999999;

%orig;

}

 

- (bool)hasUnlockedProduct:(id)fp8 {

return true;

}

 

- (bool)unlocked {

return true;

}

 

- (void)setUnlocked:(bool)fp8 {

fp8 = true;

%orig;

}

 

- (int)coins {

return 999999;

}

Posted

 

- (void)setCoins:(int)fp8 {
fp8 = 999999;
%orig;
}

- (bool)hasUnlockedProduct:(id)fp8 {
return true;
}

- (bool)unlocked {
return true;
}

- (void)setUnlocked:(bool)fp8 {
fp8 = true;
%orig;
}

- (int)coins {
return 999999;
}
I shall try this, thank you

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