Jump to content
  • Sky
  • Mint
  • Azure
  • Indigo
  • Blueberry
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Pomegranate
  • Ruby Red
  • Orange
  • Banana
  • Apple
  • Emerald
  • Teal
  • Chocolate
  • Slate
  • Midnight
  • Maastricht
  • Charcoal
  • Matte Black
Sign in to follow this  
shmoo

Call of Duty: Black Ops Zombies v1.3.5 - Abusing Static Classes With Threads

4 posts in this topic

Recommended Posts

 

No hidden content for learning purposes, i f***ing hate it when i go to a site for a quick answer and i need to register

 

#import <mach-o/dyld.h>
#import <pthread/pthread.h>

#define MILLISECOND_BIAS 1000

uint64_t getASLRSlide(){
	return _dyld_get_image_vmaddr_slide(0);
}

void *modifyScore(void *arg0){
	while(true){
		// __symbolstub1:0000000100260398                 STR             X19, [X0,#[email protected]]
		void *CScoreManager = *(void **)(getASLRSlide() + 0x100638240);
		
		// turns out CScoreManager isn't the class that holds our score
		// so I had to do a bit of exploring and analysis to find out where it is kept
		if(CScoreManager){
			void *unkptr0 = *(void **)((uint64_t)CScoreManager + 0x70);
			
			if(unkptr0){
				void *unkptr1 = *(void **)((uint64_t)unkptr0 + 0x8);
				
				if(unkptr1){
					// increase our score by 1 every 25 milliseconds
					(*(int *)((uint64_t)unkptr1 + 0x24))++;
				}
			}
		}
		
		usleep(25 * MILLISECOND_BIAS);
	}
	
	return NULL;
}

void *modifyWave(void *arg0){
	// we don't want to keep modifying our wave, only modify it when we're finished with a wave
	int lastWave = 0;
	
	while(true){
		// __symbolstub1:000000010028BBEC                 STR             X19, [X0,#[email protected]]
		void *CWaveManager = *(void **)(getASLRSlide() + 0x1006371f8);
		
		if(CWaveManager){
			// we could make this an int pointer, but sizeof(int *) == 8 and that causes problems in this particular situation because of overlapping memory
			int currentWave = *(int *)((uint64_t)CWaveManager + 0xd8);
			
			if(currentWave != lastWave){
				// currentWave's value has already been updated
				// if we multiply that by two, we'll get the wrong wave value
				// using lastWave fixes this because it hasn't been updated
				// sometimes lastWave is 0, so we need to handle that
				// will double the wave you're on every time you finish a wave
				*(int *)((uint64_t)CWaveManager + 0xd8) = ((lastWave == 0 ? 1 : lastWave) * 2);
				
				// we only want to modify the wave once
				// there is absolutely no way a wave will last only five seconds
				sleep(5);
			}
			
			// be sure to update lastWave correctly
			lastWave = *(int *)((uint64_t)CWaveManager + 0xd8);
		}
		
		usleep(25 * MILLISECOND_BIAS);
	}
	
	return NULL;
}

void *pickupHacks(void *arg0){
	while(true){
		// __symbolstub1:000000010022DB70                 STR             X19, [X0,#[email protected]]
		void *CPickupManager = *(void **)(getASLRSlide() + 0x100637210);
		
		if(CPickupManager){
			// the game uses however many points you've earned since last pickup to decide whether or not to spawn a pickup
			// setting this to a ridiculously large value tricks the game into thinking it's been a long time since the last pickup spawn
			*(int *)((uint64_t)CPickupManager + 0xd0) = 999999999;
			
			// however, there's a limit to the number of pickups that spawn each round so we need to patch that
			// this is guaranteed not to be NULL - you can tell from the assembly
			void *maxPickupLimitDvar = *(void **)((uint64_t)CPickupManager + 0x150);
			*(int *)((uint64_t)maxPickupLimitDvar + 0x20) = 999999999;
		}
		
		usleep(25 * MILLISECOND_BIAS);
	}
		
	return NULL;
}

%hook s3eAppDelegate

- (void)applicationDidBecomeActive:(id)arg0 {
	dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 5 * NSEC_PER_SEC), dispatch_get_main_queue(), ^ {
		pthread_t scoreThread;
		pthread_create(&scoreThread, NULL, modifyScore, NULL);

		pthread_t waveThread;
		pthread_create(&waveThread, NULL, modifyWave, NULL);

		pthread_t pickupThread;
		pthread_create(&pickupThread, NULL, pickupHacks, NULL);
	});
	
	%orig;
}

 

  • Like 2

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Our picks

    • Clicker Fred v1.0.3 +7 Cheats [Unlimited Everything]
      Modded/Hacked App: Clicker Fred by Dedalord S.R.L.
      Bundle ID: com.dedalord.idlingfred
      iTunes Store Link: https://itunes.apple.com/us/app/clicker-fred/id1141534967?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Skullies - Will increase instead of decrease.
      - Unlimited Gems - Earn some to receive 1B.
      - Unlimited Silver Keys - Will give you 1B silver keys.
      - Unlimited Gold Keys - Will give you 1B gold keys.
      - Unlimited Normal Chests - Will give you 1B normal chests.
      - Unlimited Silver Chests - Will give you 1B silver chests.
      - Unlimited Gold Chests - Will give you 1B gold chests.
      • 3 replies
    • KUBOOM v1.85 +1 Cheat [Godmode]
      Modded/Hacked App: KUBOOM By nobody shot
      Bundle ID: com.Nobodyshot.kuboom
      iTunes Store Link: https://itunes.apple.com/us/app/kuboom/id1297293884?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Godmode - Health goes negative lol.
      • 54 replies
    • Special Forces Group 2 v3.6 +1 Cheat [Shoot Through Walls]
      Modded/Hacked App: Special Forces Group 2 by Sergey Kostryukov
      Bundle ID: com.ForgeGames.SpecialForcesGroup2
      iTunes Store Link: https://itunes.apple.com/us/app/special-forces-group-2/id1158672336?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Shoot Through Walls - Will let you shoot enemies through all walls.
      • 6 replies
    • Jump and Destroy v1.0 +2 Cheats [Godmode]
      Modded/Hacked App: Jump and Destroy by NAWIA GAMES Sp. z o.o.
      Bundle ID: com.nawiagames.superlifetank
      iTunes Store Link: https://itunes.apple.com/us/app/jump-and-destroy/id904602729?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Godmode
      - No Recoil


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 4 replies
    • Rocket Royale v1.3.9 [ Unlimited Coins & BP ]
      Modded/Hacked App: Rocket Royale By GameSpire Ltd.
      Bundle ID: com.onetongames.rocketroyale
      iTunes Store Link: https://itunes.apple.com/sg/app/rocket-royale/id1384520388?mt=8&uo=4&at=1010lce4

      Hack Features:
      - Unlimited Coins - Increase When Use
      - Unlimited BP - Increase When Use
      • 32 replies
    • Legacy of Atlantis (LOA) v1.0.39 [ AttackSpeed Slider & No Skills CoolDown ]
      Modded/Hacked App: Legacy of Atlantis (LOA) By VALOFE Co., LTD
      Bundle ID: com.valofe.loa
      iTunes Store Link: https://itunes.apple.com/us/app/legacy-of-atlantis-loa/id1329465504?mt=8&uo=4&at=1010lce4

      Hack Features:
      - AttackSpeed Slider -> x1-15 - Linked With Enemies 
      - No Skills CoolDown
      • 10 replies
    • [iOS 12 Support] Clockwork Damage v1.1 +1 Jailed Cheat [Free IAP]
      Modded/Hacked App: Clockwork Damage by Hail Studios Ltd
      Bundle ID: com.hailstudios.cwd
      iTunes Store Link: https://itunes.apple.com/us/app/clockwork-damage/id878161321?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Free IAP - Press 'Cancel' to the Apple pop-up.
      • 8 replies
    • [iOS 12 Support] Monster Fishing 2019 v0.1.15 +1 Jailed Cheat [Free Shopping]
      Modded/Hacked App: Monster Fishing 2019 By Nexelon
      Bundle ID: com.nexelon.realmonsterfishing2018
      iTunes Store Link: https://itunes.apple.com/us/app/monster-fishing-2019/id1344860098?mt=8&uo=4&at=1010lce4




      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Free Shopping - Everything will cost 0 of the currency.


      Jailbreak required hack(s): https://iosgods.com/topic/77461-monster-fishing-2018-v0058-2-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 55 replies
    • [iOS 12 Support] Fishing Clash: Fish Game 2018 v1.0.38 +1 Jailed Cheat [Works on PvP!]
      Modded/Hacked App: Fishing Clash: Fish Game 2018 By Ten Square Games
      Bundle ID: com.tensquaregames.letsfish2
      iTunes Store Link: https://itunes.apple.com/us/app/fishing-clash-fish-game-2018/id1151811380?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - No Pull / Gauge Won't Randomly Move - Usually the gauge will move when you're pulling on a fish. This feature will stop it from randomly moving and will make it still, making fish 100% catch-able. This feature also works on PvP!
        • Like
      • 203 replies
    • [iOS 12 Support] DRAGON BALL LEGENDS v1.20.0 +6 Jailed Cheats [Godmode/O-HK]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - One-Hit Kill - Linked to the enemy.
      - No Swap Cooldown
      - No Vanish Cooldown
      - No Ki Cost

      All features work on PvP!
        • Winner
        • Upvote
        • Haha
        • Like
      • 705 replies
    • [iOS 12 Support] DRAGON BALL LEGENDS v1.20.0 +3 Jailed Cheats [No Ki Cost + More]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641?mt=8&uo=4&at=1010lce4


      Hack Features:
      - No Ki Cost

      Works on PvP!


      Jailbreak required hack(s): https://iosgods.com/topic/70399-dragon-ball-legends-v160-1-cheat-no-ki-cost/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 1,287 replies
    • Monster Fishing 2019 v0.1.15 +1 Cheat [Unlimited Currencies]
      Modded/Hacked App: Monster Fishing 2019 By Nexelon
      Bundle ID: com.nexelon.realmonsterfishing2018
      iTunes Store Link: https://itunes.apple.com/us/app/monster-fishing-2019/id1344860098?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Currencies - Purchasing an item from the shop will give you 1 billion of that currency.
      • 70 replies
  • Recently Browsing   0 members

    No registered users viewing this page.


    • Administrator |
    • Global Moderator  |
    • Moderator  |
    • ViP Plus |
    • ViP |
    • Cheater  |
    • Modder  |
    • Novice Cheater |
    • Rookie Modder |
    • Contributor |
    • Senior Member |
    • Member |
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.