Jump to content

%end does not make sense inside block


Go to solution Solved by Ted2,

25 posts in this topic

Recommended Posts

Posted

%hook UserInfo
-(unsigned int) "What is function name" fp8 getConsumableAmountOfType:(int)fp12 { //Tell functionname
fp8 = 1;
fp12 = 1;
return %orig; //if you don't wanna return it anything, I think you need to do: return; or return %orig; (not just %orig, not sure tho)
}
%end

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted
3 minutes ago, Ted2 said:

%hook UserInfo
-(unsigned int) "What is function name" fp8 getConsumableAmountOfType:(int)fp12 { //Tell functionname
fp8 = 1;
fp12 = 1;
return %orig; //if you don't wanna return it anything, I think you need to do: return; or return %orig; (not just %orig, not sure tho)
}
%end

I thought you knew everything gosh.

Nobody but me seems to use the code functionality..

Posted
Just now, Fadexz said:

I thought you knew everything gosh.

Nobody but me seems to use the code functionality..

You need to declare the original function name, with arguments you don't have to, you can use fp8 etc etc.

The unsigned int is the main function name, now in your code it doesn't have a function name & obviously it will generate errors.

Posted (edited)
6 minutes ago, Ted2 said:

%hook UserInfo
-(unsigned int) "What is function name" fp8 getConsumableAmountOfType:(int)fp12 { //Tell functionname
fp8 = 1;
fp12 = 1;
return %orig; //if you don't wanna return it anything, I think you need to do: return; or return %orig; (not just %orig, not sure tho)
}
%end

6XSf2pQ.png

This's the unit from flex

Updated by Demi-God
Posted
4 minutes ago, Ted2 said:

-(unsigned int) getConsumableAmountOfType:(int)fp12 {

 

Use this on the line

But what about the two returned value? fp8 = 1

fp12 = 1

Posted
1 minute ago, Demi-God said:

But what about the two returned value? fp8 = 1

fp12 = 1

There is only one argument in your screenshot

%hook UserInfo
-(unsigned int) getConsumableAmountOfType:(int)fp12 {
return 1; //returns the unsigned int
fp12 = 1; //returns the argument
}
%end

Posted (edited)
1 minute ago, Fadexz said:

@Ted2 Just out of interest.. what's the difference between using e.g "arg1" and "fp8" or "fp12"?

Nothing, you can use whatever you want. (gay, ass, lesbian etc etc). Alsong as you return them

Updated by Ted2

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 Rush - Tower Defense TD v2.0.2 [ +2 Cheats ] AI Freeze
      Modded/Hacked App: Tower Rush - Tower Defense TD By Raw Sunshine, LLC
      Bundle ID: com.sunshine.towerrushlegend
      App Store Link: https://apps.apple.com/us/app/tower-rush-tower-defense-td/id6455461456?uo=4

       

      🤩 Hack Features

      - Elixir Freeze
      - AI Freeze [ Can't Place The Tower ] 

        • Informative
        • Agree
        • Winner
        • Like
      • 14 replies
    • Tower Rush - Tower Defense TD v2.0.2 [ +2 Jailed ] AI Freeze
      Modded/Hacked App: Tower Rush - Tower Defense TD By Raw Sunshine, LLC
      Bundle ID: com.sunshine.towerrushlegend
      App Store Link: https://apps.apple.com/us/app/tower-rush-tower-defense-td/id6455461456?uo=4
       

      🤩 Hack Features

      - Elixir Freeze
      - AI Freeze [ Can't Place The Tower ]

        • Like
      • 6 replies
    • Turret Defense King v1.2.21 [ +9 Cheats ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
        • Informative
        • Agree
        • Winner
        • Like
      • 15 replies
    • Turret Defense King v1.2.21 [ +9 Jailed ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
        • Haha
        • Thanks
        • Winner
        • Like
      • 15 replies
    • Cooking World: Cooking Games v1.21 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4
       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature

      - Lives [ Linked With Exp ]
        • Haha
        • Like
      • 12 replies
    • Cooking World: Cooking Games v1.21 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4

       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature 

      - Lives [ Linked With Exp ]
        • Informative
        • Haha
        • Thanks
        • Winner
        • Like
      • 15 replies
    • DEAD TARGET: FPS Zombie Games v6.153.0 [ +10 Cheats ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
        • Agree
        • Winner
        • Like
      • 17 replies
    • DEAD TARGET: FPS Zombie Games v6.153.0 [ +10 Jailed ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Run! Goddess v1.0.22 [+4 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 94 replies
    • Run! Goddess v1.0.22 [+4 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 80 replies
    • Alien Survivor: Survival Arena v1.38.1 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 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
      • 15 replies
    • Alien Survivor: Survival Arena v1.38.1 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Haha
        • Winner
        • Like
      • 27 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