SPEEDRUN GLITCH ANATOMY: HOW ARBITRARY CODE EXECUTION BROKE SAN ANDREAS IN 25 MINUTES
How speedrunners manipulate garage door timers, telefon mission triggers, and CJ’s X/Y coordinate floats to jump the instruction pointer straight to the "End of the Line" credits.
For over a decade, completing GTA: San Andreas required grinding through 100+ story missions across Los Santos, San Fierro, the Desert, and Las Venturas. Then community glitch hunters dissected the main.scm virtual machine.
011. On-Mission Flag Manipulation (Duping)
- >By triggering a cell-phone mission call on the exact frame CJ steps into a red mission marker, two script threads run concurrently—allowing runners to overwrite global script variables.
022. Coordinate-Based Arbitrary Code Execution (ACE)
- >By parking specific vehicles inside a garage and positioning CJ at exact floating-point world coordinates, the IEEE-754 byte representation of CJ's position is interpreted as valid
main.scmopcodes—jumping execution straight to the final credits in under 25 minutes.