Jump to content

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

    • Idle Berserker Legend Of Kali +2 Mods [ Damage + More ]
      Mod APK Game Name: Idle Berserker Legend Of Kali By A1GAMES
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.a1gamesstudio.berserker

       

      🤩 Hack Features

      - Damage Multiplier
      - No Skill Cooldown
      • 0 replies
    • Backpack Legends Adventure RPG +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      • 0 replies
    • Duriano: Roguelike RPG +2 Mods [ Damage + More ]
      Mod APK Game Name: Duriano: Roguelike RPG By Adisoft Gaming
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.adisoft.duriano

       

      🤩 Hack Features

      - Damage Multiplier 
      - God Mode
      • 1 reply
    • Backpack Legends Adventure RPG v0.4.5 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

      🤩 Hack Features

      - Enough Currency
      - Enough Resources
      - Freeze Currency
      - Freeze Resources
      :::::: VIP ::::::
      - ADS NO
      - Unlimited Currency
      - Unlimited Resources
      - Inventory Slot MAX
      Weapon Stats
      - ATK MAX
      - HP MAX
      - DEF MAX
      - Speed MAX
      - Items Bonus / Linked Weapon Stats
      • 2 replies
    • Backpack Legends Adventure RPG v0.4.5 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

      🤩 Hack Features

      - Enough Currency
      - Enough Resources
      - Freeze Currency
      - Freeze Resources
      :::::: VIP ::::::
      - ADS NO
      - Unlimited Currency
      - Unlimited Resources
      - Inventory Slot MAX
      Weapon Stats
      - ATK MAX
      - HP MAX
      - DEF MAX
      - Speed MAX
      - Items Bonus / Linked Weapon Stats
      • 2 replies
    • Backpack Legends Adventure RPG v0.4.5 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

      🤩 Hack Features

      - Enough Currency
      - Enough Resources
      - Freeze Currency
      - Freeze Resources
      :::::: VIP ::::::
      - ADS NO
      - Unlimited Currency
      - Unlimited Resources
      - Inventory Slot MAX
      Weapon Stats
      - ATK MAX
      - HP MAX
      - DEF MAX
      - Speed MAX
      - Items Bonus / Linked Weapon Stats
      • 2 replies
    • Sword of Convallaria v2.1.1 Jailed Cheats +5
      Modded/Hacked App: Sword of Convallaria By XD Entertainment Pte Ltd
      Bundle ID: com.xd.ssrpgen
      App Store Link: https://apps.apple.com/us/app/sword-of-convallaria/id6451019582?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
      - One Hit Kill 
      - Multiply Attack
      - Instant Skills
      - Unlimited Backtrack

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/214320-sword-of-convallaria-v211-jailed-cheats-5/
      • 3 replies
    • Monster Walk: Survive v0.0.5 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Monster Walk: Survive By Talofa Corporation
      Bundle ID: com.talofagames.survive
      App Store Link: https://apps.apple.com/us/app/monster-walk-survive/id6759917111?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Ticket
      - Unlimited HP Token
      - Unlimited Booster +4
      - Bullet ATK
      - Skill ATK
      - Skill CD
      • 0 replies
    • Monster Walk: Survive v0.0.5 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Monster Walk: Survive By Talofa Corporation
      Bundle ID: com.talofagames.survive
      App Store Link: https://apps.apple.com/us/app/monster-walk-survive/id6759917111?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Ticket
      - Unlimited HP Token
      - Unlimited Booster +4
      - Bullet ATK
      - Skill ATK
      - Skill CD
      • 0 replies
    • Idle RPG: Lone Necromancer +2 Mods [ Damage + More ]
      Mod APK Game Name: Idle RPG: Lone Necromancer By LUNOSOFT INC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.lunosoft.nhn

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 0 replies
    • The Lone Necromancer: Idle RPG +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: The Lone Necromancer: Idle RPG By Lunosoft Inc.
      Bundle ID: com.lunosoft.nhnios
      App Store Link: https://apps.apple.com/us/app/the-lone-necromancer-idle-rpg/id6738776756?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 2 replies
    • Lamar - Idle Vlogger +3 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Lamar - Idle Vlogger By CrazyLabs LTD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.advant.streamer

       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gold -> Spend some.
      - Unlimited Ad Skip Tickets -> Spend some.
      • 3 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