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

    • 우주경찰들: 탈옥수 체포작전 Space Cops: Fugitive Hunt v1.0.36 [ +5 Cheats ] Currency Max
      Modded/Hacked App: 우주경찰들: 탈옥수 체포작전 By Double Minor Co., Ltd
      Bundle ID: com.doubleminor.SpaceCowboys
      App Store Link: https://apps.apple.com/kr/app/%EC%9A%B0%EC%A3%BC%EA%B2%BD%EC%B0%B0%EB%93%A4-%ED%83%88%EC%98%A5%EC%88%98-%EC%B2%B4%ED%8F%AC%EC%9E%91%EC%A0%84/id6755414827?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited EXP / Faster LvL UP
        • Winner
        • Like
      • 3 replies
    • 우주경찰들: 탈옥수 체포작전 Space Cops: Fugitive Hunt v1.0.36 [ +5 Jailed ] Currency Max
      Modded/Hacked App: 우주경찰들: 탈옥수 체포작전 By Double Minor Co., Ltd
      Bundle ID: com.doubleminor.SpaceCowboys
      App Store Link: https://apps.apple.com/kr/app/%EC%9A%B0%EC%A3%BC%EA%B2%BD%EC%B0%B0%EB%93%A4-%ED%83%88%EC%98%A5%EC%88%98-%EC%B2%B4%ED%8F%AC%EC%9E%91%EC%A0%84/id6755414827?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited EXP / Faster LvL UP
        • Winner
      • 3 replies
    • Narin Secrets of Dwarvenia v1.0.3 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Narin By 1DER Entertainment s.r.o
      Bundle ID: com.OsOs.Narin
      App Store Link: https://apps.apple.com/us/app/narin/id6754609794?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Inventory Items
        • Winner
        • Like
      • 6 replies
    • Narin Secrets of Dwarvenia v1.0.3 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Narin By 1DER Entertainment s.r.o
      Bundle ID: com.OsOs.Narin
      App Store Link: https://apps.apple.com/us/app/narin/id6754609794?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Inventory Items
        • Agree
        • Winner
        • Like
      • 4 replies
    • Tiny Heroes: Idle Boss Fight v1.5.2 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Tiny Heroes: Idle Boss Fight By GOECORUSH Media, s. r. o.
      Bundle ID: com.vivuga.herotycoon
      App Store Link: https://apps.apple.com/us/app/tiny-heroes-idle-boss-fight/id6758800990?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      - ADS No / Use Luna ADS Blocker
        • Winner
      • 4 replies
    • Tiny Heroes: Idle Boss Fight v1.5.2 [ +2 jailed ] Currency Max
      Modded/Hacked App: Tiny Heroes: Idle Boss Fight By GOECORUSH Media, s. r. o.
      Bundle ID: com.vivuga.herotycoon
      App Store Link: https://apps.apple.com/us/app/tiny-heroes-idle-boss-fight/id6758800990?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      - ADS No / Use Luna ADS Blocker
        • Winner
        • Like
      • 3 replies
    • 스페이스 미니언즈: 디펜스 Space Minions: Defense v0.0.10 [ +9 Cheats ] Never Die
      Modded/Hacked App: Space Minions: Defense By Teamsparta Inc.
      Bundle ID: com.TeamSparta.SpaceMinions
      App Store Link: https://apps.apple.com/kr/app/space-minions-defense/id6758454845?uo=4

      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed
        • Winner
      • 3 replies
    • 스페이스 미니언즈: 디펜스 Space Minions: Defense v0.0.10 [ +9 Jailed ] Never Die
      Modded/Hacked App: Space Minions: Defense By Teamsparta Inc.
      Bundle ID: com.TeamSparta.SpaceMinions
      App Store Link: https://apps.apple.com/kr/app/space-minions-defense/id6758454845?uo=4

      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed
        • Winner
        • Like
      • 3 replies
    • 배틀 쉽 고 : 몬스터 웨이브 Battle Ship Go: Monster Wave v0.0.7 [ +9 Cheats ] Never Die
      Modded/Hacked App: Battle Ship Go: Monster Wave By Teamsparta Inc.
      Bundle ID: com.TeamSparta.battleshipgo
      App Store Link: https://apps.apple.com/kr/app/battle-ship-go-monster-wave/id6758370740?uo=4
      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed
        • Winner
        • Like
      • 6 replies
    • 배틀 쉽 고 : 몬스터 웨이브 Battle Ship Go: Monster Wave v0.0.7 [ +9 Jailed ] Never Die
      Modded/Hacked App: Battle Ship Go: Monster Wave By Teamsparta Inc.
      Bundle ID: com.TeamSparta.battleshipgo
      App Store Link: https://apps.apple.com/kr/app/battle-ship-go-monster-wave/id6758370740?uo=4

      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed

      Note: Don't Abuse Hack Incase Banned
        • Winner
        • Like
      • 6 replies
    • Galaxy Attack: Alien Shooter v5.17.2 [ +30++ Jailed ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?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

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      📥 iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 95 replies
    • Galaxy Attack: Alien Shooter v5.17.2 [ +30++ Cheats ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible  

       

      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 107 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