Jump to content

8 posts in this topic

Recommended Posts

Posted

First time making a game hack and trying to convert my flex hack into a .deb but I’m having a couple of problems. I’m using my JB iPhone 6+ on iOS 11.3 and using the 3.1 NIC Template provided on here. I’m also doing MS hacking

My first issue is I can’t get bools to work, I looked at the MS hooking method but can’t get mine to work for some reason. I know I have the right target class and target method since it worked on flex.

second issue is I want the user to be able to set a custom amoun of money. I did look at the tut that showed how to do it but I wasn’t able to get it working, I got the text cell to appear but it didn’t work and I got kinda lost since I’m using the preset template. 

If someone can help me out that would be great. 

Posted (edited)
1 hour ago, Amuyea said:

Show your Flex cheat & Tweak.xm

Hidden Content
    Tweak.xm

    @import Foundation;

    @import UIKit;

    #import <substrate.h>

    #import "vm_writeData.h"

     

    // To MSHook Offsets, use https://iosgods.com/topic/22718-mshook-offsets/

    // To Generate Tweak.xm and Preferences Plist https://iosgods.com/topic/24138-code-inject/

     

    #define PLIST_PATH @"/var/mobile/Library/Preferences/com.elantraxs.bitlifehacks.plist"

     

    inline bool GetPrefBool(NSString *key) {

            return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

    }

     

     

    // Add your MS/Flex/MSHook Code here. Examples can be found on iOSGods.

     

    %hook Apollo16SimFinances

     

    -(bool) willAgreeToSpendTime {

     

    return TRUE;

     

    }

     

    -(bool) shouldSufferMiscarriage {

     

    return FALSE;

     

    }

     

    -(bool) willAcceptMarriageProposal {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToHaveBaby {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToRenewWeddingVows {

     

    return TRUE;

     

    }

     

    -(bool) willAcceptToDateHero {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToThreesome {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToChangeNameAfterMarriage {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToSignPrenup {

     

    return TRUE;

     

    }

     

    -(bool) willInsistOnPrenup {

     

    return FALSE;

     

    }

     

    -(bool) demandedWedding {

     

    return FALSE;

     

    }

     

    -(bool) demandedHouse {

     

    return FALSE; 

     

    }

     

    -(bool) demandedCar {

     

    return FALSE;

     

    }

     

    %end

     

    // Automatic Popup Code

    void setup() {

        UIAlertController *igcredits = [UIAlertController alertControllerWithTitle:@"Made for iOSGods.com" message:@"Bitlife Cheats by El Antraxs for iOSGods.com!\n\nVisit the hack's official topic on iOSGods for more information and updates!" preferredStyle:UIAlertControllerStyleAlert];

     

     

        UIAlertAction *iosgods = [UIAlertAction actionWithTitle:@"Visit iOSGods.com!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){

            UIApplication *application = [UIApplication sharedApplication];

            NSURL *URL = [NSURL URLWithString:@"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"];

            [application openURL:URL options:@{} completionHandler:^(BOOL success) {

                if (success) {

                    //NSLog(@"Opened url");

                }

            }];

            

        }];

        

        UIAlertAction *clubs = [UIAlertAction actionWithTitle:@"Visit the Clubs!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){

            UIApplication *application = [UIApplication sharedApplication];

            NSURL *URL = [NSURL URLWithString:@"https://iosgods.com/clubs/"];

            [application openURL:URL options:@{} completionHandler:^(BOOL success) {

                if (success) {

                    //NSLog(@"Opened url");

                }

            }];

        }];

        

        UIAlertAction *thankyou = [UIAlertAction actionWithTitle:@"Thank you!" style:UIAlertActionStyleCancel handler:nil];

        

        [igcredits addAction:iosgods];

        [igcredits addAction:clubs];

        [igcredits addAction:thankyou];

     

     

        [[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:igcredits animated:true completion:nil];

    }

     

    void unsubscribeToLaunchEvent(void);

     

    static void didFinishLaunching(CFNotificationCenterRef center, void *observer,

                                   CFStringRef name, const void *object, CFDictionaryRef info) {

        setup();

        unsubscribeToLaunchEvent();

    }

     

    const char *authObserver = "authObserver";

     

    void subscribeToLaunchEvent() {

        CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), authObserver, &didFinishLaunching,

                                        (CFStringRef)UIApplicationDidFinishLaunchingNotification,

                                        NULL, CFNotificationSuspensionBehaviorDrop);

    }

     

    void unsubscribeToLaunchEvent() {

        CFNotificationCenterRemoveObserver(CFNotificationCenterGetLocalCenter(), authObserver,

                                           (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL);

    }

     

    __attribute__((constructor)) static void initialize() {

        subscribeToLaunchEvent();

    }

     

    https://gyazo.com/ed45680af63a1510497a3a2db1609e33

 

Updated by El Antraxs
Posted

Where's your text input?

1. Also, are you sure all functions are in the Apollo16SimFinances class?

2. in the .plist in the root of your project, do you have the CORRECT bundle ID same as the app?
- if not, get it from: https://www.armconverter.com/appinfo

 

3. You know that you're directly patching the funcs? This here:

inline bool GetPrefBool(NSString *key) {
        return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

is never used.

 

Posted
6 minutes ago, Joey said:

Where's your text input?

1. Also, are you sure all functions are in the Apollo16SimFinances class?

2. in the .plist in the root of your project, do you have the CORRECT bundle ID same as the app?
- if not, get it from: https://www.armconverter.com/appinfo

 

3. You know that you're directly patching the funcs? This here:


inline bool GetPrefBool(NSString *key) {
        return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

is never used.

 

I started fresh so I didn’t add the text input as I just wanted to get it all working first. I did notice I wrote the wrong class target for the target method. That’s the website I used to get my bundle ID, only thing I deleted from the preset template was the example cheats, so I can delete the “inline bool”?

Posted
1 minute ago, El Antraxs said:

I started fresh so I didn’t add the text input as I just wanted to get it all working first. I did notice I wrote the wrong class target for the target method. That’s the website I used to get my bundle ID, only thing I deleted from the preset template was the example cheats, so I can delete the “inline bool”?

Yea, but you can leave it too, doesn't do any harm.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • EndZone: Defend and Survive v1.0.1 [+3 Cheats]
      Modded/Hacked App: EndZone: Defend and Survive By Artemis Aura Limited
      Bundle ID: com.jiujiu.zombiedefense
      App Store Link: https://apps.apple.com/us/app/endzone-defend-and-survive/id6742880291?uo=4



      🤩 Hack Features

      - Never Die
      - Always Can Upgrade
      - No Resource Cost
       
      • 0 replies
    • EndZone: Defend and Survive v1.0.1 [+3 Jailed Cheats]
      Modded/Hacked App: EndZone: Defend and Survive By Artemis Aura Limited
      Bundle ID: com.jiujiu.zombiedefense
      App Store Link: https://apps.apple.com/us/app/endzone-defend-and-survive/id6742880291?uo=4



      🤩 Hack Features

      - Never Die
      - Always Can Upgrade
      - No Resource Cost
      • 0 replies
    • Island War Raid V5.8.2 [ +2 Cheats ] Win Fight
      Modded/Hacked App: Island War: Raid By SamShui Corporation
      Bundle ID: com.addictive.strategy.island.clash
      iTunes Store Link: https://apps.apple.com/us/app/island-war-raid/id1542454536?uo=4

      Hack Features:
      - Die Anyone [ Red & Blue ] Win Fight
      - Destroy Building [ Win Fight ] 



      Note:- Works Only [ Arena ]
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Island War Raid V5.8.2 [ +2 Jailed ] Win Fight
      Modded/Hacked App: Island War: Raid By SamShui Corporation
      Bundle ID: com.addictive.strategy.island.clash
      iTunes Store Link: https://apps.apple.com/us/app/island-war-raid/id1542454536?uo=4


      Hack Features:

      - Die Anyone [ Red & Blue ] Win Fight
      - Destroy Building [ Win Fight ] 



      Note:- Works Only [ Arena ]
        • Like
      • 9 replies
    • Capy Gears v1.00.001 [ +7 Cheats ] Battle Coin
      Modded/Hacked App: Capy Gears By HARVEST STAR INTERACTIVE LIMITED
      Bundle ID: com.qxgame.gear
      App Store Link: https://apps.apple.com/us/app/capy-gears/id6744058532?uo=4
       

      🤩 Hack Features

      - Battle Coin

      - Enemy ATK No

      - Enemy Delay [ Sometime Issue ]

      - Base HP

      - Moving Speed

      - Capy Hero ATK

      - Capy Hero HP
        • Like
      • 0 replies
    • Capy Gears v1.00.001 [ +7 Jailed ] Battle Coin
      Modded/Hacked App: Capy Gears By HARVEST STAR INTERACTIVE LIMITED
      Bundle ID: com.qxgame.gear
      App Store Link: https://apps.apple.com/us/app/capy-gears/id6744058532?uo=4
       

      🤩 Hack Features

      - Battle Coin

      - Enemy ATK No

      - Enemy Delay [ Sometime Issue ]

      - Base HP

      - Moving Speed

      - Capy Hero ATK

      - Capy Hero HP
      • 0 replies
    • Cooking Diary Restaurant Game v2.39.1 Jailed Cheats +3
      Modded/Hacked App: Cooking Diary® Restaurant Game by MyTona Pte Ltd
      Bundle ID: com.mytonallc.cookingdiary
      iTunes Store Link: https://apps.apple.com/us/app/cooking-diary-restaurant-game/id1214763610?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies (Get some)
      - Freeze Boosters


      iOS Hack Download Link: https://iosgods.com/topic/110310-arm64-cooking-diary-restaurant-game-v1160-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 672 replies
    • Bunker: Zombie Survival Games v5.1.15 [+4 Cheats]
      Modded/Hacked App: Bunker: Zombie Survival Games By APPWILL COMPANY LTD
      Bundle ID: bunker.zombie.survival.games
      App Store Link: https://apps.apple.com/us/app/bunker-zombie-survival-games/id1642910762?uo=4



      🤩 Hack Features

      - Remove Ads (Not Rewarded)
      - Never Die
      - Unlimited Ammo
      - Add Money (Enable Inside Game)
        • Informative
      • 2 replies
    • Bunker: Zombie Survival Games v5.1.15 [+4 Jailed Cheats]
      Modded/Hacked App: Bunker: Zombie Survival Games By APPWILL COMPANY LTD
      Bundle ID: bunker.zombie.survival.games
      App Store Link: https://apps.apple.com/us/app/bunker-zombie-survival-games/id1642910762?uo=4



      🤩 Hack Features

      - Remove Ads (Not Rewarded)
      - Never Die
      - Unlimited Ammo
      - Add Money (Enable Inside Game)
        • Winner
        • Like
      • 4 replies
    • Plants vs. Zombies™ 2 v12.2.1 +4 Cheats [Unlimited Currencies]
      Modded/Hacked App: Plants vs. Zombies™ 2 By PopCap
      Bundle ID: com.popcap.ios.PvZ2
      iTunes Store Link: https://itunes.apple.com/us/app/plants-vs-zombies-2/id597986893
       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Mints
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,681 replies
    • Five Hearts Under One Roof v1.0.6 +3 Jailed Cheats [ All Chapters Unlocked ]
      Modded/Hacked App: Five Hearts Under One Roof By Storytaco.inc
      Bundle ID: com.storytaco.pc01mclient
      iTunes Store Link: https://apps.apple.com/us/app/five-hearts-under-one-roof/id6742767401?uo=4

       


      🤩 Hack Features

      - Unlimited Love Letters & All Scenes Unlocked
      - All Chapters Unlocked
      - All Ranking Characters Unlocked
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Five Hearts Under One Roof v1.0.6 +3 Cheats [ All Chapters Unlocked ]
      Modded/Hacked App: Five Hearts Under One Roof By Storytaco.inc
      Bundle ID: com.storytaco.pc01mclient
      iTunes Store Link: https://apps.apple.com/us/app/five-hearts-under-one-roof/id6742767401?uo=4

       


      🤩 Hack Features

      - Unlimited Love Letters & All Scenes Unlocked
      - All Chapters Unlocked
      - All Ranking Characters Unlocked
        • Informative
        • Haha
        • Thanks
        • Like
      • 10 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