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

    • Tower And Swords v2.322 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Tower And Swords By Jisu Im
      Bundle ID: com.Jaems.ProjectCreationRPG
      iTunes Store Link: https://apps.apple.com/us/app/tower-and-swords/id1660251779?uo=4


      🤩 Hack Features

      - IAP Free

      - Gems

      - Coins

      - Never Die

      - DMG

      - Crit Hit
        • Winner
        • Like
      • 23 replies
    • Tower And Swords v2.322 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Tower And Swords By Jisu Im
      Bundle ID: com.Jaems.ProjectCreationRPG
      iTunes Store Link: https://apps.apple.com/us/app/tower-and-swords/id1660251779?uo=4
       

      🤩 Hack Features

      - IAP Free

      - Gems

      - Coins

      - Never Die

      - DMG

      - Crit Hit
        • Thanks
        • Winner
        • Like
      • 18 replies
    • UnderGuild: Offense v1.3.6 [ +3 Cheats ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
        • Agree
        • Haha
        • Winner
        • Like
      • 35 replies
    • UnderGuild: Offense v1.3.6 [ +3 Jailed ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
        • Informative
        • Winner
        • Like
      • 16 replies
    • Royal Adventure : Big World v1.0.061 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Royal Adventure : Big World By KOOFEI LIMITED
      Bundle ID: com.koofei.matchmansion
      iTunes Store Link: https://apps.apple.com/us/app/royal-adventure-big-world/id6504521957?uo=4


      🤩 Hack Features

      - Coins

      - Stars

      - Booster

      - Lives

      - Auto Win


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Thanks
        • Winner
        • Like
      • 27 replies
    • Royal Adventure : Big World v1.0.061 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Royal Adventure : Big World By KOOFEI LIMITED
      Bundle ID: com.koofei.matchmansion
      iTunes Store Link: https://apps.apple.com/us/app/royal-adventure-big-world/id6504521957?uo=4

       

      🤩 Hack Features

      - Coins

      - Stars

      - Booster

      - Lives

      - Auto Win


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 35 replies
    • Soul Knight Cheats v7.9.0 +5
      Modded/Hacked App: Soul Knight By Zeyang Li
      Bundle ID: com.ChillyRoom.DungeonShooter
      iTunes Store Link: https://itunes.apple.com/us/app/soul-knight/id1184159988?mt=8&uo=4&at=1010lce4


      Hack Features:
      - God Mode
      - Infinite Ammo
      - Instant Skill
      - Infinite Currencies
       


      Hack Download Link: https://iosgods.com/topic/72042-arm64-soul-knight-cheats-v185-5/


      #Hack #Jailbreak #Cydia #Cheat #Apple #Android #iOSGods
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,342 replies
    • Cookies Inc. - Idle Tycoon v96.1 Jailed Cheats +2
      Modded/Hacked App: Cookies Inc. - Idle Tycoon By PIXELCUBE STUDIOS INC.
      Bundle ID: com.pixelcubestudios.cookiecollector2
      App Store Link: https://apps.apple.com/us/app/cookies-inc-idle-tycoon/id918606368?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

      - Free iAP (Turn on inside iOSGods Mod Menu first)
      - iGameGod Cheat Engine Enabled

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/116578-cookies-inc-idle-tycoon-v961-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 109 replies
    • Into The Dead 2 Cheats v1.82.1 +11
      Modded/Hacked App: Into the Dead 2 By Prodigy Design Limited T/A Sidhe Interactive
      Bundle ID: com.pikpok.dr2.iosstore
      iTunes Store Link: https://itunes.apple.com/us/app/into-the-dead-2/id1151220243?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Ammo
      - No Reload
      - One Shot Kill
      - Infinite Grenade
      - No Grenade Cooldown
      - Insane Explotion Radius after Throw Grenade
      - No Collision (God Mode)
      - Infinite Stamnia
      - ViP Services
      - Infinite Silver
      - Infinite Gold


      Hack Download Link: https://iosgods.com/topic/73337-arm64-into-the-dead-2-cheats-v1141-11/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,591 replies
    • Eatventure v1.48.0 Jailed Cheats +2
      Modded/Hacked App: Eatventure By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.hwqgrhhjfd.idlefastfood
      iTunes Store Link: https://apps.apple.com/us/app/eatventure/id1600871388?uo=4


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


      Jailbreak required hack(s): https://iosgods.com/topic/168170-eatventure-cheats-all-versions-1/


      iOS Hack Download IPA Link: https://iosgods.com/topic/168169-eatventure-v110-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 393 replies
    • Deep Rock Galactic: Survivor v1.0.9 Jailed Cheats +5
      Modded/Hacked App: Deep Rock Galactic: Survivor By Ghost Ship Publishing ApS
      Bundle ID: com.ghostshippublishing.deeprockgalacticsurvivor
      App Store Link: https://apps.apple.com/us/app/deep-rock-galactic-survivor/id6742194903?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

      - God Mode
      - Multiply Attack
      - Weak Enemies
      - Free Store
      - PREMIUM

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202065-deep-rock-galactic-survivor-v103-jailed-cheats-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 41 replies
    • Groove Journey v6.5.7 Jailed Mod +1
      Modded/Hacked App: Groove Journey By Somtochukwu Mbala
      Bundle ID: com.kaipha.groovejourney
      iTunes Store Link: https://apps.apple.com/us/app/groove-journey/id6736345547?uo=4


      Hack Features:
      - PREMIUM


      iOS Hack Download IPA Link: https://iosgods.com/topic/190862-groove-journey-v311-jailed-mod-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 199 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