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

    • Obsidian Knight RPG v1.200.12 [+3 Jailed Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4



      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 30 replies
    • Obsidian Knight RPG v1.200.12 [+3 Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4

       

      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
        • Agree
        • Haha
        • Winner
        • Like
      • 31 replies
    • Margonem Adventures v2.4.6 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
        • Like
      • 24 replies
    • Margonem Adventures v2.4.6 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
        • Agree
        • Winner
        • Like
      • 16 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 70 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 94 replies
    • Fortress: Stickman Trenches v3.5 [+2 Jailed Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4



      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
        • Like
      • 2 replies
    • Fortress: Stickman Trenches v3.5 [+2 Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4


      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
       
      • 1 reply
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Agree
        • Winner
        • Like
      • 5 replies
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Winner
        • Like
      • 2 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Jailed Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4

       

      🤩 Hack Features

      - Debug Menu
        • Haha
        • Winner
        • Like
      • 12 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4



      🤩 Hack Features

      - Debug Menu
       
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 19 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