Skip to content

Instantly share code, notes, and snippets.

@absoIute
absoIute / VersionDetect.cpp
Last active November 12, 2024 13:23
Geometry Dash Version Detect
#include "VersionDetect.h"
#include <Windows.h>
std::map<uint32_t, std::string> VersionDetect::s_buildMap =
{
{ 1419173053, "1.900" },
{ 1419880840, "1.910" },
{ 1421745341, "1.920" },
{ 1440638199, "2.000" },
{ 1440643927, "2.001" },
@absoIute
absoIute / main.cpp
Created January 20, 2024 19:51
1.9 level manager
//THIS CODE IS OLD AND CRINGE
//AND FOUR YEARS OLD
#define _CRT_SECURE_NO_WARNINGS
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "C:\\Users\\benst\\Documents\\Developer\\Libraries\\Detours\\lib\\detours.lib")
#pragma comment(lib, "C:\\Users\\benst\\Downloads\\discord_game_sdk\\lib\\x86\\discord_game_sdk.dll.lib")
#include <Windows.h>
@absoIute
absoIute / GeodeTranslationLayer.h
Created January 23, 2024 00:20
Geode Translation Layer
#include <Geode/utils/Result.hpp>
#include <Geode/loader/Tulip.hpp>
namespace geode
{
class Hook;
class Loader
{
protected:
@absoIute
absoIute / blocks.h
Created February 11, 2024 21:26
blocks.h (2.2)
std::map<int, const char*> blocks = std::map<int, const char*>
{
{1, "square_01_001.png"},
{2, "square_02_001.png"},
{3, "square_03_001.png"},
{4, "square_04_001.png"},
{5, "square_05_001.png"},
{6, "square_06_001.png"},
{7, "square_07_001.png"},
{83, "square_08_001.png"},
@absoIute
absoIute / main.cpp
Created June 2, 2024 17:46
XINPUT1_4 proxy dll injection
#pragma comment(linker, "/EXPORT:XInputGetState=XInputGetState,@2")
#include <Windows.h>
#ifdef __cplusplus
extern "C" {
#endif
HINSTANCE s_instance = NULL;
struct XINPUT_STATE {};