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

    • Asphalt Legends Unite Cheats v46.0.5 +2
      Modded/Hacked App: Asphalt 9: Legends By Gameloft
      Bundle ID: com.gameloft.asphalt9
      iTunes Store Link: https://itunes.apple.com/us/app/asphalt-9-legends/id805603214


      Hack Features:
      - Unlimited Nitro Use / No Nitro Consumption
      - No Traffic / No Incoming Cars
      More to come!
      • 8,658 replies
    • Chapters: Interactive Stories v2.0.9 +1 Cheats
      Modded/Hacked App: Chapters: Interactive Stories By Crazy Maple Studio, Inc.
      Bundle ID: com.mars.avgchapters
      iTunes Store Link: https://apps.apple.com/us/app/chapters-interactive-stories/id1277029359?uo=4



      Hack Features:
      - Freeze Tickets [read chapter for free]


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/138328-chapters-interactive-stories-v193-1-cheats-for-jailed-idevices/


      iOS Hack Download Link: https://iosgods.com/topic/137489-chapters-interactive-stories-v193-1-cheats/
      • 368 replies
    • Hill Climb Racing 2 v1.67.4 Cheats +1
      Modded/Hacked App: Hill Climb Racing 2 By Fingersoft
      Bundle ID: com.fingersoft.hillclimbracing2
      iTunes Store Link: https://apps.apple.com/us/app/hill-climb-racing-2/id1146465836?uo=4


      Hack Features:
      - Freeze Coins
      - Freeze Gems
      - Freeze Scraps


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/108295-hill-climb-racing-2-v1611-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/108298-hill-climb-racing-2-v1612-cheats-3/
      • 2,194 replies
    • Arknights Cheats v30.5.02 +8 - [ God Mode & More ]
      Modded/Hacked App: Arknights By YOSTAR (HONG KONG) LIMITED
      Bundle ID: com.YoStarEN.Arknights
      iTunes Store Link: https://apps.apple.com/us/app/arknights/id1464872022?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

      - God Mode
      - Frozen Enemies
      - One Hit Kill
      - Instant - Win
      - No Deploy Cost
      - Multiply Damage
      - Multiply Defense
      - Multiply Character Speed


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191668-arknights-v27361-jailed-cheats-8/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/117802-arknights-cheats-v27361-8-god-mode-more/
      • 1,066 replies
    • Zombie Harbor: FPS Zombie Game v1.1.0 +12 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Zombie Harbor: FPS Zombie Game By MYGAMES MENA FZ LLC
      Bundle ID: games.my.zombie.shooter.fps
      App Store Link: https://apps.apple.com/us/app/zombie-harbor-fps-zombie-game/id6744439436?uo=4

       
       

      🤩 Hack Features

      - Freeze Currencies
      - Freeze Ammo
      - No Recoil
      - No Spread
      - Increased Fire Rate

      VIP
      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - Unlimited Currencies
      - Kill All Enemies
      - Become Invisible
      • 2 replies
    • Zombie Harbor: FPS Zombie Game v1.1.0 +12 Cheats [ Damage & Defence ]
      Modded/Hacked App: Zombie Harbor: FPS Zombie Game By MYGAMES MENA FZ LLC
      Bundle ID: games.my.zombie.shooter.fps
      App Store Link: https://apps.apple.com/us/app/zombie-harbor-fps-zombie-game/id6744439436?uo=4

       
       

      🤩 Hack Features

      - Freeze Currencies
      - Freeze Ammo
      - No Recoil
      - No Spread
      - Increased Fire Rate

      VIP
      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - Unlimited Currencies
      - Kill All Enemies
      - Become Invisible
      • 3 replies
    • Heroes Crew: Strategy Defense v1.3.10 [+10 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 93 replies
    • Heroes Crew: Strategy Defense v1.3.10 [+10 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 45 replies
    • Paradise Paws: Merge Animals v1.0.6 [ +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
      • 22 replies
    • Paradise Paws: Merge Animals v1.0.6 [ +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
      • 17 replies
    • Swordy Quest: An RPG Adventure v5.25.1 [ +18 Jailed ] Currency Max
      Modded/Hacked App: Swordy Quest: An RPG Adventure By Seligman Ventures Global Limited
      Bundle ID: com.SeligmanVenturesGlobal.fwcStrategy
      App Store Link: https://apps.apple.com/us/app/swordy-quest-an-rpg-adventure/id1446641513?uo=4
       

      🤩 Hack Features

      - Golden Gems

      - Silver Coins

      - Crystals Achievement

      - Golden Event Ticket

      - Clan Award +2

      - Food+++

      - Potions +3

      - Home Items+++

      - Resources+++

      - Armour+++

      - Clothing+++

      - Utilites+++

      - Magic+++

      - Mounts+++

      - Commodities+++

      - HP [ Need Slpeep Then Work ]

      - EXP [ Faster LvL UP ]

      - LvL
      • 8 replies
    • Swordy Quest: An RPG Adventure v5.25.1 [ +18 Cheats ] Currency Max
      Modded/Hacked App: Swordy Quest: An RPG Adventure By Seligman Ventures Global Limited
      Bundle ID: com.SeligmanVenturesGlobal.fwcStrategy
      App Store Link: https://apps.apple.com/us/app/swordy-quest-an-rpg-adventure/id1446641513?uo=4


      🤩 Hack Features

      - Golden Gems

      - Silver Coins

      - Crystals Achievement

      - Golden Event Ticket

      - Clan Award +2

      - Food+++

      - Potions +3

      - Home Items+++

      - Resources+++

      - Armour+++

      - Clothing+++

      - Utilites+++

      - Magic+++

      - Mounts+++

      - Commodities+++

      - HP [ Need Slpeep Then Work ]

      - EXP [ Faster LvL UP ]

      - LvL
      • 8 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