Let's Hack: Wizard of Legend

Welcome back! Today we are taking a look at an epic game, Wizard of Legend. This is one of 0Day Simpson's favorite games and we got into hacking it over Hushcon weekend. This was an absolute blast! This game has so many fun game components that it really has endless combinations on it's own, and once you start hacking it you really blow that lid off with the wow factor. Lets get into it!

Part one involves shimming functions on the stack. This is another mono game, so we use the mono dissector in Cheat Engine to get access to mono symbols which let us directly reference those objects on the stack. Three hacks are demoed in this first video. The first involves shorting the cooldown object's get_charging, and later get_charged, which causes certain spells to return as always off of cool down. The second is shorting the wallet object's withdraw function, which causes buying anything to take nothing from the wallet. Finally the third hack here is shorting the item object's unlock function, which causes all items to be unlocked.

Part two, involves flipping a single bit for god mode, or invulnerability in this case. Here we use the memory differ to find values in the Health Hud Bar. Finding the Health Hud object, then lets us go up to a parent player structure via a pointer then back down into Player Health object. In the Player Health object you can enable invulnerability, which is an inherit property of the health objects. 

This is part three of three, putting it all together for a crazy god mode ++ build. Unfortunately, the youtube video dosn't start till 12 seconds in, time I had just spent walking up to the boss. You can see how we don't take damage, as well as flood and burn most everything down on the screen near instantly.

Bonus video! Let's Hack: Hollow Knight!! This is one of my favorite platformer games of all time. It's also stupid simple to hack because everything from character stats to game progress is stored in one massive data object. Finding the "PlayerData" structure gives you everything from combat perks, to god mode, to even game progress in Hollow Knight. Check it out, this can be a great way to keep moving if you get stuck in this game, although it requires knowing how the game progresses to know what to unlock.