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

    • [ARM64] Go Fish: Jurassic Pond Cheats v1.1.2 +2
      Modded/Hacked App: Go Fish: Jurassic Pond by Kwalee Ltd
      Bundle ID: com.kwalee.gofishjurassicpond
      iTunes Store Link: https://itunes.apple.com/us/app/go-fish-jurassic-pond/id1437255214?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Coin
      - ViP Membership


      Hack Download Link: https://iosgods.com/topic/83432-arm64-go-fish-jurassic-pond-cheats-v112-2/
      • 0 replies
    • [ARM64] Go Fish! Cheats v1.1.11 +2
      Modded/Hacked App: Go Fish! by Kwalee Ltd
      Bundle ID: com.kwalee.gofish
      iTunes Store Link: https://itunes.apple.com/us/app/go-fish/id1398987473?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Coin
      - ViP Membership


      Hack Download Link: https://iosgods.com/topic/83429-arm64-go-fish-cheats-v1111-2/
      • 1 reply
    • Metal Shooter: Super Commando v1.15 [ God Mode & More ]
      Modded/Hacked App: Metal Shooter: Super Commando By ROCKET GO GLOBAL PTE. LTD.
      Bundle ID: com.rocket.metal.shooter
      iTunes Store Link: https://itunes.apple.com/us/app/metal-shooter-super-commando/id1163090731?mt=8&uo=4&at=1010lce4

      Hack Features:
      - God Mode<br style="background-color:#ffffff;color:#353c41;font-size:14px;">
      - Weak Enemies - Enemies Have Low HP<br style="background-color:#ffffff;color:#353c41;font-size:14px;">- Unlimited Currencies
      • 2 replies
    • Grancrest War: QuartetConflict  [ x10 Attack & More ]
      Modded/Hacked App: Grancrest War: QuartetConflict By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0347
      iTunes Store Link: https://itunes.apple.com/us/app/grancrest-war-quartetconflict/id1435766938?mt=8&uo=4&at=1010lce4

      Hack Features:
      - x10 Attack
      - God Mode
      - Unlimited Skills
      • 4 replies
    • Rocket Royale: PvP Survival v1.3.9 [ Unlimited Coins & BP ]
      Modded/Hacked App: Rocket Royale: PvP Survival By GameSpire Ltd.
      Bundle ID: com.onetongames.rocketroyale
      iTunes Store Link: https://itunes.apple.com/us/app/rocket-royale-pvp-survival/id1384520388?mt=8&uo=4&at=1010lce4

      Hack Features:
      - Unlimited Coins - Increase When Use
      - Unlimited BP - Increase When Use
      • 1 reply
    • Mini Golf King - Multiplayer v3.08 [ Unlimited Guideline & No Wind ]
      Modded/Hacked App: Mini Golf King - Multiplayer By Bluehole PNIX, Inc.
      Bundle ID: com.pnixgames.minigolfking
      iTunes Store Link: https://itunes.apple.com/us/app/mini-golf-king-multiplayer/id1262262200?mt=8&uo=4&at=1010lce4

      Hack Features:
      - Unlimited Guideline<br style="background-color:#ffffff;color:#353c41;font-size:14px;">
      - No Wind<br style="background-color:#ffffff;color:#353c41;font-size:14px;"><br style="background-color:#ffffff;color:#353c41;font-size:14px;">
      • 3 replies
    • Legacy of Atlantis (LOA) v1.0.39 [ 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:
      - No Skills CoolDown
      • 6 replies
    • [ARM64] Matchington Mansion Cheats v1.30 +5
      Modded/Hacked App: Match-3: Matchington Mansion By Firecraft Studios Ltd.
      Bundle ID: com.matchington.mansion
      iTunes Store Link: https://itunes.apple.com/us/app/match-3-matchington-mansion/id1216575026?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Moves
      - Infinite Lives
      - Infinite Booster
      - Infinite Coin (Spend some/ Get some)
      - Infinite Stars (Complete task without needing Stars)



      Hack Download Link: https://iosgods.com/topic/75127-arm64-matchington-mansion-cheats-v125-5/


      Credits:
      - @Laxus
      • 98 replies
    • [ARM64] Maze: Shadow of Light Cheats v2.0.7 +5
      Modded/Hacked App: Maze: Shadow of Light By THUMBAGE
      Bundle ID: com.apig.relic.kr.ios
      iTunes Store Link: https://itunes.apple.com/us/app/maze-shadow-of-light/id1326746502?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Huge Damage with Skill
      - Damage x10
      - Health x10
      - God Mode (Untested on PvP)
       


      Hack Download Link: https://iosgods.com/topic/78345-arm64-maze-shadow-of-light-cheats-v202-3/


      Credits:
      - @Laxus

      #Hack #Jailbreak #Cydia #Cheat #Apple #Android #iOSGods
      • 128 replies
    • [ARM64] RollerCoaster Tycoon Touch Cheats v2.5 +5
      Modded/Hacked App: RollerCoaster Tycoon® Touch™ By Atari
      Bundle ID: com.atari.mobile.rctempire
      iTunes Store Link: https://itunes.apple.com/us/app/rollercoaster-tycoon-touch/id1164507836?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Coins
      - Infinite Tickets
      - Instant Max Level (Complete some task - Only use when you finished Tutorial and get to Level 8 at least)
      - VIP Member
      - Card only need 1 to be upgraded


      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/
      • 238 replies
    • 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.
      • 4 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.
      • 56 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.