Jump to content

[ida] need more help !


Go to solution Solved by Rook,

4 posts in this topic

Recommended Posts

Posted (edited)

il2cpp:00000000012FD3F0 GameManager$$ConsumeGold                ; DATA XREF: __data:000000000338AD20↓o
il2cpp:00000000012FD3F0
il2cpp:00000000012FD3F0 var_10          = -0x10
il2cpp:00000000012FD3F0 var_s0          =  0
il2cpp:00000000012FD3F0
il2cpp:00000000012FD3F0                 STP             X20, X19, [SP,#-0x10+var_10]!
il2cpp:00000000012FD3F4                 STP             X29, X30, [SP,#0x10+var_s0]
il2cpp:00000000012FD3F8                 ADD             X29, SP, #0x10
il2cpp:00000000012FD3FC                 LDR             X20, [X0,#0x18]
il2cpp:00000000012FD400                 CBZ             X20, loc_12FD430
il2cpp:00000000012FD404                 MOV             X2, X1
il2cpp:00000000012FD408                 MOV             X19, X0
il2cpp:00000000012FD40C                 LDP             X0, X1, [X20,#0x48]
il2cpp:00000000012FD410                 MOV             X3, #0
il2cpp:00000000012FD414                 BL              AwesomeInt$$op_Subtraction_18333820
il2cpp:00000000012FD418                 STP             X0, X1, [X20,#0x48]
il2cpp:00000000012FD41C                 MOV             X0, X19
il2cpp:00000000012FD420                 MOV             W1, #0
il2cpp:00000000012FD424                 LDP             X29, X30, [SP,#0x10+var_s0]
il2cpp:00000000012FD428                 LDP             X20, X19, [SP+0x10+var_10],#0x20
il2cpp:00000000012FD42C                 B               GameManager$$ShootCallback
il2cpp:00000000012FD430 ; ---------------------------------------------------------------------------
il2cpp:00000000012FD430
il2cpp:00000000012FD430 loc_12FD430                             ; CODE XREF: GameManager$$ConsumeGold+10↑j
il2cpp:00000000012FD430                 BL              sub_F901B4
il2cpp:00000000012FD430 ; End of function GameManager$$ConsumeGold

il2cpp:000000000117C07C ; Attributes: bp-based frame
il2cpp:000000000117C07C
il2cpp:000000000117C07C AwesomeInt$$op_Subtraction_18333820     ; CODE XREF: Buff$$Dispose+104↓p
il2cpp:000000000117C07C                                         ; Buff$$Dispose+42C↓p ...
il2cpp:000000000117C07C
il2cpp:000000000117C07C var_28          = -0x28
il2cpp:000000000117C07C var_18          = -0x18
il2cpp:000000000117C07C var_10          = -0x10
il2cpp:000000000117C07C var_s0          =  0
il2cpp:000000000117C07C
il2cpp:000000000117C07C                 SUB             SP, SP, #0x40
il2cpp:000000000117C080                 STP             X20, X19, [SP,#0x30+var_10]
il2cpp:000000000117C084                 STP             X29, X30, [SP,#0x30+var_s0]
il2cpp:000000000117C088                 ADD             X29, SP, #0x30
il2cpp:000000000117C08C                 MOV             X19, X2
il2cpp:000000000117C090                 ADRP            X8, #___stack_chk_guard_ptr@PAGE
il2cpp:000000000117C094                 LDR             X8, [X8,#___stack_chk_guard_ptr@PAGEOFF]
il2cpp:000000000117C098                 LDR             X8, [X8]
il2cpp:000000000117C09C                 STR             X8, [SP,#0x30+var_18]
il2cpp:000000000117C0A0                 STP             X0, X1, [SP,#0x30+var_28]
il2cpp:000000000117C0A4                 ADD             X0, SP, #0x30+var_28
il2cpp:000000000117C0A8                 BL              sub_117BD78
il2cpp:000000000117C0AC                 MOV             X20, X0
il2cpp:000000000117C0B0                 MOV             W0, #0x80000000
il2cpp:000000000117C0B4                 MOV             W1, #0x7FFFFFFF
il2cpp:000000000117C0B8                 MOV             X2, #0
il2cpp:000000000117C0BC                 BL              UnityEngine.Random$$Range_40051936
il2cpp:000000000117C0C0                 LDR             X8, [SP,#0x30+var_18]
il2cpp:000000000117C0C4                 ADRP            X9, #___stack_chk_guard_ptr@PAGE
il2cpp:000000000117C0C8                 LDR             X9, [X9,#___stack_chk_guard_ptr@PAGEOFF]
il2cpp:000000000117C0CC                 LDR             X9, [X9]
il2cpp:000000000117C0D0                 CMP             X9, X8
il2cpp:000000000117C0D4                 B.NE            loc_117C100
il2cpp:000000000117C0D8                 ADD             W9, W20, W19
il2cpp:000000000117C0DC                 ADD             W8, W0, W9
il2cpp:000000000117C0E0                 MVN             W9, W9
il2cpp:000000000117C0E4                 ORR             X1, X9, #0x100000000
il2cpp:000000000117C0E8                 BFI             X8, X0, #0x20, #0x20 ; ' '
il2cpp:000000000117C0EC                 MOV             X0, X8
il2cpp:000000000117C0F0                 LDP             X29, X30, [SP,#0x30+var_s0]
il2cpp:000000000117C0F4                 LDP             X20, X19, [SP,#0x30+var_10]
il2cpp:000000000117C0F8                 ADD             SP, SP, #0x40 ; '@'
il2cpp:000000000117C0FC                 RET
il2cpp:000000000117C100 ; ---------------------------------------------------------------------------
il2cpp:000000000117C100
il2cpp:000000000117C100 loc_117C100                             ; CODE XREF: AwesomeInt$$op_Subtraction_18333820+58↑j
il2cpp:000000000117C100                 BL              ___stack_chk_fail
il2cpp:000000000117C100 ; End of function AwesomeInt$$op_Subtraction_18333820

If I want to get gold, what should I modify above there? The value I asked you before was Stage Gold.😢

Updated by Rook
  • Solution
Posted
5 hours ago, njsn9202 said:

If I want to get gold, what should I modify above there? The value I asked you before was Stage Gold.😢

You can try RET consumegold function to see if it's valid. That should prevent your gold from decreasing.

Posted

il2cpp : 00000000012FD3F0 RET <-- Is this correct?

13 minutes ago, Rook said:

RET consumergold 함수를 시도하여 유효한지 확인할 수 있습니다. 그것은 당신의 금이 감소하는 것을 막아야 합니다.

il2cpp : 00000000012FD3F0 RET <-- Is this correct?

Posted

If you want to add instead of minus. You modify :

il2cpp:00000000012FD414                 BL              AwesomeInt$$op_Subtraction_18333820

You find what address is AwesomeInt$$op_Addition_XXXXX (XXXXX is some number that accepts same parameter amount and type, better check the dump.cs file for this)

Then you just BL to the addition function

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

    • Ice Age Adventures Cheats v2.0.1 +1
      Modded/Hacked App: Ice Age Adventures By Gameloft
      Bundle ID: com.gameloft.iceageadventures
      App Store Link: https://apps.apple.com/us/app/ice-age-adventures/id632437966?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 Non-Jailbroken Hack: https://iosgods.com/topic/147897-ice-age-adventures-v201-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147809-ice-age-adventures-cheats-v201-1/
      • 34 replies
    • Ice Age Village Cheats v3.6.4 +1
      Modded/Hacked App: Ice Age Village By Gameloft
      Bundle ID: com.gameloft.IceAge
      App Store Link: https://apps.apple.com/us/app/ice-age-village/id467577200?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 Non-Jailbroken Hack: https://iosgods.com/topic/147806-ice-age-village-v364-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147802-ice-age-village-cheats-v364-1/
      • 46 replies
    • Mr Autofire Cheats v4.0.1 +3 [ God Mode & More ]
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?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

      - God Mode 
      - One Hit Kill
      - Free Store

       

      Non-Jailbroken Hack: https://iosgods.com/topic/134805-mr-autofire-v380-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134788-mr-autofire-cheats-v380-3-god-mode-more/
      • 635 replies
    • Grim Soul: Survival v7.3.3 +19 Cheats [Unlimited Currencies + More]
      Modded/Hacked App: Grim Soul: Survival By Andrey Pryakhin
      Bundle ID: fantasy.survival.game.rpg
      iTunes Store Link: https://itunes.apple.com/us/app/grim-soul-survival/id1366215798


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Thalers/Coins & Crafting Points - Once enabled, purchase something using coins & use a craft point so the currencies stick, then disable this feature.
      - Unlimited Storage Items - Taking storage items will increase them.
      - Unlimited Energy / Instant Energy Refills - Will refill your energy once you run to another location.
      - Godmode - Unlinked. Health will still decrease but you won't die.
      - One-Hit Kill - Linked to the enemy. Would recommend enabling 'Godmode'.
      - Increased Attack Range - Allows you to kill enemies from some distance away.
      - Free Crafting - Will allow you to craft items without the required materials.
      - No Crafting Level Requirement
      - Free Construction
      - Items Duplicate When Split
      - Unlimited Item Durability
      - x2 Player Speed
      - x3 Player Speed
      • 5,054 replies
    • Hero Z: Idle defense v0.0.7 [+2 Cheats]
      Modded/Hacked App: Hero Z: Idle defense By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.heroz
      App Store Link: https://apps.apple.com/us/app/hero-z-idle-defense/id6478379131?uo=4



      🤩 Hack Features

      - Never Die
      - Activate Priv Pass (You can't claim diamonds but all the features enabled. Skip ads, More stamina cap etc.)
       
      • 3 replies
    • Hero Z: Idle defense v0.0.7 [+2 Jailed Cheats]
      Modded/Hacked App: Hero Z: Idle defense By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.heroz
      App Store Link: https://apps.apple.com/us/app/hero-z-idle-defense/id6478379131?uo=4



      🤩 Hack Features

      - Never Die
      - Activate Priv Pass (You can't claim diamonds but all the features enabled. Skip ads, More stamina cap etc.)
      • 1 reply
    • Jolly Match 3 - Puzzle Game v1.0.1884 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 1 reply
    • Jolly Match 3 - Puzzle Game v1.0.1884 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 1 reply
    • Cannon Heroes X v1.2.19 [+3 Jailed Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
      • 1 reply
    • Cannon Heroes X v1.2.19 [+3 Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
       
      • 1 reply
    • Archero Cheats v6.14.0 +5 [ God Mode & More ]
      Modded/Hacked App: Archero by HABBY PTE. LTD.
      Bundle ID: com.habby.archero
      iTunes Store Link: https://apps.apple.com/us/app/archero/id1453651052?uo=4&at=1010lce4



      Hack Features:
      - Multiply Defense to
      - Multiply Damage to
      - God Mode
      - OHK (Must use with God Mode)
      - Freeze Enemies

      NOTE: If you want to use god mode and ohk turn off multiply damage and defense first. I added multiply damage and defense there to avoid ban


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/100710-archero-v210-enemies-dont-attack-x30-attack/


      Hack Download Link: https://iosgods.com/topic/96783-arm64-archero-cheats-v220-5/
      • 15,861 replies
    • Galaxy Defense: Fortress TD v0.9.2 [+2 Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
       
      • 29 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