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

    • Fortress Saga: AFK RPG v2.0.23 Jailed Cheats +3
      Modded/Hacked App: Fortress Saga: AFK RPG By cookapps
      Bundle ID: com.cookapps.bm.fortresssaga
      App Store Link: https://apps.apple.com/us/app/fortress-saga-afk-rpg/id6446308106?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:
      - Damage Multiplier
      - Defense Multiplier
      - Freeze Currencies



      iOS Hack Download IPA Link: https://iosgods.com/topic/184193-fortress-saga-afk-rpg-v2013-jailed-cheats-3/
      • 210 replies
    • Cat Legends : Idle RPG Game Cheats v1.1.35 +3
      Modded/Hacked App: Cat Legends : Idle RPG Game By PT Dreams Studio Indonesia
      Bundle ID: com.DreamsStudio.CatLegendsIdleRPGs
      iTunes Store Link: https://apps.apple.com/us/app/cat-legends-idle-rpg-game/id6476254307?uo=4


      Hack Features:
      - God Mode
      - Multiply Attack
      - Freeze Resources


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/183297-cat-legends-idle-rpg-game-cheats-v103-3/
      • 77 replies
    • Solo Leveling:Arise v1.3.45 Jailed Cheats +2
      Modded/Hacked App: Solo Leveling:Arise By Netmarble Corporation
      Bundle ID: com.netmarble.sololv
      iTunes Store Link: https://apps.apple.com/us/app/solo-leveling-arise/id1662742277?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:
      - Immunte to Physical Damage
      - Multiply Attack



      iOS Hack Download IPA Link: https://iosgods.com/topic/184739-solo-levelingarise-v1265-jailed-cheats-2/
        • Like
      • 444 replies
    • [PH / TW] Greedy Cave: Rebirth v1.1.000 Jailed Cheats +2
      Modded/Hacked App: Greedy Cave: Rebirth By Chengdu Avalon Interactive Entertainment Co.,Ltd.
      Bundle ID: com.avalon.c1p.global
      App Store Link: https://apps.apple.com/ph/app/greedy-cave-rebirth/id6680191526?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
      - Multiply Attack

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/204005-greedy-cave-rebirth-v10310-jailed-cheats-2/
      • 13 replies
    • Genshin Impact Cheats v6.3.0 +3
      Modded/Hacked App: Genshin Impact by miHoYo Limited
      Bundle ID: com.miHoYo.GenshinImpact
      iTunes Store Link: https://apps.apple.com/us/app/genshin-impact/id1517783697?uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Instant Special Skill (Elemental Burst)
      - Infinite Stamina
        + Infinite Sprint Time
        + Infinite Swim Time
        + Infinite Fly Time


      iOS Hack Download Link: https://iosgods.com/topic/134035-genshin-impact-cheat-v101-3-instant-skill-more/
      • 3,716 replies
    • Subway Surfers Cheats (Auto Update) +5
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?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

      - Free Store (not Free iAP)
      - Free iAP (ViP Only)
      - Unlock Characters Outfit
      - Custom Jump Height
      - No Clip (To end level swipe to left til you get dizzy, swipe again and you will lose)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/119795-subway-surfers-v3425-jailed-cheats-5/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/119793-subway-surfers-cheats-v3430-5/
      • 2,394 replies
    • Gear Defenders v1.2.3 [ +10 Cheats ] Currency Max
      Modded/Hacked App: Gear Defenders By MOBIBRAIN TECHNOLOGY PTE. LTD.
      Bundle ID: com.iogames.gearworld
      App Store Link: https://apps.apple.com/us/app/gear-defenders/id6740892835?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited ADS Tickets
      - Unlimited Draw
      - Unlimited Battle Coins
      - Base HP
      - Gear Speed / Faster Deploy Trop
      - Unlimited Trop / Easy Win
      - ATK / Linked
      • 16 replies
    • Gear Defenders v1.2.3 [ +10 Jailed ] Currency Max
      Modded/Hacked App: Gear Defenders By MOBIBRAIN TECHNOLOGY PTE. LTD.
      Bundle ID: com.iogames.gearworld
      App Store Link: https://apps.apple.com/us/app/gear-defenders/id6740892835?uo=4


      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited ADS Tickets
      - Unlimited Draw
      - Unlimited Battle Coins
      - Base HP
      - Gear Speed / Faster Deploy Trop
      - Unlimited Trop / Easy Win
      - ATK / Linked
      • 29 replies
    • Stealth Master: Assassin Ninja v1.12.30 +4++ Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Stealth Master: Assassin Ninja By SayGames LTD
      Bundle ID: io.highcore.stealthmaster
      iTunes Store Link: https://apps.apple.com/us/app/stealth-master-assassin-ninja/id1518389230
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Currencies
      - All Characters Unlocked


      Jailbreak required hack(s): https://iosgods.com/topic/173267-stealth-master-assassin-ninja-v1128-4-cheats-damage-defence/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 50 replies
    • Clusterduck v2.4.1 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Clusterduck By Prodigy Design Limited T/A Sidhe Interactive
      Bundle ID: com.pikpok.wtd.iosstore
      iTunes Store Link: https://apps.apple.com/us/app/clusterduck/id1531250914?uo=4

       
       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      -- No Ads
      -- 4th Nest Purchased
      • 19 replies
    • Harry Potter: Puzzles & Spells v105.0.337 +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Harry Potter: Puzzles & Spells v85.0.271 +1 Cheat [ Unlimited Moves ] - 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/
      • 127 replies
    • 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
×
  • 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