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

    • Egg, Inc. Cheats v1.35.1 +1 [ Free Store ]
      Modded/Hacked App: Egg, Inc. By Auxbrain, Inc.
      Bundle ID: com.auxbrain.egginc
      iTunes Store Link: https://apps.apple.com/us/app/egg-inc/id993492744?uo=4


      Hack Features:
      - Infinite Currencies (Spend to Gain)


      iOS Hack Download Link: https://iosgods.com/topic/141151-egg-inc-cheats-all-versions-1-infinite-currencies/
      • 477 replies
    • Galaxy Attack: Alien Shooter v5.14.9 [ +30++ Cheats ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible  

       

      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 94 replies
    • Galaxy Attack: Alien Shooter v5.14.9 [ +30++ Jailed ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?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

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      📥 iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 77 replies
    • Galaxy Attack Alien Shooter v5.14.9 [ +3 Jailed ] Never Die
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4


      Hack Features:
      - Max Bullet
      - Max Life
      - DMG



      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 74 replies
    • Galaxy Attack Alien Shooter v5.14.9 [ +3 Cheats ] Never Die
      Modded/Hacked App: Galaxy Attack: Alien Shooter By ABIGAMES PTE. LTD
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4


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


      Hack Features:
      - Max Life 
      - Damage Multi [PvP Use Only Boss ] 
      - Max Bullet



      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/


      iOS Hack Download Link:

      Hidden Content

      Download Hack
      • 225 replies
    • Egg, Inc. v1.35.1 Jailed Cheats +1 [ Free Store ]
      Modded/Hacked App: Egg, Inc. by Auxbrain, Inc.
      Bundle ID: com.auxbrain.egginc
      iTunes Store Link: https://itunes.apple.com/us/app/egg-inc/id993492744?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Free iAP


      Hack Download Link: https://iosgods.com/topic/86300-arm64-egg-inc-v18-jailed-cheats-1/

      #Hack #Jailbreak #Cydia #Cheat #Apple #Android #iOSGods
      • 947 replies
    • Soccer Journey 2026 v1.0.6 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Soccer Journey 2026 By KONG SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.kongsoftware.project02sj.gl
      App Store Link: https://apps.apple.com/us/app/soccer-journey-2026/id6745119606?uo=4


      🤩 Hack Features

      - Gold

      - Cash

      - Player Energy

      - Match Energy

      - Tokens

      - EXP User

      - Scout Ticket +3

      - Standard Scout +4

      - Cube +4

      - Training +3

      - Upgrade Cost All Building [ Earn Cash ]

      - Speed UP Cost All Building [ Earn Cash ]
      • 43 replies
    • Offroad Outlaws v7.0.25 Jailed Cheats +1
      Modded/Hacked App: Offroad Outlaws by Zach Smith
      Bundle ID: com.battlecreek.offroadoutlaws
      iTunes Store Link: https://apps.apple.com/us/app/offroad-outlaws/id1286538410?uo=4&at=1010lce4


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


      Hack Features:
      - Free iAP (Turn on inside iOSGods Mod Menu first)
       


      iOS Hack Download Link: https://iosgods.com/topic/130663-offroad-outlaws-v7025-jailed-cheats-1/
      • 223 replies
    • Walkalypse - IRL Survival RPG v1.1.10 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Walkalypse - IRL Survival RPG By CGDEALERS LTD EOOD
      Bundle ID: com.cgdealers.walkalypse
      App Store Link: https://apps.apple.com/ph/app/walkalypse-irl-survival-rpg/id6748278171?uo=4

      🤩 Hack Features

      - Unlimited Gold / Earn Some Disable After Hack
      - Daily Steps / Auto Max When Use
      - Offline Steps Freeze
      - Resources Max 100 / Earn Some
      • 13 replies
    • Walkalypse - IRL Survival RPG v1.1.10 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Walkalypse - IRL Survival RPG By CGDEALERS LTD EOOD
      Bundle ID: com.cgdealers.walkalypse
      App Store Link: https://apps.apple.com/ph/app/walkalypse-irl-survival-rpg/id6748278171?uo=4

      🤩 Hack Features

      - Unlimited Gold / Earn Some Disable After Hack
      - Daily Steps / Auto Max When Use
      - Offline Steps Freeze
      - Resources Max 100 / Earn Some
      • 6 replies
    • Paradise Paws: Merge Animals v1.0.15 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4
       

      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
      • 31 replies
    • Paradise Paws: Merge Animals v1.0.15 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4


      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
      • 32 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