Jump to content

how to i hook somthing with 12 arguments


Go to solution Solved by MrDemoManHax,

21 posts in this topic

Recommended Posts

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Posted

%hook ADVBusinessData
-(id)arg0 initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {
   arg5 = 0;
   arg6 = 1e+53;
   arg7 = 1e+69;
   arg8 = 0;
}
%end

Try it or do it 1 at time, maybe something is wrong. (Arg6 and arg7)

Posted
%hook ADVBusinessData
-(id)arg0 initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {
   arg5 = 0;
   arg6 = 1e+53;
   arg7 = 1e+69;
   arg8 = 0;
}
%end
Try it or do it 1 at time, maybe something is wrong. (Arg6 and arg7)

 

hi thanks for your help. iv just done that and im still getting the same error

%hook ADVBusinessData
-(id)arg0 initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {
   arg5 = 0;
   arg6 = 1e+53;
   arg7 = 1e+69;
   arg8 = 0;
}
%end
this is the error im getting

 

IMG_0146_zpsi4rfyqvu.png

Posted (edited)

Oops,

%hook ADVBusinessData-(id)initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {   arg5 = 0;   arg6 = 1e+53;   arg7 = 1e+69;   arg8 = 0;}%end

Or

 

%hook ADVBusinessData
-(id)initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {
   return %orig;
   arg5 = 0;
   arg6 = 1e+53;
   arg7 = 1e+69;
   arg8 = 0;
}
%end
Updated by Amuyea
Posted

get diffrent error now saying control reaches end of non-void function

 }

^


Oops,

%hook ADVBusinessData-(id)initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {   arg5 = 0;   arg6 = 1e+53;   arg7 = 1e+69;   arg8 = 0;}%end
Or

%hook ADVBusinessData
-(id)initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {
   return %orig;
   arg5 = 0;
   arg6 = 1e+53;
   arg7 = 1e+69;
   arg8 = 0;
}
%end

get diffrent error now saying control reaches end of non-void function

 }

^

Posted

@@MrDemoManHax

 

%hook ADVBusinessData
-(id)initWithName:(char*)arg1 img:(char*)arg2 business_id:(char*)arg3 tier:(int)arg4 baseThreat:(float)arg5 baseEarning:(double)arg6 baseCapacity:(double)arg7 baseBuildTime:(double)arg8 basePrice:(double)arg9 baseSellPrice:(double)arg10 unlockType:(int)arg11 {
   return %orig(arg1, arg2, arg3, arg4, 0, 1e+53, 1e+69, 0, arg9, arg10, arg11);
}
%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

    • Matching Story v1.58.01 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Like
      • 92 replies
    • Matching Story v1.58.01 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 89 replies
    • Element War : Merge Games v0.2 [ +1 Jailed ] Currency Max
      Modded/Hacked App: Element War : Merge Games By Gamify Studio FZ-LLC
      Bundle ID: com.gamifystudio.elementalbattle
      App Store Link: https://apps.apple.com/nz/app/element-war-merge-games/id6753741421?uo=4

      🤩 Hack Features

      - Unlimited Coins
      • 0 replies
    • Element War : Merge Games v0.2 [ +1 Cheats ] Currency Max
      Modded/Hacked App: Element War : Merge Games By Gamify Studio FZ-LLC
      Bundle ID: com.gamifystudio.elementalbattle
      App Store Link: https://apps.apple.com/nz/app/element-war-merge-games/id6753741421?uo=4

      🤩 Hack Features

      - Unlimited Coins
      • 1 reply
    • Last Legion: Tower Defense TD v1.1.2 [ +13 APK MOD ] Currency Max
      Mod APK Game Name: Last Legion: Tower Defense TD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=last.legion.tower.defense.survival.war.fortress.idle.td&hl=en
      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 0 replies
    • SimCity BuildIt Cheats v1.74.1 +1 [ Freeze Currencies ]
      Modded/Hacked App: SimCity BuildIt By EA Swiss Sarl
      Bundle ID: com.ea.simcitymobile.bv
      iTunes Store Link: https://apps.apple.com/us/app/simcity-buildit/id913292932?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124792-arm64-simcity-buildit-v1412-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/157687-simcity-buildit-cheats-v1415-1/
        • Agree
      • 727 replies
    • Last Legion: Tower Defense TD v1.1.3 [ +13 Cheats ] Currency Max
      Modded/Hacked App: Last Legion: Tower Defense TD By Antares Games s.r.o.
      Bundle ID: last.legion.tower.defense.survival.war.fortress.idle.td
      App Store Link: https://apps.apple.com/us/app/last-legion-tower-defense-td/id6753672104?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 9 replies
    • Last Legion: Tower Defense TD v1.1.3 [ +13 Jailed ] Currency Max
      Modded/Hacked App: Last Legion: Tower Defense TD By Antares Games s.r.o.
      Bundle ID: last.legion.tower.defense.survival.war.fortress.idle.td
      App Store Link: https://apps.apple.com/us/app/last-legion-tower-defense-td/id6753672104?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 11 replies
    • Miner Fighters ! v3.1.1 [ +10 Cheats ] Currency Max
      Modded/Hacked App: Miner Fighters ! By UNICO STUDIO LLC
      Bundle ID: com.unicostudio.minerfighters
      App Store Link: https://apps.apple.com/us/app/miner-fighters/id6752961543?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Red Gems
      - Unlimited Green Gems
      - Hero Cost Up / Earn Green Gems
      - Gold / No Need IN Battle For Trop
      - Trop Unlocked / IN Battle Only 
      - Trower HP
      - HP
      - ATK
      - DEF
      - Luck
      - Miner Gold
      • 8 replies
    • Miner Fighters ! v3.1.1 [ +10 Jailed ] Currency Max
      Modded/Hacked App: Miner Fighters ! By UNICO STUDIO LLC
      Bundle ID: com.unicostudio.minerfighters
      App Store Link: https://apps.apple.com/us/app/miner-fighters/id6752961543?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Red Gems
      - Unlimited Green Gems
      - Hero Cost Up / Earn Green Gems
      - Gold / No Need IN Battle For Trop
      - Trop Unlocked / IN Battle Only 
      - Trower HP
      - HP
      - ATK
      - DEF
      - Luck
      - Miner Gold
      • 10 replies
    • Tower Defense Rumble v7424 [ +10 Cheats ] Easy Win
      Modded/Hacked App: Tower Defense Rumble By DU-EON YOO
      Bundle ID: com.i.dfr
      App Store Link: https://apps.apple.com/ph/app/tower-defense-rumble/id6738600584?uo=4

      🤩 Hack Features

      - Always Last Wave / Easy Win
      Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      Base Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      - ATK Speed
      • 5 replies
    • Dice Lords v1.4 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
      • 17 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