Jump to content

21 posts in this topic

Recommended Posts

Posted

I made a flex patch today, which works no issues. I used it to hook each element of my tweak, but somewhere I messed up. I'm sure it's something easy as it was a super easy patch to make. It's to show full version of an Objective C reference app.

 

Below is tweak.xm file

#include

%hook MyTransactionObserver

-(bool) purchased {

return TRUE;

}

%end

 

%hook MyTransactionObserver

-(void) setPurchased:(bool)arg1 {

arg1 = TRUE;

return %orig;

}

%end

 

%hook MyTransactionObserver

-(void) failedTransaction:(id)arg1 {

arg1 = NULL; return %orig;

}

%end

 

%hook LBCategoryViewController

-(void) configureNormalCellForInAppPurchase:(id)arg1 fromIndexPath:(id) {

arg1 = NULL; return %orig;

}

%end

 

%hook LBCategoryViewController

-(void) configureGlossaryCellForInAppPurchase:(id)arg1 fromIndexPath:(id) {

arg1 = NULL; return %orig;

}

%end

 

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

You forgot to add "arg2".

 

 

Try this:

#include 
%hook MyTransactionObserver
-(bool) purchased {
return TRUE;
}

-(void) setPurchased:(bool)arg1 {
arg1 = TRUE;
return %orig;
}

-(void) failedTransaction:(id)arg1 {
arg1 = NULL; return %orig;
}
%end

%hook LBCategoryViewController
-(void) configureNormalCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {
arg1 = NULL; 
return %orig;
}

-(void) configureGlossaryCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {
arg1 = NULL; 
return %orig;
}
%end
Updated by Joka
Posted

You forgot to add "arg2".

 

 

Try this:

 

#include 
%hook MyTransactionObserver
-(bool) purchased {
return TRUE;
}

-(void) setPurchased:(bool)arg1 {
arg1 = TRUE;
return %orig;
}

-(void) failedTransaction:(id)arg1 {
arg1 = NULL; return %orig;
}
%end

%hook LBCategoryViewController
-(void) configureNormalCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {
arg1 = NULL; 
return %orig;
}

-(void) configureGlossaryCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {
arg1 = NULL; 
return %orig;
}
%end

That could be it. Changed the hooks with more then one arg and typed "Make Package" in Terminal, but it said "nothing to compile" and just built a new .deb, which after installing still sadly does nothing.

Posted

That could be it. Changed the hooks with more then one arg and typed "Make Package" in Terminal, but it said "nothing to compile" and just built a new .deb, which after installing still sadly does nothing.

Does it work in Flex?

Posted

Does it work in Flex?

Yeah. Works perfect. Was just playing with control files to change the version and deleted previous object to force it to compile. Now there's a couple errors with the modified code.

Posted

Yeah. Works perfect. Was just playing with control files to change the version and deleted previous object to force it to compile. Now there's a couple errors with the modified code.

What did you change? And can you show me the errors? :)

Posted

What did you change? And can you show me the errors? :)

I just built a new project so I could get a fresh compile, and not worry if I messed up the tweak version in one of the control files. It compiled, but I got an error building the package from an apparent missing symlink, which is weird cause the makefile and Theos symlink are the same as a tweak I compiled and shared earlier today.

 

Anyway, here's the Errors.txt file

/var/mobile/fullreference/theos/makefiles/targets/Darwin-arm64/iphone.mk:46: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/fullreference/theos/makefiles/targets/Darwin-arm64/iphone.mk:56: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.

Making all for tweak FullReference...

Preprocessing Tweak.xm...

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Compiling Tweak.xm...

Linking tweak FullReference...

ld: warning: ignoring file /var/mobile/fullreference/theos/sdks/iPhoneOS9.3.sdk/usr/lib/dylib1.o, missing required architecture arm64 in file /var/mobile/fullreference/theos/sdks/iPhoneOS9.3.sdk/usr/lib/dylib1.o (2 slices)

Stripping FullReference...

Signing FullReference...

Making stage for tweak FullReference...

make: *** [internal-package] Error 2

 

Posted

I just built a new project so I could get a fresh compile, and not worry if I messed up the tweak version in one of the control files. It compiled, but I got an error building the package from an apparent missing symlink, which is weird cause the makefile and Theos symlink are the same as a tweak I compiled and shared earlier today.

 

Anyway, here's the Errors.txt file

In your makefile, add an extra space at the bottom.

Posted (edited)

In your makefile, add an extra space at the bottom.

Arrg. Keep getting same error. I just don't get it. I made several debs earlier today, they built just fine. My makefiles are the same. I even made sure these were good...

 

Updated by i0s_tweak3r

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

    • EverMerge: Merge & Match Game v1.62.3 +30 Jailed Cheats [ Cheat Menu ]
      Modded/Hacked App: EverMerge: Merge & Match Game By Big Fish Games, Inc
      Bundle ID: com.bigfishgames.mergetalesios
      iTunes Store Link: https://apps.apple.com/us/app/evermerge-merge-match-game/id1446344746?uo=4

       


      🚀 Hack Features

      - Cheat Menu -> Head into Settings and toggle the Support button.
        • Like
      • 5 replies
    • EverMerge: Merge & Match Game v1.62.3 +30 Cheats [ Cheat Menu ]
      Modded/Hacked App: EverMerge: Merge & Match Game By Big Fish Games, Inc
      Bundle ID: com.bigfishgames.mergetalesios
      iTunes Store Link: https://apps.apple.com/us/app/evermerge-merge-match-game/id1446344746?uo=4

       


      🚀 Hack Features

      - Cheat Menu -> Head into Settings and toggle the Support button.
        • Like
      • 2 replies
    • Hunt Royale: Action RPG Battle v3.11.0 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
        • Informative
        • Haha
        • Like
      • 134 replies
    • Hunt Royale: Action RPG Battle v3.11.0 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       


      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
        • Thanks
        • Like
      • 23 replies
    • Avalar: Shadow War v04.73.12 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Avalar: Shadow War By Enigma Publishing Limited
      Bundle ID: com.avalar.atwo.epl.as
      iTunes Store Link: https://apps.apple.com/us/app/avalar-shadow-war/id6504173866?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier


      Jailbreak required hack(s): [Mod Menu Hack] Avalar: Tag Team ARPG v04.52.30 +2 Cheats [ Damage & Defence ] - 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/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Puddin


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 84 replies
    • Tsukuyomi: The Divine Hunter v1.1.0 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Tsukuyomi: The Divine Hunter By COLOPL, Inc.
      Bundle ID: jp.colopl.mask
      App Store Link: https://apps.apple.com/us/app/tsukuyomi-the-divine-hunter/id6505051119?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Thanks
      • 11 replies
    • Tsukuyomi: The Divine Hunter v1.1.0 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Tsukuyomi: The Divine Hunter By COLOPL, Inc.
      Bundle ID: jp.colopl.mask
      App Store Link: https://apps.apple.com/us/app/tsukuyomi-the-divine-hunter/id6505051119?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Thanks
        • Like
      • 7 replies
    • Avalar: Shadow War v04.73.12 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Avalar: Shadow War By Enigma Publishing Limited
      Bundle ID: com.avalar.atwo.epl.as
      iTunes Store Link: https://apps.apple.com/us/app/avalar-shadow-war/id6504173866?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Avalar: Tag Team ARPG v04.52.30 +2 Jailed Cheats [ Damage & Defence ] - Free Non-Jailbroken IPA 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/


      iOS Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Puddin


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 104 replies
    • Slime Castle - Idle TD v2.1.6 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Slime Castle - Idle TD By AZUR INTERACTIVE GAMES LIMITED
      Bundle ID: com.redtailworks.slimetd
      iTunes Store Link: https://apps.apple.com/us/app/slime-castle-idle-td/id6480410032?uo=4


      Hack Features:
      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Diamonds -> Will increase instead of decrease.
      - Unlimited Silver -> Will increase instead of decrease.
      - God Mode
      - x5 Speed Unlocked
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Slime Castle - Idle TD v0.9.2 +6 Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 199 replies
    • Slime Castle - Idle TD v2.1.6 +6 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Slime Castle - Idle TD By AZUR INTERACTIVE GAMES LIMITED
      Bundle ID: com.redtailworks.slimetd
      iTunes Store Link: https://apps.apple.com/us/app/slime-castle-idle-td/id6480410032?uo=4


      Hack Features:
      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Diamonds -> Will increase instead of decrease.
      - Unlimited Silver -> Will increase instead of decrease.
      - God Mode
      - x5 Speed Unlocked
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Slime Castle - Idle TD v0.9.2 +6 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 147 replies
    • War Robots Multiplayer Battles v11.2.0 +1 Jailed Cheat
      Modded/Hacked App: War Robots Multiplayer Battles By MY.GAMES B.V.
      Bundle ID: com.pixonic.wwr
      iTunes Store Link: https://apps.apple.com/us/app/war-robots-multiplayer-battles/id806077016?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Mega Jump


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 84 replies
    • War Robots Multiplayer Battles v11.2.0 +1 Cheat
      Modded/Hacked App: War Robots Multiplayer Battles By PIXONIC GAMES LTD
      Bundle ID: com.pixonic.wwr
      iTunes Store Link: https://apps.apple.com/us/app/war-robots-multiplayer-battles/id806077016?uo=4


      Hack Features:
      - high jump height


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      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
      • 273 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