Jump to content

I need help converting an unsigned int into a signed int in Ida Pro (Android ARM binary)


xoashley

2 posts in this topic

Recommended Posts

Posted

I am using Nox Emulator since I do not have an Android device (Nox is Android version 7)

I've tried to make a free modified ipa and a free modified android apk for the app Kim Kardashian:Hollywood (the ipa is done as of this moment but I need a lot of help with the android one)

Loaded the binary of the APK in Ida Pro and wanted to get to the offset where I can change the cost of an item in the game (here is the source I got it from https://apkpure.com/kim-kardashian-hollywood/com.glu.stardomkim)

I've been trying to modify the offset of function "CustomizeUI_GetOptionCost" I tried doing a negative number then I realized it is an unsigned integer *sigh*

Here is what the offset looks like below for those who are wondering:

; CustomizeUI_GetOptionCost(SSceneManager *, SCustomCharOption const&, unsigned int, unsigned int *, int *)
j__Z25CustomizeUI_GetOptionCostP13SSceneManagerRK17SCustomCharOptionjPjPi
ADRL            R12, 0x69C0F8
LDR             PC, [R12,#(_Z25CustomizeUI_GetOptionCostP13SSceneManagerRK17SCustomCharOptionjPjPi_ptr - 0x69C0F8)]! ; CustomizeUI_GetOptionCost(SSceneManager *,SCustomCharOption const&,uint,uint *,int *)
; End of function CustomizeUI_GetOptionCost(SSceneManager *,SCustomCharOption const&,uint,uint *,int *)

 

So then I did some investigating ~ I xref to 0x69C0F8 and get this result from the first xref

 

.text:005B14C0                 MOV             R3, R2
.text:005B14C2                 MOV             R2, R1
.text:005B14C4                 MOV             R1, R0
.text:005B14C6                 LDR             R0, =(strtoumax_ptr - 0x5B14CC)
.text:005B14C8                 ADD             R0, PC  ; strtoumax_ptr
.text:005B14CA                 LDR             R0, [R0] ; strtoumax
.text:005B14CC                 B.W             loc_5B13C8
.text:005B14CC ; ---------------------------------------------------------------------------
.text:005B14D0 off_5B14D0      DCD strtoumax_ptr - 0x5B14CC

NOPd the entirety of strtoumax_ptr and all the xrefs that contained it ~ noping it didn't help at all it made the cost of an item the maximum value of an unsigned integer which is interesting but not what I wanted at all

I would like to make the cost of the items to a negative number instead (any negative number even -1)

I really would like a helping hand for this ~ thanks in advance :) 

Posted

 Use a cast. int a = 6; unsigned int b; int c; b = (unsigned int)a; c = (int)b; 

I oml you already solved it though lol

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Real Survival: Not Fake v1.0.1 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Real Survival: Not Fake
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.devdop.realsurvivalnotfake

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Wood
      - Unlimited Meet
      • 1 reply
    • Real Survival: Not Fake v1.1.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Real Survival: Not Fake By Dan Lespect
      Bundle ID: com.devdop.realsurvivalnotfake
      App Store Link: https://apps.apple.com/us/app/real-survival-not-fake/id6777072156?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

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Wood
      - Unlimited Meet

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS 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.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
        • Like
      • 3 replies
    • Real Survival: Not Fake v1.1.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Real Survival: Not Fake By Dan Lespect
      Bundle ID: com.devdop.realsurvivalnotfake
      App Store Link: https://apps.apple.com/us/app/real-survival-not-fake/id6777072156?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Wood
      - Unlimited Meet
        • Like
      • 1 reply
    • 거너거너 Guner Guner v1.0.1 [ +2 APK MOD ] ATK MAX
      Mod APK Game Name: 거너거너 Guner Guner
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.brightdawn.android.gngn

      🤩 Hack Features

      - HP MAX
      - ATK MAX
      • 0 replies
    • 거너거너 Guner Guner v1.0 [ +2 Cheats ] ATK MAX
      Modded/Hacked App: 거너거너 Guner Guner By Brightdawn Inc.
      Bundle ID: com.brightdawn.ios.gngn
      App Store Link: https://apps.apple.com/kr/app/%EA%B1%B0%EB%84%88%EA%B1%B0%EB%84%88/id6777852933?uo=4

      🤩 Hack Features

      - HP MAX
      - ATK MAX
      • 1 reply
    • 거너거너 Guner Guner v1.0 [ +2 Jailed ] ATK MAX
      Modded/Hacked App: 거너거너 Guner Guner By Brightdawn Inc.
      Bundle ID: com.brightdawn.ios.gngn
      App Store Link: https://apps.apple.com/kr/app/%EA%B1%B0%EB%84%88%EA%B1%B0%EB%84%88/id6777852933?uo=4
      🤩 Hack Features

      - HP MAX
      - ATK MAX
        • Like
      • 1 reply
    • Guildmaster v1.3.19 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Guildmaster Idle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ElvenryStudios.Guildmaster&hl=en

      🤩 Hack Features

      - Runes Max
      - Gold Max
      - Inventory Items Max ++30
        • Agree
      • 0 replies
    • Guildmaster Idle v1.3.19 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Guildmaster Idle By Elvenry Studios Limited
      Bundle ID: com.ElvenryStudios.Guildmaster
      App Store Link: https://apps.apple.com/us/app/guildmaster-idle/id1588390905?uo=4

      🤩 Hack Features

      - Runes Max
      - Gold Max
      - Inventory Items Max ++30
      • 0 replies
    • Guildmaster Idle v1.3.19 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Guildmaster Idle By Elvenry Studios Limited
      Bundle ID: com.ElvenryStudios.Guildmaster
      App Store Link: https://apps.apple.com/us/app/guildmaster-idle/id1588390905?uo=4

      🤩 Hack Features

      - Runes Max
      - Gold Max
      - Inventory Items Max ++30
      • 0 replies
    • Mob Empire: City Gang Wars v2.4.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Mob Empire: City Gang Wars By Atari, Interactive
      Bundle ID: com.atari.mobile.krys
      App Store Link: https://apps.apple.com/ph/app/mob-empire-city-gang-wars/id1488481638?uo=4

      🤩 Hack Features

      - Cash (Increase not decrease)
      - Gold (Increase not decrease)
      - Tokens (Increase not decrease)
        • Informative
        • Like
      • 6 replies
    • Mob Empire: City Gang Wars v2.4.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Mob Empire: City Gang Wars By Atari, Interactive
      Bundle ID: com.atari.mobile.krys
      App Store Link: https://apps.apple.com/ph/app/mob-empire-city-gang-wars/id1488481638?uo=4

      🤩 Hack Features

      - Cash (Increase not decrease)
      - Gold (Increase not decrease)
      - Tokens (Increase not decrease)
        • Agree
        • Like
      • 2 replies
    • Era Merge v1.0.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Era Merge By ANLOFT YAZILIM LIMITED SIRKETI
      Bundle ID: com.anloft.eramerge
      App Store Link: https://apps.apple.com/us/app/era-merge/id6783998492?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Ticket
      • 0 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