Jump to content

 Something great is coming! 🤖

Stay tuned for the big reveal happening here on iOSGods on the 20th of February!

51 posts in this topic

Recommended Posts

Posted

You could try replacing _main_struct with something simple, but I doubt it would work :b

Fixed the error by putting struct _MAIN_STRUCT on top of %hook but the hack still doesn't work lol

Posted

Fixed the error by putting struct _MAIN_STRUCT on top of %hook but the hack still doesn't work lol

What game is this for? I could try myself to see if I can get it to work.

Posted

What game is this for? I could try myself to see if I can get it to work.

Lanouar is going to teach me how to hack it using offsets :) but thanks for the help :D

Posted (edited)

Lanouar is going to teach me how to hack it using offsets :) but thanks for the help :D

%hook MyMainGame
- (int)SYS_GetRemainderJewel:(id)arg1 {
return %orig(999999, arg1);
}
%end

You need to learn more about programming objective c ;)

Updated by KingRalph
Posted

 

%hook MyMainGame
- (int)SYS_GetRemainderJewel:(id)arg1 {
return %orig(999999, arg1);
}
%end
You need to learn more about programming objective c ;)

^already tried this before and got this error : Compiling Tweak.xm...

Tweak.xm:15:85: error: too many arguments to function call,

expected 3, have 4

..._logos_orig$_ungrouped$MyMainGame$SYS_GetRemainderJewel$(self, _cmd, 999999, arg1);

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~

1 error generated.

make[2]: *** [obj/Tweak.xm.e19b5f27.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [abhack.all.tweak.variables] Error 2

Anonymous:/var/mobile/abhack root#

 

 

You tell me it's (id) and castix tells me it's (void*) I tried so many things and it either gives me errors or it compiles without working :(

Posted

^already tried this before and got this error : Compiling Tweak.xm...

Tweak.xm:15:85: error: too many arguments to function call,

expected 3, have 4

..._logos_orig$_ungrouped$MyMainGame$SYS_GetRemainderJewel$(self, _cmd, 999999, arg1);

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~

1 error generated.

make[2]: *** [obj/Tweak.xm.e19b5f27.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [abhack.all.tweak.variables] Error 2

Anonymous:/var/mobile/abhack root#

 

 

You tell me it's (id) and castix tells me it's (void*) I tried so many things and it either gives me errors or it compiles without working :(

 

Oops, my bad :c
%hook MyMainGame
- (int)SYS_GetRemainderJewel:(id)arg1 {
return 999999;
}
 
%end
Posted

Oops, my bad :c

 

%hook MyMainGame
- (int)SYS_GetRemainderJewel:(id)arg1 {
return 999999;
}
 
%end

I tried that too but it still didn't do anything, it compiles but the hack doesn't work. I think it has to do with the GAME_STRUCT thing

Posted (edited)

This *might* work :)

 

%hook MyMainGame- (int)SYS_GetRemainderJewel:(void *)arg1 {return 999999;}%end
Didn't work :p

 

Use typedef to write _MAIN_STRUCT* in the method

Didn't work :p

 

I think I tried that before, how would I write it in tweak.xm? Could you write the line :)

 

Edit 1: Also, I tried many typedefs and nothing worked. Exemple :

typedef struct _MAIN_STRUCT;

 

%hook MyGameMain

-(int) SYS_GetRemainderJewel:(_MAIN_STRUCT*)arg1 {

if(GetPrefBool(@"kJewels")) {

return 999999;

}

return %orig;

}

%end

Updated by Crypto

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

    • Island Bistro 2 v1.2.9 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Island Bistro 2 By Thinking Game Limited
      Bundle ID: com.merge.islandbistro
      App Store Link: https://apps.apple.com/us/app/island-bistro-2/id6749141855?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 7 replies
    • Basketball Master: Dunk Hero v1.7.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Basketball Master: Dunk Hero By UDO GAMES OYUN YAZILIM ANONIM SIRKETI
      Bundle ID: com.udogames.dunkmasters
      App Store Link: https://apps.apple.com/us/app/basketball-master-dunk-hero/id6744168445?uo=4

      🤩 Hack Features

      - ADS NO
      - Unlimited Cash
      - Unlimited Gold / Tested No
      - Unlimited Energy
        • Winner
        • Like
      • 13 replies
    • Basketball Master: Dunk Hero v1.7.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Basketball Master: Dunk Hero By UDO GAMES OYUN YAZILIM ANONIM SIRKETI
      Bundle ID: com.udogames.dunkmasters
      App Store Link: https://apps.apple.com/us/app/basketball-master-dunk-hero/id6744168445?uo=4

      🤩 Hack Features

      - ADS NO
      - Unlimited Cash
      - Unlimited Gold / Tested No
      - Unlimited Energy
        • Agree
        • Like
      • 17 replies
    • Paper Dungeon! v1.1.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Paper Dungeon! By BERMUDA GAMES OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.bermudagames.talefight
      App Store Link: https://apps.apple.com/us/app/paper-dungeon/id6755391279?uo=4 

      🤩 Hack Features

      - Unlimited Gold
      - HP Max / Change Card
      - ATK Max / Change Card
      - DEF Max / Change Card
      - Criti Max / Change Card
        • Like
      • 6 replies
    • Paper Dungeon! v1.1.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Paper Dungeon! By BERMUDA GAMES OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.bermudagames.talefight
      App Store Link: https://apps.apple.com/us/app/paper-dungeon/id6755391279?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - HP Max / Change Card
      - ATK Max / Change Card
      - DEF Max / Change Card
      - Criti Max / Change Card
      • 4 replies
    • COTA Tower Defense - TD Game v1.0.13 [ +3 Cheats ] Currency Max
      Modded/Hacked App: COTA Tower Defense - TD Game By DAWNBRIGHT OYUN YAZILIM TEKNOLOJI ANONIM SIRKETI
      Bundle ID: games.dawnbright.cotatowerdefence
      App Store Link: https://apps.apple.com/ph/app/cota-tower-defense-td-game/id6752990977?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Star
      - Unlimited Base HP
        • Like
      • 10 replies
    • COTA Tower Defense - TD Game v1.0.13 [ +3 Jailed ] Currency Max
      Modded/Hacked App: COTA Tower Defense - TD Game By DAWNBRIGHT OYUN YAZILIM TEKNOLOJI ANONIM SIRKETI
      Bundle ID: games.dawnbright.cotatowerdefence
      App Store Link: https://apps.apple.com/ph/app/cota-tower-defense-td-game/id6752990977?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Star
      - Unlimited Base HP
        • Winner
        • Like
      • 12 replies
    • Planet Miner: Idle Action Game v0.10.0 [ +18 Cheats ] Currency Max
      Modded/Hacked App: Planet Miner: Idle Action Game By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.gryphongames.planetminer
      App Store Link: https://apps.apple.com/us/app/planet-miner-idle-action-game/id6755299482?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems
      - Unlimited Coins / Linked DMG
      - Unlimited Skill Token / Linked DMG & Prestige
      - Lucky Draw Cost 0
      :: Status ViP ::
      - Faster Remove Planet / Linked DMG
      - Unlimited Rocket Spawn
      - Unlimited DMG
      - Unlimited HP
      - Unlimited DEF
      - Unlimited Life steal
      - Unlimited DMG Reduction
      - Unlimited Criti DMG
      - Unlimited Criti Chance
      - Unlimited Elite Ship DMG
      - Unlimited Elite Ship HP
      - Unlimited Elite Ship Chance
      - Muliti Ship Chance

      Note:- Just One Upgrade Status
        • Winner
        • Like
      • 9 replies
    • Planet Miner: Idle Action Game v0.10.0 [ +18 Jailed ] Currency Max
      Modded/Hacked App: Planet Miner: Idle Action Game By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.gryphongames.planetminer
      App Store Link: https://apps.apple.com/us/app/planet-miner-idle-action-game/id6755299482?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems
      - Unlimited Coins / Linked DMG
      - Unlimited Skill Token / Linked DMG & Prestige
      - Lucky Draw Cost 0
      :: Status ViP ::
      - Faster Remove Planet / Linked DMG
      - Unlimited Rocket Spawn
      - Unlimited DMG
      - Unlimited HP
      - Unlimited DEF
      - Unlimited Life steal
      - Unlimited DMG Reduction
      - Unlimited Criti DMG
      - Unlimited Criti Chance
      - Unlimited Elite Ship DMG
      - Unlimited Elite Ship HP
      - Unlimited Elite Ship Chance
      - Muliti Ship Chance

      Note:- Just One Upgrade Status
        • Haha
        • Winner
        • Like
      • 11 replies
    • Tower And Swords v2.410 [ +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
      • 22 replies
    • Tower And Swords v2.410 [ +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
      • 28 replies
    • Wool Craze -Yarn Color Sort 3D v5.3 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
        • Like
      • 7 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