Jump to content

24 posts in this topic

Recommended Posts

Posted

Hi,

 

This is my code:

void CharacterUpdate(void *character){

	if(character != NULL) {
    bool isAI = *(int *)((uint64_t)character + 0x221); //isAI = 0x221 //Class Character: CharacterBase

    if(isAI) {	// Check if it's the AI before doing something 
      if([menu getBool:@"GodmodeSwitch"]) //checking if feature is enabled or not.
       return; //return what it normally returns
} else {
       *(float *)((uint64_t)character + 0x48) = 99999999; //health = 0x48 //Class CharacterBase
   }
}
old_CharacterUpdate(character);
}

MSHookFunction((void*)getRealOffset(0xOffset),(void*)CharacterUpdate,(void**)&old_CharacterUpdate); //Class: CharacterBase -> Func: UpdateCharacter

    	[menu addSwitchWithIdentifier:@"GodmodeSwitch"
    		title:@"Godmode"
    		description:@"You can't die."]; 

 

But somehow it doesn't seem to know when it's on or not, it just acts like it's always ON

  • Replies 23
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

Take a look at the example here: 

 

Posted
3 minutes ago, Ted2 said:

I did, I tried everything

Seeing your code, I don't think you have seen the example properly.

Posted
Just now, DiDA said:

Seeing your code, I don't think you have seen the example properly.

Idk too what example you're refering too, but why would bool isFeatureActive = if([menu getBool:@"GodmodeSwitch"]) make a diffrence?

Posted
4 minutes ago, Ted2 said:

Idk too what example you're refering too, but why would bool isFeatureActive = if([menu getBool:@"GodmodeSwitch"]) make a diffrence?

Your code is wrong I'm fixing it

Posted (edited)
5 minutes ago, Ted2 said:

<3

You over complicated it 

 

void CharacterUpdate(void *character){
	if(character != NULL) {
		bool isAI = *(int *)((uint64_t)character + 0x221); //isAI = 0x221 //Class Character: CharacterBase

		if(isAI) {	// Check if it's the AI before doing something 
			if([menu getBool:@"GodmodeSwitch"]) //checking if feature is enabled or not.
				return; //return what it normally returns
		} else {
			// this block of code will be reached when the player that's in your control (not AI)
			// so why even have the isAI if statement?
			// why not just if(!isAI)?
			*(float *)((uint64_t)character + 0x48) = 99999999; //health = 0x48 //Class CharacterBase
		}
	}
	
	old_CharacterUpdate(character);
}

// It should work now, try the code below

void CharacterUpdate(void *character){
	// the character parameter is guarenteed to be non-null
	bool isAI = *(int *)((uint64_t)character + 0x221); //isAI = 0x221 //Class Character: CharacterBase

	if(!isAI && [menu getBool:@"GodmodeSwitch"]){	// Check if it is not AI before setting health
		*(float *)((uint64_t)character + 0x48) = 99999999.0f; //health = 0x48 //Class CharacterBase
	}
	
	old_CharacterUpdate(character);
}

 

Updated by Guest
Posted
4 minutes ago, shmoo said:

You over complicated it 

 


void CharacterUpdate(void *character){
	if(character != NULL) {
		bool isAI = *(int *)((uint64_t)character + 0x221); //isAI = 0x221 //Class Character: CharacterBase

		if(isAI) {	// Check if it's the AI before doing something 
			if([menu getBool:@"GodmodeSwitch"]) //checking if feature is enabled or not.
				return; //return what it normally returns
		} else {
			// this block of code will be reached when the player that's in your control (not AI)
			// so why even have the isAI if statement?
			// why not just if(!isAI)?
			*(float *)((uint64_t)character + 0x48) = 99999999; //health = 0x48 //Class CharacterBase
		}
	}
	
	old_CharacterUpdate(character);
}

// It should work now, try the code below

void CharacterUpdate(void *character){
	// the character parameter is guarenteed to be non-null
	bool isAI = *(int *)((uint64_t)character + 0x221); //isAI = 0x221 //Class Character: CharacterBase

	if(!isAI && [menu getBool:@"GodmodeSwitch"]){	// Check if it is not AI before setting health
		*(float *)((uint64_t)character + 0x48) = 99999999.0f; //health = 0x48 //Class CharacterBase
	}
	
	old_CharacterUpdate(character);
}

 

Can you fix freezing of game also?

Posted

@shmoo

 

Okay so now my Character is freezing.. (also if the option is disabled) xd

1 minute ago, vladimpaler said:

Can you fix freezing of game also?

Mate, I already told you I would fix it. Don't go to topics & change subjects.

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

    • Card Train v1.1.1 [ +7 APK MOD ] Currency Max
      Mod APK Game Name: Card Train
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.kazrahann.cardtrain&ref

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HP Freeze
      - ATK Max
      • 1 reply
    • Mini Soccer Star 2026 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2026 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      App Store Link: https://apps.apple.com/us/app/mini-soccer-star-2026/id1636072966?uo=4

       


      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - Unlimited Skip Tickets -> Earn or spend some.
      -- VIP
      -- No Ads
      • 213 replies
    • Card Train v1.1.1 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Card Train By Jinwoo Kim
      Bundle ID: com.kazrahann.cardtrain
      App Store Link: https://apps.apple.com/ph/app/card-train/id6773644764?uo=4

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HP Freeze
      - ATK Max
      • 1 reply
    • Card Train v1.1.1 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Card Train By Jinwoo Kim
      Bundle ID: com.kazrahann.cardtrain
      App Store Link: https://apps.apple.com/ph/app/card-train/id6773644764?uo=4

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HP Freeze
      - ATK Max
      • 0 replies
    • Search It - Hidden Objects v1.2.8 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Search It - Hidden Objects By LEAP BILISIM TEKNOLOJILERI VE YAZILIM TICARET ANONIM SIRKETI
      Bundle ID: com.leap.searchit
      App Store Link: https://apps.apple.com/us/app/search-it-hidden-objects/id6756185760?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Coins
      - Booster Freeze
      • 2 replies
    • Search It - Hidden Objects v1.2.8 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Search It - Hidden Objects By LEAP BILISIM TEKNOLOJILERI VE YAZILIM TICARET ANONIM SIRKETI
      Bundle ID: com.leap.searchit
      App Store Link: https://apps.apple.com/us/app/search-it-hidden-objects/id6756185760?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Coins
      - Booster Freeze
      • 1 reply
    • Pop Island: Match & Build v2.0.5 [ +1 APK MOD ] Currency Max
      Mod APK Game Name: Pop Island: Match & Build
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.hmbdgames.popisland&hl=en_ZA

      🤩 Hack Features

      - Unlimited Coins
      • 1 reply
    • Yarn Fever! Unravel Puzzle v16.7 [ +3 APK MOD ] Booster Max
      Mod APK Game Name: Yarn Fever! Unravel Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=puzzle.yarn.fever.unravel.puzzle&hl=en

      🤩 Hack Features

      - Unlimited Slots
      - Unlimited Booster
      - Lives / 0 Play Unlimited
      • 0 replies
    • Beauty Sort : Makeover Story v1.7.6 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Beauty Sort : Makeover Story
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.beauty.love.sort.match.stylist.story&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Booster
      - Unlimited Lives
      - Coins NO Need For Task
      • 0 replies
    • Olympush v0.0.12 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Olympush By Arcane Blast s.r.o.
      Bundle ID: com.ArcaneBlast.Olympush
      App Store Link: https://apps.apple.com/us/app/olympush/id6762312452?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Enough Parts / Upgrade Hero
      - Mana Freeze
      - Unlimited Trop Deploy / iGG Auto Touch Use / Always Win
      - AI Freeze
      • 1 reply
    • Olympush v0.0.12 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Olympush By Arcane Blast s.r.o.
      Bundle ID: com.ArcaneBlast.Olympush
      App Store Link: https://apps.apple.com/us/app/olympush/id6762312452?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Enough Parts / Upgrade Hero
      - Mana Freeze
      - Unlimited Trop Deploy / iGG Auto Touch Use / Always Win
      - AI Freeze
      • 1 reply
    • North War: Island Defense 3D v1.2.2 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: North War: Island Defense 3D
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bgg.island.battle&hl=en

       

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Currency
      - Unlimited Resources

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 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

      - IK_IK

       

      📷 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.
      • 2 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