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

    • Gale Knights Idle RPG ( 윈드러너 키우기 ) +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: 윈드러너 키우기 By LightCON Co., Ltd.
      Bundle ID: net.lightcon.windidle
      iTunes Store Link: https://apps.apple.com/kr/app/윈드러너-키우기/id6757690255

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - No Skill Cooldown
      • 0 replies
    • Head Kick v1.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Head Kick By Davut Tekin
      Bundle ID: com.headkick.game
      App Store Link: https://apps.apple.com/us/app/head-kick/id6787854717?uo=4

      🤩 Hack Features

      - ADS NO
      - Gems Max
      - Coins Max
      - Stadium Unlocked
      - Character Unlocked
      • 0 replies
    • Head Kick v1.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Head Kick By Davut Tekin
      Bundle ID: com.headkick.game
      App Store Link: https://apps.apple.com/us/app/head-kick/id6787854717?uo=4

      🤩 Hack Features

      - ADS NO
      - Gems Max
      - Coins Max
      - Stadium Unlocked
      - Character Unlocked
      • 0 replies
    • MidnightMarket v1.0.8 [ +3 Cheats ] Currency Max
      Modded/Hacked App: MidnightMarket By Rawhand. Inc
      Bundle ID: com.rawhand.midnightmarket
      App Store Link: https://apps.apple.com/us/app/midnightmarket/id6766170934?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Training Point
      - Unlimited Restore Powder
      • 0 replies
    • MidnightMarket v1.0.8 [ +3 Jailed ] Currency Max
      Modded/Hacked App: MidnightMarket By Rawhand. Inc
      Bundle ID: com.rawhand.midnightmarket
      App Store Link: https://apps.apple.com/us/app/midnightmarket/id6766170934?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Training Point
      - Unlimited Restore Powder
      • 0 replies
    • Stella Connect +4 Mods [ Damage & Defence ]
      Mod APK Game Name: Stella Connect By 스텔라 크래프트
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.StellarCraft.StellarConnect

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies
      • 0 replies
    • Stella Connect +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Stella Connect By Stellar Craft co., Ltd.
      Bundle ID: com.StellarCraft.StellarConnect
      App Store Link: https://apps.apple.com/us/app/stella-connect/id6761739992?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies
      - Unlimited Currencies v2 -> Will increase instead of decrease.
      • 0 replies
    • Battle Chef Brigade +1 Jailed Cheat [ Full Game Unlocked ]
      Modded/Hacked App: Battle Chef Brigade By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.battlechefbrigade
      App Store Link: https://apps.apple.com/us/app/battle-chef-brigade/id6756333748?uo=4

       

      🤩 Hack Features

      -- Full Game Unlocked
      • 0 replies
    • Idle Vampire Hunter: Merge RPG +2 Jailed Cheats [ Freeze Currencies ]
      Modded/Hacked App: Idle Vampire Hunter: Merge RPG By MAD PIXEL GAMES LTD
      Bundle ID: idle.vampire.hunter.rpg
      App Store Link: https://apps.apple.com/us/app/idle-vampire-hunter-merge-rpg/id6785410016?uo=4

       

      🤩 Hack Features

      - Freeze Currencies
      - No Attack Cooldown
      • 0 replies
    • Astra Squad +3 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Astra Squad By MEGAGIGA GAMES BILISIM A.S.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.astra.squad

       

      🤩 Hack Features

      - Currency Modifier -> Earn some. 
      - Tool Damage Multiplier
      - No Tool Level Requirement
      • 1 reply
    • Crunchyroll: Asdivine Saga +1 Jailed Cheat [ Full Game Unlocked ]
      Modded/Hacked App: Crunchyroll: Asdivine Saga By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.asdivinesaga
      App Store Link: https://apps.apple.com/us/app/crunchyroll-asdivine-saga/id6762117251?uo=4

       


      🤩 Hack Features

      -- Full Game Unlocked
      • 1 reply
    • Idle Berserker legend of kali +3 Jailed Cheats
      Modded/Hacked App: 버서커 키우기 By A1GAMES Co,. Ltd.
      Bundle ID: com.a1gamesstudio.berserker
      App Store Link: https://apps.apple.com/kr/app/%EB%B2%84%EC%84%9C%EC%BB%A4-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6746774731?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
      - Reward Multiplier

       

      ⬇️ 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
      • 16 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