Skip to content

Commit 0e4057b

Browse files
author
Erymanthus (RayDeeUx)
authored
endlevellayer bindings (geode-sdk#1191)
* bitz * ugh. * it's a create function im sure no one will mind if i force it to be inline * CurrencySprite bindings
1 parent 7935400 commit 0e4057b

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

bindings/2.2074/GeometryDash.bro

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3930,14 +3930,14 @@ class CurrencyRewardLayer : cocos2d::CCLayer {
39303930

39313931
virtual void update(float) = win 0xa2230, imac 0x792fd0, m1 0x6a64a8, ios 0x3212a4;
39323932

3933-
void createObjects(CurrencySpriteType type, int count, cocos2d::CCPoint position, float time) = win inline, imac 0x792130, m1 0x6a57c0 {
3933+
void createObjects(CurrencySpriteType type, int count, cocos2d::CCPoint position, float time) = win inline, imac 0x792130, m1 0x6a57c0, ios 0x3206cc {
39343934
this->createObjectsFull(type, count, nullptr, position, time);
39353935
}
39363936
void createObjectsFull(CurrencySpriteType, int, cocos2d::CCSprite*, cocos2d::CCPoint, float) = win 0xa1520, imac 0x7921d0, m1 0x6a5884, ios 0x320790;
39373937
void createUnlockObject(cocos2d::CCSprite* sprite, cocos2d::CCPoint position, float time) = win inline, imac 0x792180, m1 0x6a5828, ios 0x320734 {
39383938
this->createObjectsFull(CurrencySpriteType::Icon, 1, sprite, position, time);
39393939
}
3940-
void incrementCount(int count) = win inline, m1 0x6a6b18, imac 0x793700 {
3940+
void incrementCount(int count) = win inline, m1 0x6a6b18, imac 0x793700, ios 0x321860 {
39413941
if (m_orbsLabel == nullptr) return;
39423942
m_orbs += count;
39433943
this->pulseSprite(m_orbsSprite);
@@ -3949,32 +3949,32 @@ class CurrencyRewardLayer : cocos2d::CCLayer {
39493949
this->pulseSprite(m_diamondsSprite);
39503950
m_diamondsLabel->setString(cocos2d::CCString::createWithFormat("%i", count)->getCString());
39513951
}
3952-
void incrementMoonsCount(int count) = win inline, m1 0x6a6db8, imac 0x7939e0 {
3952+
void incrementMoonsCount(int count) = win inline, m1 0x6a6db8, imac 0x7939e0, ios 0x321a78 {
39533953
if (m_moonsLabel == nullptr) return;
39543954
m_moons += count;
39553955
this->pulseSprite(m_moonsSprite);
39563956
m_moonsLabel->setString(cocos2d::CCString::createWithFormat("%i", count)->getCString());
39573957
}
3958-
void incrementSpecialCount1(int count) = win inline, m1 0x6a71a8, imac 0x793e30 {
3958+
void incrementSpecialCount1(int count) = win inline, m1 0x6a71a8, imac 0x793e30, ios 0x321d9c {
39593959
if (m_keysLabel == nullptr) return;
39603960
m_keys += count;
39613961
this->pulseSprite(m_keysSprite);
39623962
m_keysLabel->setString(cocos2d::CCString::createWithFormat("%i", count)->getCString());
39633963
}
3964-
void incrementSpecialCount2(int count) = win inline, m1 0x6a7058, imac 0x793cc0 {
3964+
void incrementSpecialCount2(int count) = win inline, m1 0x6a7058, imac 0x793cc0, ios 0x321c90 {
39653965
if (m_shardsLabel == nullptr) return;
39663966
m_shards += count;
39673967
this->pulseSprite(m_shardsSprite);
39683968
m_shardsLabel->setString(cocos2d::CCString::createWithFormat("%i", count)->getCString());
39693969
}
3970-
void incrementStarsCount(int count) = win inline, m1 0x6a6c68, imac 0x793870 {
3970+
void incrementStarsCount(int count) = win inline, m1 0x6a6c68, imac 0x793870, ios 0x32196c {
39713971
if (m_starsLabel == nullptr) return;
39723972
m_stars += count;
39733973
this->pulseSprite(m_starsSprite);
39743974
m_starsLabel->setString(cocos2d::CCString::createWithFormat("%i", count)->getCString());
39753975
}
39763976
bool init(int orbs, int stars, int moons, int diamonds, CurrencySpriteType demonKey, int keyCount, CurrencySpriteType shardType, int shardsCount, cocos2d::CCPoint position, CurrencyRewardType rewardType, float, float time) = win 0x9f750, imac 0x78ffe0, m1 0x6a3800, ios 0x31eabc;
3977-
void pulseSprite(cocos2d::CCSprite*) = win 0xa2c00, imac 0x793fa0, m1 0x6a72f8;
3977+
void pulseSprite(cocos2d::CCSprite*) = win 0xa2c00, imac 0x793fa0, m1 0x6a72f8, ios 0x321ea8;
39783978

39793979
CurrencyRewardDelegate* m_delegate;
39803980
cocos2d::CCArray* m_objects;
@@ -4030,7 +4030,7 @@ class CurrencySprite : CCSpritePlus {
40304030
CC_SAFE_RELEASE(m_burstSprite);
40314031
}
40324032

4033-
static CurrencySprite* create(CurrencySpriteType type, bool burst) = win inline, imac 0x792020, m1 0x6a56c4 {
4033+
static CurrencySprite* create(CurrencySpriteType type, bool burst) = win inline, imac 0x792020, m1 0x6a56c4, ios 0x320648 {
40344034
auto ret = new CurrencySprite();
40354035
if (ret->init(type, burst)) {
40364036
ret->autorelease();
@@ -4040,11 +4040,11 @@ class CurrencySprite : CCSpritePlus {
40404040
return nullptr;
40414041
}
40424042

4043-
static CurrencySprite* createWithSprite(cocos2d::CCSprite*) = win 0xa44b0, m1 0x6a63c0, imac 0x792ed0;
4043+
static CurrencySprite* createWithSprite(cocos2d::CCSprite*) = win 0xa44b0, m1 0x6a63c0, imac 0x792ed0, ios 0x321230;
40444044
static CurrencySpriteType rewardToSpriteType(int);
40454045
static gd::string spriteTypeToStat(CurrencySpriteType) = win 0xa4780, m1 0x6a5574, imac 0x791f20;
4046-
bool init(CurrencySpriteType, bool) = win 0xa2cd0, m1 0x6a74c0, imac 0x794180;
4047-
bool initWithSprite(cocos2d::CCSprite*) = m1 0x6a7dc8, imac 0x794ad0;
4046+
bool init(CurrencySpriteType, bool) = win 0xa2cd0, m1 0x6a74c0, imac 0x794180, ios 0x321fe4;
4047+
bool initWithSprite(cocos2d::CCSprite*) = m1 0x6a7dc8, imac 0x794ad0, ios 0x3228ac; // inlined on windows
40484048

40494049
float m_unkFloat1;
40504050
float m_unkFloat2;
@@ -6069,11 +6069,11 @@ class EndLevelLayer : GJDropDownLayer {
60696069

60706070
void coinEnterFinished(cocos2d::CCPoint) = win 0x134230, m1 0x418e98, imac 0x4b0230, ios 0x2f8550;
60716071
void coinEnterFinishedO(cocos2d::CCObject*) = win 0x1341f0, m1 0x418e4c, imac 0x4b01f0;
6072-
void currencyEnterFinished();
6073-
void diamondEnterFinished();
6074-
gd::string getCoinString() = win 0x132d30, m1 0x4174b8, imac 0x4ae840;
6075-
const char* getEndText() = win 0x135190, m1 0x41770c, imac 0x4aea80;
6076-
void goEdit() = win 0x1336e0;
6072+
void currencyEnterFinished() = win 0x1348e0, m1 0x4190b0, imac 0x4b0420, ios 0x2f8750;
6073+
void diamondEnterFinished() = win 0x134d70, m1 0x4191a8, imac 0x4b0520, ios 0x2f8844;
6074+
gd::string getCoinString() = win 0x132d30, m1 0x4174b8, imac 0x4ae840, ios 0x2f6d38;
6075+
const char* getEndText() = win 0x135190, m1 0x41770c, imac 0x4aea80, ios 0x2f6f00;
6076+
void goEdit() = win 0x1336e0, m1 0x418a68, imac 0x4afdb0, ios 0x2f8178;
60776077
bool init(PlayLayer* playLayer);
60786078
void onEdit(cocos2d::CCObject* sender) = win 0x1335e0, m1 0x417a1c, imac 0x4aed20, ios 0x2f71c0;
60796079
void onEveryplay(cocos2d::CCObject* sender);
@@ -6083,11 +6083,11 @@ class EndLevelLayer : GJDropDownLayer {
60836083
void onReplay(cocos2d::CCObject* sender) = win 0x133250, m1 0x4177f4, imac 0x4aeb30, ios 0x2f6fc8;
60846084
void onRestartCheckpoint(cocos2d::CCObject* sender) = win 0x133890, m1 0x417ab8, imac 0x4aedb0, ios 0x2f725c;
60856085
void playCoinEffect(float) = win 0x133fb0, m1 0x41825c, imac 0x4af550, ios 0x2f7998;
6086-
void playCurrencyEffect(float) = win 0x134560;
6086+
void playCurrencyEffect(float) = win 0x134560, m1 0x4183f0, imac 0x4af6f0, ios 0x2f7b1c;
60876087
void playDiamondEffect(float) = win 0x1349f0, m1 0x418728, imac 0x4afa40, ios 0x2f7e48;
60886088
void playEndEffect() = win 0x134e80, m1 0x418c38, imac 0x4affd0, ios 0x2f831c;
6089-
void playStarEffect(float) = win 0x133ab0;
6090-
void starEnterFinished() = win 0x133e50;
6089+
void playStarEffect(float) = win 0x133ab0, m1 0x417f0c, imac 0x4af1f0, ios 0x2f7658;
6090+
void starEnterFinished() = win 0x133e50, m1 0x418b18, imac 0x4afea0, ios 0x2f8200;
60916091
void tryShowBanner(float);
60926092

60936093
PlayLayer* m_playLayer;

0 commit comments

Comments
 (0)