KiFilterFiberContext / GD-Editor-Leak

reverse engineered structures and editor code needed to reimplement the editor in the 2019 Geometry Dash 2.2 leaks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geometry Dash 2.2 Leak Editor

This repository contains reverse engineered structures and reimplemented editor code needed for my restoration of the editor in the 2019 Geometry Dash 2.2 leaks. In the commit history you can find older versions that you may be able to compile out-of-the-box with (1.1 and 1.1.2). The current code contains code only compatible with the leaked GD World from 2019 (as it's the most updated leak).

Features

  • At its current state, the reverse engineered structures are not fully documented. They only contain the BARE MINIMUM for the editor to function and do not contain more recent additions or structures since then. Do not expect it to be stable as the leaks are incomplete and contain missing implementation details leading to frequent crashes without further modifications.
  • It also contains relevant code for supporting software breakpoints on ARM
  • The code is provided AS-IS and requires some modification before any adding to any project

Details

Geometry Dash is a semi-platformer game published by RobTop Games in 2013. It was initially released on iOS and Android, then published to Steam in 2014. The game consists of the player controlling a square in a horizontal platformer along with multiple game modes, icons and more. The most notable feature is the editor, which allows sharing user made levels onto the servers.

In the years since there have been multiple updates and several free games that have been published. The three side games that have been published are: World, Meltdown, and SubZero. The game also has a lite version which can also be downloaded for free.

The latest update to the game was 2.1, which was published in 2017. In the multiple years that have passed since, the next update, 2.2, has not released (as of July 9th, 2021). However, the side games do contain extra functionality leaked (whether intentional or not), however the latest dates back to 2017.

The Leak

On December 5th, 2019, the Lite and Meltdown versions were taken off the Play Store following an advertisement being present in the games. They were restored five days later, however, extra functionality that included new gamemodes and editor features were discovered in the leaked versions. The leak was confirmed by Viprin, a trusted associate of RobTop.

The leak included many new features, yet some features were stripped from the release binaries before being published. This included parts of the new multiplayer mode (dubbed Challenge Mode), the Map, and the revamped 2.2 editor. Days following the leaked, SMJS was able to patch the code to swap ship and swing copter gamemode transitions. He was also responsible for developing the SubZero private server which had some of the new 2.2 features at the time.

Desite attempts from collaborating members of the programming and reverse engineering community, hopes of restoring the editor was lost due to the daunting task of having to reverse engineer and accurately rewrite parts of the editor layer. After a year, I decided to single-handedly reverse engineer the editor.

Initial reverse engineering was done by bindiffing the leaked lite binary against the 2017 SubZero and 2.0 binaries. I tracked all modifications and proceeded to perform analysis on any changes made on member offsets and additions to the editor structure. After support from various people from the community after providing assets, the editor was now functional. It still lacks full reimplementation, however, due to the requirement of it needing to be fully compatible with other editor routines in order for it to run, it can be considered as a near full recreation of the initialization routine. Due to some missing textures and other additions, some modifications had to be done for compatibility.

History Credits

Disclaimer

  • The code has not been touched in a while and is outdated compared to recent additions in previous months
  • I am not the owner of Geometry Dash nor am I affiliated with RobTop Games. RobTop has publicly acknowledged the existence of the restoration and any action taken by him will be respected following publication.
  • I do not condone pirating or illegal distrbution of the game. This repository merely documents my notes and analysis of the editor reimplementation.

License

  • GPL v3

About

reverse engineered structures and editor code needed to reimplement the editor in the 2019 Geometry Dash 2.2 leaks

License:GNU General Public License v3.0


Languages

Language:C++ 92.7%Language:C 7.2%Language:Makefile 0.1%