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

    • Arcado Battle: MOBA v0.1.6 [ +4 Cheats ] AI Disable
      Modded/Hacked App: Arcado Battle: MOBA By Gape Labs Private Limited
      Bundle ID: com.gapelabs.arcadobattle
      App Store Link: https://apps.apple.com/us/app/arcado-battle-moba/id6752850317?uo=4

      🤩 Hack Features

      - Add Arcanium / Visual But Works
      - Disable AI / 1
      - Disable Opponent / 2
      - Damage Multi
      • 0 replies
    • Arcado Battle: MOBA v0.1.6 [ +4 Jailed ] AI Disable
      Modded/Hacked App: Arcado Battle: MOBA By Gape Labs Private Limited
      Bundle ID: com.gapelabs.arcadobattle
      App Store Link: https://apps.apple.com/us/app/arcado-battle-moba/id6752850317?uo=4

      🤩 Hack Features

      - Add Arcanium / Visual But Works
      - Disable AI / 1
      - Disable Opponent / 2
      - Damage Multi
      • 0 replies
    • Dust Survivors v0.0.5 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Dust Survivors By Rodrigo Laiz
      Bundle ID: com.sorolla.steamandbullets
      App Store Link: https://apps.apple.com/us/app/dust-survivors/id6762451724?uo=4

      🤩 Hack Features

      - Auto Win
      - ADD Coins
      - Heroes Unlocked
      • 0 replies
    • Dust Survivors v0.0.5 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Dust Survivors By Rodrigo Laiz
      Bundle ID: com.sorolla.steamandbullets
      App Store Link: https://apps.apple.com/us/app/dust-survivors/id6762451724?uo=4

      🤩 Hack Features

      - Auto Win
      - ADD Coins
      - Heroes Unlocked
      • 0 replies
    • Fox Shot: Number Run v1.2.0 [ +1 Cheats ] Damage Multi
      Modded/Hacked App: Fox Shot: Number Run By JSL ENTERTAINMENT CO., LTD.
      Bundle ID: com.jsl.entco.fox
      App Store Link: https://apps.apple.com/us/app/fox-shot-number-run/id6767464582?uo=4

      🤩 Hack Features

      - Damage Multi
      • 0 replies
    • Fox Shot: Number Run v1.2.0 [ +1 Jailed ] Damage Multi
      Modded/Hacked App: Fox Shot: Number Run By JSL ENTERTAINMENT CO., LTD.
      Bundle ID: com.jsl.entco.fox
      App Store Link: https://apps.apple.com/us/app/fox-shot-number-run/id6767464582?uo=4

      🤩 Hack Features

      - Damage Multi
      • 0 replies
    • Grand Tour +5 Mods [ Damage & Defence ]
      Mod APK Game Name: Grand Tour By PLUMERIA Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.plumeriagames.msr

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.
      • 0 replies
    • Penny & Flo: Home Renovation +2++ Mods [ Unlimited Everything ]
      Mod APK Game Name: Penny & Flo: Home Renovation By Tactile Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=dk.tactile.mansionstory

       

      🤩 Hack Features

      - Unlimited Everything -> Spend some.
      - Freeze Moves
      • 0 replies
    • War Survival : Last Shooter v0.1.6 [ +3 Cheats ] Currency Max
      Modded/Hacked App: War Survival : Last Shooter By HORUS ENTERTAINMENT LIMITED
      Bundle ID: com.horusent.war.survival.last.shooter
      App Store Link: https://apps.apple.com/us/app/war-survival-last-shooter/id6797393006?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - ADD Gems
      - ADD Coins
      • 0 replies
    • War Survival : Last Shooter v0.1.6 [ +3 Jailed ] Currency Max
      Modded/Hacked App: War Survival : Last Shooter By HORUS ENTERTAINMENT LIMITED
      Bundle ID: com.horusent.war.survival.last.shooter
      App Store Link: https://apps.apple.com/us/app/war-survival-last-shooter/id6797393006?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - ADD Gems
      - ADD Coins
      • 1 reply
    • I'M Dead +6 Jailed Cheats
      Modded/Hacked App: I'M Dead By NADDIC GAMES Co Ltd.
      Bundle ID: com.naddic.iamdead
      App Store Link: https://apps.apple.com/us/app/im-dead/id6767488876?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

      - Damage Multiplier
      - Defense Multiplier
      - Currency Multiplier
      - Experience Multiplier
      - Move Speed Multiplier
      - No ADS

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 13 replies
    • Guidus One +4 Jailed Cheats
      Modded/Hacked App: 가이더스 원 By izzle Inc.
      Bundle ID: com.izzle.go
      App Store Link: https://apps.apple.com/kr/app/%EA%B0%80%EC%9D%B4%EB%8D%94%EC%8A%A4-%EC%9B%90/id6752554540?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

      - Damage Multiplier
      - Defense Multiplier
      - Currency Multiplier
      - No ADS

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 8 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