Jump to content

 Something great is coming! 🚀

Stay tuned for the big reveal happening here on iOSGods on the 17th of December!

The countdown has finished!

8 posts in this topic

Recommended Posts

Posted (edited)

Hey, Guys i am developing tweaks with Theos but this is my first time to create an iosgods preference patcher 

 

Here are picture take a look at it:

But if you know what is wrong to the code tweak.xm code is included

 

 

 

Here is my tweak.xm

 

#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <substrate.h>
 
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.demy076.plist"
 
inline bool GetPrefBool(NSString *key) {
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}
 
%ctor {
if(GetPrefBool(@"key1")) {
writeData(0xOFFSET, 0xHEX);
} else {
}
 
 
if(GetPrefBool(@"key2")) {
writeData(0x10963C, 0xC0F8AC70);
} else {
}
 
 
if(GetPrefBool(@"key3")) {
writeData(0x10ACEA, 0xC0F8C871);
} else {
}
 
 
if(GetPrefBool(@"key4")) {
writeData(0x1806B8, 0x381C);
writeData(0x2FA51C, 0x381C);
writeData(0x1806B8, 0x7047);
writeData(0x1806B8, 0x7047);
} else {
}
 
}
 
 
 
 
/* Popup with a link 
 
*/
 
 
%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.
 
- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"Pref Cheats" 
                                                  message:@"\nPref Cheats by demy kromhof for iOSGods.com"
                                                 delegate:self 
cancelButtonTitle:@"Thanks" 
otherButtonTitles:@"Visit Us", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
if([button isEqualToString:@"Visit Us"]) {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com/"]];                                                                                
}
}
%end
Updated by Amuyea
Posted

This is a link for the error

https://imgur.com/a/lP1LG

Here

If I use there ctor like this

%ctor

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

UIAlertView *igcredits = [[uIAlertView alloc] initWithTitle:@"Pref Cheats"

 

It will give more sdk error but Idk what to do

Posted

I know but that doesn't work either so

Ow yeah

You can't use %hook if you do this test.test

If you use this (.) because the dot is like a swift class so

%hook boom.bmanalysehandler

-(bool) isVipUser {

return true;

}

%end

It will lead into errors

 

That is why you got to use %ctor but that was an mistake

 

 

If you want to fix that error then you got to use %ctor

 

Like this:

%ctor {

%init(SwiftClass = objc_getClass("Boom.BMAnalyticsHandler"));

}

%hook

-(bool) Boom.BMAnalyticsHandler:(id) arg1 {

return true;

}

%end

So I fixed it the previous time for my boom tweak

But now it doesn't work

Posted

ARCHS = armv7 arm64

TARGET = iphone:clang:latest:latest

#CFLAGS = -fobjc-arc

#THEOS_PACKAGE_DIR_NAME = debs

 

include $(THEOS)/makefiles/common.mk

 

TWEAK_NAME = Pref

Pref_FILES = Tweak.xm

Pref_FRAMEWORKS = UIKit

Pref_LDFLAGS += -Wl,-segalign,4000

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

SUBPROJECTS += Pref

include $(THEOS_MAKE_PATH)/aggregate.mk

Show me your makefile

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

    • PlatyGuard: Swarm Slayer v1.0.2 Jailed Cheats +5
      Modded/Hacked App: PlatyGuard: Swarm Slayer By ChillyRoom Inc.
      Bundle ID: com.chillyroom.jdyw.ios
      App Store Link: https://apps.apple.com/us/app/platyguard-swarm-slayer/id6751926432?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - God Mode
      - Multiply Attack (Do not set max value otherwise will reset to 1)
      - Freeze Currencies (Not Fully Tested)
      - No Ads / Skip Ads
      - Unlock All Heroes + Skins

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202603-platyguard-swarm-slayer-v101-jailed-cheats-5/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 5 replies
    • Rent Please! Landlord Sim Cheats v1.6.9 +2
      Modded/Hacked App: Rent Please! Landlord Sim By Shimmer Games Co., Ltd.
      Bundle ID: com.shimmergames.tenants.gb.en
      iTunes Store Link: https://apps.apple.com/us/app/rent-please-landlord-sim/id1645842987?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168311-rent-please-landlord-sim-v111-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/168312-rent-please-landlord-sim-cheats-v111-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 162 replies
    • Beach Buggy Racing 2 Cheats v2025.12.09 +2
      Modded/Hacked App: Beach Buggy Racing 2 by Vector Unit Inc
      Bundle ID: com.vectorunit.cobalt
      iTunes Store Link: https://itunes.apple.com/us/app/beach-buggy-racing-2/id1399253988?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite PowerUp Parts
      - Infinite Gems (Spend some/ Get some)
      - Infinite Coins (Use Gems to Convert)



      Hack Download Link: https://iosgods.com/topic/86113-arm64-beach-buggy-racing-2-cheats-v101-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 450 replies
    • UNKILLED - Zombie Online FPS Cheats v2.6.0 +5
      Modded/Hacked App: UNKILLED - Zombie Online FPS By MADFINGER Games, a.s.
      Bundle ID: com.madfingergames.unkilled
      iTunes Store Link: https://itunes.apple.com/us/app/unkilled-zombie-online-fps/id969488951?mt=8&uo=4&at=1010lce4


      Hack Features:
      - OHK / Huge Damage*
      - God Mode*
      - Kill All Enemies with One tap
      - Infinite Ammo
      - Infinite Items

      * Works Online PvP


      Hack Download Link: https://iosgods.com/topic/71989-arm64-unkilled-zombie-online-fps-cheats-v107-5/


      Credits:
      - @Laxus
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,335 replies
    • RollerCoaster Tycoon Touch Cheats v3.48.0 +5
      Modded/Hacked App: RollerCoaster Tycoon® Touch™ By Atari, Interactive
      Bundle ID: com.atari.mobile.rctempire
      iTunes Store Link: https://apps.apple.com/us/app/rollercoaster-tycoon-touch/id1164507836?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Currencies
      - Instant Max Level (Complete some task - Only use when you finished Tutorial and get to Level 8 at least)
      - VIP Member
      - Card only need 1 to be upgraded

       

      Non-Jailbroken Hack: https://iosgods.com/topic/74948-rollercoaster-tycoon-touch-v3413-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73710-rollercoaster-tycoon-touch-cheats-v3420-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,125 replies
    • Archero Cheats v7.4.6 +5 [ God Mode & More ]
      Modded/Hacked App: Archero by HABBY PTE. LTD.
      Bundle ID: com.habby.archero
      iTunes Store Link: https://apps.apple.com/us/app/archero/id1453651052?uo=4&at=1010lce4



      Hack Features:
      - Multiply Defense to
      - Multiply Damage to
      - God Mode
      - OHK (Must use with God Mode)
      - Freeze Enemies

      NOTE: If you want to use god mode and ohk turn off multiply damage and defense first. I added multiply damage and defense there to avoid ban


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/100710-archero-v210-enemies-dont-attack-x30-attack/


      Hack Download Link: https://iosgods.com/topic/96783-arm64-archero-cheats-v220-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 15,918 replies
    • AdVenture Capitalist Cheats v9.18.2 +1
      Modded/Hacked App: AdVenture Capitalist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecapitalist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-capitalist/id927006017?uo=4


      Hack Features:
      - Freeze Currencies

       
      Free Non-Jailbroken Hack:  https://iosgods.com/topic/82751-adventure-capitalist-v940-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/78370-adventure-capitalist-cheats-v940-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,198 replies
    • HomeScapes v8.4.10 Jailed Cheats +3
      Modded/Hacked App: Homescapes By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.gardenscapes-sweethome
      iTunes Store Link: https://apps.apple.com/us/app/homescapes/id1195621598?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Infinite Moves
      - Infinite Boosters
      - Infinite Coins (Spend some)
      - Infinite Lives (Won't substract when you failed level)
      - Complete tasks without needing stars - Game Breaking for sure
      - Unlock Season Pass (by @NoFearGG) -- Go click the purchase button. It'll look like nothing happened. Leave season pass area. And go back. It'll show unlocked. And be saved that way


      🍏 Jailbreak iOS hacks: https://iosgods.com/topic/75434-homescapes-cheats-v776-5/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/71443-homescapes-v776-jailed-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,504 replies
    • Skullgirls Fighting RPG v8.1.5 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 94 replies
    • Skullgirls Fighting RPG v8.1.5 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 196 replies
    • Lost Sword v1.4.4 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: Lost Sword By Wemade Connect Co., Ltd.
      Bundle ID: com.wemadeconnect.ios.lostdgl
      App Store Link: https://apps.apple.com/us/app/lost-sword/id6482099823?uo=4

       
       

      🤩 Hack Features

      - Auto Win
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 15 replies
    • Journeys: Romance Stories v3.0.30 +2++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Journeys: Romance Stories By Gameloft
      Bundle ID: com.otherguys.journeys
      App Store Link: https://apps.apple.com/us/app/journeys-romance-stories/id1458014773?uo=4

       
       

      🤩 Hack Features

      - Free Premium Choices
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 27 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