Skip to content

Commit 61c34be

Browse files
committed
The rest of that mod
1 parent dceded7 commit 61c34be

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

bindings/2.2074/Cocos2d.bro

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,9 @@ class cocos2d::CCNode : cocos2d::CCObject {
19351935
void scheduleUpdateWithPriorityLua(int, int) = imac 0x2620f0;
19361936
void sortAllChildrenNoIndex();
19371937
void sortAllChildrenWithIndex();
1938-
void stopAction(cocos2d::CCAction*) = m1 0x20dd6c, imac 0x261fb0;
1938+
void stopAction(cocos2d::CCAction* action) = m1 0x20dd6c, imac 0x261fb0, ios inline {
1939+
m_pActionManager->removeAction(action);
1940+
}
19391941
void stopActionByTag(int) = m1 0x20dd74, imac 0x261fd0, ios 0x23c208;
19401942
void stopAllActions() = imac 0x260e30, m1 0x20cbec, ios 0x23b4fc;
19411943
void transform() = m1 0x20d820, imac 0x261a70, ios 0x23bd34;
@@ -2442,7 +2444,7 @@ class cocos2d::CCTouchDispatcher : cocos2d::CCObject, cocos2d::EGLTouchDelegate
24422444

24432445
// CCTouchDispatcher(cocos2d::CCTouchDispatcher const&);
24442446
// CCTouchDispatcher();
2445-
void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = imac 0x4b8980, m1 0x420668;
2447+
void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = imac 0x4b8980, m1 0x420668, ios 0x152430;
24462448
void addStandardDelegate(cocos2d::CCTouchDelegate*, int);
24472449
void addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = imac 0x4b89a0, m1 0x420680, ios 0x152448;
24482450
void decrementForcePrio(int);
@@ -2683,11 +2685,11 @@ class cocos2d::CCDirector : cocos2d::CCObject, cocos2d::TypeInfo {
26832685
void setNextScene() = imac 0x470340;
26842686
void setNotificationNode(cocos2d::CCNode*) = m1 0x3e07d4, imac 0x471a70;
26852687
void setOpenGLView(cocos2d::CCEGLView*);
2686-
void setProjection(cocos2d::ccDirectorProjection) = imac 0x46fc80, m1 0x3ded3c;
2688+
void setProjection(cocos2d::ccDirectorProjection) = imac 0x46fc80, m1 0x3ded3c, ios 0x178aec;
26872689
void setSceneReference(cocos2d::CCScene*);
26882690
void setSmoothFix(bool);
26892691
void setSmoothFixCheck(bool);
2690-
void setViewport() = imac 0x470d60, m1 0x3dfc30;
2692+
void setViewport() = imac 0x470d60, m1 0x3dfc30, ios 0x179380;
26912693

26922694
// CCDirector(cocos2d::CCDirector const&);
26932695
// CCDirector();
@@ -3059,6 +3061,7 @@ class cocos2d::CCLabelTTF : cocos2d::CCSprite, cocos2d::CCLabelProtocol {
30593061
[[link(win, android)]]
30603062
class cocos2d::CCActionManager : cocos2d::CCObject {
30613063
void addAction(cocos2d::CCAction*, cocos2d::CCNode*, bool) = m1 0x1d4dfc, imac 0x221dd0, ios 0x2f4378;
3064+
void removeAction(cocos2d::CCAction*) = ios 0x2f493c;
30623065
void pauseTarget(cocos2d::CCObject*) = imac 0x221b10, m1 0x1d4aec;
30633066
void resumeTarget(cocos2d::CCObject*) = m1 0x1d4be8;
30643067
}
@@ -3179,7 +3182,7 @@ class cocos2d::CCArray : cocos2d::CCObject {
31793182
void removeObjectsInArray(cocos2d::CCArray*);
31803183
void replaceObjectAtIndex(unsigned int, cocos2d::CCObject*, bool);
31813184
void reverseObjects();
3182-
cocos2d::CCString* stringAtIndex(unsigned int) = m1 0x629390, imac 0x709d20;
3185+
cocos2d::CCString* stringAtIndex(unsigned int) = m1 0x629390, imac 0x709d20, ios 0x24943c;
31833186

31843187
// virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*) = ios 0x249634, imac 0x70a140, m1 0x62971c;
31853188
// virtual void acceptVisitor(cocos2d::CCDataVisitor&) = ios 0x2496f8, imac 0x70a240, m1 0x62981c;
@@ -3212,7 +3215,7 @@ class cocos2d::CCDictionary : cocos2d::CCObject {
32123215
void removeAllObjects() = m1 0x292260, imac 0x2f9b10, ios 0x41a564;
32133216
void removeObjectForElememt(cocos2d::CCDictElement*) = imac 0x2fb910;
32143217
void removeObjectForKey(gd::string const&) = imac 0x2fb510, m1 0x293a98, ios 0x41b9d8;
3215-
void removeObjectForKey(intptr_t) = imac 0x2fba60, m1 0x293f08;
3218+
void removeObjectForKey(intptr_t) = imac 0x2fba60, m1 0x293f08, ios 0x41bdcc;
32163219
void removeObjectsForKeys(cocos2d::CCArray*);
32173220
cocos2d::CCString const* valueForKey(gd::string const&) = imac 0x2fa030, m1 0x2927ec, ios 0x41a868;
32183221
cocos2d::CCString const* valueForKey(intptr_t) = imac 0x2fa570, m1 0x292cd4, ios 0x41acdc;
@@ -3882,7 +3885,7 @@ class cocos2d::CCDrawNode : cocos2d::CCNodeRGBA {
38823885
[[link(win, android)]]
38833886
class cocos2d::CCSpriteBatchNode : cocos2d::CCNode, cocos2d::CCTextureProtocol {
38843887
static cocos2d::CCSpriteBatchNode* createWithTexture(cocos2d::CCTexture2D*, unsigned int) = m1 0x132d50, imac 0x165920, ios 0x1d7dac;
3885-
static cocos2d::CCSpriteBatchNode* create(char const* fileImage, unsigned int capacity) = m1 0x132f40, imac 0x165b50;
3888+
static cocos2d::CCSpriteBatchNode* create(char const* fileImage, unsigned int capacity) = m1 0x132f40, imac 0x165b50, ios 0x1d7f4c;
38863889

38873890
bool initWithTexture(cocos2d::CCTexture2D*, unsigned int) = imac 0x165a10, m1 0x132e04, ios 0x1d7e30;
38883891

@@ -4215,13 +4218,13 @@ class cocos2d {
42154218
static cocos2d::CCPoint ccCardinalSplineAt(cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, float, float);
42164219
static void ccDrawCardinalSpline(cocos2d::CCPointArray*, float, unsigned int);
42174220
static void ccDrawCatmullRom(cocos2d::CCPointArray*, unsigned int);
4218-
static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool) = imac 0x1f6f00, m1 0x1ac960;
4221+
static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool) = imac 0x1f6f00, m1 0x1ac960, ios 0x24b7f0;
42194222
static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool, float, float) = imac 0x1f6ab0, m1 0x1ac600;
42204223
static void ccDrawCircleSegment(cocos2d::CCPoint const&, float, float, float, unsigned int, bool, float, float);
42214224
static void ccDrawColor4B(unsigned char, unsigned char, unsigned char, unsigned char) = imac 0x1f7ec0, m1 0x1ad624, ios 0x24bae4;
42224225
static void ccDrawColor4F(float, float, float, float);
42234226
static void ccDrawCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int);
4224-
static void ccDrawFilledCircle(cocos2d::CCPoint const&, float, float, unsigned int) = imac 0x1f7360, m1 0x1acccc;
4227+
static void ccDrawFilledCircle(cocos2d::CCPoint const&, float, float, unsigned int) = imac 0x1f7360, m1 0x1acccc, ios 0x24b988;
42254228
static void ccDrawFree();
42264229
static void ccDrawInit();
42274230
static void ccDrawLine(cocos2d::CCPoint const&, cocos2d::CCPoint const&) = m1 0x1ac0ec, imac 0x1f65e0, ios 0x24b408;
@@ -4287,6 +4290,14 @@ class cocos2d {
42874290
void kmGLPushMatrix() = m1 0x1aba8c, imac 0x1f5fa0, ios 0x16bc50;
42884291
[[link(win, android)]]
42894292
void kmGLPopMatrix() = m1 0x1abad0, imac 0x1f5fe0, ios 0x16bc94;
4293+
[[link(win, android)]]
4294+
void kmGLMatrixMode(unsigned int) = m1 0x1aba44, imac 0x1f5f60, ios 0x16bc08;
4295+
[[link(win, android)]]
4296+
void kmGLLoadIdentity() = m1 0x1abafc, imac 0x1f6010, ios 0x16bcc0;
4297+
// [[link(win, android)]] // TODO: Figure this out
4298+
// const kmMat4* kmMat4OrthographicProjection(kmMat4*, float, float, float, float, float, float) = m1 0x1abafc, imac 0x3c1240, ios 0x3ab750;
4299+
[[link(win, android)]]
4300+
void kmGLMultMatrix(kmMat4 const*) = m1 0x1abb60, imac 0x1f6070, ios 0x16bd24;
42904301

42914302
[[link(win, android)]]
42924303
class DS_Dictionary {

bindings/2.2074/GeometryDash.bro

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6803,7 +6803,7 @@ class GameLevelManager : cocos2d::CCNode {
68036803
void saveFetchedLevels(cocos2d::CCArray*) = ios 0x98dac, win 0x144960, imac 0x51b540, m1 0x477ed0;
68046804
void saveFetchedMapPacks(cocos2d::CCArray*);
68056805
void saveGauntlet(GJMapPack*);
6806-
void saveLevel(GJGameLevel*) = win 0x146d40, imac 0x521650, m1 0x47d688;
6806+
void saveLevel(GJGameLevel*) = win 0x146d40, imac 0x521650, m1 0x47d688, ios 0x9c808;
68076807
void saveLevelList(GJLevelList*) = win 0x14ee60;
68086808
void saveLocalScore(int, int, int);
68096809
void saveMapPack(GJMapPack*);
@@ -8194,7 +8194,7 @@ class GameStatsManager : cocos2d::CCNode {
81948194
GJChallengeItem* getChallenge(int) = ios 0x333cf4, win 0x1dee70, m1 0x66a90, imac 0x73000;
81958195
TodoReturn getChallengeKey(GJChallengeItem*) = m1 0x66e24, imac 0x73370;
81968196
int getCollectedCoinsForLevel(GJGameLevel*) = win 0x1dabd0, m1 0x608b4, imac 0x6cd40;
8197-
cocos2d::CCArray* getCompletedMapPacks() = win 0x1dc180, imac 0x6e6c0, m1 0x6230c;
8197+
cocos2d::CCArray* getCompletedMapPacks() = win 0x1dc180, imac 0x6e6c0, m1 0x6230c, ios 0x331520;
81988198
gd::string getCurrencyKey(GJGameLevel* level) = win inline, m1 0x64184, imac 0x70790 {
81998199
auto dailyID = level->m_dailyID.value();
82008200
return cocos2d::CCString::createWithFormat("%i", dailyID > 0 ? dailyID : level->m_levelID.value())->getCString();
@@ -8395,7 +8395,7 @@ class GameToolbox {
83958395
static bool doWeHaveInternet() = m1 0x43e8a8, imac 0x4db770;
83968396
static TodoReturn easeToText(int) = m1 0x445748, imac 0x4e34f0;
83978397
static TodoReturn fast_rand();
8398-
static float fast_rand_0_1() = imac 0x4dea80, m1 0x441870;
8398+
static float fast_rand_0_1() = imac 0x4dea80, m1 0x441870, ios 0x49540;
83998399
static TodoReturn fast_rand_minus1_1();
84008400
static void fast_srand(uint64_t) = ios 0x49534, m1 0x441830, imac 0x4dea30;
84018401
static TodoReturn gen_random(int) = m1 0x464058, imac 0x504920;
@@ -8942,7 +8942,7 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
89428942
void addProximityVolumeEffect(int, int, SFXTriggerGameObject*);
89438943
TodoReturn addRemapTargets(gd::set<int>&) = imac 0x105880;
89448944
void addToGroupParents(GameObject*);
8945-
void addToGroups(GameObject*, bool) = win 0x21eb90, imac 0x12cc30, m1 0x107cdc;
8945+
void addToGroups(GameObject*, bool) = win 0x21eb90, imac 0x12cc30, m1 0x107cdc, ios 0x1f3f3c;
89468946
TodoReturn addToObjectsToShow(GameObject*);
89478947
void addUIObject(GameObject*) = win 0x220c70;
89488948
void animateInDualGroundNew(GameObject*, float, bool, float) = win 0x20deb0;
@@ -9103,9 +9103,9 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
91039103
void playExitDualEffect(PlayerObject*) = ios 0x1eb9b0, win 0x2119a0, m1 0xf7ff0, imac 0x119250;
91049104
TodoReturn playFlashEffect(float, int, float);
91059105
TodoReturn playKeyframeAnimation(KeyframeAnimTriggerObject*, gd::vector<int> const&);
9106-
void playSpeedParticle(float) = m1 0x121058, imac 0x14c000;
9106+
void playSpeedParticle(float) = m1 0x121058, imac 0x14c000, ios 0x20656c;
91079107
TodoReturn positionForShaderTarget(int) = win 0x21e1a0;
9108-
void positionUIObjects() = win 0x220d90, imac 0x10bbf0, m1 0xebbe0;
9108+
void positionUIObjects() = win 0x220d90, imac 0x10bbf0, m1 0xebbe0, ios 0x1e2c9c;
91099109
void prepareSavePositionObjects() = win 0x2142d0;
91109110
TodoReturn prepareTransformParent(bool);
91119111
void preResumeGame() = ios 0x200998, imac 0x141dd0;
@@ -9227,7 +9227,7 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
92279227
void sortStickyGroups() = win 0x21f650;
92289228
void spawnGroupTriggered(int groupID, float, bool, gd::vector<int> const&, int, int);
92299229
TodoReturn spawnObjectsInOrder(cocos2d::CCArray*, double, gd::vector<int> const&, int, int);
9230-
cocos2d::CCParticleSystemQuad* spawnParticle(char const* plist, int zOrder, cocos2d::tCCPositionType positionType, cocos2d::CCPoint position) = win 0x239d50, imac 0x14bf50, m1 0x120f7c;
9230+
cocos2d::CCParticleSystemQuad* spawnParticle(char const* plist, int zOrder, cocos2d::tCCPositionType positionType, cocos2d::CCPoint position) = win 0x239d50, imac 0x14bf50, m1 0x120f7c, ios 0x2064a4;
92319231
TodoReturn spawnParticleTrigger(int, cocos2d::CCPoint, float, float);
92329232
TodoReturn spawnParticleTrigger(SpawnParticleGameObject*) = imac 0x118670;
92339233
TodoReturn spawnPlayer2() = ios 0x1eb934;
@@ -13141,7 +13141,7 @@ class HardStreak : cocos2d::CCDrawNode {
1314113141
this->clear();
1314213142
m_pointArray->removeAllObjects();
1314313143
}
13144-
void resumeStroke() = m1 0x8ff80, imac 0x9d480, win inline {
13144+
void resumeStroke() = m1 0x8ff80, imac 0x9d480, win inline, ios 0x61bd4 {
1314513145
this->m_drawStreak = true;
1314613146
updateStroke(0.f);
1314713147
}
@@ -16766,7 +16766,7 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
1676616766
bool isSafeMode(float);
1676716767
bool isSafeSpiderFlip(float);
1676816768
TodoReturn levelFlipFinished() = win 0x3759e0;
16769-
bool levelFlipping() = win 0x385760, m1 0x3709bc, imac 0x3efb30;
16769+
bool levelFlipping() = win 0x385760, m1 0x3709bc, imac 0x3efb30, ios 0x21d2fc;
1677016770
TodoReturn levelWillFlip() = imac 0x3f1930;
1677116771
TodoReturn limitDashRotation(float&);
1677216772
void loadFromCheckpoint(PlayerCheckpoint*) = win 0x38bc30, imac 0x40a910, m1 0x3880ac;
@@ -16819,7 +16819,7 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
1681916819
this->updatePlayerArt();
1682016820
}
1682116821
TodoReturn rotatePreSlopeObjects();
16822-
void runBallRotation(float) = win 0x3775c0, m1 0x3732c0, imac 0x3f26a0;
16822+
void runBallRotation(float) = win 0x3775c0, m1 0x3732c0, imac 0x3f26a0, ios 0x21f098;
1682316823
void runBallRotation2() = win 0x3776f0;
1682416824
void runNormalRotation() {
1682516825
this->runNormalRotation(false, 1.0f);

0 commit comments

Comments
 (0)