Jump to content

 Something great is coming! 🤖

Stay tuned for the big reveal happening here on iOSGods on the 20th of February!

Bloons tower defense battles hack app source


54 posts in this topic

Recommended Posts

Updated

This is the BTD hack app for 3.4.2/3.4. I won't release the menu source so don't ask :p

No indentation because I code everything on my phone. It bothers you as much as it bothers me :p

RootViewController.mm:

Hidden Content

    #import "RootViewController.h"
    
    #define rgb(rgbValue) [UIColor \
     colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
     green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
     blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
    
    @implementation Popup
    
    -(void) title:(NSString *)MyTitle message:(NSString *)MyMessage {
        UIAlertView *alert = [
            [UIAlertView alloc]
                initWithTitle:MyTitle
                message:MyMessage
                delegate:self
                cancelButtonTitle:@"OK"
                otherButtonTitles:nil
                             ];
        [alert show];
    }
    
    @end
    
    @implementation RootViewController
    - (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setupBackground];
    }
    
    - (void)setupBackground {
    UIColor *onColor = rgb(0x1E824C);
    UIColor *offColor = rgb(0xCF000C);
    
    image = [[UIImageView alloc]initWithFrame:self.view.frame];
    
    image.image = [UIImage imageNamed:@"field.jpg"];
    
    [self.view addSubview:image];
    
    blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight];
    
    effect = [[UIVisualEffectView alloc]initWithEffect:blur];
    effect.frame = CGRectMake(0,450,600,700);
    [self.view addSubview:effect];
    
    title = [[UILabel alloc]initWithFrame:CGRectMake(20,20,280,150)];
    [title setText:@"Bloons Tower Defense Battles v3.4 Hacks"];
    [title sizeToFit];
    title.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:title];
    
    medalLabel = [[UILabel alloc]initWithFrame:CGRectMake(80,135,0,0)];
    [medalLabel setText:@"Infinite Currency - PERMANENT"];
    [medalLabel sizeToFit];
    medalLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:medalLabel];
    
    medalSwitch = [[UISwitch alloc] initWithFrame:CGRectMake(160,155,0,0)];
    [medalSwitch setOnTintColor:onColor];
    [medalSwitch setTintColor:offColor];
    [medalSwitch addTarget:self action:@[member='selectorr'](medalHack:) forControlEvents:UIControlEventValueChanged];
    [self.view addSubview:medalSwitch];
    
    anywhereLabel = [[UILabel alloc]initWithFrame:CGRectMake(80,215,0,0)];
    [anywhereLabel setText:@"Place Towers Anywhere"];
    [anywhereLabel setNumberOfLines:0];
    [anywhereLabel sizeToFit];
    anywhereLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:anywhereLabel];
    
    anywhereSwitch = [[UISwitch alloc] initWithFrame:CGRectMake(160,235,0,0)];
    [anywhereSwitch setOnTintColor:onColor];
    [anywhereSwitch setTintColor:offColor];
    [anywhereSwitch addTarget:self action:@[member='selectorr'](placeAnywhereHack:) forControlEvents:UIControlEventValueChanged];
    [self.view addSubview:anywhereSwitch];
    
    livesLabel = [[UILabel alloc]initWithFrame:CGRectMake(80,295,0,0)];
    [livesLabel setText:@"Infinite Lives In Game"];
    [livesLabel sizeToFit];
    medalLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:livesLabel];
    
    livesSwitch = [[UISwitch alloc] initWithFrame:CGRectMake(160,315,0,0)];
    [livesSwitch setOnTintColor:onColor];
    [livesSwitch setTintColor:offColor];
    [livesSwitch addTarget:self action:@[member='selectorr'](livesHack:) forControlEvents:UIControlEventValueChanged];
    [self.view addSubview:livesSwitch];
    
    freeLabel = [[UILabel alloc]initWithFrame:CGRectMake(80,375,0,0)];
    [freeLabel setText:@"Free Towers/Upgrades"];
    [freeLabel setNumberOfLines:0];
    [freeLabel sizeToFit];
    anywhereLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:freeLabel];
    
    freeTowersSwitch = [[UISwitch alloc] initWithFrame:CGRectMake(160,395,0,0)];
    [freeTowersSwitch setOnTintColor:onColor];
    [freeTowersSwitch setTintColor:offColor];
    [freeTowersSwitch addTarget:self action:@[member='selectorr'](freeTowersHack:) forControlEvents:UIControlEventValueChanged];
    [self.view addSubview:freeTowersSwitch];
    
    remove = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    remove.titleLabel.font = [UIFont fontWithName:@"GillSans-Light" size:23.0f];
    remove.titleLabel.minimumFontSize = 23;
    remove.frame = CGRectMake(-110,480,600,100);
    remove.backgroundColor = [UIColor clearColor];
    [remove setTitle:@"Tap here to remove iOSCheats's repo." forState:UIControlStateNormal];
    [remove addTarget:self action:@[member='selectorr'](removeRepo) forControlEvents:UIControlEventTouchUpInside];
    [remove setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:remove];
    
    repoView = [[UIView alloc]initWithFrame:CGRectMake(0,0,2048,2048)];
    repoView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"colors.jpg"]];
    repoView.hidden = YES;
    [self.view addSubview:repoView];
    
    visit = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    visit.titleLabel.font = [UIFont fontWithName:@"GillSans-Light" size:23.0f];
    visit.titleLabel.minimumFontSize = 23;
    visit.frame = CGRectMake(-110,545,600,100);
    visit.backgroundColor = [UIColor clearColor];
    [visit setTitle:@"Visit iOSGods!" forState:UIControlStateNormal];
    [visit addTarget:self action:@[member='selectorr'](gotoIG) forControlEvents:UIControlEventTouchUpInside];
    [visit setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:visit];
    
    ig = [[UIView alloc]initWithFrame:CGRectMake(0,0,2048,2048)];
    ig.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"colors.jpg"]];
    ig.hidden = YES;
    [self.view addSubview:ig];
    
    hostsButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    hostsButton.titleLabel.font = [UIFont fontWithName:@"GillSans-Light" size:16.0f];
    hostsButton.titleLabel.minimumFontSize = 16;
    hostsButton.frame = CGRectMake(-110,420,600,100);
    hostsButton.backgroundColor = [UIColor clearColor];
    [hostsButton setTitle:@"If you've used iOSCheats's stolen hacks before, tap this." forState:UIControlStateNormal];
    [hostsButton addTarget:self action:@[member='selectorr'](editHosts) forControlEvents:UIControlEventTouchUpInside];
    [hostsButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:hostsButton];
    
    hosts = [[UIView alloc]initWithFrame:CGRectMake(0,0,2048,2048)];
    hosts.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"colors.jpg"]];
    hosts.hidden = YES;
    [self.view addSubview:hosts];
    
    shmoo = [[UILabel alloc]initWithFrame:CGRectMake(65,620,0,0)];
    shmoo.font = [UIFont fontWithName:@"GillSans-Light" size:30.0f];
    [shmoo setText:@"App made by shmoo."];
    [shmoo sizeToFit];
    shmoo.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:shmoo];
    
    tut = [[UILabel alloc]initWithFrame:CGRectMake(75,480,0,0)];
    tut.font = [UIFont fontWithName:@"GillSans-Light" size:14.0f];
    [tut setText:@"Tutorial made by DeathScripts, not me."];
    [tut sizeToFit];
    tut.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:tut];
    
    Popup *upscale = [[Popup alloc] init];
    [upscale title:@"Alert" message:@"If you aren't on an iPhone 6, you'll want to use Upscale from Cydia to set your resolution to iPhone 6 to see the whole app :P"];
    }
    
    - (void)medalHack:(id)sender {
    if([sender isOn]){
    Popup *medalHack = [[Popup alloc] init];
    [medalHack title:@"Cheats" message:@"Currency cheat enabled"];
    
    system("exec /Applications/btdhackapp.app/medals/applyMedals");
    }
    else{
    Popup *medalHack1 = [[Popup alloc] init];
    [medalHack1 title:@"Cheats" message:@"Currency cheat disabled"];
    
    system("exec /Applications/btdhackapp.app/medals/reverseMedals");
    }
    }
    
    - (void)placeAnywhereHack:(id)sender {
    if([sender isOn]){
    Popup *placeHack = [[Popup alloc] init];
    [placeHack title:@"Cheats" message:@"Place towers anywhere enabled"];
    
    system("exec /Applications/btdhackapp.app/anywhere/applyAnywhere");
    }
    else{
    Popup *placeHack1 = [[Popup alloc] init];
    [placeHack1 title:@"Cheats" message:@"Place towers anywhere disabled"];
    
    system("exec /Applications/btdhackapp.app/anywhere/reverseAnywhere");
    }
    }
    
    - (void)livesHack:(id)sender {
    if([sender isOn]){
    Popup *livesHack1 = [[Popup alloc] init];
    [livesHack1 title:@"Cheats" message:@"Infinite lives in game enabled"];
    
    system("exec /Applications/btdhackapp.app/lives/applyLives");
    }
    else{
    Popup *livesHack2 = [[Popup alloc] init];
    [livesHack2 title:@"Cheats" message:@"Infinite lives in game disabled"];
    
    system("exec /Applications/btdhackapp.app/lives/reverseLives");
    }
    }
    
    - (void)freeTowersHack:(id)sender {
    if([sender isOn]){
    Popup *towersHack = [[Popup alloc] init];
    [towersHack title:@"Cheats" message:@"Free towers/upgrades enabled"];
    
    system("exec /Applications/btdhackapp.app/free/applyFree");
    }
    else{
    Popup *towersHack1 = [[Popup alloc] init];
    [towersHack1 title:@"Cheats" message:@"Free towers/upgrades disabled"];
    
    system("exec /Applications/btdhackapp.app/free/reverseFree");
    }
    }
    
    - (void)gotoIG {
    Popup *note = [[Popup alloc] init];
    [note title:@"Alert" message:@"If this is blank right now, it is loading.\nTap back at the bottom left corner to go back."];
    
    ig.hidden = NO;
    
    CGRect Frame = CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height);
    
    igWeb = [[UIWebView alloc]initWithFrame:Frame];
    [igWeb loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.iosgods.com/"]]];
    igWeb.scalesPageToFit = YES;
    [self.view addSubview:igWeb];
    
    goBack = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    goBack.titleLabel.font = [UIFont fontWithName:@"GillSans-Light" size:20.0f];
    goBack.titleLabel.minimumFontSize = 20;
    goBack.frame = CGRectMake(0,570,80,100);
    goBack.backgroundColor = [UIColor clearColor];
    goBack.titleLabel.adjustsFontSizeToFitWidth = YES;
    goBack.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
    goBack.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
    [goBack setTitle:@"back" forState:UIControlStateNormal];
    [goBack addTarget:self action:@[member='selectorr'](backToMain) forControlEvents:UIControlEventTouchUpInside];
    [goBack setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:goBack];
    }
    
    - (void)removeRepo {
    Popup *note = [[Popup alloc] init];
    [note title:@"Alert" message:@"If this is blank right now, it is loading.\nTap back at the bottom left corner to go back."];
    
    repo.hidden = NO;
    
    CGRect Frame = CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height);
    
    repo = [[UIWebView alloc]initWithFrame:Frame];
    [repo loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://iosgods.com/topic/22743-how-to-remove-non-removable-repos/"]]];
    repo.scalesPageToFit = YES;
    [self.view addSubview:repo];
    
    goBack = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    goBack.titleLabel.font = [UIFont fontWithName:@"GillSans-Light" size:20.0f];
    goBack.titleLabel.minimumFontSize = 20;
    goBack.frame = CGRectMake(0,570,80,100);
    goBack.backgroundColor = [UIColor clearColor];
    goBack.titleLabel.adjustsFontSizeToFitWidth = YES;
    goBack.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
    goBack.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
    [goBack setTitle:@"back" forState:UIControlStateNormal];
    [goBack addTarget:self action:@[member='selectorr'](backToMain) forControlEvents:UIControlEventTouchUpInside];
    [goBack setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:goBack];
    }
    
    
    - (void)editHosts {
    Popup *hosts2 = [[Popup alloc] init];
    [hosts2 title:@"Alert" message:@"If this is blank right now, it is loading.\nTap back at the bottom left corner to go back."];
    
    hosts.hidden = NO;
    
    CGRect Frame = CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height);
    
    hostsWeb = [[UIWebView alloc]initWithFrame:Frame];
    [hostsWeb loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://iosgods.com/topic/26797-how-to-access-iosgodscom-with-leechers-tweaks-installed/"]]];
    repo.scalesPageToFit = YES;
    [self.view addSubview:hostsWeb];
    
    goBack = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    goBack.titleLabel.font = [UIFont fontWithName:@"GillSans-Light" size:20.0f];
    goBack.titleLabel.minimumFontSize = 20;
    goBack.frame = CGRectMake(0,570,80,100);
    goBack.backgroundColor = [UIColor clearColor];
    goBack.titleLabel.adjustsFontSizeToFitWidth = YES;
    goBack.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
    goBack.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
    [goBack setTitle:@"back" forState:UIControlStateNormal];
    [goBack addTarget:self action:@[member='selectorr'](backToMain) forControlEvents:UIControlEventTouchUpInside];
    [goBack setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:goBack];
    }
    
    - (void)backToMain {
    [ig removeFromSuperview];
    [repo removeFromSuperview];
    [hostsWeb removeFromSuperview];
    [goBack removeFromSuperview];
    
    [self setupBackground];
    }
    
    @end 



RootViewController.h:

Hidden Content

    @interface Popup:NSObject
    -(void) title:(NSString *)MyTitle message:(NSString *)MyMessage;
    @end
    
    @interface RootViewController: UIViewController {
    //any variables go here
    UILabel *title;
    UILabel *anywhereLabel;
    UILabel *medalLabel;
    UILabel *livesLabel;
    UILabel *freeLabel;
    UILabel *shmoo;
    UILabel *tut;
    UIImageView *image;
    UISwitch *medalSwitch;
    UISwitch *anywhereSwitch;
    UISwitch *livesSwitch;
    UISwitch *freeTowersSwitch;
    UIButton *visit;
    UIButton *remove;
    UIButton *hostsButton;
    UIButton *goBack;
    UIAlertView *alert;
    UIWebView *igWeb;
    UIWebView *repo;
    UIWebView *hostsWeb;
    UIView *repoView;
    UIView *ig;
    UIView *hosts;
    UIVisualEffect *blur;
    UIVisualEffectView *effect;
    }
    @end

  • Our picks

    • Royal Kingdom v26765 +4 Mods [ Coins + More ]
      Mod APK Game Name: Royal Kingdom By Dream Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.dreamgames.royalkingdom&hl=en_GB

       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves
      • 10 replies
    • Royal Kingdom v26765 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 199 replies
    • Disney Solitaire v1.14.2 +2++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/us/app/disney-solitaire/id6475757306?uo=4

       
       

      🤩 Hack Features

      - Unlimited Everything -> Will increase instead of decrease.
      - Free In-App Purchases
      • 66 replies
    • Disney Solitaire v1.14.2 +2 Mods [ Unlimited Everything ]
      Mod APK Game Name: Disney Solitaire by SuperPlay.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.superplaystudios.disneysolitairedreams

       

      🤩 Hack Features

      - Unlimited Everything -> Will increase instead of decrease.
      - Free In-App Purchases
      • 5 replies
    • Idle Miner Tycoon: Gold Games v5.42.0 +100++ Mods [ Game Breaking ]
      Mod APK Game Name: Idle Miner Tycoon: Gold Games By Kolibri Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.fluffyfairygames.idleminertycoon

       

      🤩 Hack Features

      - Debug Menu -> Head over to Settings and toggle the Sound button. 
      • 10 replies
    • Idle Miner Tycoon: Money Games v5.43.0 +100++ Jailed Cheats [ Game Breaking ]
      Modded/Hacked App: Idle Miner Tycoon: Money Games By Kolibri Games GmbH
      Bundle ID: com.fluffyfairygames.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-miner-tycoon-money-games/id1116645064
       

      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Jailbreak required hack(s): [Mod Menu Hack] Idle Miner Tycoon: Money Games v4.4.0 +1++ Cheats [ Game Breaking ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 502 replies
    • Stick Cricket Clash v2.2.10 [ +3 Cheats ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4



      Hack Features:
      - Currency Freeze
      - Score Win All Match
      - Ads Reward 



      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 50 replies
    • Stick Cricket Clash v2.2.10 [ +3 Jailed ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4


      Hack Features:
      - Currency Freeze
      - Score [ Win All Match ]
      - Ads Reward 


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 29 replies
    • Disney Solitaire v1.14.2 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
      • 54 replies
    • Disney Solitaire v1.14.2 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4


      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
      • 58 replies
    • Crozzle - Crossword Puzzles v1.48.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Crozzle - Crossword Puzzles By MAG Interactive AB
      Bundle ID: se.maginteractive.crozzle
      App Store Link: https://apps.apple.com/ph/app/crozzle-crossword-puzzles/id6474729809?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      • 16 replies
    • Crozzle - Crossword Puzzles v1.48.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Crozzle - Crossword Puzzles By MAG Interactive AB
      Bundle ID: se.maginteractive.crozzle
      App Store Link: https://apps.apple.com/ph/app/crozzle-crossword-puzzles/id6474729809?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      • 15 replies
×
  • 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