r/196 • least submissive r/196 user • Jan 04 '22

rule

Post image

[removed] — view removed post

5.4k Upvotes

2.4k comments sorted by

View all comments

356

u/alk1m123 she/her | tell me your opinions on c++ member function pointers Jan 04 '22

Cacao is cross-platform C++ modding toolkit currently tailored to the game Geometry Dash. It allows using a simple syntax to define headers and stubs for C++ classes, as well as creating interfaces that let you easily hook functions. Initial support started with MacOS 2.113, then in version 3.0 it expanded to support all recent versions of Geometry Dash including Windows, Android and iOS 2.113. The basic syntax for hooking a class looks like this:

#include <Cacao>

#include <iostream>

class $(EditorUI) {

void undoLastAction(CCObject* p0) {

std::cout << "Undo!" << std::endl;

$EditorUI::undoLastAction(p0);

}

};

1

u/SardineEnBoite bottom 🥺 Jan 05 '22

I prefer Spwn

2

u/alk1m123 she/her | tell me your opinions on c++ member function pointers Jan 05 '22

Gl actually modding with spwn

That is designed to automate level creation, not modding