Ads skipped

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&apos;m so happy people found this topic interesting!<br>My next video is sort of about Math.random()&apos;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&apos;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&amp;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&amp;t=620">10:20</a> I love how the formula is just &quot;little bit of this, little bit of that&quot;

    1.3K

  • @nyaarcissist · 11 months ago

    Seems like YouTube&apos;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&apos;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&apos;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&amp;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&amp;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&apos;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&amp;t=836">13:56</a> nice dig at dream haha

    294

  • @WhyNot_3D · 11 months ago

    What the actual f, &nbsp;this video is top-tier quality, how can it be only 1.5k

    1.3K

Up next

LIVE

How I released a game that has no assets

Zanzlanz · 1.4M views

LIVE

I took an "entry level" CIA test

Bog · 5.7M views

LIVE

Snake But Eating Deletes A Random System 32 File

Code Bullet · 4M views

LIVE

Coding a Physics Engine from scratch!

Zanzlanz · 651K views

LIVE

I Let an AI Run 400 Civilizations

Agent Arena · 30K views

LIVE

10 open source tools that feel illegal...

Fireship · 1.6M views

LIVE

Computer Optimized Motherload

Jeremiah Thrall · 376K views

LIVE

The Programming of your Favorite Flash Games

PortalRunner · 675K views

LIVE

I discovered a sound that leaks your exact location (and it's everywhere)

colsto · 5.1M views

LIVE

Portal Speedrunners Discover "Singularity Warp" After 18 Years

Marblr · 2.1M views

LIVE

I Tested Horrible Coding Languages

commonLuke · 1.6M views

LIVE

everything is open source if you know reverse engineering (hack with me!)

Low Level · 1.1M views

LIVE

Theoretically Possible Events in Fnaf 1

SpeedTV · 2.8M views

LIVE

The Journey to the Edge of the Infinite Chess Board

Naviary · 1M views

LIVE

Why There Are So Many Image Formats

AltRepo · 725K views

LIVE

Pushing Simulations to the LIMIT to Turn Chaos into Order

Drew's Campfire · 2.8M views

LIVE

Using A.I. to DESTROY Minesweeper

Code Bullet · 5.6M views

LIVE

Programming in Assembly without an Operating System

Inkbox · 2.3M views

LIVE

Every Stolen Redstone Build In The Minecraft Handbooks

CraftyMasterman · 1.1M views

LIVE

Can you run every line of code in Super Mario Bros.?

100th Coin · 1.1M views

YouTube, with the door locked.

Aegis plays a clean stream instead of YouTube's player, so pre-roll ads, trackers, and fingerprinting never ride along. Drop Shields any time if you want the official player back.