Jump to content

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

    • Claw Quest: Roguelike RPG v1.1.2 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Claw Quest: Roguelike RPG By Hexpion Pte. Ltd.
      Bundle ID: com.hexpion.sixpzeroeight
      App Store Link: https://apps.apple.com/us/app/claw-quest-roguelike-rpg/id6749590073?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Month Cards Active
      - Daily Rewards
      - Premium Pass Active
      - Unlimited Battle Coins / Use In Battle Store
      - Unlimited Battle Crystal / Use In Battle Store
      - Unlimited Battle Mana / Use In Battle Store
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited S Keys
      - Unlimited Legendary Keys
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Shard
      • 8 replies
    • Claw Quest: Roguelike RPG v1.1.2 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Claw Quest: Roguelike RPG By Hexpion Pte. Ltd.
      Bundle ID: com.hexpion.sixpzeroeight
      App Store Link: https://apps.apple.com/us/app/claw-quest-roguelike-rpg/id6749590073?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Month Cards Active
      - Daily Rewards
      - Premium Pass Active
      - Unlimited Battle Coins / Use In Battle Store
      - Unlimited Battle Crystal / Use In Battle Store
      - Unlimited Battle Mana / Use In Battle Store
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited S Keys
      - Unlimited Legendary Keys
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Shard
      • 14 replies
    • Ninja Scroll Rush v0.2.7 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Ninja Scroll Rush By Yso Corp
      Bundle ID: com.YsoCorp.NinjaScrollRush
      App Store Link: https://apps.apple.com/us/app/ninja-scroll-rush/id6755685134?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Keys +3
      - Unlimited Coins
      - Unlimited EXP / Faster LvL UP
      - HP MAX
      - ATK MAX
      - DEF MAX
      - Skill CD
      • 5 replies
    • Ninja Scroll Rush v0.2.7 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Ninja Scroll Rush By Yso Corp
      Bundle ID: com.YsoCorp.NinjaScrollRush
      App Store Link: https://apps.apple.com/us/app/ninja-scroll-rush/id6755685134?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Keys +3
      - Unlimited Coins
      - Unlimited EXP / Faster LvL UP
      - HP MAX
      - ATK MAX
      - DEF MAX
      - Skill CD
      • 3 replies
    • Merge Cats: Catopia Puzzle v1.6.3 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Merge Cats: Catopia Puzzle By Sticky Hands Inc.
      Bundle ID: com.stickyhands.mergecats
      App Store Link: https://apps.apple.com/us/app/merge-cats-catopia-puzzle/id6746182545?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Energy
      • 4 replies
    • Merge Cats: Catopia Puzzle v1.6.3 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Merge Cats: Catopia Puzzle By Sticky Hands Inc.
      Bundle ID: com.stickyhands.mergecats
      App Store Link: https://apps.apple.com/us/app/merge-cats-catopia-puzzle/id6746182545?uo=4
      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Energy
      • 5 replies
    • Portal Survivor v1.10.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
      • 25 replies
    • Portal Survivor v1.10.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
      • 24 replies
    • Tower And Bows v1.313 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Tower And Bows By Jisu Im
      Bundle ID: com.Jaems.TowerAndBows
      App Store Link: https://apps.apple.com/us/app/tower-and-bows/id6737190028?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - Critical DMG
      - Critical Multi
      • 9 replies
    • Tower And Bows v1.313 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Tower And Bows By Jisu Im
      Bundle ID: com.Jaems.TowerAndBows
      App Store Link: https://apps.apple.com/us/app/tower-and-bows/id6737190028?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - Critical DMG
      - Critical Multi
      • 6 replies
    • Super Heavy Iron Tank v1.0.3 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Auto Win
      - Energy Unlimited
      - Auto Skip Wave
      - Quick Supply
      • 3 replies
    • Super Heavy Iron Tank v1.0.3 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Energy Unlimited
      - Auto Skip Wave
      - Auto Win
      - Quick Supply
      • 3 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