Jump to content

11 posts in this topic

Recommended Posts

Posted (edited)

Since it's been a while - I forgot how to actually code stuff, could you please tell me how do properly I implement that?

bool (*get_isEnemy)(void *instance) = (bool (*)(void *))getRealOffset(0x101FB0804); 

float (*old_getDamage)(void *e);
float getDamage(void *e){
bool enemy = get_isEnemy(e);
if (e && enemy == false) {
return 9999.0f;
}
return old_getDamage(e);
}
///

 

HOOK(0xaddress, old_getDamage, getDamage);

 

Currently that just crashes the game.

Updated by Laxus
Posted (edited)
6 minutes ago, Laxus said:

Nothing wrong, if you are using unc0ver hooking may not work sometimes

Thanks, I guess its' just the address being wrong then. 

I'm using oddysey tho

if I comment these out it works as intended 

https://codeshare.io/YLb90R

Updated by n1ce0n3
Posted

Try changing get_isenemy function pointer *instance to *e

Try changing if(e && enemy == false) to if(!enemy)

Posted
4 minutes ago, Laxus said:

Try changing get_isenemy function pointer *instance to *e

Try changing if(e && enemy == false) to if(!enemy)

I  tried (!enemy)  before adding (e && enemy == false), that crashed it too.

that actually was a bad address, I've checked this by changing both of the functions body to return old_get and it still crashed.

so I changed the addresses and it worked. (well it didn't work, but it didn't crash either)

Posted

Use something like Cr4shed to see exactly where it crashes. It's probably an issue with the function prototype or with the address itself. The NULL check should also be done before you call the actual function but eitherway the original function would get a NULL pointer so there's no reason to check.

Posted (edited)
2 minutes ago, bR34Kr said:

Use something like Cr4shed to see exactly where it crashes. It's probably an issue with the function prototype or with the address itself. The NULL check should also be done before you call the actual function but eitherway the original function would get a NULL pointer so there's no reason to check.

I have Crash Reporter which gives me a syslog of the crash, but I never even thought about checking it after a crash like this.

I don't think it will show anything relatively useful? Except for when the address is null?

Updated by n1ce0n3
Posted

It'll show you the tracelog which is pretty useful. You can try opening your binary in IDA afterwards and seeing exactly where the crash is unless you have debug info turned on.

Posted
1 minute ago, bR34Kr said:

It'll show you the tracelog which is pretty useful. You can try opening your binary in IDA afterwards and seeing exactly where the crash is unless you have debug info turned on.

Well, that actually makes some sense, I guess. Thanks for the tip.

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

    • 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
      • 14 replies
    • Idle Berserker legend of kali +3 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

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Reward Multiplier

       

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

      - AlyssaX64

       

      📷 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.
      • 0 replies
    • Reactor 2: Nuclear Tycoon v1.0.0 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Reactor 2: Nuclear Tycoon
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.rsgapps.reactor.two&hl=en

      🤩 Hack Features

      - Radioactive Coins / Freeze
      - Unlimited Cash
      - Bank Capacity / Cash

      Note:- Tut Skip For Cash
      • 0 replies
    • Reactor 2: Nuclear Tycoon v1.0.1 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Reactor 2: Nuclear Tycoon By Robert Grzybek
      Bundle ID: com.rsgapps.reactor.two
      App Store Link: https://apps.apple.com/us/app/reactor-2-nuclear-tycoon/id6761125316?uo=4

      🤩 Hack Features

      - Radioactive Coins / Freeze
      - Unlimited Cash
      - Bank Capacity / Cash
      • 0 replies
    • Reactor 2: Nuclear Tycoon v1.0.1 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Reactor 2: Nuclear Tycoon By Robert Grzybek
      Bundle ID: com.rsgapps.reactor.two
      App Store Link: https://apps.apple.com/us/app/reactor-2-nuclear-tycoon/id6761125316?uo=4

      🤩 Hack Features

      - Radioactive Coins / Freeze
      - Unlimited Cash
      - Bank Capacity / Cash
      • 1 reply
    • Meow Knights: Idle RPG (Auto Update) Jailed Cheats +4
      Modded/Hacked App: Meow Knights: Idle RPG By MONSTER PLANET Corp.
      Bundle ID: com.MonsterPlanet.CatIdleRpg
      App Store Link: https://apps.apple.com/us/app/meow-knights-idle-rpg/id6760513582?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
      - Multiply Attack
      - Free Store (not iAP)
      - PREMIUM

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/215640-meow-knights-idle-rpg-auto-update-jailed-cheats-4/
      • 5 replies
    • Empire Defense: Rome TD v1.0.5 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Empire Defense: Rome TD By Gokraft Games Ltd
      Bundle ID: com.gokraftgames.rome
      App Store Link: https://apps.apple.com/us/app/empire-defense-rome-td/id6760978980?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Meat
      • 0 replies
    • Empire Defense: Rome TD v1.0.5 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Empire Defense: Rome TD By Gokraft Games Ltd
      Bundle ID: com.gokraftgames.rome
      App Store Link: https://apps.apple.com/us/app/empire-defense-rome-td/id6760978980?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Meat
      • 1 reply
    • Ariana and the Elder Codex +1 Jailed Cheat [ Full Game Unlocked ]
      Modded/Hacked App: Ariana and the Elder Codex By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.arianaandtheeldercodex
      App Store Link: https://apps.apple.com/us/app/ariana-and-the-elder-codex/id6760456190?uo=4

       


      🤩 Hack Features

      -- Full Game Unlocked
      • 2 replies
    • Lost Twins 2 +2 Mods [ Full Game Unlocked ]
      Mod APK Game Name: Lost Twins 2 By Playdew
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.playdew.losttwins2

       

      🤩 Hack Features

      - Unlock Full Game -> Head into Settings, tap on the J icon, then tap on the star icon.
      - Unlock x10 Coins -> Head into Settings, tap on the J icon, then tap on the speech bubble icon.
      • 0 replies
    • My Car Empire: Idle Tycoon 3D v0.0.10 [ +2 Cheats ] Currency Freeze
      Modded/Hacked App: My Car Empire: Idle Tycoon 3D By Deviloper Limited
      Bundle ID: com.deviloper.car.empire.idle.tycoon
      App Store Link: https://apps.apple.com/us/app/my-car-empire-idle-tycoon-3d/id6785365169?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Currency Enough
      • 1 reply
    • My Car Empire: Idle Tycoon 3D v0.0.10 [ +2 Jailed ] Currency Freeze
      Modded/Hacked App: My Car Empire: Idle Tycoon 3D By Deviloper Limited
      Bundle ID: com.deviloper.car.empire.idle.tycoon
      App Store Link: https://apps.apple.com/us/app/my-car-empire-idle-tycoon-3d/id6785365169?uo=4


      🤩 Hack Features

      - Currency Freeze
      - Currency Enough
      • 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