Jump to content

Bloons tower defense battles hack app source


Guest

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

  • Replies 53
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Crossy Road +5 Mods [ Unlimited Coins ]
      Mod APK Game Name: Crossy Road By HIPSTER WHALE
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.yodo1.crossyroad

       

      🤩 Hack Features

      - Unlimited Coins -> Earn some.
      - God Mode
      - Score Hack -> Earn 100 points for every jump.
      -- All Characters Unlocked
      -- No Ads
      • 0 replies
    • Triple Fantasy: Card RPG +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Triple Fantasy: Card RPG By Gameplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.Gameplete.CardFantasy

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Crossy Road +5 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Crossy Road By Hipster Whale Pty Ltd
      Bundle ID: com.hipsterwhale.crossy
      iTunes Store Link: https://apps.apple.com/us/app/crossy-road/id924373886?uo=4


      Hack Features:
      - Unlimited Coins -> Earn some.
      - God Mode
      - Score Hack -> Earn 100 points for every jump.
      -- All Characters Unlocked
      -- No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Crossy Road v6.5.0 +5 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/
      • 68 replies
    • Mini Soccer Star 2026 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2026 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      App Store Link: https://apps.apple.com/us/app/mini-soccer-star-2026/id1636072966?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Will not decrease.
        • Agree
      • 199 replies
    • Boom Karts Multiplayer Racing +2 Jailed Cheats [ Cars/Emotes Unlocked ]
      Modded/Hacked App: Boom Karts Multiplayer Racing By Fingersoft
      Bundle ID: com.fingersoft.boomkarts
      iTunes Store Link: https://apps.apple.com/us/app/boom-karts-multiplayer-racing/id1553445732
       

      Hack Features:
      - All Cars Unlocked
      - All Emotes Unlocked


      Jailbreak required hack(s): https://iosgods.com/topic/171957-boom-karts-multiplayer-racing-v1300-2-cheats-carsemotes-unlocked/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 40 replies
    • Triple Fantasy +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Triple Fantasy By Gameplete
      Bundle ID: com.Gameplete.CardFantasy
      iTunes Store Link: https://apps.apple.com/us/app/triple-fantasy/id1018725872?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 24 replies
    • Vampire Survivors +4 Mods [ Damage & Defence ]
      Mod APK Game Name: Vampire Survivors By Poncle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.poncle.vampiresurvivors

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      - Unlock All Weapons -> Head over to Options and toggle the Sounds button.
      • 1 reply
    • Tattoo Studio Simulator +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tattoo Studio Simulator By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.dmg.tattoo.studio.simulator
      App Store Link: https://apps.apple.com/us/app/tattoo-studio-simulator/id6743083378?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads
      • 11 replies
    • Lunar Order +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Lunar Order By Now to Play Game Sucursal en España
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.n2pg.lo

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 3 replies
    • War Inc: Guard +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: War Inc: Guard By SamShui Corporation
      Bundle ID: com.i89trillion.strategy.guard
      App Store Link: https://apps.apple.com/us/app/war-inc-guard/id6747061394?uo=4

       
       

      🤩 Hack Features

      - One-Hit Kill
      - Attack Speed
      • 8 replies
    • Dynasty Warriors ( 真・三國無双 覇 ) +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: 真・三國無双 覇 By SUPERNOVA OVERSEAS LIMITED
      Bundle ID: com.supernova.ssgms.jp.ios
      App Store Link: https://apps.apple.com/jp/app/%E7%9C%9F-%E4%B8%89%E5%9C%8B%E7%84%A1%E5%8F%8C-%E8%A6%87/id6461309538?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 12 replies
    • Mystery Matters +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

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

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      • 64 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