Jump to content

9 posts in this topic

Recommended Posts

Posted

Hey there,

 

I am trying to understand IDA Game Hacking, but I am not really getting it.

Did read all tutorials like 947845874 times...

 

I think this function is hackable:

bool __cdecl -[CurrencyWallet spendValue:](struct CurrencyWallet *self, SEL, unsigned int)
__text:00071F40 __CurrencyWallet_spendValue__           ; DATA XREF: __objc_const:00DAA128o
__text:00071F40                 PUSH            {R4,R7,LR}
__text:00071F42                 ADD             R7, SP, #4
__text:00071F44                 MOV             R4, R0
__text:00071F46                 MOV             R0, #(_OBJC_IVAR_$_CurrencyWallet._quantity - 0x71F52) ; unsigned int _quantity;
__text:00071F4E                 ADD             R0, PC  ; unsigned int _quantity;
__text:00071F50                 LDR             R0, [R0] ; unsigned int _quantity;
__text:00071F52                 LDR             R1, [R4,R0]
__text:00071F54                 CMP             R1, R2

I though the 'MOV R4, R0' could be hacked or 'PUSH {R4,R7,LR}'

 

I have this problem with like any game, I've no idea what to do...

 

any help?

 

Thanks in advance,

 

:)

Posted (edited)

do u see any sub instruction

Updated by ZahirSher
Posted

do u see any sub instruction

I see this:

bool __cdecl -[CurrencyWallet spendValue:](struct CurrencyWallet *self, SEL, unsigned int)
__text:00071F40 __CurrencyWallet_spendValue__
__text:00071F40                 PUSH            {R4,R7,LR}
__text:00071F42                 ADD             R7, SP, #4
__text:00071F44                 MOV             R4, R0
__text:00071F46                 MOV             R0, #(_OBJC_IVAR_$_CurrencyWallet._quantity - 0x71F52) ; unsigned int _quantity;
__text:00071F4E                 ADD             R0, PC  ; unsigned int _quantity;
__text:00071F50                 LDR             R0, [R0] ; unsigned int _quantity;
__text:00071F52                 LDR             R1, [R4,R0]
__text:00071F54                 CMP             R1, R2
__text:00071F56                 ITT CC
__text:00071F58                 MOVCC           R0, #0
__text:00071F5A                 POPCC           {R4,R7,PC}
__text:00071F5C                 MOVW            R3, #(:lower16:(selRef_notifyChanges - 0x71F6C))
__text:00071F60                 SUBS            R1, R1, R2
__text:00071F62                 MOVT.W          R3, #(:upper16:(selRef_notifyChanges - 0x71F6C))
__text:00071F66                 STR             R1, [R4,R0]
__text:00071F68                 ADD             R3, PC ; selRef_notifyChanges
__text:00071F6A                 MOV             R0, R4
__text:00071F6C                 LDR             R1, [R3] ; "notifyChanges"
__text:00071F6E                 BLX.W           _objc_msgSend
__text:00071F72                 MOV             R0, #(selRef_persistQuantity - 0x71F7E)
__text:00071F7A                 ADD             R0, PC ; selRef_persistQuantity
__text:00071F7C                 LDR             R1, [R0] ; "persistQuantity"
__text:00071F7E                 MOV             R0, R4
__text:00071F80                 BLX.W           _objc_msgSend
__text:00071F84                 MOVS            R0, #1
__text:00071F86                 POP             {R4,R7,PC}

I assumed that after "__text:00071F56 ITT CC" something else started.. not sure tho...

Posted

I see this:

bool __cdecl -[CurrencyWallet spendValue:](struct CurrencyWallet *self, SEL, unsigned int)
__text:00071F40 __CurrencyWallet_spendValue__
__text:00071F40                 PUSH            {R4,R7,LR}
__text:00071F42                 ADD             R7, SP, #4
__text:00071F44                 MOV             R4, R0
__text:00071F46                 MOV             R0, #(_OBJC_IVAR_$_CurrencyWallet._quantity - 0x71F52) ; unsigned int _quantity;
__text:00071F4E                 ADD             R0, PC  ; unsigned int _quantity;
__text:00071F50                 LDR             R0, [R0] ; unsigned int _quantity;
__text:00071F52                 LDR             R1, [R4,R0]
__text:00071F54                 CMP             R1, R2
__text:00071F56                 ITT CC
__text:00071F58                 MOVCC           R0, #0
__text:00071F5A                 POPCC           {R4,R7,PC}
__text:00071F5C                 MOVW            R3, #(:lower16:(selRef_notifyChanges - 0x71F6C))
__text:00071F60                 SUBS            R1, R1, R2
__text:00071F62                 MOVT.W          R3, #(:upper16:(selRef_notifyChanges - 0x71F6C))
__text:00071F66                 STR             R1, [R4,R0]
__text:00071F68                 ADD             R3, PC ; selRef_notifyChanges
__text:00071F6A                 MOV             R0, R4
__text:00071F6C                 LDR             R1, [R3] ; "notifyChanges"
__text:00071F6E                 BLX.W           _objc_msgSend
__text:00071F72                 MOV             R0, #(selRef_persistQuantity - 0x71F7E)
__text:00071F7A                 ADD             R0, PC ; selRef_persistQuantity
__text:00071F7C                 LDR             R1, [R0] ; "persistQuantity"
__text:00071F7E                 MOV             R0, R4
__text:00071F80                 BLX.W           _objc_msgSend
__text:00071F84                 MOVS            R0, #1
__text:00071F86                 POP             {R4,R7,PC}
I assumed that after "__text:00071F56 ITT CC" something else started.. not sure tho...

 

You can NOP the

sub r1, r1, r2

or just hook the method:

%hook CurrencyWallet
- (bool)spendValue:(unsigned int)value {
   return YES;
}
%end
Posted

 

You can NOP the

sub r1, r1, r2

or just hook the method:

%hook CurrencyWallet
- (bool)spendValue:(unsigned int)value {
   return YES;
}
%end

Hmm not working. Guess the function isn't hackable then?

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

    • Mob Control v2.89.4 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Jailbreak required hack(s): [Mod Menu Hack] Mob Control v2.78.0 +7 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/
        • Like
      • 224 replies
    • Mob Control v2.89.4 +7 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Mob Control v2.78.0 +7 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
      • 128 replies
    • Grimguard Tactics: Fantasy RPG v1.14.0 +3 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Jailbreak required hack(s): [Mod Menu Hack] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Cheats [ Auto Win ] - ViP 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/
      • 123 replies
    • Grimguard Tactics: Fantasy RPG v1.14.0 +3 Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Jailed Cheats [ Auto Win ] - ViP Non-Jailbroken Hacks & 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/
        • Like
      • 96 replies
    • Modern Community v1.17004.194765 +1++ Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Modern Community By Magic Tavern, Inc.
      Bundle ID: com.sts.vision
      iTunes Store Link: https://apps.apple.com/us/app/modern-community/id6447748647?uo=4


      Hack Features:
      - Unlimited Everything


      Jailbreak required hack(s): [Mod Menu Hack] Modern Community v1.1008.81088 +1++ Cheat [ Unlimited Everything ] - ViP 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/
      • 102 replies
    • Modern Community v1.17004.194765 +1++ Cheat [ Unlimited Everything ]
      Modded/Hacked App: Modern Community By Magic Tavern, Inc.
      Bundle ID: com.sts.vision
      iTunes Store Link: https://apps.apple.com/us/app/modern-community/id6447748647?uo=4


      Hack Features:
      - Unlimited Everything


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Modern Community v1.1008.81088 +1++ Jailed Cheat [ Unlimited Everything ] - ViP Non-Jailbroken Hacks & 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/
      • 62 replies
    • MIST: Horror Idle Survival RPG v1.8.3 +4 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: MIST: Horror Idle Survival RPG By Anton Nazarov
      Bundle ID: com.eg.mist.horror.idle.rpg
      iTunes Store Link: https://apps.apple.com/us/app/mist-horror-idle-survival-rpg/id6499312165?uo=4


      Hack Features:
      - God Mode
      - Damage Multiplier
      - Unlimited Resources/Currencies -> Will not decrease.
      - Unlock All Skill Slots -> Slots will cost nothing to unlock then after disable this feature to use the slots.


      Jailbreak required hack(s): [Mod Menu Hack] MIST: Horror Idle Survival RPG v1.2 +4 Cheats [ Damage Multiplier ] - 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/
      • 19 replies
    • MIST: Horror Idle Survival RPG v1.8.3 +4 Cheats [ Damage + More ]
      Modded/Hacked App: MIST: Horror Idle Survival RPG By Anton Nazarov
      Bundle ID: com.eg.mist.horror.idle.rpg
      iTunes Store Link: https://apps.apple.com/us/app/mist-horror-idle-survival-rpg/id6499312165?uo=4


      Hack Features:
      - God Mode
      - Damage Multiplier
      - Unlimited Resources/Currencies -> Will not decrease.
      - Unlock All Skill Slots -> Slots will cost nothing to unlock then after disable this feature to use the slots.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] MIST: Horror Idle Survival RPG v1.2 +4 Jailed Cheats [ Damage Multiplier ] - 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/
        • Thanks
      • 47 replies
    • Nuclear Day Survival v0.139.7 +5 Jailed Cheats [ Unlimited Stats ]
      Modded/Hacked App: Nuclear Day Survival By APPWILL COMPANY LTD
      Bundle ID: com.somniumfabri.nuclearday
      iTunes Store Link: https://apps.apple.com/us/app/nuclear-day-survival/id1666266916?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 Hunger
      - Unlimited Water
      - Unlimited Health
      - Unlimited Energy
      - No Radiation
      • 12 replies
    • Nuclear Day Survival v0.139.7 +5 Cheats [ Unlimited Stats ]
      Modded/Hacked App: Nuclear Day Survival By APPWILL COMPANY LTD
      Bundle ID: com.somniumfabri.nuclearday
      iTunes Store Link: https://apps.apple.com/us/app/nuclear-day-survival/id1666266916?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 Hunger
      - Unlimited Water
      - Unlimited Health
      - Unlimited Energy
      - No Radiation
      • 14 replies
    • Lost Enders v1.9.6 +3 Jailed Cheats [ God / O-HK ]
      Modded/Hacked App: Lost Enders By makoto takeuchi
      Bundle ID: jp.co.kurukurugames.lostenders
      iTunes Store Link: https://apps.apple.com/us/app/lost-enders/id6502868763?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Jailbreak required hack(s): [Mod Menu Hack] Lost Enders v1.0.4 +2 Cheats [ God / O-HK ] - 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/
        • Like
      • 37 replies
    • Lost Enders v1.9.6 +3 Cheats [ God / O-HK ]
      Modded/Hacked App: Lost Enders By makoto takeuchi
      Bundle ID: jp.co.kurukurugames.lostenders
      iTunes Store Link: https://apps.apple.com/us/app/lost-enders/id6502868763?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Lost Enders v1.0.4 +2 Jailed Cheats [ God / O-HK ] - 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/
      • 70 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