Jump to content

Need help with these Arguments


Go to solution Solved by castix,

12 posts in this topic

Recommended Posts

Posted (edited)

I know the basic things from flex to tweak.xm, but i dont know how to make these arguments

 

-(BOOL)areAdsAvailableZone:(id)

Return Value (BOOL)

    FALSE

Argument#1 (id)

(null)

My guess is this:

-(BOOL)areAdsAvailableZone:(id)fp8{
    %orig(FALSE,fp8);
}

I wanted to know the right code for these ones too (more than 1 arguments)

 

-(BOOL)hasDailyCapReachedForProvider:(id)zone:(id)

  (True, null, null)

 

-(void)vungleViewDidDisappear:(id)willShowProductView:(BOOL)

  (pass-through, pass-through, FALSE)

 

Thanks ^_^
 

Updated by Amuyea
Posted

Set pass Tru to true if I'm not mistaking

Pass-through? not really :3  i wanted it to pass-through instead of null

Posted

I thought when u set pass through to false it doesn't work? Well I tried to help not my cup of tea on this subject lol

TRUE or FALSE only apply to Boolean :p

Posted (edited)
-(BOOL)areAdsAvailableZone:(id)fp8
{
return true;
fp8=nil;
}

-(void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12

{

fp12=false;

%orig(fp8,fp12);

 

try this :D

Updated by TheChief
Posted
-(BOOL)areAdsAvailableZone:(id)fp8
{
return true;
fp8=nil;
}

-(void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12

{

fp12=false;

%orig(fp8,fp12);

 

try this :D

 

works thanks :3

just need this one

 

-(BOOL)hasDailyCapReachedForProvider:(id)zone:(id)

  (True, null, null)

 

so it is:

-(BOOL)hasDailyCapReachedForProvider:(id)fp8 zone:(id)fp10 {
 fp8=true;
%orig(fp10)
}

?

  • Solution
Posted (edited)

In the first step you have your function method which is

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12

See how I already added fp8 and fp12 after the argument type? You can write there anything you want instead fp8 etc. Just note that you can't use the same name more than once in a method. That's why I've named it fp12 and then fp16, fp20 etc...

 

So let's have a look what you want to hack here. Like I said, changing id doesn't work with NSNumber or NSArray however as you have already seen it in custom alertviews, you can use NSString for it if you are 100% sure what the id does in the game. So what's left is the last boolean. Since we named it fp12 here in this example it also has the same name if you want to return it so always keep it in mind.

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 {
     return %orig(fp8, fp12);
}

This is the default return if we wouldn't change anything but you can clearly see here how the function method is built. We have our %orig for the void, fp8 for the id and also our boolean fp12. As you guessed right, the arguments are indeed in brackets. What I will show you now does not fit to that term you know here. We are going to assign fp12 to a custom value.

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 {
     fp12 = true;
     return %orig(fp8, fp12);
}

Now we set the value of fp12 (BOOl) to true the first time. You can continue like this depending on the argument count:

fp8 = 
fp12 =
fp16 =
fp20 =
...

You can also hack it your way

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 {
     return %orig(fp8, true);
}

Please note that this way leads to more mismatches within the arguments so I recommend you doing it the first way. A common error would be ".. is not a function pointer ~ return 999(true, 999). The two integers would conflict with each other because iOS thinks you are giving an address.

 

 

You can do whatever you want, it's up to you ;)

 

According to what I said above it is

 

- (BOOL)hasDailyCapReachedForProvider:(id)fp8 zone:(id)fp12 {
  return true;
}

If you don't hack the arguments, ignore them.

Updated by castix
Posted

NULL or nil an id doesn't change it. You can ignore that :)

 

In the first step you have your function method which is

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12

See how I already added fp8 and fp12 after the argument type? You can write there anything you want instead fp8 etc. Just note that you can't use the same name more than once in a method. That's why I've named it fp12 and then fp16, fp20 etc...

 

So let's have a look what you want to hack here. Like I said, changing id doesn't work with NSNumber or NSArray however as you have already seen it in custom alertviews, you can use NSString for it if you are 100% sure what the id does in the game. So what's left is the last boolean. Since we named it fp12 here in this example it also has the same name if you want to return it so always keep it in mind.

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 {
     return %orig(fp8, fp12);
}

This is the default return if we wouldn't change anything but you can clearly see here how the function method is built. We have our %orig for the void, fp8 for the id and also our boolean fp12. As you guessed right, the arguments are indeed in brackets. What I will show you now does not fit to that term you know here. We are going to assign fp12 to a custom value.

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 {
     return %orig;
     fp12 = true;
}

Now we set the value of fp12 (BOOl) to true the first time. You can continue like this depending on the argument count:

fp8 = 
fp12 =
fp16 =
fp20 =
...

You can also hack it your way

- (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 {
     return %orig(fp8, true);
}

Please note that this way leads to more mismatches within the arguments so I recommend you doing it the first way. A common error would be ".. is not a function pointer ~ return 999(true, 999). The two integers would conflict with each other because iOS thinks you are giving some coordinates like point(x, y).

 

 

You can do whatever you want, it's up to you ;)

According to what I said above it is

- (BOOL)hasDailyCapReachedForProvider:(id)fp8 zone:(id)fp12 {
  return true;
}

If you don't hack the arguments, ignore them.

perfect, i understand it now :3

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

    • Classroom of the Elite v1.0.1 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Classroom of the Elite By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.classroomoftheelite
      App Store Link: https://apps.apple.com/us/app/classroom-of-the-elite/id6670073323?uo=4

       
       

      🤩 Hack Features

      - Freeze Energy
      - Freeze Gems
      - Auto Win
      -- Full Game Unlocked

      VIP
      - Unlimited Coins -> Earn some.
      - Unlimited Gems -> Spend some.
      - Unlimited Energy - Earn some.
      - Unlimited XP -> Earn some.
      • 0 replies
    • Classroom of the Elite v1.0.1 +8 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Classroom of the Elite By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.classroomoftheelite
      App Store Link: https://apps.apple.com/us/app/classroom-of-the-elite/id6670073323?uo=4

       


      🤩 Hack Features

      - Freeze Energy
      - Freeze Gems
      - Auto Win
      -- Full Game Unlocked

      VIP
      - Unlimited Coins -> Earn some.
      - Unlimited Gems -> Spend some.
      - Unlimited Energy - Earn some.
      - Unlimited XP -> Earn some.
      • 0 replies
    • Zombie Infinity v1.8.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
      • 0 replies
    • Zombie Infinity v1.8.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
      • 0 replies
    • GrandChase Cheats v1.91.2 +4 [ Multiply Attack & More ]
      Modded/Hacked App: GrandChase By KOG co., Ltd
      Bundle ID: com.kog.grandchaseglobal
      iTunes Store Link: https://itunes.apple.com/us/app/grandchase/id1385904294?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 or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - x Player Damage - x1 - 100
      - x Player HP - x1 - 100
      - Auto-Win
      - Unlimited Skills

      All features are unlinked and only for player, you!

      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.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,466 replies
    • Earn to Die Rogue v1.14.178 +15 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Jailbreak required hack(s): [Mod Menu Hack] Earn to Die Rogue v1.00.96 +2 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
      • 266 replies
    • Earn to Die Rogue v1.14.178 +15 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Earn to Die Rogue v1.00.96 +2 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
      • 155 replies
    • Virtual Villagers 6 v1.9.7 +100 Jailed Cheats [ Cheats Menu ]
      Modded/Hacked App: Virtual Villagers 6 By LDW Software, LLC
      Bundle ID: com.ldw.vv6
      iTunes Store Link: https://apps.apple.com/us/app/virtual-villagers-6/id6566193928?uo=4

       
       

      Hack Features

      - Cheats Menu -> Head into Settings, toggle the Help button, close settings then re-open to show a Cheats button.*
      - Unlimited Food*
      - Unlimited Wood*
      - Unlimited Stone*
      - Unlimited Tech Points*
      - Unlimited Lavastone*

      * - Head into Settings and toggle the Help button. Only enable 1 feature at a time.


      Jailbreak required iOS hacks: [Mod Menu Hack] Virtual Villagers 6 v1.3.23 +100 Cheats [ Cheats Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Like
      • 8 replies
    • Virtual Villagers 6 v1.9.7 +100 Cheats [ Cheats Menu ]
      Modded/Hacked App: Virtual Villagers 6 By LDW Software, LLC
      Bundle ID: com.ldw.vv6
      iTunes Store Link: https://apps.apple.com/us/app/virtual-villagers-6/id6566193928?uo=4

       


      Hack Features

      - Cheats Menu -> Head into Settings, toggle the Help button, close settings then re-open to show a Cheats button.*
      - Unlimited Food*
      - Unlimited Wood*
      - Unlimited Stone*
      - Unlimited Tech Points*
      - Unlimited Lavastone*

      * - Head into Settings and toggle the Help button. Only enable 1 feature at a time.


      For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Virtual Villagers 6 v1.3.23 +100 Jailed Cheats [ Cheats Menu ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Haha
        • Thanks
        • Like
      • 5 replies
    • Hellsquad Rrrush! v1.0.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hellsquad Rrrush! By Wemade Max Co., Ltd.
      Bundle ID: com.wemademax.projectsc
      App Store Link: https://apps.apple.com/us/app/hellsquad-rrrush/id6737409896?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Informative
        • Winner
        • Like
      • 4 replies
    • Hellsquad Rrrush! v1.0.1 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hellsquad Rrrush! By Wemade Max Co., Ltd.
      Bundle ID: com.wemademax.projectsc
      App Store Link: https://apps.apple.com/us/app/hellsquad-rrrush/id6737409896?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Winner
      • 5 replies
    • [ DBL ]ドラゴンボール レジェンズ v6.4.0 - [ Instant - Win & More ]
      Modded/Hacked App: ドラゴンボール レジェンズ By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0333
      iTunes Store Link: https://itunes.apple.com/jp/app/ドラゴンボール-レジェンズ/id1358232022


      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 - 20 
      - x Player Defense - x1 - 20 
      - One Hit Kill
      - God Mode 
      - 1 Enemy Per Quest
      - Instant - Win - Enable It When You In Battle
      - No Swap CoolDown
      - No Vanish CoolDown
      - No KI Cost
      - Auto Complete All Challenges-> Currency/Chrono Crystals Hack!
      - Always Critical
      - Tutorial Bypass
      - All Cards Give DragonBalls

      All functions are unlinked and only for player, you!
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,646 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