Jump to content

Help me build a patcher


stem grade

10 posts in this topic

Recommended Posts

Posted

Hi can some one help what I am doin wrong I trying to make a patcher the patcher work but the hack it turn off in the settings but the hack is to active. here the code can some one help me please thanks.

#import <substrate.h>
#import <Foundation/Foundation.h>
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.ha.Radyo.plist"

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

void (*old_loadBanner)(void *self);
bool (*old_hidesAdBanners)(void *self);
bool (*old_setHidesAdBanners)(void *self);

static void loadBanner(void *self) {
    if(GetPrefBool(@"key1")) {     
    } else {
        return old_loadBanner(self);
    }
}

static bool hidesAdBanners(void *self) {
    if(GetPrefBool(@"key1")) {
        return TRUE ;
    } else {
        return old_hidesAdBanners(self);
    }
}

static bool setHidesAdBanners(void *self) {
    if(GetPrefBool(@"key1")) {
        return TRUE ;
    } else {
        return old_setHidesAdBanners(self);
    }
}

__attribute__((constructor)) void DylibMain() {
    MSHookFunction(MSFindSymbol(NULL, "__"),(void*)loadBanner, (void**)&old_loadBanner);
    MSHookFunction(MSFindSymbol(NULL, "__"),(void*)hidesAdBanners, (void**)&old_hidesAdBanners);
    MSHookFunction(MSFindSymbol(NULL, "__"),(void*)setHidesAdBanners, (void**)&old_setHidesAdBanners);
}

// Automatic Popup Code

void setup() {
    UIAlertController *igcredits = [UIAlertController alertControllerWithTitle:@"Made for iOSGods.com" message:@"Radyo Cheats by org 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 sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]];
    }];
    UIAlertAction *clubs = [UIAlertAction actionWithTitle:@"Visit the Clubs!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){
    [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/clubs/"]];
    }];
    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();
}

 

Posted
15 minutes ago, Joey said:

This is not a support topic. You literally put some code here & dont tell us where you need support, with what part?

read the message before the code some think is wrong. the patcher works with the patcher is turn off

Posted
10 minutes ago, Joey said:

You should work on your english, because I don’t understand you.

How rude if you don’t understand then you are not English 

Posted
1 minute ago, jamiesharon said:

How rude if you don’t understand then you are not English 

Your text above the code literally says nothing. I can’t help you if you properly explain the issue.

Posted
5 minutes ago, Joey said:

Your text above the code literally says nothing. I can’t help you if you properly explain the issue.

Say nothing it say I asking for help because some think it wrong with my patcher read again

Posted
On 2/2/2019 at 4:49 PM, jamiesharon said:

 

Hi can some one help what I am doin wrong I trying to make a patcher the patcher work but the hack it turn off in the settings but the hack is to active. here the code can some one help me please thanks

 

Do you understand this yourself?

Posted
13 minutes ago, Joey said:

Do you understand this yourself?

Yes I understand it...it say the patcher works but the patcher is not active that means the patcher is turn off it not on it is off in the settings cheat menu so the patcher hack is turn off but the patcher is active and working that why I am asking for help some think is wrong with the hooks code 

GetPrefBool

Archived

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

  • Our picks

    • Olympush v0.0.12 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Olympush By Arcane Blast s.r.o.
      Bundle ID: com.ArcaneBlast.Olympush
      App Store Link: https://apps.apple.com/us/app/olympush/id6762312452?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Enough Parts / Upgrade Hero
      - Mana Freeze
      - Unlimited Trop Deploy / iGG Auto Touch Use / Always Win
      - AI Freeze
        • Like
      • 0 replies
    • Olympush v0.0.12 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Olympush By Arcane Blast s.r.o.
      Bundle ID: com.ArcaneBlast.Olympush
      App Store Link: https://apps.apple.com/us/app/olympush/id6762312452?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Enough Parts / Upgrade Hero
      - Mana Freeze
      - Unlimited Trop Deploy / iGG Auto Touch Use / Always Win
      - AI Freeze
        • Like
      • 1 reply
    • North War: Island Defense 3D v1.2.2 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: North War: Island Defense 3D
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bgg.island.battle&hl=en

       

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Currency
      - Unlimited Resources

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
        • Agree
        • Like
      • 1 reply
    • MechanicWar:Idle RPG v1.0.1 [ +19 APK MOD ] Currency Max
      Mod APK Game Name: MechanicWar:Idle RPG
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.rawhand.mechanicwar&hl=en

      🤩 Hack Features

      - Unlimited Diamond +4
      - Unlimited Silver Stone +2
      - Unlimited Medi Kit
      - Unlimited Inventory Size
      - Auto Skip Wave
      - Energy Freeze
      - Drop Rocket Inf / Linked Energy / Use iGG Auto Touch
      - HP Regen / Linked Energy / Use iGG Auto Touch
      - Faster LvL UP / Need 1 EXP / Easy To Get Rewards / Diamond Stone Gems
      - Daily Quest / Claim All
      - Weekly Quest / Claim All
      - Achievement / Claim All
      - Chapter Unlocked / Show Locked But Works
      - Stage Unlocked / Show Locked But Works
      - Planet Unlocked / Show Locked But Works

      Note:- Don't Abuse The Hack Incase Banned / Don't Buy ViP For This
        • Like
      • 2 replies
    • Zombie Blast - Link Match v3.4.23 [ +3 APK MOD ] Auto Win
      Mod APK Game Name: Zombie Blast - Link Match
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.sngict.survivors.zombies&ref=apkcombo.com

      🤩 Hack Features

      - Auto Win
      - Hero HP Max
      - Hero ATK Max
        • Like
      • 0 replies
    • Last Survivor: Fantasy Land v1.0.399 [ +8 APK MOD ] Currency Max
      Mod APK Game Name: Last Survivor: Fantasy Land
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.fansipan.survivor.roguelike.casual.game&hl=en

       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]
      - Heroes Unlocked
      - Hero Pass
      - Legends Pass
      - Growth Found +4
      - HP
      - DMG
      - Always Last Wave

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices
      • 0 replies
    • Portal Survivor v2.4.1 [ +15  APK MOD ] Currency Max
      Mod APK Game Name: Portal Survivor
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.escape.portalsurvivor&hl=en

      🤩 Hack Features

      - Energy / No Need To Play
      - Coins Freeze
      - Silver Keys Freeze
      - Golden Keys Freeze
      - SGrade Box Freeze x1
      - Revival Coins Freeze
      - Scroll Freeze / Easy Upgrade Equipment
      - Equip Coins Freeze / Easy Upgrade Equipment
      ::::::::: VIP ::::::::
      - Month Card Active
      - ADS NO / Rewards Free
      - Unlimited Instant Collect
      - Unlimited Gems / Not Tested
      - Unlimited Energy
      - Portal Rewards / Unlimited Coins
      - Portal Rewards / Unlimited EXP / Faster Level UP
      • 1 reply
    • Zombie Race Survivor v0.1.270 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Zombie Race SurvivorBy UGI Studio Cyprus LTD
      Bundle ID: com.ugi.zombierace.survival
      App Store Link: https://apps.apple.com/ph/app/zombie-race-survivor/id6749445516?uo=4

      🤩 Hack Features

      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Energy / Use & Earn
      - Unlimited EXP LVL / Battle Rewards
      - Unlimited BluePrint / Battle Rewards
      - Unlimited Battle Rewards / Gems Coins 
        • Like
      • 3 replies
    • Zombie Race Survivor v0.1.270 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Zombie Race SurvivorBy UGI Studio Cyprus LTD
      Bundle ID: com.ugi.zombierace.survival
      App Store Link: https://apps.apple.com/ph/app/zombie-race-survivor/id6749445516?uo=4 

      🤩 Hack Features

      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Energy / Use & Earn
      - Unlimited EXP LVL / Battle Rewards
      - Unlimited BluePrint / Battle Rewards
      - Unlimited Battle Rewards / Gems Coins
        • Like
      • 3 replies
    • Candy Crush Solitaire +11 Jailed Cheats [ Game Breaking ]
      Modded/Hacked App: Candy Crush Solitaire By King.com Limited
      Bundle ID: com.midasplayer.apps.candysolitaire
      App Store Link: https://apps.apple.com/us/app/candy-crush-solitaire/id6474685626?uo=4

       
       

      🤩 Hack Features

      - Unlimited Free Gifts -> Head into the Shop to claim the free gift over & over.
      - Season Pass Purchased

      VIP
      - Add Coins*
      - Add Energy*
      - Add Colour Bomb Boosters*
      - Add UFO Boosters*
      - Add Wildcards*
      - Add Undo's*
      - Add Extra Moves*
      - Add Free Entries*
      - Add Lollipops*

      * Head into Settings and toggle the ? button. Only enable 1 feature at a time.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 49 replies
    • Gang Battle Party: Playground +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Gang Battle Party: Animals 3D By LLP Take Top Entertainment
      Bundle ID: com.taketopios.chillybash
      iTunes Store Link: https://apps.apple.com/us/app/gang-battle-party-animals-3d/id1664783935?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - God Mode
      - One-Hit Kill
      -- No Ads
        • Haha
        • Thanks
        • Like
      • 8 replies
    • Cooking Wonder: Cooking Games +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Cooking Wonder By WonderLegend Games
      Bundle ID: com.wonderlegend.cookingwonder
      iTunes Store Link: https://apps.apple.com/us/app/cooking-wonder/id1638005392
       

      Hack Features:
      - Unlimited Currencies -> Use some.


      Jailbreak required hack(s): https://iosgods.com/topic/169330-cooking-wonder-v120-1-cheat-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 53 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