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

    • Crashlands 2 v100.1.437 +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: Crashlands 2 By Butterscotch Shenanigans, Inc.
      Bundle ID: com.bscotch.crashlands2
      iTunes Store Link: https://apps.apple.com/us/app/crashlands-2/id1528199331?uo=4

       


      🤩 Hack Features

      - One-Hit Kill
      - No Skill Cooldown
        • Agree
        • Thanks
        • Winner
        • Like
      • 14 replies
    • Crashlands 2 v100.1.437 +2 Cheats [ One-Hit Kill ]
      Modded/Hacked App: Crashlands 2 By Butterscotch Shenanigans, Inc.
      Bundle ID: com.bscotch.crashlands2
      iTunes Store Link: https://apps.apple.com/us/app/crashlands-2/id1528199331?uo=4

       
       

      🤩 Hack Features

      - One-Hit Kill
      - No Skill Cooldown
        • Informative
        • Winner
        • Like
      • 20 replies
    • Nightfall: Kingdom Frontier TD v1.0.382 +8 Jailed Cheats [ Currencies ]
      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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 82 replies
    • Nightfall: Kingdom Frontier TD v1.0.382 +8 Cheats [ Currencies ]
      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 ]


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nightfall: Kingdom Frontier TD v1.0.41 +8 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 98 replies
    • Hero-Tower Defense v1.6 [+3 Jailed Cheats]
      Modded/Hacked App: Hero-Tower Defense By 家傲 郭
      Bundle ID: com.jianya.herotd
      App Store Link: https://apps.apple.com/us/app/hero-tower-defense/id6743142617?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Resources
      - Freeze Battle Diamond
      • 0 replies
    • Hero-Tower Defense v1.6 [+3 Cheats]
      Modded/Hacked App: Hero-Tower Defense By 家傲 郭
      Bundle ID: com.jianya.herotd
      App Store Link: https://apps.apple.com/us/app/hero-tower-defense/id6743142617?uo=4


       

      🤩 Hack Features

      - Never Die
      - Unlimited Resources
      - Freeze Battle Diamond
       
      • 0 replies
    • We Are Warriors! v1.47.1 Cheats +3
      Modded/Hacked App: We Are Warriors! By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.vjsjlqvlmp.wearewarriors
      iTunes Store Link: https://apps.apple.com/us/app/we-are-warriors/id6466648550?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:
      - Unlimited everything
      - Auto complete task
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 128 replies
    • We Are Warriors! v1.47.1 Cheats +3
      Modded/Hacked App: We Are Warriors! By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.vjsjlqvlmp.wearewarriors
      iTunes Store Link: https://apps.apple.com/us/app/we-are-warriors/id6466648550?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Unlimited everything
      - Auto complete task
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 72 replies
    • Wukong's Arsenal:Rogue RPG v1.8 [+3 Cheats]
      Modded/Hacked App: Wukong's Arsenal:Rogue RPG By HangZhou Mai Di Wen Network Technology Co., Ltd
      Bundle ID: com.medivhgame.wukongfIght.ios
      App Store Link: https://apps.apple.com/us/app/wukongs-arsenal-rogue-rpg/id6733239805?uo=4

       

      🤩 Hack Features

      - Never Die
      - Unlimited Currency
      - Remove Ads
      • 1 reply
    • Wukong's Arsenal:Rogue RPG v1.8 [+3 Jailed Cheats]
      Modded/Hacked App: Wukong's Arsenal:Rogue RPG By HangZhou Mai Di Wen Network Technology Co., Ltd
      Bundle ID: com.medivhgame.wukongfIght.ios
      App Store Link: https://apps.apple.com/us/app/wukongs-arsenal-rogue-rpg/id6733239805?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency
      - Remove Ads
        • Like
      • 0 replies
    • Prison Break Idle v0.1.5 [+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)
       
        • Informative
        • Thanks
        • Like
      • 4 replies
    • Prison Break Idle v0.1.5 [+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
      • 8 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