Pass proximity: the Candy Crush loop a data scientist says he found, in four steps
Ayo Omolewa says he decompiled Candy Crush Saga and found one number behind it: how close you are to beating the level. Here is his breakdown in writing, with the code names and figures from his video, what could be checked in the app and what could not, and how to build the same loop into your own game without turning it against your players.
Candy Crush Saga launched in 2012 and reportedly still made $876.5 million in its 2025 fiscal year. Data scientist Ayo Omolewa (@ayoships) says he decompiled the game and found one number behind that: the game works out how close you are to beating the level, compares it with a target after every move, and changes the odds to keep you near that target. In the code he shows, the number is called pass proximity.
The reverse engineering is entirely his work. His original breakdown is this 75-second reel: Ayo Omolewa’s Candy Crush breakdown on Instagram. Watch it first. This guide is the written version: every code name and figure his video shows, which of them could be found in the Android app and which could not, and how to build the same loop into a game of your own. Everything was read on 15 November 2026.
01Who found it, and what has been checked
Ayo Omolewa is a data scientist and a co-founder of a0.dev. On his website he says he decompiles viral apps and exposes the dark patterns inside them. He posted the Candy Crush reel on 25 October 2026, after similar videos on Block Blast and Subway Surfers. The trade site mobilegamer.biz covered all three on 27 October and asked him, King and the two other studios for comment. Its article, last updated on 9 November, says none of them had replied.
So there are three kinds of statement in this guide, and they are kept apart:
The search found 32 of the 39 names, all of them in the game’s main library, libcandycrushsaga.so. The seven it did not find all belong to one file that his video calls ads_egp_dynamic.js, which is where the name “pass proximity” appears. That does not mean the file does not exist: the game downloads parts of itself after it is installed, and a downloaded file would not be in the package. It does mean that the name “pass proximity” rests on his video alone.
Keep reading
Subscribe to read the rest of this article
It’s free. Enter your email and we’ll send you a link that opens this article, along with every other post on the blog. You’ll also receive the Triffin’ newsletter.
Check your inbox: we sent you a link that opens the article. It works for 48 hours. Nothing there? Look in your spam folder, or enter your email again.
Unsubscribe whenever you like. See how we handle your email in our Privacy Policy. Already subscribed? Enter the same email to get a link that opens it on this device.