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

    • 1945 - Airplane shooting games v15.28 Jailed Cheats +3
      Modded/Hacked App: 1945 Air Force: Airplane Games By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.airforce
      App Store Link: https://apps.apple.com/us/app/1945-air-force-airplane-games/id1460632826?uo=4

       


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


      Hack Features:
      - God Mode
      - One Hit Kill
      - Premium + No Ads


      iOS Hack Download Link: https://iosgods.com/topic/150679-1945-airplane-shooting-games-v1502-jailed-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 167 replies
    • Guild of Heroes: Fantasy RPG v1.187.5 - [ x Player Damage & More ]
      Modded/Hacked App: Guild of Heroes: Fantasy RPG By BIT.GAMES PBL
      Bundle ID: com.goplaytoday.guildofheroes
      iTunes Store Link: https://itunes.apple.com/us/app/guild-of-heroes-fantasy-rpg/id979474617?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - x Player Damage - x1 - 10
      - x Player Defense - x1 - 10
      - Enemies Auto Die
      - Premium Activate
      - Freeze Resources
      - Freeze Potions

      All features are unlinked and only for player, you!
      Note:
      Not Responsible For Any Bans


      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/79822-guild-of-heroes-fantasy-rpg-v1679-5k-gold-sell-value-more/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,748 replies
    • Pew Pew Slime - Idle RPG v35 Jailed Cheats +5
      Modded/Hacked App: Pew Pew Slime - Idle RPG By X-LEGEND ENTERTAINMENT CO., LTD.
      Bundle ID: com.xlegend.pewpewslime.global
      App Store Link: https://apps.apple.com/us/app/pew-pew-slime-idle-rpg/id6739420338?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

      After in-game press Activate Cheat 1 time, then turn it off. Now you can use, if it not work after you relaunch the game next time, repeat the process

      For Multiply Attack do not set max value ortherwise it will revert back to default value, example max value is 10 set 9.8 or 9.9

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202589-pew-pew-slime-idle-rpg-v26-jailed-cheats-2/
        • Haha
        • Thanks
        • Winner
        • Like
      • 51 replies
    • ZombTube v1.2.364 [ +11 Jailed ] Currency Max
      Modded/Hacked App: ZombTube By Dmytro Drach
      Bundle ID: com.booblyc.ZombTubeGame
      iTunes Store Link: https://apps.apple.com/us/app/zombtube/id6464316230?uo=4


      Hack Features:

      - IAP Free

      - No ADS

      - Red coins

      - Gold

      - Parts - Upgrade Free Guns-Items

      - Damage

      - Bullet Range

      - Gun Range

      - Ammo

      - No Reload

      - Accuracy
        • Like
      • 7 replies
    • ZombTube v1.2.364 [ +11 Cheats ] Currency Max
      Modded/Hacked App: ZombTube By Dmytro Drach
      Bundle ID: com.booblyc.ZombTubeGame
      iTunes Store Link: https://apps.apple.com/us/app/zombtube/id6464316230?uo=4


      Hack Features:
      - IAP Free

      - No ADS

      - Red coins

      - Gold

      - Parts - Upgrade Free Guns-Items

      - Damage

      - Bullet Range

      - Gun Range

      - Ammo

      - No Reload

      - Accuracy
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 49 replies
    • Tropic Match v1.0 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Tropic Match By BTMK s.r.o.
      Bundle ID: com.rebelgames.tropicmatch
      iTunes Store Link: https://apps.apple.com/us/app/tropic-match/id6547859499?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
        • Thanks
      • 1 reply
    • Tropic Match v1.0 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Tropic Match By BTMK s.r.o.
      Bundle ID: com.rebelgames.tropicmatch
      iTunes Store Link: https://apps.apple.com/us/app/tropic-match/id6547859499?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
        • Like
      • 2 replies
    • Everybody's RPG v5.92 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Everybody's RPG By Seung Jae Lee
      Bundle ID: com.nomadgames.everybodyrpgpay
      iTunes Store Link: https://apps.apple.com/us/app/everybodys-rpg/id1353701442?uo=4


      🤩 Hack Features

      - Currency Max

      - DMG

      - ATK Speed

      - ATK Range

      - Skill CD

      - Enemy Freeze

      - Enemy NO [ Stage Mod ] Easy Skip Stage

      Don't Abuse The Hack Incase Banned
        • Agree
        • Winner
        • Like
      • 22 replies
    • Everybody's RPG v5.92 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Everybody's RPG By Seung Jae Lee
      Bundle ID: com.nomadgames.everybodyrpgpay
      iTunes Store Link: https://apps.apple.com/us/app/everybodys-rpg/id1353701442?uo=4


      🤩 Hack Features

      - Currency Max

      - DMG

      - ATK Speed

      - ATK Range

      - Skill CD

      - Enemy Freeze

      - Enemy NO [ Stage Mod ] Easy Skip Stage

      Don't Abuse The Hack Incase Banned
        • Informative
        • Agree
        • Thanks
        • Like
      • 35 replies
    • Hero Survival IO 2 V1.0.6 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Hero Survival IO 2 By VIET NAM SKYNET JOINT STOCK COMPANY
      Bundle ID: com.game.hero.survival.survivor
      iTunes Store Link: https://apps.apple.com/us/app/hero-survival-io-2/id6480162404?uo=4
       

      Hack Features

      - No ADS [ Rewards Free ]

      - Gems Unlimited [ Achievements Rewards ]

      - Gold Unlimited [ In Battle Pick Box ]

      - ATK

      - HP

      - Def

      - Skill EXP [ Pick One Exp Quickly Get All Skill ]

      - iGG Speed [ Max 0-5 Faster Play Save Time ]
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 16 replies
    • Hero Survival IO 2 V1.0.6 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Hero Survival IO 2 By VIET NAM SKYNET JOINT STOCK COMPANY
      Bundle ID: com.game.hero.survival.survivor
      iTunes Store Link: https://apps.apple.com/us/app/hero-survival-io-2/id6480162404?uo=4


      Hack Features:
      - No ADS [ Rewards Free ]

      - Gems Unlimited [ Achievements Rewards ]

      - Gold Unlimited [ In Battle Pick Box ]

      - ATK

      - HP

      - Def

      - Skill EXP [ Pick One Exp Quickly Get All Skill ]

      - iGG Speed [ Max 0-5 Faster Play Save Time ]
        • Agree
        • Thanks
        • Winner
        • Like
      • 13 replies
    • Resident Evil Survival Unit +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Resident Evil Survival Unit By Aniplex Inc.
      Bundle ID: com.aniplex.resu
      App Store Link: https://apps.apple.com/us/app/resident-evil-survival-unit/id6744668327?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier [ Battle ]
      - Defence Multiplier [ Battle ]
      - God Mode [ Battle ]
      - God Mode [ Explore ]
      - One-Hit Kill [ Explore ]
      - Freeze Items & Ammo
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 98 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