Skip to content

Commit 31801f0

Browse files
SetupTimeWarpPopup + GJEffectManager::colorExists
1 parent df7d00c commit 31801f0

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9150,7 +9150,9 @@ class GJEffectManager : cocos2d::CCNode {
91509150
TodoReturn calculateLightBGColor(cocos2d::ccColor3B);
91519151
TodoReturn checkCollision(int const&, int const&);
91529152
void colorActionChanged(ColorAction*) = imac 0x2cb670;
9153-
bool colorExists(int) = imac 0x2cb640;
9153+
bool colorExists(int col) = win inline, m1 0x26e578, imac 0x2cb640 {
9154+
return m_colorActionVector[(std::min)((std::max)(col, 0), 1101)] != nullptr;
9155+
}
91549156
TodoReturn colorForEffect(cocos2d::ccColor3B, cocos2d::ccHSVValue);
91559157
TodoReturn colorForGroupID(int, cocos2d::ccColor3B const&, bool);
91569158
TodoReturn colorForIndex(int);
@@ -18680,15 +18682,26 @@ class SetupTimerTriggerPopup : SetupTriggerPopup {
1868018682
class SetupTimeWarpPopup : SetupTriggerPopup {
1868118683
// virtual ~SetupTimeWarpPopup();
1868218684

18683-
static SetupTimeWarpPopup* create(EffectGameObject*, cocos2d::CCArray*);
18685+
static SetupTimeWarpPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x44ad30, m1 0x45090c, imac 0x4ef5f0;
1868418686

18685-
virtual void determineStartValues() = m1 0x450fe4, imac 0x4efdd0, ios 0x14b950;
18686-
virtual void onClose(cocos2d::CCObject* sender) = m1 0x451134, imac 0x4eff60, ios 0x14ba8c;
18687+
virtual void determineStartValues() = win 0x44b2c0, m1 0x450fe4, imac 0x4efdd0, ios 0x14b950;
18688+
virtual void onClose(cocos2d::CCObject* sender) = win 0x287920, m1 0x451134, imac 0x4eff60, ios 0x14ba8c;
1868718689

18688-
bool init(EffectGameObject*, cocos2d::CCArray*) = m1 0x450a9c, imac 0x4ef830;
18689-
TodoReturn sliderChanged(cocos2d::CCObject*);
18690-
TodoReturn updateTimeWarp();
18691-
TodoReturn updateTimeWarpLabel() = m1 0x450f94, imac 0x4efd80;
18690+
bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x44ae50, m1 0x450a9c, imac 0x4ef830;
18691+
void sliderChanged(cocos2d::CCObject* sender) = win 0x44b3d0, m1 0x450eb8, imac 0x4efc70;
18692+
void updateTimeWarp() = win inline, m1 0x4510c8, imac 0x4efed0 {
18693+
if (m_gameObject) m_gameObject->m_timeWarpTimeMod = m_timeWarpMod;
18694+
else if (m_gameObjects) {
18695+
for (int i = 0; i < m_gameObjects->count(); i++) {
18696+
static_cast<EffectGameObject*>(m_gameObjects->objectAtIndex(i))->m_timeWarpTimeMod = m_timeWarpMod;
18697+
}
18698+
}
18699+
}
18700+
void updateTimeWarpLabel() = win 0x44b4a0, m1 0x450f94, imac 0x4efd80;
18701+
18702+
cocos2d::CCLabelBMFont* m_timeWarpLabel;
18703+
Slider* m_timeWarpSlider;
18704+
float m_timeWarpMod;
1869218705
}
1869318706

1869418707
[[link(android)]]

0 commit comments

Comments
 (0)