Skip to content

Commit 694e683

Browse files
authored
fix incorrect bindings for GameStatsManager::hasCompletedLevel & add other
1 parent cffb98e commit 694e683

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8218,14 +8218,14 @@ class GameStatsManager : cocos2d::CCNode {
82188218
void checkCoinAchievement(GJGameLevel*) = ios 0x33052c, win 0x1da830, imac 0x6c8d0, m1 0x60414;
82198219
void checkCoinsForLevel(GJGameLevel*) = imac 0x6f9a0, m1 0x633a0;
82208220
TodoReturn claimListReward(GJLevelList*);
8221-
TodoReturn collectReward(GJRewardType, GJRewardItem*);
8221+
void collectReward(GJRewardType, GJRewardItem*) = ios 0x333564;
82228222
TodoReturn collectVideoReward(int);
82238223
void completedChallenge(GJChallengeItem*) = m1 0x67008;
82248224
GJRewardItem* completedDailyLevel(GJGameLevel*) = win 0x1dfe10, imac 0x73c90, m1 0x67884;
8225-
void completedDemonLevel(GJGameLevel*) = m1 0x613f8;
8225+
void completedDemonLevel(GJGameLevel*) = m1 0x613f8, ios 0x330e60;
82268226
TodoReturn completedLevel(GJGameLevel*) = ios 0x330d54, imac 0x6d6b0;
82278227
void completedMapPack(GJMapPack*) = win 0x1dbe30;
8228-
void completedStarLevel(GJGameLevel*) = m1 0x61598;
8228+
void completedStarLevel(GJGameLevel*) = m1 0x61598, ios 0x330f2c;
82298229
int countSecretChests(GJRewardType);
82308230
int countUnlockedSecretChests(GJRewardType);
82318231
TodoReturn createReward(GJRewardType, int, gd::string);
@@ -8270,16 +8270,16 @@ class GameStatsManager : cocos2d::CCNode {
82708270
GJChallengeItem* getQueuedChallenge(int) = ios 0x333d78, win 0x1def40, m1 0x66b94, imac 0x73100;
82718271
TodoReturn getRewardForSecretChest(int);
82728272
TodoReturn getRewardForSpecialChest(gd::string);
8273-
TodoReturn getRewardItem(GJRewardType);
8274-
TodoReturn getRewardKey(GJRewardType, int);
8273+
GJRewardItem* getRewardItem(GJRewardType) = ios 0x3333b8;
8274+
gd::string getRewardKey(GJRewardType, int) = ios 0x3333e8;
82758275
GJChallengeItem* getSecondaryQueuedChallenge(int) = m1 0x66c98, imac 0x73200;
82768276
TodoReturn getSecretChestForItem(int, UnlockType);
82778277
TodoReturn getSecretCoinKey(char const*) = m1 0x63ad4, imac 0x700d0;
82788278
TodoReturn getSecretOnlineRewardKey(int) = m1 0x6beb0;
82798279
TodoReturn getSpecialChestKeyForItem(int, UnlockType);
82808280
TodoReturn getSpecialRewardDescription(gd::string, bool);
82818281
gd::string getSpecialUnlockDescription(int, UnlockType, bool) = win 0x1e6fb0, m1 0x6b4a4, imac 0x77bb0, ios 0x336794;
8282-
TodoReturn getStarLevelKey(GJGameLevel*) = m1 0x60ce4, imac 0x6d1a0;
8282+
char const* getStarLevelKey(GJGameLevel*) = m1 0x60ce4, imac 0x6d1a0, ios 0x330a04;
82838283
int getStat(char const*) = ios 0x32bf54, win 0x1d21e0, imac 0x66610, m1 0x5aca0;
82848284
TodoReturn getStatFromKey(StatKey);
82858285
TodoReturn getStoreItem(int, int);
@@ -8291,15 +8291,15 @@ class GameStatsManager : cocos2d::CCNode {
82918291
bool hasCompletedDailyLevel(int) = win 0x1dfd10, imac 0x73b50, m1 0x67750;
82928292
bool hasCompletedDemonLevel(GJGameLevel*);
82938293
bool hasCompletedGauntletLevel(int) = win 0x1db1a0, m1 0x60f64, imac 0x6d3b0;
8294-
bool hasCompletedLevel(GJGameLevel* level) = ios 0x3334f4, win 0x1dafb0, imac 0x6d280, m1 0x60e04;
8294+
bool hasCompletedLevel(GJGameLevel* level) = ios 0x330af4, win 0x1dafb0, imac 0x6d280, m1 0x60e04;
82958295
bool hasCompletedMainLevel(int levelID) = ios 0x330a74, win inline, m1 0x60d6c, imac 0x6d200 {
82968296
return m_completedLevels->objectForKey(this->getLevelKey(levelID, false, false, false, false)) != nullptr;
82978297
}
82988298
bool hasCompletedMapPack(int);
82998299
bool hasCompletedOnlineLevel(int) = ios 0x330b64, win 0x1db070, m1 0x60ecc, imac 0x6d330;
83008300
bool hasCompletedStarLevel(GJGameLevel*) = imac 0x6d570;
83018301
bool hasPendingUserCoin(char const*) = ios 0x331ee0, win 0x1dce90, m1 0x636cc, imac 0x6fcf0;
8302-
bool hasRewardBeenCollected(GJRewardType, int);
8302+
bool hasRewardBeenCollected(GJRewardType, int) = ios 0x3334f4;
83038303
bool hasSecretCoin(char const*) = ios 0x33078c, win 0x1dcf50, imac 0x6cdc0, m1 0x60930;
83048304
bool hasUserCoin(char const*) = ios 0x331f50, win 0x1dcd10, m1 0x637c4, imac 0x6fde0;
83058305
TodoReturn incrementActivePath(int);
@@ -8331,7 +8331,7 @@ class GameStatsManager : cocos2d::CCNode {
83318331
bool purchaseItem(int) = win 0x1d12e0, m1 0x5aa80, imac 0x663e0, ios 0x32bdb0;
83328332
TodoReturn recountSpecialStats() = ios 0x3351a4, m1 0x69188;
83338333
TodoReturn recountUserCoins(bool);
8334-
void registerRewardsFromItem(GJRewardItem*) = win 0x1ee170;
8334+
void registerRewardsFromItem(GJRewardItem*) = win 0x1ee170, ios 0x333604;
83358335
void removeChallenge(int songID) = m1 0x6650c, imac 0x72ae0;
83368336
void removeErrorFromSpecialChests() = win 0x1f0310;
83378337
TodoReturn removeQueuedChallenge(int) = m1 0x66740, imac 0x72cf0;
@@ -18010,7 +18010,7 @@ class RewardsPage : FLAlertLayer, FLAlertLayerProtocol, GJRewardDelegate {
1801018010
void unlockLayerClosed(RewardUnlockLayer* layer) = win inline, imac 0x20a000, m1 0x1becc4 {
1801118011
if (m_openLayer == layer) m_openLayer = nullptr;
1801218012
}
18013-
callback void updateTimers(float) = m1 0x1be2c4;
18013+
callback void updateTimers(float) = m1 0x1be2c4, ios 0x1c53ac;
1801418014

1801518015
cocos2d::CCLabelBMFont* m_leftLabel;
1801618016
cocos2d::CCLabelBMFont* m_rightLabel;

0 commit comments

Comments
 (0)