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

    • Lollipop 3: Match 3 Puzzles v25.0619.00 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4
       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 
      • 6 replies
    • Lollipop 3: Match 3 Puzzles v25.0619.00 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?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

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 10 replies
    • Arena Heroes: Online RPG v1.10.30 [ +2 Cheats ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4
       

      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 22 replies
    • Arena Heroes: Online RPG v1.10.30 [ +2 Jailed ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4


      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 14 replies
    • 20 Minutes Till Dawn v6.6.2 [ +12+++ Cheats ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?uo=4


      Hack Features:
      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune


      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/
      • 31 replies
    • 20 Minutes Till Dawn v6.6.2 [ +12+++ Jailed ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?uo=4


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


      Hack Features:

      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune

       
      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/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App
      • 17 replies
    • Stick Cricket Clash v1.9.7 [ +3 Jailed ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4


      Hack Features:
      - Currency Freeze
      - Score [ Win All Match ]
      - Ads Reward 


      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/
      • 13 replies
    • Stick Cricket Clash v1.9.7 [ +3 Cheats ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4



      Hack Features:
      - Currency Freeze
      - Score Win All Match
      - Ads Reward 



      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/
      • 40 replies
    • Backpack Rush v1.602.207 [ +20 Cheats ] Currency Max
      Modded/Hacked App: Backpack Rush By Noodle Games Limited
      Bundle ID: com.onicore.backpack.rush
      iTunes Store Link: https://apps.apple.com/us/app/backpack-rush/id6736857029?uo=4

      Hack Features:
      - ADS Ticket

      - Gems

      - Gold

      - Energy

      - Silver Coins [ Merge Weapons ]

      - Summon Coins

      - Heroic Water [ Hero Up ]

      - Meteor Essence [ Gear Refining ]

      - Talent Book +2

      - Core Evo Stone [ Pet Evo Up ]

      - Fish Hook [ Obtain Gear During A Voyage ]

      - Pickaxe [ Mine ]

      - Blueprint [ Outfit Equip UP ]

      - Fragment [ Gear Up ]

      - Fragment [ Pet UP ]

      - Dungeon Keys +3

      - Spin

      - Enemy Status [ HP ATK 0 ] Easy Kill

      - DMG [ Outfit Just Equip & Unequip ]

      - HP [ Outfit Just Equip & Unequip ]


      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/
      • 34 replies
    • Backpack Rush v1.602.207 [ +20 Jailed ] Currency Max
      Modded/Hacked App: Backpack Rush By Noodle Games Limited
      Bundle ID: com.onicore.backpack.rush
      iTunes Store Link: https://apps.apple.com/us/app/backpack-rush/id6736857029?uo=4

      Hack Features:

      - ADS Ticket

      - Gems

      - Gold

      - Energy

      - Silver Coins [ Merge Weapons ]

      - Summon Coins

      - Heroic Water [ Hero Up ]

      - Meteor Essence [ Gear Refining ]

      - Talent Book +2

      - Core Evo Stone [ Pet Evo Up ]

      - Fish Hook [ Obtain Gear During A Voyage ]

      - Pickaxe [ Mine ]

      - Blueprint [ Outfit Equip UP ]

      - Fragment [ Gear Up ]

      - Fragment [ Pet UP ]

      - Dungeon Keys +3

      - Spin

      - Enemy Status [ HP ATK 0 ] Easy Kill

      - DMG [ Outfit Just Equip & Unequip ]

      - HP [ Outfit Just Equip & Unequip ]

       
      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/
      • 25 replies
    • Candy Pop Story : Match 3 v1.21.0618 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      -
      • 3 replies
    • Candy Pop Story : Match 3 v1.21.0618 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      • 4 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