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 (edited)

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

 

Use this on the line

Updated by Ted2
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

    • Adventure Bay - Farm Games v1.57.14 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4
       

      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Informative
        • Thanks
        • Like
      • 53 replies
    • Adventure Bay - Farm Games v1.57.14 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4


      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 66 replies
    • Pop Island v1.4.6 [ +1 Cheats ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


        • Agree
        • Like
      • 34 replies
    • Pop Island v1.4.6 [ +1 Jailed ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


        • Agree
        • Winner
        • Like
      • 36 replies
    • Dragon Wings: RPG Shoot em up v1.17.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4

       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
        • Informative
        • Agree
        • Like
      • 36 replies
    • Dragon Wings: RPG Shoot em up v1.17.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4
       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
        • Thanks
        • Winner
        • Like
      • 37 replies
    • Mr Autofire v4.5.4 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4


      Hack Features:
      - N0 ADS [ Reward Free ]

      - Damage 

      - Health 

      - Pet Damage

      - Rome Clear [ 1 Wave Clear ]

      Level Rearwards 

      [ Gems - Silver - Pet Card - Hero Card - Guns Card ]
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 62 replies
    • Mr Autofire v4.5.4 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4


      Hack Features:

      - N0 ADS [ Reward Free ]

      - Damage 

      - Health 

      - Pet Damage

      - Rome Clear [ 1 Wave Clear ]

      Level Rearwards 

      [ Gems - Silver - Pet Card - Hero Card - Guns Card ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 32 replies
    • DEAD TARGET: FPS Zombie Games v6.169.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
      • 42 replies
    • DEAD TARGET: FPS Zombie Games v6.169.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
        • Haha
        • Thanks
        • Winner
        • Like
      • 70 replies
    • Backpacker™ Go! v1.8.1 [ +3 Cheats ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4


      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 37 replies
    • Backpacker™ Go! v1.8.1 [ +3 Jailed ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4



      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited 
        • Informative
        • Agree
        • Thanks
        • Like
      • 43 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