Skip to content

Commit e442377

Browse files
Bindings for @SorkoPiko
1 parent 60d4c57 commit e442377

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5745,7 +5745,7 @@ class GameLevelManager : cocos2d::CCNode {
57455745
bool hasLikedAccountItem(LikeItemType, int, bool, int);
57465746
bool hasLikedItem(LikeItemType, int, bool, int) = win 0x1623d0;
57475747
bool hasLikedItemFullCheck(LikeItemType, int, int) = win 0x162340, imac 0x541500, m1 0x49a5c4;
5748-
bool hasRatedDemon(int id);
5748+
bool hasRatedDemon(int id) = win 0x152280, m1 0x48b328, imac 0x5309d0;
57495749
bool hasRatedLevelStars(int id);
57505750
bool hasReportedLevel(int id);
57515751
void invalidateMessages(bool, bool) = imac 0x538ef0;
@@ -5769,7 +5769,10 @@ class GameLevelManager : cocos2d::CCNode {
57695769
void makeTimeStamp(char const*) = win 0x147b90, imac 0x522290, m1 0x47e18c;
57705770
void markItemAsLiked(LikeItemType, int, bool, int);
57715771
void markLevelAsDownloaded(int) = win 0x151510;
5772-
void markLevelAsRatedDemon(int);
5772+
void markLevelAsRatedDemon(int id) = win inline, m1 0x48b1c8, imac 0x530870 {
5773+
if (m_ratedDemons->count() > 999) m_ratedDemons->removeObjectForKey(m_ratedDemons->getFirstKey());
5774+
m_ratedDemons->setObject(m_unkStr4, cocos2d::CCString::createWithFormat("%i", id)->getCString());
5775+
}
57735776
void markLevelAsRatedStars(int);
57745777
void markLevelAsReported(int);
57755778
void markListAsDownloaded(int id) = win inline {
@@ -15740,7 +15743,7 @@ class RateDemonLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate {
1574015743
m_delegate = nullptr;
1574115744
}
1574215745

15743-
static RateDemonLayer* create(int levelID) = win inline, m1 0x21cbdc {
15746+
static RateDemonLayer* create(int levelID) = win inline, m1 0x21cbdc, imac 0x271bd0 {
1574415747
auto ret = new RateDemonLayer();
1574515748
if (ret->init(levelID)) {
1574615749
ret->autorelease();
@@ -15756,9 +15759,9 @@ class RateDemonLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate {
1575615759
virtual void onClosePopup(UploadActionPopup*) = win 0x3b21e0, imac 0x272800, m1 0x21d82c, ios 0x41e748;
1575715760

1575815761
bool init(int) = win 0x3b1790, m1 0x21ccfc, imac 0x271d40;
15759-
void onClose(cocos2d::CCObject* sender);
15762+
void onClose(cocos2d::CCObject* sender) = win 0x3b2260, m1 0x21d3e8, imac 0x272420;
1576015763
void onRate(cocos2d::CCObject* sender) = win 0x3b1ee0, imac 0x272470, m1 0x21d444;
15761-
void selectRating(cocos2d::CCObject*) = win 0x3b1d60;
15764+
void selectRating(cocos2d::CCObject*) = win 0x3b1d60, m1 0x21d2dc, imac 0x272330;
1576215765

1576315766
bool m_uploadFinished;
1576415767
CCMenuItemSpriteExtra* m_submitButton;

0 commit comments

Comments
 (0)