Jump to content

SushiMon Defense using SilentPwn Template


6 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 1
  • Informative 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

    • Prison Break Idle v0.1.4 [+3 Cheats]
      Modded/Hacked App: Prison Break Idle By Anisoft Yazilim Derya Bagdinli ve Ortagi Kollektif Sirketi
      Bundle ID: com.anisoftgames.prisonbreakidle
      iTunes Store Link: https://apps.apple.com/us/app/prison-break-idle/id6739884706?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Spend to earn)
       
        • Like
      • 3 replies
    • Prison Break Idle v0.1.4 [+3 Jailed Cheats]
      Modded/Hacked App: Prison Break Idle By Anisoft Yazilim Derya Bagdinli ve Ortagi Kollektif Sirketi
      Bundle ID: com.anisoftgames.prisonbreakidle
      iTunes Store Link: https://apps.apple.com/us/app/prison-break-idle/id6739884706?uo=4

       

      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Spend to earn) 
        • Informative
        • Like
      • 6 replies
    • Pal Go: Tower Defense TD v0.3.66 [+7 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.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 43 replies
    • Pal Go: Tower Defense TD v0.3.66 [+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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 68 replies
    • Run! Goddess v1.0.12 [+4 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 47 replies
    • Run! Goddess v1.0.12 [+4 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 39 replies
    • The Seven Deadly Sins: Idle Cheats v1.14.0 +4
      Modded/Hacked App: The Seven Deadly Sins: Idle By Netmarble Corporation
      Bundle ID: com.netmarble.nanarise
      iTunes Store Link: https://apps.apple.com/us/app/the-seven-deadly-sins-idle/id6469305531?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Multiply Attack
      - Multiply Defense
      - Modify Range
      - No Ads


      DO NOT BUY VIP FOR THIS CHEAT

      ONLY WORK in PvE so you can farm faster

      Non-Jailbroken Hack: https://iosgods.com/topic/185162-the-seven-deadly-sins-idle-v1120-jailed-cheats-3/

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/185131-the-seven-deadly-sins-idle-cheats-v1120-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 137 replies
    • [ Seven Deadly Sins KR ] 일곱 개의 대죄: GRAND CROSS Cheats v8.6.64 +5
      Modded/Hacked App: 일곱 개의 대죄: GRAND CROSS By Netmarble Corporation
      Bundle ID: com.netmarble.nanakr
      iTunes Store Link: https://apps.apple.com/kr/app/%EC%9D%BC%EA%B3%B1-%EA%B0%9C%EC%9D%98-%EB%8C%80%EC%A3%84-grand-cross/id1449552940?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill
      - Multiply Attack
      - Multiply Defense
      - Make Enemies God Mode for some quests


      iOS Hack Download Link: https://iosgods.com/topic/154899-seven-deadly-sins-kr-%EC%9D%BC%EA%B3%B1-%EA%B0%9C%EC%9D%98-%EB%8C%80%EC%A3%84-grand-cross-cheats-v750-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 171 replies
    • [ Seven Deadly Sins JP ] - 七つの大罪 光と闇の交戦 : グラクロ Cheats v8.6.64 +5
      Modded/Hacked App: 七つの大罪 光と闇の交戦 : グラクロ By Netmarble Corporation
      Bundle ID: com.netmarble.nanatsunotaizai
      iTunes Store Link: https://apps.apple.com/jp/app/七つの大罪-光と闇の交戦-グラクロ/id1268959718?uo=4&at=1010lce4


      Hack Features:
      - God Mode
      - OHK


      iOS Hack Download Link: https://iosgods.com/topic/112888-seven-deadly-sins-%E4%B8%83%E3%81%A4%E3%81%AE%E5%A4%A7%E7%BD%AA-%E5%85%89%E3%81%A8%E9%97%87%E3%81%AE%E4%BA%A4%E6%88%A6-%E3%82%B0%E3%83%A9%E3%82%AF%E3%83%AD-v340-god-mode-unlimited-mp/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,068 replies
    • Monster Legends: Collect all Cheats v17.9.1 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🤩 Hack Features

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 327 replies
    • The Sims FreePlay Cheats v5.92.2 +5
      Modded/Hacked App: The Sims™ FreePlay By Electronic Arts
      Bundle ID: com.ea.sims3deluxe.ipad.inc
      iTunes Store Link: https://itunes.apple.com/us/app/the-sims-freeplay/id466965151?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Simcash
      - Infinite SP
      - Infinite LSP
      - Max ViP Point
      - Unlock Everything


      Hack Download Link: https://iosgods.com/topic/72103-arm64-the-sims-freeplay-cheats-v5414-4-iosgods-exclusive/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,305 replies
    • Asphalt 8: Airborne+ Cheats v2.4.0 +4 [ Apple Arcade ]
      Modded/Hacked App: Asphalt 8: Airborne+ By Gameloft
      Bundle ID: com.gameloft.asphalt8arcade
      iTunes Store Link: https://apps.apple.com/us/app/asphalt-8-airborne/id1563005359?uo=4


      Hack Features:
      - No Car Crash
      - Infinite Nitro
      - Unlock All Cars
      - No Speed Limit


      iOS Hack Download Link: https://iosgods.com/topic/148777-asphalt-8-airborne-cheats-v101-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 397 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