Jump to content

12 posts in this topic

Recommended Posts

Posted

I've finally had enough time to sit down and finish my attempt to hack this game....finally got my GDB working again...and now i'm a bit lost. Basically I was aiming for a Spend Some/Get Some kind of thing but at this point i'd even take just loading all the currency in..

 

sne0z5.jpg

 

GDB pointed me to this offset string where the end result of my currency is being set.

I didn't really want to bother the Set Point plus a lot of the strings didnt seem editable in my favor( I could be wrong)

 

 

I looked at the only tutorial i could find on here for actually finding the offset you need to edit but in this case it wasnt helpful.( though it was for my other game)

 

should i post the entire function for some one to analyze or just the main strings around this?

Posted

yeah full function because this offset is wrong 

alright give me a seconds to pull it up...thanks...

yeah full function because this offset is wrong 

var_4C          = -0x4C
var_48          = -0x48
 var_34          = -0x34
 var_30          = -0x30
 var_2C          = -0x2C
 var_28          = -0x28
 var_24          = -0x24
var_18          = -0x18
__text:00257160
__text:00257160                 PUSH            {R4-R7,LR}
__text:00257162                 ADD             R7, SP, #0xC
__text:00257164                 PUSH.W          {R8,R10,R11}
__text:00257168                 SUB.W           R4, SP, #0x40
__text:0025716C                 BIC.W           R4, R4, #0xF
__text:00257170                 MOV             SP, R4
__text:00257172                 VST1.64         {D8-D11}, [R4@128]!
__text:00257176                 VST1.64         {D12-D15}, [R4@128]
__text:0025717A                 SUB             SP, SP, #0x50
__text:0025717C                 MOV             R4, R0
__text:0025717E                 MOV             R0, R1
__text:00257180                 BL              _cJSON_Parse
__text:00257184                 MOV             R5, R0
__text:00257186                 MOV             R0, #(___gxx_personality_sj0_ptr - 0x257194)
__text:0025718E                 LDR             R1, =(GCC_except_table49_10 - 0x257196)
__text:00257190                 ADD             R0, PC ; ___gxx_personality_sj0_ptr
__text:00257192                 ADD             R1, PC ; GCC_except_table49_10
__text:00257194                 LDR             R0, [R0] ; ___gxx_personality_sj0
__text:00257196                 STR             R0, [sP,#0x68+var_34]
__text:00257198                 ADD             R0, SP, #0x68+var_4C
__text:0025719A                 STR             R1, [sP,#0x68+var_30]
__text:0025719C                 LDR             R1, =(sub_257258 - 0x2571AC)
__text:0025719E                 STR             R7, [sP,#0x68+var_2C]
__text:002571A0                 ORR.W           R1, R1, #1
__text:002571A4                 STR.W           SP, [sP,#0x68+var_24]
__text:002571A8                 ADD             R1, PC ; sub_257258
__text:002571AA                 STR             R1, [sP,#0x68+var_28]
__text:002571AC                 BLX.W           __Unwind_SjLj_Register
__text:002571B0                 CMP             R5, #0
__text:002571B2                 BEQ             loc_25723C
__text:002571B4                 MOVW            R2, #(:lower16:(aResult - 0x2571C6)) ; "result"
__text:002571B8                 ADD             R6, SP, #0x68+var_58
__text:002571BA                 MOVT.W          R2, #(:upper16:(aResult - 0x2571C6)) ; "result"
__text:002571BE                 MOV.W           R0, #0xFFFFFFFF
__text:002571C2                 ADD             R2, PC  ; "result"
__text:002571C4                 STR             R0, [sP,#0x68+var_48]
__text:002571C6                 MOV             R0, R6
__text:002571C8                 MOV             R1, R5
__text:002571CA                 STR             R5, [sP,#0x68+var_5C]
__text:002571CC                 BL              __Z13GetJSONStringP5cJSONPKc ; GetJSONString(cJSON *,char const*)
__text:002571D0                 MOVS            R0, #1
__text:002571D2                 STR             R0, [sP,#0x68+var_48]
__text:002571D4                 ADD.W           R0, R4, #8
__text:002571D8                 MOV             R1, R6
__text:002571DA                 STR             R4, [sP,#0x68+var_60]
__text:002571DC                 BLX.W           __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_ ; std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>::operator=(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>> const&)
__text:002571E0                 LDRB.W          R0, [sP,#0x68+var_58]
__text:002571E4                 TST.W           R0, #1
__text:002571E8                 BEQ             loc_2571EE
__text:002571EA                 LDR             R0, [sP,#0x68+var_50]
__text:002571EC                 B               loc_2571F4
__text:002571EE ; ---------------------------------------------------------------------------
__text:002571EE
__text:002571EE loc_2571EE                              ; CODE XREF: sVCSpendMsgData::ParseData(char const*,CMaterial *)+88j
__text:002571EE                 ADD             R0, SP, #0x68+var_58
__text:002571F0                 ORR.W           R0, R0, #1
__text:002571F4
__text:002571F4 loc_2571F4                              ; CODE XREF: sVCSpendMsgData::ParseData(char const*,CMaterial *)+8Cj
__text:002571F4                 LDR             R4, [sP,#0x68+var_5C]
__text:002571F6                 MOV             R1, #(aSuccess_1 - 0x257202) ; "success"
__text:002571FE                 ADD             R1, PC  ; "success"
__text:00257200                 BLX.W           _strcasecmp
__text:00257204                 CBNZ            R0, loc_257236
__text:00257206                 MOVW            R1, #(:lower16:(aBalance - 0x257216)) ; "balance"
__text:0025720A                 MOVS            R0, #2
__text:0025720C                 MOVT.W          R1, #(:upper16:(aBalance - 0x257216)) ; "balance"
__text:00257210                 STR             R0, [sP,#0x68+var_48]
__text:00257212                 ADD             R1, PC  ; "balance"
__text:00257214                 MOV             R0, R4
__text:00257216                 MOVS            R2, #1
__text:00257218                 BL              __Z10GetJSONIntP5cJSONPKcb ; GetJSONInt(cJSON *,char const*,bool)
__text:0025721C                 MOV             R1, #(__ZN10CGameWorld12s_pGameWorldE_ptr - 0x25722A)
__text:00257224                 LDR             R2, [sP,#0x68+var_60]
__text:00257226                 ADD             R1, PC ; __ZN10CGameWorld12s_pGameWorldE_ptr
__text:00257228                 LDR             R1, [R1] ; CGameWorld::s_pGameWorld
__text:0025722A                 STR             R0, [R2,#4]
__text:0025722C                 LDR             R1, [R1]
__text:0025722E                 LDR.W           R1, [R1,#0x134]
__text:00257232                 STR.W           R0, [R1,#0x3E8]
__text:00257236
__text:00257236 loc_257236                              ; CODE XREF: sVCSpendMsgData::ParseData(char const*,CMaterial *)+A4j
__text:00257236                 ADD             R0, SP, #0x68+var_58
__text:00257238                 BLX.W           __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev ; std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>::~basic_string()
__text:0025723C
__text:0025723C loc_25723C                              ; CODE XREF: sVCSpendMsgData::ParseData(char const*,CMaterial *)+52j
__text:0025723C                 ADD             R0, SP, #0x68+var_4C
__text:0025723E                 BLX.W           __Unwind_SjLj_Unregister
__text:00257242                 ADD             R4, SP, #0x68+var_18
__text:00257244                 VLD1.64         {D8-D11}, [R4@128]!
__text:00257248                 VLD1.64         {D12-D15}, [R4@128]
__text:0025724C                 SUB.W           R4, R7, #-var_18
 MOV             SP, R4
POP.W           {R8,R10,R11}
POP             {R4-R7,PC}
 End of function sVCSpendMsgData::ParseData(char const*,CMaterial *)
Posted

That's what I was thinking when I started browsing the functions but my GDB kept sending me there

its the wrong function

but you can edit some things here already..

In what way would I be able to tell I'm in the right function if my GDB directs me to this one every time?
Posted

That's what I was thinking when I started browsing the functions but my GDB kept sending me there

In what way would I be able to tell I'm in the right function if my GDB directs me to this one every time?

do you have aslr on or off?

Posted (edited)

Off...first thing I did after I cracked it....

then thats weird , then it is the right function but you used the wrong value 

in other words , you found the visual part not the part with real numbers

Updated by iOSv64

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

    • League of War: Mercenaries v11.0.004 +2 Cheats
      Mod APK Game Name: League of War: Mercenaries By Jirolabs LLC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.gree.shadow

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Groove Journey v6.5.6 Jailed Mod +1
      Modded/Hacked App: Groove Journey By Somtochukwu Mbala
      Bundle ID: com.kaipha.groovejourney
      iTunes Store Link: https://apps.apple.com/us/app/groove-journey/id6736345547?uo=4


      Hack Features:
      - PREMIUM


      iOS Hack Download IPA Link: https://iosgods.com/topic/190862-groove-journey-v311-jailed-mod-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 194 replies
    • Idle Police Tycoon - Cops Game Cheats v1.28 +3
      Modded/Hacked App: Idle Police Tycoon - Cops Game By Codigames SL
      Bundle ID: com.codigames.idle.police.department.tycoon.cop
      App Store Link: https://apps.apple.com/us/app/idle-police-tycoon-cops-game/id1521444735?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

      - Infinite Cash
      - No Ads (Clam rewards / criminal without watching ads)
      - All Managers Hired

       

      Non-Jailbroken Hack: https://iosgods.com/topic/133424-idle-police-tycoon-cops-game-v128-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/133421-idle-police-tycoon-cops-game-cheats-v128-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 256 replies
    • Zombie Waves-shooting game v2.1.8 Jailed Cheats +6
      Modded/Hacked App: Zombie Waves-shooting game By FUN FORMULA PTE. LTD.
      Bundle ID: com.ddup.zombiewaves.zw
      App Store Link: https://apps.apple.com/us/app/zombie-waves-shooting-game/id6443760593?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - God Mode
      - Infinite Ammo
      - No Reload
      - Increase Magnet Range
      - High Damage X10
      - High Fire Rate

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/201966-zombie-waves-shooting-game-v212-jailed-cheats-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 60 replies
    • Hungry Shark World v7.3.3 +9 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - Coin Modifier
      - Gem Modifier
      - Pearl Modifier
      - Unlock All
      - Freeze Health
      - Freeze Boost
      - Season Pass Unlocked
      - Score Multiplier
      - No Gravity
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 296 replies
    • Minions World v1.2.4 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Minions World
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.mikapps.minionsconquest&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited Silver Keys
      - Unlimited Golden Keys
      • 0 replies
    • Galaxy War: Falltopia Shooter v1.0.194 [ +12 APK MOD ] ADS NO
      Mod APK Game Name: Galaxy War: Falltopia Shooter
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.threehp013.idle.plane.shooting.space.force.game

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
      • 1 reply
    • OnceWorld v1.1.2 +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: OnceWorld By PONIX LLC
      Bundle ID: work.ponix.onceworld
      App Store Link: https://apps.apple.com/us/app/onceworld/id6753948618?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
        • Informative
        • Agree
        • Thanks
        • Like
      • 30 replies
    • Dawn of Zombies: Survival Game v2.274.3032 +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Zombies: Survival Game By VISTREX LIMITED
      Bundle ID: com.survival.dawn
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-zombies-survival-game/id1465954247?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Speed Multiplier
      - Split Hack
      - No Energy Cost
      - Max Level -> Earn some XP.


      Jailbreak required hack(s): [Mod Menu Hack] Dawn of Zombies: Survival Game v2.250 +6 Cheats [ Damage & Defence ] - 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
      • 299 replies
    • Wool Craze -Yarn Color Sort 3D v4.9 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
        • Haha
        • Like
      • 0 replies
    • Wool Craze -Yarn Color Sort 3D v4.9 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
        • Like
      • 0 replies
    • Hello Town: Merge & Succeed v3.2 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4


      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Agree
        • Thanks
        • Winner
        • Like
      • 33 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