Jump to content

klashksa

Senior Member
  • Posts

    472
  • Joined

  • Last visited

Everything posted by klashksa

  1. This is My tweak.xm @xiaov #import "vm_writeData.h" #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #define string @"Jdcc@4723" UIAlertView *alert; %hook AutoRapAppDelegate - (char)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { NSString *vActivateStr = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/xiaov.txt"]; vActivateStr= [NSString stringWithContentsOfFile:vActivateStr encoding:NSUTF8StringEncoding error:nil]; if ([vActivateStr isEqualToString:string]) { [NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(gameActivateSucess) userInfo:nil repeats:NO]; return %orig; } else { [NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(gameActivateFailed) userInfo:nil repeats:NO]; return %orig; } } %new -(void)gameActivateSucess { UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"title" message: @"Activated Sucess" delegate:self cancelButtonTitle:@"ok" otherButtonTitles: nil]; [alert show]; [alert release]; } %new -(void)gameActivateFailed { alert = [[UIAlertView alloc] initWithTitle:@"Title" message:@"Please enter your password" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles: @"Login", nil]; alert.alertViewStyle = UIAlertViewStylePlainTextInput; [alert show]; [alert release]; } %new - (void)alertView:alert clickedButtonAtIndex:(NSInteger)buttonIndex { if (buttonIndex == 0) { } if (buttonIndex == 1) { NSString *passwordStr = [alert textFieldAtIndex:0].text; NSData *data = [passwordStr dataUsingEncoding:NSUTF8StringEncoding]; NSString *directoryStr = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/xiaov.txt"]; [data writeToFile:directoryStr atomically:YES]; //AutoRapVIP.plist exit(0); } } %end %hook AutoRapStyle -(bool)isFree { return true; } %end %hook Listing -(bool)isFree { return true; } %end %hook MagicSubscriptionManager -(bool)isSubscriptionActive { return true; } -(bool)isActive { return true; } -(bool)loaded { return true; } -(bool)isPromo { return true; } -(bool)isPromoSubscription { return true; } %end
  2. @xiaov I made unlocked VIP hack for AutoRap App after that I uploaded Dylib file in CPloader License . see the video My question is Why The hack is working when I click on Cancel ? Sorry my English is not good I hope you understand
  3. When I click on cancel the app is working and the hack is working automatically. can u help me plz @xiaov
×
  • 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