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

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

    • Gear Truck! v1.0.23 [+3 Jailed Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
      • 5 replies
    • Gear Truck! v1.0.23 [+3 Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
       
      • 5 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+3 Jailed Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4


      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 45 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+3 Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 45 replies
    • Cannon Heroes X v1.2.27 [+2 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)
      • 10 replies
    • Cannon Heroes X v1.2.27 [+2 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)
       
      • 7 replies
    • Slay Quest v1.3.13 [+3 Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
       
      • 8 replies
    • Slay Quest v1.3.13 [+3 Jailed Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4

       

      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
      • 6 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
      • 22 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
      • 17 replies
    • Bounce Defense v1.10.2 [+5 Jailed Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
      • 22 replies
    • Bounce Defense v1.10.2 [+5 Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
      • 15 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