How hackers reverse Math.random()
1.3M views · Dec 12, 2025 · Gaming
Comments · 1.8K
@zanzlanz · 6 months ago (edited) · pinned
<b>WOO, a million views!!?</b> I'm so happy people found this topic interesting!<br>My next video is sort of about Math.random()'s archenemy if it had one: Math.sin(). It took a lot longer than a month to develop for some reason, but hopefully people will enjoy it when it releases! Edit: it's out! <a href="https://www.youtube.com/watch?v=Qr3VsZYQy4s">https://www.youtube.com/watch?v=Qr3VsZYQy4s</a><br>Consider supporting my explorations while getting in the credits, being able to download my music, and seeing behind the scenes: <a href="https://patreon.com/zanzlanz">https://patreon.com/zanzlanz</a> Thanks for watching! :)
126
@lavend-ish · 11 months ago
absolutely god-tier algorithm pull
5.2K
@brutusbrutalus8457 · 11 months ago
Next video: Reverse hash functions
4.9K
@abi-9000 · 11 months ago
<a href="https://www.youtube.com/watch?v=XDsYPXRCXAs&t=119">1:59</a> idk but i feel like saying that the modulo just gives the remainder would be more simpler lol
119
@harryvpn1462 · 11 months ago
<a href="https://www.youtube.com/watch?v=XDsYPXRCXAs&t=620">10:20</a> I love how the formula is just "little bit of this, little bit of that"
1.3K
@nyaarcissist · 11 months ago
Seems like YouTube's random number generator provided me a great video tonight
2.6K
@Birchwood_log · 11 months ago
Lava lamps: look at what they do to mimic a fraction of my power
1
@koong04TV · 11 months ago
I would never lose the original project files! (I did actually find them later lol)<br>Anyway, this video is incredibly well made, I'm very happy to see the Flash PRNG explained and the reversing program actually used on some .swfs!<br>Also, fun fact: I originally developed an understanding of the PRNG for a Flash game called Garfield's Scary Scavenger Hunt and its sequel, the latter of which only has 1 seed(!) that gives (close to) perfect outcomes.
2K
@juno-videos · 11 months ago
<a href="https://www.youtube.com/watch?v=XDsYPXRCXAs&t=66">1:06</a> i got a “join ICE” ad right after it said or else we’ll
132
@GroundThing · 11 months ago
<a href="https://www.youtube.com/watch?v=XDsYPXRCXAs&t=680">11:20</a> not to brag, but as a kid I found a 5 leaf clover once. I felt super lucky. Unfortunately, I pressed it in a book I'd already read, to keep it safe, but then I eventually forgot about it until after my parents moved, so it was probably sold at a yard sale or given away to a thrift shop. Well I hope that whoever wound up with it is happy with that unexpected surprise.
233
@dundeedideley1773 · 11 months ago
<a href="https://www.youtube.com/watch?v=XDsYPXRCXAs&t=836">13:56</a> nice dig at dream haha
294
@WhyNot_3D · 11 months ago
What the actual f, this video is top-tier quality, how can it be only 1.5k
1.3K
Up next

How I released a game that has no assets
Zanzlanz · 1.4M views

I took an "entry level" CIA test
Bog · 5.7M views

Snake But Eating Deletes A Random System 32 File
Code Bullet · 4M views

Coding a Physics Engine from scratch!
Zanzlanz · 651K views

I Let an AI Run 400 Civilizations
Agent Arena · 30K views

10 open source tools that feel illegal...
Fireship · 1.6M views

Computer Optimized Motherload
Jeremiah Thrall · 376K views

The Programming of your Favorite Flash Games
PortalRunner · 675K views

I discovered a sound that leaks your exact location (and it's everywhere)
colsto · 5.1M views

Portal Speedrunners Discover "Singularity Warp" After 18 Years
Marblr · 2.1M views

I Tested Horrible Coding Languages
commonLuke · 1.6M views

everything is open source if you know reverse engineering (hack with me!)
Low Level · 1.1M views

Theoretically Possible Events in Fnaf 1
SpeedTV · 2.8M views

The Journey to the Edge of the Infinite Chess Board
Naviary · 1M views

Why There Are So Many Image Formats
AltRepo · 725K views

Pushing Simulations to the LIMIT to Turn Chaos into Order
Drew's Campfire · 2.8M views

Using A.I. to DESTROY Minesweeper
Code Bullet · 5.6M views

Programming in Assembly without an Operating System
Inkbox · 2.3M views

Every Stolen Redstone Build In The Minecraft Handbooks
CraftyMasterman · 1.1M views

Can you run every line of code in Super Mario Bros.?
100th Coin · 1.1M views