Jump to content

11 posts in this topic

Recommended Posts

Posted

IDA Code:

             loc_A1AAC0                              ; CODE XREF: Labyrinth$$EnterBattleZone+2C9C↑j
il2cpp:00A1AAC0 BB 30 D0 E5                 LDRB            R3, [R0,#0xBB]
il2cpp:00A1AAC4 02 00 13 E3                 TST             R3, #2
il2cpp:00A1AAC8 08 00 00 0A                 BEQ             loc_A1AAF0
il2cpp:00A1AACC 74 30 90 E5                 LDR             R3, [R0,#0x74]
il2cpp:00A1AAD0 00 00 53 E3                 CMP             R3, #0
il2cpp:00A1AAD4 05 00 00 1A                 BNE             loc_A1AAF0
il2cpp:00A1AAD8 8E 15 F8 EB                 BL              il2cpp_runtime_class_init
il2cpp:00A1AADC 34 08 9F E5                 LDR             R0, =(off_4840C38 - 0xA1AAE8)
il2cpp:00A1AAE0 00 00 9F E7                 LDR             R0, [PC,R0] ; off_4840C38 ; RestoreGameplay_TypeInfo
il2cpp:00A1AAE4 00 00 90 E5                 LDR             R0, [R0] ; RestoreGameplay_TypeInfo
il2cpp:00A1AAE8 5C 10 90 E5                 LDR             R1, [R0,#0x5C] ; method
il2cpp:00A1AAEC 1C 20 91 E5                 LDR             R2, [R1,#28]
il2cpp:00A1AAF0
il2cpp:00A1AAF0             loc_A1AAF0                              ; CODE XREF: Labyrinth$$EnterBattleZone+2D44↑j
il2cpp:00A1AAF0                                                     ; Labyrinth$$EnterBattleZone+2D50↑j
il2cpp:00A1AAF0 01 00 52 E3                 CMP             R2, #1
il2cpp:00A1AAF4 02 00 00 1A                 BNE             loc_A1AB04
il2cpp:00A1AAF8 04 00 9D E5                 LDR             R0, [SP,#0x28+var_24] ; this
il2cpp:00A1AAFC 9C 1E 00 EB                 BL              Labyrinth$$Victory
il2cpp:00A1AB00 4E 01 00 EA                 B               loc_A1B040

I want hook 0xA1AAF0 CMP return true.

My MSHOOK Code:

void (*old_Victory)(bool);

void Labyrinth$$Victory(bool value) {
    value = true;
    return (*old_Victory)(value);
}
    MSHookFunction((void *) getAbsoluteAddress(targetLibName, string2Offset(OBFUSCATE_KEY("0xA1AAF0", '?'))), (void *) Labyrinth$$Victory, (void **) &old_Victory);

But it will crash.

How to fix?

Posted

What if you hardcode return it true?

il2cpp:00A1AAEC 1C 20 91 E5                 LDR             R2, [R1,#28]

Set this to MOV R2, #1

Posted

You can’t hook at the middle of the function 

Posted

This tut may help you

 

Posted
On 4/19/2021 at 10:11 AM, FEDuo said:

How to this in the function header hook?

On 4/18/2021 at 11:24 PM, Zahir said:

What if you hardcode return it true?



il2cpp:00A1AAEC 1C 20 91 E5                 LDR             R2, [R1,#28]

Set this to MOV R2, #1

change to mov r2,#1???

Posted

basically if i need remove some compare

il2cpp:00A1AAF0 01 00 52 E3                 CMP             R2, #1
il2cpp:00A1AAF4 02 00 00 1A                 BNE             loc_A1AB04

Compare r2 with number int 1
if NotEqual -> branch to location loc_A1AB04

just NOP both lines and code will move next line

Posted
On 5/7/2021 at 2:19 PM, xiaov said:

change to mov r2,#1???

The CMP is comparing the R2 with 1

Above it is the load to R2 so instead of loading, you set to 1 right away, then CMP is always true

I think xD 

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

    • Last Day On Earth: Survival v1.40.0 +36 FREE Hacks
      Modded/Hacked App: Last Day on Earth: Survival By Andrey Pryakhin
      Bundle ID: zombie.survival.craft.z
      iTunes Link: https://itunes.apple.com/us/app/last-day-on-earth-survival/id1241932094

      Hack Features:
      - Coins Hack - Spend/Buy something that costs Coins to increase Coins!
      - Durability Hack - Weapons, Clothes, Boots, etc. Will not break. You can always keep using them.
      - Crafting Hack - Able to craft stuff without required items!
      - Skill Points Hack - Skill Points won't decrease, reset to increase.
      - Duplicate Items Hack - Split Items to duplicate them! Now it will duplicate by 20!
      - Loot box hack - Open 1 lootbox for 1000! - x64 only
      - Items increase when Taking from Inbox. You will never run out of Items in your inbox! - x64 only
      - Minigun Doesn't Overheat - x64 only
      - Unlimited Energy. Energy Increases instead of subtracting! - x64 only
      - Bow One Hit Kill - x64 only
      - Anti-Ban

      During the month of December, we have decided to make the ViP hack for free for all users! :) Extra features include:
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 30,229 replies
    • Zombie Sniper War 3D: Dead FPS v1.75 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Zombie Sniper War 3D: Dead FPS By JE Software AB
      Bundle ID: com.JESoftware.LastHopeSniper3
      App Store Link: https://apps.apple.com/ph/app/zombie-sniper-war-3d-dead-fps/id1643424564?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
        • Winner
        • Like
      • 2 replies
    • Zombie Sniper War 3D: Dead FPS v1.75 [ +2 jailed ] Currency Max
      Modded/Hacked App: Zombie Sniper War 3D: Dead FPS By JE Software AB
      Bundle ID: com.JESoftware.LastHopeSniper3
      App Store Link: https://apps.apple.com/ph/app/zombie-sniper-war-3d-dead-fps/id1643424564?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resource
        • Like
      • 1 reply
    • BitLife - Life Simulator Cheats v3.20.9 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,774 replies
    • [ Arknights China ] 明日方舟 Cheats v2.6.61 +8
      Modded/Hacked App: 明日方舟 By Shanghai Hypergryph Network Technology Co., Ltd.
      Bundle ID: com.hypergryph.arknights
      iTunes Store Link: https://apps.apple.com/cn/app/%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F/id1454663939?uo=4


      Hack Features:
      - God Mode
      - Frozen Enemies
      - One Hit Kill
      - Instant - Win
      - No Deploy Cost
      - Multiply Damage
      - Multiply Defense
      - Multiply Character Speed


      iOS Hack Download Link: https://iosgods.com/topic/149509-arknights-china-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-cheats-v1560-8/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 348 replies
    • [ Last Cloudia TW ] 最後的克勞迪亞 Cheats v6.7.2 +5
      Modded/Hacked App: 最後的克勞迪亞 By Hong Kong Bao Chuan Software Technology Limited
      Bundle ID: com.boltrend.cloudia
      iTunes Store Link: https://apps.apple.com/tw/app/%E6%9C%80%E5%BE%8C%E7%9A%84%E5%85%8B%E5%8B%9E%E8%BF%AA%E4%BA%9E/id1530784975?uo=4



      Hack Features:
      - God Mode
      - Infinite MP
      - Infinite SP
      - Infinite Ether


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/139142-last-cloudia-tw-%E6%9C%80%E5%BE%8C%E7%9A%84%E5%85%8B%E5%8B%9E%E8%BF%AA%E4%BA%9E-v161-jailed-cheats-4/


      iOS Hack Download Link: https://iosgods.com/topic/139140-last-cloudia-tw-%E6%9C%80%E5%BE%8C%E7%9A%84%E5%85%8B%E5%8B%9E%E8%BF%AA%E4%BA%9E-cheats-all-versions-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 399 replies
    • Candy Crush Saga v1.313.1 Jailed Cheats +3
      Modded/Hacked App: Candy Crush Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-saga/id553834731?uo=4


      Hack Features:
      - Infinite Life
      - Infinite Booster
      - Infinite Move


      Jailbreak required hack(s): https://iosgods.com/topic/190447-candy-crush-saga-cheats-v12941-3/


      iOS Hack Download IPA Link: https://iosgods.com/topic/190448-candy-crush-saga-v12941-jailed-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 152 replies
    • Jurassic World Alive v3.16.49 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864


      Hack Features:
      - Dino Don't Move
      - Inf. Battery
      - VIP Enabled

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,719 replies
    • Subnautica v1.2.4 +100++ Jailed Cheats [ Developer Menu ]
      Modded/Hacked App: Subnautica By Unknown Worlds Entertainment, Inc.
      Bundle ID: com.UnknownWorlds.Subnautica
      App Store Link: https://apps.apple.com/us/app/subnautica/id6478639011?uo=4

       
       

      🤩 Hack Features

      - Developer Menu -> Pause the game and you will see a Developer Menu button.

      For all developer commands, go here.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 74 replies
    • Subnautica v1.2.4 +100++ Cheats [ Developer Menu ]
      Modded/Hacked App: Subnautica By Unknown Worlds Entertainment, Inc.
      Bundle ID: com.UnknownWorlds.Subnautica
      App Store Link: https://apps.apple.com/us/app/subnautica/id6478639011?uo=4

       


      🤩 Hack Features

      - Developer Menu -> Pause the game and you will see a Developer Menu button.

      For all developer commands, go here..
        • Agree
        • Thanks
        • Winner
        • Like
      • 12 replies
    • MONOPOLY: The Board Game v1.15.5 +1 Jailed Cheat [ Everything Owned ]
      Modded/Hacked App: MONOPOLY: The Board Game By Marmalade Game Studio Limited
      Bundle ID: com.marmalade.monopoly
      iTunes Store Link: https://apps.apple.com/us/app/monopoly-the-board-game/id1477966166?uo=4


      Hack Features:
      - Everything Owned -> All packs, themes, boards, tokens, all purchased and owned.


      Jailbreak required hack(s): https://iosgods.com/topic/169254-monopoly-classic-board-game-all-versions-1-cheat-everything-owned/
      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
      • 424 replies
    • MONOPOLY: The Board Game v1.15.5 +1 Cheat [ Everything Owned ]
      Modded/Hacked App: MONOPOLY: The Board Game By Marmalade Game Studio Limited
      Bundle ID: com.marmalade.monopoly
      iTunes Store Link: https://apps.apple.com/us/app/monopoly-the-board-game/id1477966166?uo=4


      Hack Features:
      - Everything Owned -> All packs, themes, boards, tokens, all purchased and owned.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/169256-monopoly-classic-board-game-v189-1-jailed-cheat-everything-owned/
      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
      • 209 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