Jump to content

10 posts in this topic

Recommended Posts

Updated (edited)

Requirments
- Jailbroken Device
-
TrollDecrypt
- dnSpy/IlSpy/Text Editor
- Decent C++ Knowledge
- Patience
SilentPwn Mod Menu Template (@Batch)

 

Thanks to @Puddin for the interesting game.
Since I downloaded this cheat

but it didn’t work for me, I decided to do the following:


1. Decrypt the IPA

I used TrollDecrypt.


2. Dump il2cpp

I used Il2CppDumper (GUI) — needs to be built manually.
Alternatively, use Perfare’s version.

2.1 Open Assembly-CSharp.dll using dnSpy
2.2 Or just open the dump.cs file using any text editor


3. Find possible classes and methods (e.g. God Mode)

h8P2a0X.png

3.1 Found Hero class
3.2 Found takeDmg method (returns a float)
3.3 Used IGG - Live Offset Patcher, added Offset 0x1D7D858
3.4 Unsure how to return 0 in hex form, so I went to Godbolt and used:

zgJ7kDJ.png

int square() {
    return 0;
}

The result:

square():
    mov     w0, 0
    ret

Why return int instead of float?
Because int 0 and float 0 are practically the same in this context, but float 0.0 uses more binary space than int 0, which is just 4 bytes — simpler and efficient.

3.5 Converted that into Arm64 hex at armconverter:

00008052  
C0035FD6

Used this in Live Offset Patcher. When tested, my Hero took no damage anymore. Sweet.


4. ATK Multiply

kdxVPvB.png

4.1 Found atk property (also returns float) in the same Hero class.
4.2 Live Offset Patcher can't do multiplications, so I used KittyMemory to hook.


Tweak Code for Multiplying ATK:

Used this template: SilentPwn
Modified it to auto-open main category (not sharing my modified version though).

float _atkValue = 100;
float (*OriginalAtk)(void *instance);
float CheatAtk(void *instance) {
    if (instance != NULL && _atkValue > 0) {
        return _atkValue * OriginalAtk(instance);
    }
    return OriginalAtk(instance);
}

void hooks(){	
    [Hook hook:0x1D7BC5C // Hero ATK
        callback:(void *)CheatAtk 
        original:(void **)&OriginalAtk];
}

void setupOptions(ModMenu *menu) {
    __weak ModMenu *weakMenu = menu;

    [menu addSlider:@"ATK"
        initialValue:100.0
        minValue:1.0
        maxValue:100.0
        forCategory:0];

    [menu addCallback:^(id value) {
        _atkValue = [(NSNumber *)value floatValue];
    } forKey:@"ATK" inCategory:0];
}

Also added a shortcut method in Menu.mm:

- (void)addCallback:(void (^)(id))callback forKey:(NSString *)key inCategory:(NSInteger)category {  
    NSString *realKey = [self keyForSetting:key inCategory:category];
    NSString *callbackKey = [NSString stringWithFormat:@"%@_callback", realKey];
    self.settingValues[callbackKey] = callback;
}

Why? It's easier to use than the long version.

__weak ModMenu *weakMenu = menu; //Assign weakMenu

[menu addCallback:^(id value) {
    _ATKValue = [(NSNumber *)value floatValue];
} forKey:[weakMenu keyForSetting:@"ATK" inCategory:0]];

5. Monster ATK Boost

DI34nq2.png

5.1 Found class mon and its atk property (same structure as Hero).
5.2 Reused the same CheatAtk and hook logic. Just added another hook:

[Hook hook:0x1D96F28 // Monster ATK 
    callback:(void *)CheatAtk 
    original:(void **)&OriginalAtk];

So now the result looks like this:

float _atkValue = 100;
float (*OriginalAtk)(void *instance);
float CheatAtk(void *instance) {
    if (instance != NULL && _atkValue > 0) {
        return _atkValue * OriginalAtk(instance);
    }
    return OriginalAtk(instance);
}

void hooks(){	
    [Hook hook:0x1D7BC5C callback:(void *)CheatAtk original:(void **)&OriginalAtk]; // Hero
    [Hook hook:0x1D96F28 callback:(void *)CheatAtk original:(void **)&OriginalAtk]; // Monster
}

void setupOptions(ModMenu *menu) {
    [menu addSlider:@"ATK"
        initialValue:100.0
        minValue:1.0
        maxValue:100.0
        forCategory:0];

    [menu addCallback:^(id value) {
        _atkValue = [(NSNumber *)value floatValue];
    } forKey:@"ATK" inCategory:0];
}

6. Ads Bypass

44yDwiz.png

6.1 Found class panel_shop_freeDia and method Awake()
In Unity, Awake() runs as soon as the class is loaded.
(Reference: https://docs.unity3d.com/6000.1/Documentation/ScriptReference/MonoBehaviour.Awake.html)

6.2 Loaded into IDA
Searched for address 0x1DC8BE4, found method panel_shop_freeDia__Awake

dV8ETeH.png

Press F5

My2fki6.png
Also found panel_shop_freeDia__Awake_b__18_0

Search with Funtions Panel

qoIAW6f.png

and within it, found this line:

ransuzAppLovin__showRewardAd(inst, v13, 0, 0);

Seems like this is where reward ads show up.

6.3 Traced it further and AI Chat suggested modifying verse__saveIsExist to always return true.

D7Fh8Gb.png

6.4 Return True Patch

DmqFiPC.png

Searched for verse__saveIsExist and found address 0x1D2F77C
Used Live Offset Patcher or added to patches section of the tweak.

How to return true via godbolt using:

JGIJdDE.png

bool square() {
    return true;
}

Output:

mov     w0, 1
ret

Converted to Hex via armconverter:

20008052  
C0035FD6

Added this to the tweak:

void patches() {
    [Patch offset:0x1D2F77C patch:@"20 00 80 52 C0 03 5F D6"];
}

Now all ads are bypassed and rewards are instantly granted!

Pro tip: In IDA, press X on verse__saveIsExist to see all its usage points — those are all bypassed too.

wUrYrIs.png


7. Dev Cheats

7.1 I don’t really want to share this part but… I’ll just leave the address here for you to figure out on your own. Good luck! 😏

nIfdol4.png

 

Ps. I used AI chat to help translate and reorder the words. Honestly, my linguistic identity has completely disappeared. I am very sad, but it's okay for everyone's understanding the tutorial.

Updated by T5ive
minor fix code
  • Like 3
  • Informative 1
Posted

Very nice details tutorial

  • Thanks 1

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

    • Heroes & Gear? Yoink! v3.5 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Heroes & Gear? Yoink! By Highbrow
      Bundle ID: com.highbrow.games.mnf
      App Store Link: https://apps.apple.com/us/app/heroes-gear-yoink/id6745557169?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 21 replies
    • MY LITTLE PONY: MAGIC PRINCESS v10.8.0 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MY LITTLE PONY: MAGIC PRINCESS By Gameloft
      Bundle ID: com.gameloft.mylittlepony
      App Store Link: https://apps.apple.com/us/app/my-little-pony-magic-princess/id533173905?uo=4

       


      🤩 Hack Features

      - Freeze Coins
      - Freeze Gems
      - Freeze Hearts
      • 403 replies
    • Grand War: Rome Strategy Games v2.4.2 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand War: Rome Strategy Games By HangZhouCaiLingTechnology.Co., Limited
      Bundle ID: com.rome.caesar.war.strategy.conqueror.games.2021
      iTunes Store Link: https://apps.apple.com/us/app/grand-war-rome-strategy-games/id1593989305?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Silver
      - Unlimited Gold
      - Unlimited Medals
      • 46 replies
    • Backpack Brawl v2.2.1 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Backpack Brawl By 1986 GAMES SIA
      Bundle ID: com.rapidfiregames.backpackbrawl
      iTunes Store Link: https://apps.apple.com/us/app/backpack-brawl/id6479175676?uo=4


      Hack Features:
      - Unlimited Currencies -> Earn some.


      Jailbreak required hack(s): [Mod Menu Hack] Backpack Brawl v0.14.0 +1++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 90 replies
    • Match Factory! v1.59.48 +3 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Match Factory! By Peak Games
      Bundle ID: net.peakgames.match
      iTunes Store Link: https://apps.apple.com/gb/app/match-factory/id6449094229?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease. Use coins for energy.
      - Auto Win -> Pick up an item.
      - Unlimited Time -> Will not decrease.
      • 74 replies
    • Good Coffee, Great Coffee v1.11.0 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4
       


      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
      • 140 replies
    • Racing Kingdom v1.10.8 +2 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Racing Kingdom By SUPERGEARS OYUN YAZILIM TEKNOLOJI VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.supergears.racingkingdom
      iTunes Store Link: https://apps.apple.com/us/app/racing-kingdom/id6468027706?uo=4

       


      🚀 Hack Features

      - Auto Win
      - Freeze Rival


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] Racing Kingdom v0.33.6 +2 Cheats [ Auto Win ] - ViP Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 32 replies
    • Airport Simulator: Plane City v2.01.0300 +1 Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Airport Simulator: Plane City By Playrion SARL
      Bundle ID: com.playrion.airportmanager
      iTunes Store Link: https://apps.apple.com/us/app/airport-simulator-plane-city/id1572244031?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited Currencies -> Earn or spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Airport Simulator: First Class v1.01.0202 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 379 replies
    • Mob Control v3.11.0 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Jailbreak required hack(s): [Mod Menu Hack] Mob Control v2.78.0 +7 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 285 replies
    • Eterspire - Fantasy MMORPG v66.0 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 75 replies
    • Disney Solitaire v1.12.0 +2++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/us/app/disney-solitaire/id6475757306?uo=4

       
       

      🤩 Hack Features

      - Unlimited Everything -> Will increase instead of decrease.
      - Free In-App Purchases
      • 47 replies
    • Pal Go: Tower Defense TD v0.4.61 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 97 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