Jump to content

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


4 posts in this topic

Recommended Posts

Posted

 

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,#0x100638240@PAGEOFF]
		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,#0x1006371F8@PAGEOFF]
		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,#0x100637210@PAGEOFF]
		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;
}

 

  • Our picks

    • Rise & Loot: Idle Hero RPG v1.1.2 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Rise & Loot: Idle Hero RPG By Ngoc Minh Le
      Bundle ID: com.riseloop.idlerpg
      App Store Link: https://apps.apple.com/us/app/rise-loot-idle-hero-rpg/id6821365929?uo=4

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      ===== VIP =====
      - Skip Ads
      - Add Currency
      - Max Damage
      - Multi Attack x5
      - Always Exotic Loot
      - Sale Value x1000
      - Money Multiplier
      - Free Shopping / Not IAP
      - Battle Speed x3
      - Unlock All Realms
      - God Roll Gear
      - Best Card Picks
      - Daily Reward Always Ready
      • 0 replies
    • Rise & Loot: Idle Hero RPG v1.1.2 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Rise & Loot: Idle Hero RPG By Ngoc Minh Le
      Bundle ID: com.riseloop.idlerpg
      App Store Link: https://apps.apple.com/us/app/rise-loot-idle-hero-rpg/id6821365929?uo=4

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      ===== VIP =====
      - Skip Ads
      - Add Currency
      - Max Damage
      - Multi Attack x5
      - Always Exotic Loot
      - Sale Value x1000
      - Money Multiplier
      - Free Shopping / Not IAP
      - Battle Speed x3
      - Unlock All Realms
      - God Roll Gear
      - Best Card Picks
      - Daily Reward Always Ready
      • 0 replies
    • Stick Fight: Evolution v1.0.6 [ +22 Cheats ] Currency Max
      Modded/Hacked App: Stick Fight: Evolution By Ngoc Minh Le
      Bundle ID: com.min001.stickman.warrior.evolution.age
      App Store Link: https://apps.apple.com/us/app/stick-fight-evolution/id6747939675?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      ===== VIP =====
      - Auto Win
      - Skip Ads
      - Game Speed
      - Unlimited Battle Food
      - Cheat Panel +15
      • 0 replies
    • Stick Fight: Evolution v1.0.6 [ +22 Jailed ] Currency Max
      Modded/Hacked App: Stick Fight: Evolution By Ngoc Minh Le
      Bundle ID: com.min001.stickman.warrior.evolution.age
      App Store Link: https://apps.apple.com/us/app/stick-fight-evolution/id6747939675?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      ===== VIP =====
      - Auto Win
      - Skip Ads
      - Game Speed
      - Unlimited Battle Food
      - Cheat Panel +15
      • 0 replies
    • Geometry Cannon : Idle Defense v1.4.4 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Geometry Cannon : Idle Defense By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.idledefense
      App Store Link: https://apps.apple.com/us/app/geometry-cannon-idle-defense/id6742388718?uo=4
       

      🤩 Hack Features

      - Gold Pass
      - Silver Pass
      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      - Game Speed
      • 0 replies
    • Geometry Cannon : Idle Defense v1.4.4 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Geometry Cannon : Idle Defense By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.idledefense
      App Store Link: https://apps.apple.com/us/app/geometry-cannon-idle-defense/id6742388718?uo=4

      🤩 Hack Features

      - Gold Pass
      - Silver Pass
      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      - Game Speed
      • 0 replies
    • Neon Castle: Idle TD RPG v1.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Neon Castle: Idle TD RPG By Mert Can Diker
      Bundle ID: com.medu.neon.castledefense.idlerpg.ios
      App Store Link: https://apps.apple.com/us/app/neon-castle-idle-td-rpg/id6748567934?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      • 0 replies
    • Neon Castle: Idle TD RPG v1.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Neon Castle: Idle TD RPG By Mert Can Diker
      Bundle ID: com.medu.neon.castledefense.idlerpg.ios
      App Store Link: https://apps.apple.com/us/app/neon-castle-idle-td-rpg/id6748567934?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      • 0 replies
    • Endless Defense: Idle Tower v0.2.13 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Endless Defense: Idle Tower By MAD PIXEL GAMES LTD
      Bundle ID: battle.castle.clash.wave
      App Store Link: https://apps.apple.com/us/app/endless-defense-idle-tower/id6740865987?uo=4

      🤩 Hack Features

      - Ads No
      - Add Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Endless Defense: Idle Tower v0.2.13 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Endless Defense: Idle Tower By MAD PIXEL GAMES LTD
      Bundle ID: battle.castle.clash.wave
      App Store Link: https://apps.apple.com/us/app/endless-defense-idle-tower/id6740865987?uo=4
       

      🤩 Hack Features

      - Ads No
      - Add Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Fishing Inc: Legendary Catch +10 Jailed Cheats [ Unlimited Money ]
      Modded/Hacked App: Fishing Inc: Legendary Catch By Snapbreak Games AB
      Bundle ID: com.snapbreak.fishinginc
      App Store Link: https://apps.apple.com/us/app/fishing-inc-legendary-catch/id6770534658?uo=4

       


      🤩 Hack Features

      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Casts
      - One-Click Catch
      - Always Perfect Catch
      - Unlock All Fish
      - Complete All Achievements
      - Trigger Kraken Event
      -- No Ads
      -- Deluxe Bundle Purchased
      • 2 replies
    • Grave Dividend +10 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Grave Dividend By ByteBrew IT LLC
      Bundle ID: com.bytebrewit.gravedividend
      App Store Link: https://apps.apple.com/us/app/grave-dividend/id6797710902?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - Freeze Enemies
      - Freeze Currencies
      - Unlimited Currencies
      - Unlimited Currencies v2 -> Will increase instead of decrease.
      - Kill All Enemies
      -- No Ads
      • 1 reply
×
  • 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