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

    • Matching Story - Puzzle Games v1.55.04 [ +6 APK MOD ] Auto Win
      Mod APK Game Name: Matching Story - Puzzle Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.joycastle.mergematch&hl=en

      🤩 Hack Features

      - Auto Win
      - Unlimited Coins
      - Unlimited  Diamonds [ Win Match Linked With Moves ]
      - Unlimited  Lives
      - Unlimited  Booster
      - Unlimited  Moves
      • 0 replies
    • Senses - Choose Romance Story v1.19.1 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Senses - Choose Romance Story By Allustone, Inc.
      Bundle ID: games.extras.novels
      App Store Link: https://apps.apple.com/us/app/senses-choose-romance-story/id1665172637?uo=4

       
       

      🤩 Hack Features

      - Currency Modifier
      - Unlimited Currencies - Will increase instead of decrease.
      - Freeze Currencies
      • 69 replies
    • Lamar - Idle Vlogger v234.3.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Lamar - Idle Vlogger By Advant Limited
      Bundle ID: com.advant.lamar
      iTunes Store Link: https://apps.apple.com/us/app/lamar-idle-vlogger/id1595314851
       

      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gold -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Lamar - Idle Vlogger v151.07.05 +2 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/
      • 123 replies
    • Rodeo Stampede: Sky Zoo Safari v4.18.0 +50++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Rodeo Stampede: Sky Zoo Safari By Featherweight Games Pty Limited
      Bundle ID: com.featherweightgames.stampede
      iTunes Store Link: https://apps.apple.com/us/app/rodeo-stampede-sky-zoo-safari/id1047961826?uo=4

       


      🤩 Hack Features

      - Debug Menu -> Head into Settings and toggle the Discord button.

      -> Unlock All Animals, Hats, Decorations
      -> Add/Remove Currencies
      -> PVP Cheats
      -> Become Invincible

      + More!
      • 116 replies
    • Crunchyroll: Lock's Quest v1.0 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Crunchyroll: Lock's Quest By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.locksquest
      App Store Link: https://apps.apple.com/us/app/crunchyroll-locks-quest/id6751604897?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      -- Full Game Unlocked 
      • 0 replies
    • Skullgirls Fighting RPG v8.2.0 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 107 replies
    • Skullgirls Fighting RPG v8.2.0 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 199 replies
    • Last Time I Saw You v1.0 +2 Jailed Cheats [ Unlocked ]
      Modded/Hacked App: Last Time I Saw You By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.lasttimeisawyou
      App Store Link: https://apps.apple.com/us/app/last-time-i-saw-you/id6749779339?uo=4

       


      🤩 Hack Features

      - Unlimited Money -> Buy something from the shop.
      -- Full Game Unlocked
      • 1 reply
    • Royal Kingdom v24795 +4 Mods [ Coins + More ]
      Mod APK Game Name: Royal Kingdom By Dream Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.dreamgames.royalkingdom&hl=en_GB

       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves
      • 5 replies
    • UnderGuild: Offense v1.2.8 [ +3 Cheats ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
      • 5 replies
    • UnderGuild: Offense v1.2.8 [ +3 Jailed ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
      • 3 replies
    • Good Pizza, Great Pizza v5.42.0 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds
      - Unlimited Ad Tickets

      VIP
      -̶ ̶U̶n̶l̶i̶m̶i̶t̶e̶d̶ ̶P̶i̶z̶z̶a̶ ̶P̶a̶s̶s̶ ̶T̶o̶k̶e̶n̶s̶
      ̶-̶ ̶C̶h̶e̶f̶ ̶P̶a̶s̶s̶ ̶U̶n̶l̶o̶c̶k̶e̶d̶
      ̶-̶ ̶M̶a̶x̶ ̶P̶i̶z̶z̶a̶ ̶P̶a̶s̶s̶ ̶L̶e̶v̶e̶l̶
       ̶-̶ ̶S̶t̶a̶r̶t̶e̶r̶ ̶B̶u̶n̶d̶l̶e̶ ̶U̶n̶l̶o̶c̶k̶e̶d̶
      - Unlimited Paint Tickets
      - Unlimited Event Currency
      - Max Event Level
      - Unlimited Event Score
      - All Achievements Completed
      • 450 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