Skip to content

Commit

Permalink
macOS BetterEdit bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjustin000 committed Jan 5, 2025
1 parent dd62059 commit eba6e0d
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions bindings/2.2074/GeometryDash.bro
Original file line number Diff line number Diff line change
Expand Up @@ -2512,7 +2512,7 @@ class ColorSelectPopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDeleg
void onTintGround(cocos2d::CCObject* sender);
void onToggleHSVMode(cocos2d::CCObject* sender) = win 0x93500;
void onToggleTintMode(cocos2d::CCObject* sender) = win 0x909b0;
void onUpdateCopyColor(cocos2d::CCObject* sender) = win 0x93420;
void onUpdateCopyColor(cocos2d::CCObject* sender) = win 0x93420, m1 0x6309c0, imac 0x712170;
void onUpdateCustomColor(cocos2d::CCObject* sender) = win 0x92c50;
void selectColor(cocos2d::ccColor3B);
void sliderChanged(cocos2d::CCObject* sender);
Expand Down Expand Up @@ -2818,9 +2818,9 @@ class CreateMenuItem : CCMenuItemSpriteExtra {
class CreateParticlePopup : FLAlertLayer, TextInputDelegate, ColorSelectDelegate, SliderDelegate {
// virtual ~CreateParticlePopup();

static CreateParticlePopup* create(gd::string);
static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*, gd::string);
static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*) = win 0x414180, imac 0x45bb50;
static CreateParticlePopup* create(gd::string) = m1 0x3ccc68, imac 0x45bde0;
static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*, gd::string) = m1 0x3cca7c, imac 0x45bb70;
static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*) = win 0x414180, m1 0x3cca54, imac 0x45bb50;

virtual void update(float) = imac 0x463940, m1 0x3d3a48, ios 0x2d0d74;
virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x41d070, imac 0x4644c0, m1 0x3d4520, ios 0x2d15dc;
Expand Down Expand Up @@ -3098,15 +3098,15 @@ class CustomizeObjectLayer : FLAlertLayer, TextInputDelegate, HSVWidgetDelegate,
int getActiveMode(bool) = win 0xa8cb0, imac 0x1e63e0, m1 0x19d9c0;
TodoReturn getButtonByTag(int) = win 0xa9520;
TodoReturn getHSV();
void highlightSelected(ButtonSprite*) = win 0xa97d0, imac 0x1e6d00;
void highlightSelected(ButtonSprite*) = win 0xa97d0, m1 0x19e1b8, imac 0x1e6d00;
bool init(GameObject*, cocos2d::CCArray*) = win 0xa4d00, imac 0x1e3120, m1 0x19a9d0;
void onBreakApart(cocos2d::CCObject* sender);
void onBrowse(cocos2d::CCObject* sender);
void onClear(cocos2d::CCObject* sender);
void onClose(cocos2d::CCObject* sender) = win 0xa9900;
void onClose(cocos2d::CCObject* sender) = win 0xa990, m1 0x19c978, imac 0x1e5320;
void onCopy(cocos2d::CCObject* sender);
void onEditColor(cocos2d::CCObject* sender);
void onHSV(cocos2d::CCObject* sender) = win 0xa8470;
void onHSV(cocos2d::CCObject* sender) = win 0xa8470, m1 0x19cd5c, imac 0x1e5740;
void onLiveEdit(cocos2d::CCObject* sender);
void onNextColorChannel(cocos2d::CCObject* sender);
void onPaste(cocos2d::CCObject* sender);
Expand Down Expand Up @@ -3828,8 +3828,8 @@ class EditButtonBar : cocos2d::CCNode {
void goToPage(int);
bool init(cocos2d::CCArray* objects, cocos2d::CCPoint size, int unk, bool unkBool, int columns, int rows) = imac 0x5c9ad0, m1 0x4fe3bc;
void loadFromItems(cocos2d::CCArray*, int, int, bool) = win 0xd30a0, imac 0x5c9b80, m1 0x4fe468;
void onLeft(cocos2d::CCObject* sender) = win 0xd3a90;
void onRight(cocos2d::CCObject* sender) = win 0xd3a20;
void onLeft(cocos2d::CCObject* sender) = win 0xd3a90, m1 0x4fea94, imac 0x5ca250;
void onRight(cocos2d::CCObject* sender) = win 0xd3a20, m1 0x4feadc, imac 0x5ca2a0;
void reloadItems(int rowCount, int columnCount) = win inline, imac 0x5ca140, m1 0x4fe998 {
if (m_buttonArray) this->loadFromItems(m_buttonArray, rowCount, columnCount, false);
}
Expand Down Expand Up @@ -3865,7 +3865,7 @@ class EditLevelLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol
}
virtual ~EditLevelLayer() = win 0xd3c10;

static EditLevelLayer* create(GJGameLevel* level) = win inline {
static EditLevelLayer* create(GJGameLevel* level) = win inline, m1 0x19f878, imac 0x1e8670 {
auto ret = new EditLevelLayer();
if (ret && ret->init(level)) {
ret->autorelease();
Expand Down Expand Up @@ -3976,7 +3976,7 @@ class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol {
void onCreateExtras(cocos2d::CCObject* sender) = win 0xdb760;
void onCreateLoop(cocos2d::CCObject* sender) = win 0xdb7d0;
void onCreateTemplate(cocos2d::CCObject* sender);
void onExitEditor(cocos2d::CCObject* sender) = win 0xdcd60, m1 0x22c7fc;
void onExitEditor(cocos2d::CCObject* sender) = win 0xdcd60, m1 0x22c7fc, imac 0x282f40;
void onExitNoSave(cocos2d::CCObject* sender) = win 0xdce30, imac 0x281ad0, m1 0x22b51c;
void onHelp(cocos2d::CCObject* sender);
void onKeybindings(cocos2d::CCObject* sender) = m1 0x22bc3c;
Expand Down Expand Up @@ -4010,7 +4010,7 @@ class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol {
TodoReturn toggleHideInvisible(cocos2d::CCObject*);
TodoReturn toggleIgnoreDamage(cocos2d::CCObject*);
TodoReturn togglePlaytestMusic(cocos2d::CCObject*);
void togglePreviewAnim(cocos2d::CCObject*) = win 0xdbc10;
void togglePreviewAnim(cocos2d::CCObject*) = win 0xdbc10, m1 0x22bba4, imac 0x282270;
TodoReturn togglePreviewParticles(cocos2d::CCObject*);
TodoReturn togglePreviewShaders(cocos2d::CCObject*);
TodoReturn toggleRecordOrder(cocos2d::CCObject*);
Expand Down Expand Up @@ -4079,7 +4079,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
virtual void scaleYChanged(float, bool) = win 0x113770, m1 0x3abec, imac 0x40440, ios 0x3e7ec4;
virtual void scaleXYChanged(float, float, bool) = win 0x113820, imac 0x40590, m1 0x3ad30, ios 0x3e7f6c;

void activateRotationControl(cocos2d::CCObject*) = win 0x121420;
void activateRotationControl(cocos2d::CCObject*) = win 0x121420, m1 0x3878c, imac 0x3dc70;
void activateScaleControl(cocos2d::CCObject*) = win 0x113280;
void activateTransformControl(cocos2d::CCObject*) = win 0x1138d0, m1 0x3aec4, imac 0x40720;
void addObjectsToSmartTemplate(GJSmartTemplate*, cocos2d::CCArray*) = win 0x114390;
Expand Down Expand Up @@ -4135,9 +4135,9 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
void deselectObjectsColor();
TodoReturn deselectTargetPortals() = imac 0x32e10;
TodoReturn disableButton(CreateMenuItem*);
void doCopyObjects(bool) = win 0x111900, imac 0x3e700;
void doCopyObjects(bool) = win 0x111900, m1 0x391d4, imac 0x3e700;
TodoReturn doPasteInPlace(bool);
void doPasteObjects(bool) = win 0x111a90;
void doPasteObjects(bool) = win 0x111a90, m1 0x392cc, imac 0x3e820;
void dynamicGroupUpdate(bool) = win 0x117000, imac 0x44e10, m1 0x3ed20;
TodoReturn edgeForObject(int, int);
TodoReturn editButton2Usable() = imac 0x492e0;
Expand Down Expand Up @@ -4196,7 +4196,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
CreateMenuItem* menuItemFromObjectString(gd::string, int) = win 0x10d090, m1 0x315a4;
cocos2d::CCPoint moveForCommand(EditCommand command) = win 0x11de20, imac 0x4a7d0, m1 0x435fc;
void moveGamelayer(cocos2d::CCPoint) = win 0xe16b0, imac 0x2f800, m1 0x2f18c;
void moveObject(GameObject*, cocos2d::CCPoint) = win 0x11e290, imac 0x3ef90;
void moveObject(GameObject*, cocos2d::CCPoint) = win 0x11e290, m1 0x399d4, imac 0x3ef90;
void moveObjectCall(cocos2d::CCObject*) = win 0x11e000, imac 0x49970;
void moveObjectCall(EditCommand) = win 0x11e000, imac 0x4a9d0, m1 0x437a8;
cocos2d::CCPoint offsetForKey(int) = win 0x124bf0;
Expand Down Expand Up @@ -4224,7 +4224,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
void onGroupIDFilter(cocos2d::CCObject* sender) = win 0xe5a80, m1 0x31a68;
void onGroupSticky(cocos2d::CCObject* sender) = win 0x1110f0, imac 0xcf70, m1 0xe2d4;
void onGroupUp(cocos2d::CCObject* sender) = win 0x11da70;
void onLockLayer(cocos2d::CCObject* sender) = win 0x11dc00, m1 0x31bec;
void onLockLayer(cocos2d::CCObject* sender) = win 0x11dc00, m1 0x2c7fc, imac 0x2cc80;
void onNewCustomItem(cocos2d::CCObject* sender) = win 0xe2990, m1 0x304d0, imac 0x30d30;
void onPaste(cocos2d::CCObject* sender);
void onPasteColor(cocos2d::CCObject* sender) = win 0x112cd0;
Expand All @@ -4233,7 +4233,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
void onPause(cocos2d::CCObject* sender) = win 0xe03d0, imac 0x2ad50, m1 0x2afc0;
void onPlayback(cocos2d::CCObject* sender) = win 0x110390, imac 0xc930, m1 0xdce0;
void onPlaytest(cocos2d::CCObject* sender) = win 0x1109a0, imac 0xcb90, m1 0xdef4;
void onResetSpecialFilter(cocos2d::CCObject* sender);
void onResetSpecialFilter(cocos2d::CCObject* sender) = m1 0x31bec;
void onSelectBuildTab(cocos2d::CCObject* sender) = win 0x112f60, imac 0x34310, m1 0x33940;
void onSettings(cocos2d::CCObject* sender) = win 0xe0350, m1 0x2b46c, imac 0x2b270;
void onStopPlaytest(cocos2d::CCObject* sender) = win 0x110d40, m1 0xe134, imac 0xcdd0;
Expand Down Expand Up @@ -4268,7 +4268,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
void resetObjectEditorValues(cocos2d::CCArray*);
TodoReturn resetSelectedObjectsColor();
void resetUI() = win 0xe36d0, imac 0x2ac40, m1 0x2aeac;
void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint) = win 0x11f4b0, imac 0x3c3d0;
void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint) = win 0x11f4b0, m1 0x37044, imac 0x3c3d0;
TodoReturn rotationforCommand(EditCommand);
void scaleObjects(cocos2d::CCArray*, float, float, cocos2d::CCPoint, ObjectScaleType, bool) = win 0x11f8d0;
void selectAll();
Expand Down Expand Up @@ -4341,7 +4341,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
TodoReturn updatePlaybackBtn() = imac 0x2d5f0;
void updateSlider() = win 0xe14a0;
TodoReturn updateSpecialUIElements();
void updateZoom(float) = win 0x110ef0, m1 0x38b14;
void updateZoom(float) = win 0x110ef0, m1 0x38b14, imac 0x3e050;
float valueFromXPos(float);
float xPosFromValue(float);
void zoomGameLayer(bool);
Expand Down Expand Up @@ -7558,8 +7558,8 @@ class GameToolbox {
static gd::map<gd::string,gd::string> stringSetupToMap(gd::string const&, char const*, gd::map<gd::string, gd::string>&) = win 0x65890;
static TodoReturn strongColor(cocos2d::ccColor3B);
static TodoReturn timestampToHumanReadable(long) = m1 0x4469a4, imac 0x4e4690;
static cocos2d::ccColor3B transformColor(cocos2d::ccColor3B const&, cocos2d::ccHSVValue) = win 0x65290;
static TodoReturn transformColor(cocos2d::ccColor3B const&, float, float, float);
static cocos2d::ccColor3B transformColor(cocos2d::ccColor3B const&, cocos2d::ccHSVValue) = win 0x65290, m1 0x43fbfc, imac 0x4dcb20;
static cocos2d::ccColor3B transformColor(cocos2d::ccColor3B const&, float, float, float) = m1 0x43fbe0, imac 0x4dcaf0;
}

[[link(android)]]
Expand Down Expand Up @@ -10716,8 +10716,8 @@ class GJScaleControl : cocos2d::CCLayer {
virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = m1 0x4a3c8, imac 0x53150, ios 0x3f37ac;

void finishTouch();
void loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map<int, GameObjectEditorState>&) = win 0x128190, imac 0x3f670;
void onToggleLockScale(cocos2d::CCObject* sender) = win 0x128100;
void loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map<int, GameObjectEditorState>&) = win 0x128190, m1 0x3a07c, imac 0x3f670;
void onToggleLockScale(cocos2d::CCObject* sender) = win 0x128100, m1 0x49a6c, imac 0x52690;
float scaleFromValue(float value) = win inline, imac 0x52860, m1 0x49c44 {
return (m_upperBound - m_lowerBound) * value + m_lowerBound;
}
Expand All @@ -10726,7 +10726,7 @@ class GJScaleControl : cocos2d::CCLayer {
void updateLabelX(float value) = win 0x128f20, m1 0x49b0c, imac 0x52740;
void updateLabelXY(float value) = win 0x129020, m1 0x49bdc, imac 0x52800;
void updateLabelY(float value) = win 0x128fa0, m1 0x49b74, imac 0x527a0;
float valueFromScale(float scale) = win inline {
float valueFromScale(float scale) = win inline, m1 0x49c98, imac 0x528f0 {
auto value = (scale - m_lowerBound) / (m_upperBound - m_lowerBound);
return value < 0 ? 0 : (value > 1 ? 1 : value);
}
Expand Down Expand Up @@ -12527,7 +12527,7 @@ class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate {
TodoReturn addPlayer2Point(cocos2d::CCPoint, bool);
TodoReturn addPlayerCollisionBlock();
TodoReturn addPlayerPoint(cocos2d::CCPoint);
void addSpecial(GameObject*) = win 0x2cf4a0, m1 0xc7674;
void addSpecial(GameObject*) = win 0x2cf4a0, m1 0xc7674, imac 0xe0390;
TodoReturn addToRedoList(UndoObject*);
TodoReturn addTouchPoint(cocos2d::CCPoint);
TodoReturn addToUndoList(UndoObject*, bool) = imac 0xe0210;
Expand Down Expand Up @@ -12655,12 +12655,12 @@ class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate {
TodoReturn updateGridLayerParent();
TodoReturn updateKeyframeObjects() = win 0x2d9490, imac 0xeb650;
TodoReturn updateKeyframeVisibility(bool);
void updateLevelFont(int) = win 0x2d66d0;
void updateLevelFont(int) = win 0x2d66d0, m1 0xd4e04, imac 0xefe30;
void updateObjectColors(cocos2d::CCArray* gameObjects) = win 0x2d1790, imac 0xeb700, m1 0xd102c;
void updateOptions() = win 0x2ca8f0, m1 0xc4394, imac 0xdc880;
void updatePreviewAnim();
void updatePreviewParticle(ParticleGameObject*) = imac 0x1a1820, m1 0x1642bc;
void updatePreviewParticles() = imac 0xecfe0, win 0x2d8ec0;
void updatePreviewParticles() = win 0x2d8ec0, m1 0xd2838, imac 0xecfe0;
TodoReturn updateToggledGroups();
TodoReturn validGroup(GameObject*, bool);

Expand Down Expand Up @@ -16992,7 +16992,7 @@ class SetGroupIDLayer : FLAlertLayer, TextInputDelegate {
void onNextFreeEditorLayer1(cocos2d::CCObject* sender);
void onNextFreeEditorLayer2(cocos2d::CCObject* sender);
void onNextFreeOrderChannel(cocos2d::CCObject* sender);
void onNextGroupID1(cocos2d::CCObject* sender) = win 0x3e48d0, m1 0x298c40;
void onNextGroupID1(cocos2d::CCObject* sender) = win 0x3e48d0, m1 0x298c40, imac 0x300d00;
void onPaste(cocos2d::CCObject* sender) = win 0x111a80;
void onRemoveFromGroup(cocos2d::CCObject* sender) = win 0x3e51e0, m1 0x29ae48, imac 0x3032f0;
void onSmoothEase(cocos2d::CCObject* sender);
Expand All @@ -17008,7 +17008,7 @@ class SetGroupIDLayer : FLAlertLayer, TextInputDelegate {
void updateEditorOrder();
void updateEditorOrderLabel();
void updateGroupIDButtons() = win 0x3e4940;
void updateGroupIDLabel() = win 0x3e5ad0;
void updateGroupIDLabel() = win 0x3e5ad0, m1 0x29950c, imac 0x301720;
void updateOrderChannel();
void updateOrderChannelLabel();
void updateZLayerButtons() = win 0x3e5d30;
Expand Down

0 comments on commit eba6e0d

Please sign in to comment.