Skip to content

Commit

Permalink
Merge branch 'geode-sdk:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 authored Sep 10, 2024
2 parents f0ff49e + 6fbdcef commit 8d64890
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 28 deletions.
38 changes: 19 additions & 19 deletions bindings/2.206/Cocos2d.bro
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class cocos2d::CCScene {

[[link(win, android)]]
class cocos2d::CCSet {
static cocos2d::CCSet* create();
static cocos2d::CCSet* create() = m1 0x6c59d4, imac 0x7bfc00;

//CCSet(cocos2d::CCSet const&) = imac 0x7bf970, m1 0x6c576c;
CCSet() = imac 0x7bf920, m1 0x6c570c;
Expand Down Expand Up @@ -2691,24 +2691,24 @@ class cocos2d::CCTextFieldTTF {

void setDelegate(cocos2d::CCTextFieldDelegate* var);

virtual void draw();
virtual const cocos2d::ccColor3B& getColorSpaceHolder();
virtual void setColorSpaceHolder(const cocos2d::ccColor3B& color);
virtual const char* getPlaceHolder();
virtual void setPlaceHolder(const char* text);
virtual void setSecureTextEntry(bool value);
virtual bool isSecureTextEntry();

virtual void setString(const char* text);
virtual const char* getString();

virtual bool attachWithIME();
virtual bool detachWithIME();
virtual bool canAttachWithIME();
virtual bool canDetachWithIME();
virtual void insertText(const char* text, int len, cocos2d::enumKeyCodes keyCode);
virtual void deleteBackward();
virtual const char* getContentText();
virtual void draw() = m1 0x21e620;
virtual const cocos2d::ccColor3B& getColorSpaceHolder() = m1 0x21e6e0;
virtual void setColorSpaceHolder(const cocos2d::ccColor3B& color) = m1 0x21e6e8;
virtual const char* getPlaceHolder() = m1 0x21eae8;
virtual void setPlaceHolder(const char* text) = m1 0x21e9a0;
virtual void setSecureTextEntry(bool value) = m1 0x21eb00;
virtual bool isSecureTextEntry() = m1 0x21eb54;

virtual void setString(const char* text) = m1 0x21e6fc;
virtual const char* getString() = m1 0x21e970;

virtual bool attachWithIME() = m1 0x21dd40;
virtual bool detachWithIME() = m1 0x21ddcc;
virtual bool canAttachWithIME() = m1 0x21de58;
virtual bool canDetachWithIME() = m1 0x21decc;
virtual void insertText(const char* text, int len, cocos2d::enumKeyCodes keyCode) = m1 0x21df40;
virtual void deleteBackward() = m1 0x21e2f8;
virtual const char* getContentText() = m1 0x21e5f0;
}

[[link(win, android)]]
Expand Down
26 changes: 17 additions & 9 deletions bindings/2.206/GeometryDash.bro
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,16 @@ class AccountLayer : GJDropDownLayer, GJAccountDelegate, GJAccountBackupDelegate
static AccountLayer* create() = win 0x7bf70;

TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint);
void doBackup();
void doSync();
void doBackup() = win inline, m1 0xb82c4, imac 0xd06a0 {
this->updatePage(false);
if (!GJAccountManager::sharedState()->getAccountBackupURL()) this->backupAccountFailed((BackupAccountError)-1, 0);
else this->showLoadingUI();
}
void doSync() = win inline, m1 0xb83a0, imac 0xd0770 {
this->updatePage(false);
if (!GJAccountManager::sharedState()->getAccountSyncURL()) this->syncAccountFailed((BackupAccountError)-1, 0);
else this->showLoadingUI();
}
void exitLayer() {
this->setKeypadEnabled(false);
this->disableUI();
Expand Down Expand Up @@ -4938,7 +4946,7 @@ class FMODQueuedEffect {
PAD = win 0x70, android32 0x48, android64 0x58;
}

[[link(android), depends(FMODAudioState), depends(FMODMusic), depends(FMODSound), depends(FMODQueuedEffect)]]
[[link(android), depends(FMODAudioState), depends(FMODSoundState), depends(FMODMusic), depends(FMODSound), depends(FMODQueuedEffect), depends(FMODQueuedMusic), depends(FMODSoundTween)]]
class FMODAudioEngine : cocos2d::CCNode {
// virtual ~FMODAudioEngine();
FMODAudioEngine() = win 0x52250, ios 0x145344;
Expand Down Expand Up @@ -7175,7 +7183,7 @@ class GameToolbox {
static CCMenuItemToggler* createToggleButton(gd::string label, cocos2d::SEL_MenuHandler selector, bool state, cocos2d::CCMenu* menu, cocos2d::CCPoint position, cocos2d::CCNode* parent, cocos2d::CCNode* labelParent, float buttonScale, float maxLabelScale, float maxLabelWidth, cocos2d::CCPoint labelOffset, char const* font, bool labelTop, int labelTag, cocos2d::CCArray* container) = win 0x63080, imac 0x4f9b80, m1 0x4528d0, ios 0x4a4f8;
static bool doWeHaveInternet();
static TodoReturn easeToText(int);
static TodoReturn fast_rand_0_1() = imac 0x4fc6c0;
static float fast_rand_0_1() = imac 0x4fc6c0, m1 0x4551ac;
static TodoReturn fast_rand_minus1_1();
static TodoReturn fast_rand();
static void fast_srand(uint64_t) = m1 0x45516c, imac 0x4fc670;
Expand Down Expand Up @@ -7419,8 +7427,8 @@ class GJAccountManager : cocos2d::CCNode {
void dataLoaded(DS_Dictionary*) = imac 0xd7f90, m1 0xbf188;
void encodeDataTo(DS_Dictionary*) = imac 0xd7f30, m1 0xbf130;
void firstSetup();
void getAccountBackupURL();
void getAccountSyncURL();
bool getAccountBackupURL() = win 0x1f25a0;
bool getAccountSyncURL() = win 0x1f3500;
cocos2d::CCObject* getDLObject(char const*);
gd::string getShaPassword(gd::string) = win 0x1F4FF0;
void handleIt(bool, gd::string, gd::string, GJHttpType) = win 0x1f1590, imac 0xd2c80, m1 0xba5d4;
Expand Down Expand Up @@ -7716,8 +7724,8 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
void increaseBatchNodeCapacity() = win 0x1fd9d0;
bool isFlipping();
bool isPlayer2Button(int);
TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::ccColor3B);
TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::ccColor3B, float, float, int, bool, float) = imac 0x1154f0;
void lightningFlash(cocos2d::CCPoint to, cocos2d::ccColor3B color);
void lightningFlash(cocos2d::CCPoint from, cocos2d::CCPoint to, cocos2d::ccColor3B color, float lineWidth, float duration, int displacement, bool flash, float opacity) = win 0x235db0, imac 0x1154f0, m1 0xf2a4c;
TodoReturn loadGroupParentsFromString(GameObject*, gd::string);
void loadLevelSettings() = win 0x229e30, imac 0x14cce0, m1 0x11edfc;
void loadStartPosObject() = win 0x225710;
Expand Down Expand Up @@ -14093,7 +14101,7 @@ class PlayerFireBoostSprite : cocos2d::CCSprite {
float m_size;
}

[[link(android)]]
[[link(android), depends(GJPointDouble)]]
class PlayerObject : GameObject, AnimatedSpriteDelegate {
// virtual ~PlayerObject();
// PlayerObject() = ios 0x23e4dc;
Expand Down

0 comments on commit 8d64890

Please sign in to comment.