Jump to content

getting error when make package %hook (void) pass-through need help


Go to solution Solved by AnotherLurker,

23 posts in this topic

Recommended Posts

Posted (edited)

I do not think he's trying to null them

Yea, just realized

 

If it's just pass-through, you should just remove the methods from your hooks.

if it's that necessary to include the methods, just do:

return %orig();
Updated by AnotherLurker
Posted

I do not think he's trying to null them

 

Dida bro please can you help me a bit, i have tried everything even your flex converter with no luck ;( please take a look at those picture i uploaded on imgur https://imgur.com/gallery/S4T6G i need help with those return PASS-THROUGH and the ones with value and argument on same time. please

 

Yea, just realized

 

If it's just pass-through, you should just remove the methods from your hooks.

if it's that necessary to include the methods, just do:

return %orig();

 

ok i will try now

Posted

Dida bro please can you help me a bit, i have tried everything even your flex converter with no luck ;( please take a look at those picture i uploaded on imgur https://imgur.com/gallery/S4T6G i need help with those return PASS-THROUGH and the ones with value and argument on same time. please

"Pass-through" is the same as not modifying the method at all. You don't need to include it in your tweak because you're not changing anything on it.

Posted

yeah I got it now it's a success:) but still I get error with those one https://imgur.com/gallery/lP6Dn

 

%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
arg2 = TRUE;
}
%end
 
%hook UBAddress
-(void)setDisplayTitle:(id)arg1
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}

 

%end

 

Yea, just realized

 

If it's just pass-through, you should just remove the methods from your hooks.

if it's that necessary to include the methods, just do:

return %orig();

 

 
yeah I got it now it's a success:) but still I get error with those one https://imgur.com/gallery/lP6Dn
 
%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
arg2 = TRUE;
}
%end
 
%hook UBAddress
-(void)setDisplayTitle:(id)arg1
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}

 

%end
Posted

 

%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
arg2 = TRUE;
}
%end
 
%hook UBAddress
-(void)setDisplayTitle:(id)arg1
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}

 

%end

 

 
yeah I got it now it's a success:) but still I get error with those one https://imgur.com/gallery/lP6Dn
 
%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
arg2 = TRUE;
}
%end
 
%hook UBAddress
-(void)setDisplayTitle:(id)arg1
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
arg1 = TRUE;
}

 

%end

 

%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
    %orig(TRUE);
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
    %orig(arg1, TRUE);
}
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
    %orig(arg1, TRUE);
}
 
%end
Posted (edited)
%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
    %orig(TRUE);
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
    %orig(arg1, TRUE);
}
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
    %orig(arg1, TRUE);
}
 
%end

getting error...:(

 

Password:

iPhone:/var/mobile root# cd /var/uberx

iPhone:/var/uberx root# make package

> Making all for tweak uberx…

==> Preprocessing Tweak.xm…

==> Compiling Tweak.xm (armv7)…

Tweak.xm:86:162: error: expected function body after function

declarator

..._LOGOS_SELF_CONST self, SEL _cmd)(id)arg1 isEnabled:(bool)ar...

^

1 error generated.

make[3]: *** [/var/uberx/.theos/obj/debug/armv7/Tweak.xm.8b659425.o] Error 1

make[2]: *** [/var/uberx/.theos/obj/debug/armv7/uberx.dylib] Error 2

make[1]: *** [internal-library-all_] Error 2

make: *** [uberx.all.tweak.variables] Error 2

iPhone:/var/uberx root#

Updated by Gav1474
Posted

getting error... :(

 

Password:

iPhone:/var/mobile root# cd /var/uberx

iPhone:/var/uberx root# make package

> Making all for tweak uberx…

==> Preprocessing Tweak.xm…

==> Compiling Tweak.xm (armv7)…

Tweak.xm:86:162: error: expected function body after function

declarator

..._LOGOS_SELF_CONST self, SEL _cmd)(id)arg1 isEnabled:(bool)ar...

^

1 error generated.

make[3]: *** [/var/uberx/.theos/obj/debug/armv7/Tweak.xm.8b659425.o] Error 1

make[2]: *** [/var/uberx/.theos/obj/debug/armv7/uberx.dylib] Error 2

make[1]: *** [internal-library-all_] Error 2

make: *** [uberx.all.tweak.variables] Error 2

iPhone:/var/uberx root#

 

What's your full Tweak.xm

Posted

What's your full Tweak.xm

 

%hook UBTripAddressesViewController
-(bool)_allowsAddressesViewController {
return TRUE;
}
%end
 
%hook UBTripAddressesView
-(bool)shouldDisplayDropoff {
return TRUE;
}
%end
 
%hook UBTrippAddressesView 
-(void)_updateDropoffContentEdgeInsets {
return %orig();
}
%end
 
%hook UBEarningsTrip 
-(id)dropoffAddress {
return %orig();
}
%end
 
%hook UBTrip 
-(id)dropoffLocation {
return %orig();
}
%end
 
%hook UBSecondaryDispatchView 
-(bool)showPickupAndDropoffAddress {
return TRUE;
}
%end
 
%hook UBSecondaryDispatchDefaultAcceptView
-(bool)showPickupAndDropoffAddress {
return TRUE;
}
%end
 
%hook UBOnTripMapViewController
-(bool)_allowsDropoffLocationToBeShown {
return %orig();
}
%end
 
%hook UBTripAddressesView
-(bool)shouldDisplayPickup {
return FALSE;
}
%end
 
%hook UBNavigationInfoViewController
-(void)_updateDisplayForDisplay {
return %orig();
}
%end
 
%hook UBNavigationInfoViewController
-(void)_updateDisplay {
return %orig();
}
%end
 
%hook UBTripAddressesViewController
-(void)_updateDisplayForDisplay {
return %orig();
}
%end
 
%hook UBTripAddressesViewController
-(void)_updateDisplay {
return %orig();
}
%end
 
%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
%orig(TRUE);
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
%orig(arg1, TRUE);
}
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
%orig(arg1, TRUE);
}

 

%end
Posted

%hook UBTripAddressesViewController

-(bool)_allowsAddressesViewController {

return TRUE;

}

%end

 

%hook UBTripAddressesView

-(bool)shouldDisplayDropoff {

return TRUE;

}

%end

 

%hook UBTrippAddressesView 

-(void)_updateDropoffContentEdgeInsets {

return %orig();

}

%end

 

%hook UBEarningsTrip 

-(id)dropoffAddress {

return %orig();

}

%end

 

%hook UBTrip 

-(id)dropoffLocation {

return %orig();

}

%end

 

%hook UBSecondaryDispatchView 

-(bool)showPickupAndDropoffAddress {

return TRUE;

}

%end

 

%hook UBSecondaryDispatchDefaultAcceptView

-(bool)showPickupAndDropoffAddress {

return TRUE;

}

%end

 

%hook UBOnTripMapViewController

-(bool)_allowsDropoffLocationToBeShown {

return %orig();

}

%end

 

%hook UBTripAddressesView

-(bool)shouldDisplayPickup {

return FALSE;

}

%end

 

%hook UBNavigationInfoViewController

-(void)_updateDisplayForDisplay {

return %orig();

}

%end

 

%hook UBNavigationInfoViewController

-(void)_updateDisplay {

return %orig();

}

%end

 

%hook UBTripAddressesViewController

-(void)_updateDisplayForDisplay {

return %orig();

}

%end

 

%hook UBTripAddressesViewController

-(void)_updateDisplay {

return %orig();

}

%end

 

%hook UBSecondaryDispatchDefaultAcceptView

-(void)setShowPickupAndDropoffAddress:(bool)arg1 {

%orig(TRUE);

}

%end

 

%hook UBTripAddressesView

-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {

%orig(arg1, TRUE);

}

%end

 

%hook UBSecondaryDispatchView

-(void)setShowPickupAndDropoffAddress:(bool)arg1 {

%orig(arg1, TRUE);

}

 

%end

%hook UBTripAddressesViewController
-(bool)_allowsAddressesViewController {
    return TRUE;
}
%end
 
%hook UBTripAddressesView
-(bool)shouldDisplayDropoff {
    return TRUE;
}
%end

%hook UBSecondaryDispatchView 
-(bool)showPickupAndDropoffAddress {
    return TRUE;
}
%end
 
%hook UBSecondaryDispatchDefaultAcceptView
-(bool)showPickupAndDropoffAddress {
    return TRUE;
}
%end
 
%hook UBTripAddressesView
-(bool)shouldDisplayPickup {
    return FALSE;
}
%end
 
%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
    %orig(TRUE);
}
%end
 
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
    %orig(arg1, TRUE);
}
%end
 
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
    %orig(TRUE);
}
 
%end

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

    • Episode - Choose Your Story Cheats v26.30 +3 Cheats
      Modded/Hacked App: Episode - Choose Your Story By Episode Interactive, LLC
      Bundle ID: com.neonfun.catalog
      iTunes Store Link: https://apps.apple.com/us/app/episode-choose-your-story/id656971078?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

      - Free Premium Choices
      - Unlimited Passes
      - Debug Menu

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193903-episode-choose-your-story-v2600-3-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193902-episode-choose-your-story-cheats-v2602-3-cheats/
        • Agree
        • Like
      • 18 replies
    • [ Chiikawa Pocket JP ] ちいかわぽけっと v1.3.0 Jailed Cheats +3
      Modded/Hacked App: ちいかわぽけっと By Applibot Inc.
      Bundle ID: jp.co.applibot.chiikawapocket
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%81%A1%E3%81%84%E3%81%8B%E3%82%8F%E3%81%BD%E3%81%91%E3%81%A3%E3%81%A8/id6596745408?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
      - Custom Speed (Customize before Login or Clear stage to get apply)

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/194281-chiikawa-pocket-jp-%E3%81%A1%E3%81%84%E3%81%8B%E3%82%8F%E3%81%BD%E3%81%91%E3%81%A3%E3%81%A8-v1111-jailed-cheats-3/
      • 25 replies
    • Chiikawa Pocket Cheats v1.3.0 +3
      Modded/Hacked App: Chiikawa Pocket By Applibot Inc.
      Bundle ID: jp.co.applibot.chiikawapocketgl
      iTunes Store Link: https://apps.apple.com/us/app/chiikawa-pocket/id6740838442?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

      - God Mode
      - Multiply Attack

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193718-chiikawa-pocket-v111-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193717-chiikawa-pocket-cheats-v111-2/
      • 47 replies
    • Candy Crush Soda Saga Cheats v1.297.4 +3
      Modded/Hacked App: Candy Crush Soda Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsodasaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-soda-saga/id850417475?uo=4

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - Freeze Moves
      - Freeze Lives
      - Freeze Boosters


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191667-candy-crush-soda-saga-v12861-jailed-cheats-3/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191666-candy-crush-soda-saga-cheats-v12873-3/
      • 20 replies
    • Candy Crush Saga v1.307.5 Jailed Cheats +3
      Modded/Hacked App: Candy Crush Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-saga/id553834731?uo=4


      Hack Features:
      - Infinite Life
      - Infinite Booster
      - Infinite Move


      Jailbreak required hack(s): https://iosgods.com/topic/190447-candy-crush-saga-cheats-v12941-3/


      iOS Hack Download IPA Link: https://iosgods.com/topic/190448-candy-crush-saga-v12941-jailed-cheats-3/
        • Like
      • 117 replies
    • Barbie Dreamhouse Adventures Cheats v2025.5.0 +1
      Modded/Hacked App: Barbie Dreamhouse Adventures By Budge Studios
      Bundle ID: com.budgestudios.BarbieDreamhouse
      iTunes Store Link: https://apps.apple.com/us/app/barbie-dreamhouse-adventures/id1296796112?uo=4


      Hack Features:
      - PREMIUM


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/150378-barbie-dreamhouse-adventures-v202180-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/150377-barbie-dreamhouse-adventures-cheats-v202180-1/
        • Like
      • 79 replies
    • Plants vs. Zombies v3.10.1 Jailed Cheats +5
      Modded/Hacked App: Plants vs. Zombies™ By EA Swiss Sarl
      Bundle ID: com.ea.pvzfree.bv
      iTunes Store Link: https://apps.apple.com/us/app/plants-vs-zombies/id893677096?uo=4


      Hack Features

      - Infinite Sun
      - Infinite Fertilizer, BugSpray, and Chocolate
      - Infinite Coins
      - Infinite Plants Life
      - No Cooldown

      Author: https://iosgods.com/profile/37846-asianqueen/

      Complete tutorial before using any hacked features or you will stuck forever



      iOS Hack Download IPA Link https://iosgods.com/topic/191088-plants-vs-zombies%E2%84%A2-v381-jailed-cheats-5/
      • 36 replies
    • [ FFBE WoTV Japan ] FFBE幻影戦争 WAR OF THE VISIONS Cheats v12.3.0 +3
      Modded/Hacked App: FFBE幻影戦争 戦略RPG/シミュレーションゲーム By SQUARE ENIX Co., Ltd.
      Bundle ID: com.square-enix.WOTVffbejp
      iTunes Store Link: https://apps.apple.com/jp/app/ffbe%E5%B9%BB%E5%BD%B1%E6%88%A6%E4%BA%89-%E6%88%A6%E7%95%A5rpg-%E3%82%B7%E3%83%9F%E3%83%A5%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%B2%E3%83%BC%E3%83%A0/id1443703517?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Full Map Movement


      iOS Hack Download Link: https://iosgods.com/topic/173484-ffbe-wotv-japan-ffbe%E5%B9%BB%E5%BD%B1%E6%88%A6%E4%BA%89-war-of-the-visions-cheats-v916-3/
      • 101 replies
    • Angry Birds Dream Blast Cheats v1.89.0 +3
      Modded/Hacked App: Angry Birds Dream Blast By Rovio Entertainment Oyj
      Bundle ID: com.rovio.dream
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-dream-blast/id1432579280?uo=4


      Hack Features:
      - Infinite Moves
      - Infinite Lives
      - Infinite Boosters


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/149687-angry-birds-dream-blast-v1340-jailed-cheats-3/


      iOS Hack Download Link: https://iosgods.com/topic/149684-angry-birds-dream-blast-cheats-all-versions-3/
      • 105 replies
    • Angry Birds 2 Cheats v4.0.3 +1 [ Infinite Currencies ]
      Modded/Hacked App: Angry Birds 2 By Rovio Entertainment Oyj
      Bundle ID: com.rovio.baba
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-2/id880047117?uo=4


      Hack Features:
      - Infinite Currencies ( Spend some/ Get some )


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/70081-angry-birds-2-v2600-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/72039-angry-birds-2-cheats-v2600-1-infinite-currencies/
      • 1,962 replies
    • Temple Run 2 Cheats v1.123.0 +8
      Modded/Hacked App: Temple Run 2 by Imangi Studios, LLC
      Bundle ID: com.imangi.templerun2
      iTunes Store Link: https://apps.apple.com/us/app/temple-run-2/id572395608?uo=4&at=1010lce4


      Hack Features:
      - No Ads Enabled
      - x2 Coin Enabled
      - Infinite Coin (Spend some)
      - Infinite Gem (Spend some)
      - All Characters Unlocked
      - Free iAP (Turn off all iap hacks before using this, also if itunes popup don't show then run ldrestart in terminal -- This is an issue with the jailbreak not the hack)
      - Auto Run
      - Coin Magnet


      iOS Hack Download Link: https://iosgods.com/topic/132609-arm64-temple-run-2-cheats-v1691-8/
        • Like
      • 310 replies
    • Cats & Soup Cheats v2.73.0 +2
      Modded/Hacked App: Cats & Soup By HIDEA Co.,Ltd
      Bundle ID: com.hidea.cat
      iTunes Store Link: https://apps.apple.com/us/app/cats-soup/id1581431235?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
      - Unlocked All Specials and No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/157486-cats-soup-v2630-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/157484-cats-soup-cheats-v2640-2/
        • Winner
      • 307 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