Jump to content

16 posts in this topic

Recommended Posts

Posted
11 hours ago, Aizen_ said:

Your game is crashing because of the way you patched the function. The instruction you used:

MOV W0, #99999
RET

doesn’t work for values bigger than 65535 on ARM64. MOV W0, #imm can only handle 16‑bit immediates, so when you put 99999, the instruction isn’t encoded properly and the app blows up when it runs.

If you want to force it to return 99999, you need to build that value in two steps using MOVZ and MOVK, like this:

MOVZ W0, #34463       ; lower 16 bits of 99999 (0x869F)
MOVK W0, #1, LSL #16  ; upper bits
RET

something like this i think
 

Thank you, but this happens even if I add not 9999, but even if I add 10

Posted
13 hours ago, kenzusik said:

Thank you, but this happens even if I add not 9999, but even if I add 10

try to Patch somewhere else . maybe try to patch at the last or in the middle where decision point is

Posted

@Cashlaz can you kinda pin point how to use Frida for dynamic hooking or analysis?

I've tried Theos Jailed to hook stuff on games before but there are games that I find nothing on when loading onto IDA so I was thinking maybe using Frida for dynamic analysis would help but there are no resources out there for that

Posted
On 8/3/2025 at 3:09 PM, Aizen_ said:

try to Patch somewhere else . maybe try to patch at the last or in the middle where decision point is

I noticed something: the offset in the guide is long, but mine is short. In the offset field, I simply enter the offset from IDA. Is that correct?

Posted
1 hour ago, kenzusik said:

I noticed something: the offset in the guide is long, but mine is short. In the offset field, I simply enter the offset from IDA. Is that correct?

Yes , if u r doing staric patching via HxD etc , then make sure ur base address is set to 0x0 not 100000000 

go to edit > segments > Rebase peogram ( set it to 0x0 ) , then ur patches will work in HxD

On 8/4/2025 at 6:24 PM, Rakunera said:

@Cashlaz can you kinda pin point how to use Frida for dynamic hooking or analysis?

I've tried Theos Jailed to hook stuff on games before but there are games that I find nothing on when loading onto IDA so I was thinking maybe using Frida for dynamic analysis would help but there are no resources out there for that

Frida not worth your time ,trust me just try with IDA pro 

  • Like 1
Posted (edited)
On 8/2/2025 at 6:43 PM, kenzusik said:

I'm not patching random stuff — I'm specifically patching the DreamBlast.Inventory::GetCoins function

Here’s how it looks in IDA:

il2cpp:0000000001ADA504 ; DreamBlast.Inventory::GetCoins
il2cpp:0000000001ADA504                 SUB     SP, SP, #0x40
il2cpp:0000000001ADA508                 STP     X22, X21, [SP,#0x30+var_20]
il2cpp:0000000001ADA50C                 STP     X20, X19, [SP,#0x30+var_10]
...
il2cpp:0000000001ADA5B0                 RET

It just returns the coin count using GetItemCount and Mathf.Max

I try to patch it like this

MOV     W0, #99999
RET

Or in hex:

20 0B 80 D2   ; MOV W0, #99999
C0 03 5F D6   ; RET

But after patching, the app immediately crashes. The address is correct, and I’m only replacing the start of the function

I'm not so sure your tool can automatically balance the bit for #99999 or not. But look at your original function, I quite sure the reason cause the problem is "Function Contract". 

Sub sp, sp..... // Subtract the stack pointer by 0x40 bytes, which means "allocating" 64 bytes on the stack.

Stp ...... // Save important registers to stack.

So they are "callee-saved" registers.

It means your patched overwrote the prologue of the function. The SP now is unbalanced and the function did not execute SUB SP, SP, #0x40. But the function that called GetCoins could expect the SP to be adjusted. So, when the parent function (caller) continues to run and then terminates, it will try to clean up its own stack. Since the SP is in an unexpected position, this cleanup will cause an error and crash the application.

I also use only non-jail device for modding. These things above just my experience when dealing with static patch by Ghidra and I'm not an expert in this field, so you should going to check again.

P/S: 1 more thing is you have to make sure that game not have any anti-cheat like source code integrity check. Because it can calculate everytime the game running, so you have to balance by yourself for safety. 

Updated by KieranTran
P/S

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

    • Glow Fashion Idol v0.9.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Glow Fashion Idol By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.crazylabs.fashionsquad
      iTunes Store Link: https://apps.apple.com/us/app/glow-fashion-idol/id6446197181?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems


      Jailbreak required hack(s): [Mod Menu Hack] Glow Fashion Idol v0.3.3 +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/
      • 88 replies
    • Star2 Random Defense(S2RD) v1.0.5 +13 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Star2 Random Defense(S2RD) By Springcomes Co., Ltd.
      Bundle ID: com.gaimstudio.s2rd
      App Store Link: https://apps.apple.com/us/app/star2-random-defense-s2rd/id6739694467?uo=4

       

      🤩 Hack Features

      - Weak Enemies
      - Slow Enemies
      - Very Slow Enemies
      - Freeze Food
      - Freeze Silver
      - Freeze Essence
      - Freeze Either
      - Freeze Gold
      - Freeze Diamonds
      - Freeze Energy

      VIP
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Diamonds -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      • 3 replies
    • Dragoneer Squad: Idle v1.0.27 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dragoneer Squad: Idle By DAERI SOFT
      Bundle ID: com.daerigame.dragon
      App Store Link: https://apps.apple.com/us/app/dragoneer-squad-idle/id6746182414?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 26 replies
    • Football League™ 2026 v1.5.3 +1 Jailed Cheat [ Unlimited Coins ]
      Modded/Hacked App: Football League™ 2025 By MOBILE SOCCER PTE. LTD.
      Bundle ID: com.football.soccer.league
      iTunes Store Link: https://apps.apple.com/us/app/football-league-2025/id6447961802?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Will increase instead of decrease.
      • 43 replies
    • Updated to v1.2.0!
    • Wagle Squad v1.2.0 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Wagle Squad By EK GAMES
      Bundle ID: net.ekgames.projectz
      App Store Link: https://apps.apple.com/us/app/wagle-squad/id6752973592?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Auto Win -> Quit the level.
      - No Summon Cost/Cooldown 
      • 11 replies
    • Lost Sword v1.4.9 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: Lost Sword By Wemade Connect Co., Ltd.
      Bundle ID: com.wemadeconnect.ios.lostdgl
      App Store Link: https://apps.apple.com/us/app/lost-sword/id6482099823?uo=4

       
       

      🤩 Hack Features

      - Auto Win
      • 22 replies
    • Nightfall: Kingdom Frontier TD v1.1.247 +8 Jailed Cheats [ Currencies + More ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Nightfall: Kingdom Frontier TD v1.0.41 +8 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/
      • 121 replies
    • Whispers - Interactive Stories v2.3.19 +2 Jailed Cheats [ Free Choices ]
      Modded/Hacked App: Whispers: Interactive Stories By GAMEHAUS LIMITED
      Bundle ID: com.twincat.stories
      iTunes Store Link: https://apps.apple.com/us/app/whispers-interactive-stories/id1546336250
       

      Hack Features:
      - All Chapters Unlocked
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Whispers: Interactive Stories v1.4.9 +2 Cheats [ Free Choices ] - 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/
      • 312 replies
    • Cat vs Cucumber v1.0.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Cat vs Cucumber By VIEW PASSION COMPANY LIMITED
      Bundle ID: com.ViewPassion.CatvsCucumber
      App Store Link: https://apps.apple.com/vn/app/cat-vs-cucumber/id6749935754?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Soccer Superstar v1.7.9 +3 Jailed Cheats [ Unlimited Rewinds ]
      Modded/Hacked App: Soccer Superstar By SIMFACE LIMITED
      Bundle ID: soccer.score.star
      iTunes Store Link: https://apps.apple.com/us/app/soccer-superstar/id1550945606?uo=4


      Hack Features:
      - Unlimited Rewinds
      - Big Goals
      - Free In-App Purchases -> Toggle via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Soccer Superstar v1.5.1 +3 Cheats [ Unlimited Rewinds ] - Free Jailbroken Cydia Cheats - iOSGods
      • 98 replies
    • Triple Fantasy v7.97.0 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Triple Fantasy By Gameplete
      Bundle ID: com.Gameplete.CardFantasy
      iTunes Store Link: https://apps.apple.com/us/app/triple-fantasy/id1018725872?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 19 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