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

    • Shadow Survival Vampire game v1.8.4 [ +5 Cheats ] OHK
      Modded/Hacked App: Shadow Survival: Vampire game By AlohaFactory
      Bundle ID: com.LiberalDust.DarkSurvival2
      iTunes Store Link: https://apps.apple.com/us/app/shadow-survival-vampire-game/id6467580965?uo=4


      Hack Features:
      - Anti-Cheat

      - Skill Cooldown

      - Damage

      - Good Mod [ Get Skill Between The Playing ]

      - Pickup Range
      • 38 replies
    • Shadow Survival Vampire game v1.8.4 [ +5 Jailed ] OHK
      Modded/Hacked App: Shadow Survival: Vampire game By AlohaFactory
      Bundle ID: com.LiberalDust.DarkSurvival2
      iTunes Store Link: https://apps.apple.com/us/app/shadow-survival-vampire-game/id6467580965?uo=4


      🚀 Hack Features

      - Anti-Cheat

      - Skill Cooldown

      - Damage

      - Good Mod [ Get Skill Between The Playing ]

      - Pickup Range
      • 16 replies
    • Match Heroes - RPG v4.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Match Heroes - RPG By Tapugo FZCO
      Bundle ID: com.tapugo.matchheroes
      App Store Link: https://apps.apple.com/ph/app/match-heroes-rpg/id6749947030?uo=4

      🤩 Hack Features

      - Unlimited Gold / Arena Rewards
      - Unlimited HP
      - Unlimited ATK
      - Unlimited DEF
      • 4 replies
    • Match Heroes - RPG v4.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Match Heroes - RPG By Tapugo FZCO
      Bundle ID: com.tapugo.matchheroes
      App Store Link: https://apps.apple.com/ph/app/match-heroes-rpg/id6749947030?uo=4

      🤩 Hack Features

      - Unlimited Gold / Arena Rewards
      - Unlimited HP
      - Unlimited ATK
      - Unlimited DEF
      • 2 replies
    • Darkest Hero! v0.1.4 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
      • 24 replies
    • Darkest Hero! v0.1.4 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
      • 27 replies
    • Paradise Paws: Merge Animals v1.0.35 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4


      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
      • 69 replies
    • Paradise Paws: Merge Animals v1.0.35 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4
       

      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
      • 48 replies
    • Starbrew Cafe: Mystical Merge v1.65.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Starbrew Cafe: Mystical Merge By Extra Dimension Games Inc.
      Bundle ID: games.extradimension.cafemerge
      App Store Link: https://apps.apple.com/us/app/starbrew-cafe-mystical-merge/id6456751444?uo=4

        

      🤩 Hack Features

      - Gems      --- In Store Buy Items [ Items Sale Price ] Show Free When You Buy Then Get Gems
      - Coins
      - Energy [ Buy Cost 0 ]
      - All Order Completed
      • 19 replies
    • Starbrew Cafe: Mystical Merge v1.65.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Starbrew Cafe: Mystical Merge By Extra Dimension Games Inc.
      Bundle ID: games.extradimension.cafemerge
      App Store Link: https://apps.apple.com/us/app/starbrew-cafe-mystical-merge/id6456751444?uo=4
       

      🤩 Hack Features

      - Gems  --- In Store Buy Items [ Items Sale Price ] Show Free When You Buy Then Get Gems
      - Coins
      - Energy [ Buy Cost 0 ]
      - All Order Completed
      • 21 replies
    • Star2 Random Defense(S2RD) v1.0.9 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Star2 Random Defense(S2RD) By Springcomes Co., Ltd.
      Bundle ID: com.gaimstudio.s2rd
      App Store Link: https://apps.apple.com/us/app/star2-random-defense-s2rd/id6739694467?uo=4

       

      🤩 Hack Features

      - Freeze Food
      - Freeze Silver
      - Freeze Essence
      - Freeze Either
      - Freeze Gold
      - Freeze Diamonds
      - Freeze Energy

      VIP
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Diamonds -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      • 14 replies
    • Epic Shaman Battle: 4P Defense v1.5.2 +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Epic Shaman Battle: 4P Defense By Crater Co., Ltd.
      Bundle ID: com.percent.ios.p4defense
      iTunes Store Link: https://apps.apple.com/us/app/epic-shaman-battle-4p-defense/id6511224754?uo=4

       


      🤩 Hack Features

      - God Mode
      - Damage Multiplier
        • Like
      • 44 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