SPEEDRUN GLITCH ANATOMY: HOW ARBITRARY CODE EXECUTION BROKE SAN ANDREAS IN 25 MINUTES
guidesEXPLOIT BREAKDOWN: MAIN_SCM_INSTRUCTION_JUMPSECURE CLEARANCE LEVEL: COBALT (LEVEL 4)
DOSSIER #A12

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.scm opcodes—jumping execution straight to the final credits in under 25 minutes.
VERIFIED BY REALGTA EDITORIAL COLLECTIVE
PERMALINK: https://realgta.com/articles/san-andreas-arbitrary-code-execution-speedrun