Jump to content

20 posts in this topic

Recommended Posts

Posted
4 hours ago, Ted2 said:

Send tweak.xm using ghostbin :) 

Done

4 hours ago, Amuyea said:

I see that you have the error. Try this.


%hook CupidIAPHelper
-(void)setIsVipMember:(bool)arg1 {
arg1 = TRUE;
}
%end

Guide: https://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/

 

I did that i turned the return to argument before i post that but then the hack didn't work, so i said maybe something is wrong let me ask for help x'D 

but then after recheking we had the init class wrong cupid.setting it should've been Cupid.UserSetting i fixed this but the hack still doesn't work ? 

Posted
19 hours ago, Demi-God said:

Done

I did that i turned the return to argument before i post that but then the hack didn't work, so i said maybe something is wrong let me ask for help x'D 

but then after recheking we had the init class wrong cupid.setting it should've been Cupid.UserSetting i fixed this but the hack still doesn't work ? 

Did you install the deb right? In flex, it's fine?

Posted
9 hours ago, Amuyea said:

Did you install the deb right? In flex, it's fine?

Yup in flex its fine but as tweak it doesn't work

Posted
4 hours ago, Demi-God said:

Yup in flex its fine but as tweak it doesn't work

Tweak.xm? 

Posted
1 hour ago, Amuyea said:

SHouldn't it be 

-(void)setIsVipMember

-(bool)isVipMember

-(bool)isVipMember

? It have to be exact the same spelling, lower case etc. 

Like in this picture.

https://imgur.com/a/Ihhai

sh!t how did i miss that xD let me check 

Posted

Shouldn't it have this at the top?

                           vvv

#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook CupidSetting

-(void)SetIsVipMember:(bool)arg1 {
arg1 = TRUE;
}
%end

%hook CupidIAPHelper

-(bool)IsVipMember {
return TRUE;
}
%end

%hook CupidSetting

-(bool) IsVipMember {
return TRUE;
}

%end

%hook CupidAppDelegate

-(void)applicationDidBecomeActive:(id)arg { 

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Enjoy your free VIP" 
                                                  message:@"Hacked by Demi-God for iOSGods.com!!" 
                                                 delegate:self 
                                        cancelButtonTitle:@"Close" 
                                        otherButtonTitles:@"Similar apps", nil]; 
[credits show];
[credits release]; 
return %orig;
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
        if([button isEqualToString:@"Similar apps"])
        {
                [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iOSGods.com/topic/60935-hmu-get-more-friends-views-free-vip"]];                                                                                
        }
}
%end

%ctor {
    %init(CupidSetting = objc_getClass("Cupid.UserSetting"), CupidIAPHelper = objc_getClass("Cupid.IAPHelper"), CupidAppDelegate = objc_getClass("Cupid.AppDelegate"));
};

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