From f291f5e17e2a90b2c03e18f40d4ccd16828a78e5 Mon Sep 17 00:00:00 2001 From: SMJS Date: Thu, 23 Jul 2026 18:04:46 +0200 Subject: [PATCH 1/2] Refactor an unk in CCNode --- bindings/2.2074/GeometryDash.bro | 6 +++--- bindings/2.208/inline/GameObject.cpp | 2 +- bindings/2.208/inline/SmartGameObject.cpp | 2 +- bindings/2.208/inline/SpecialAnimGameObject.cpp | 2 +- bindings/2.2081/inline/GameObject.cpp | 2 +- bindings/2.2081/inline/SmartGameObject.cpp | 2 +- bindings/2.2081/inline/SpecialAnimGameObject.cpp | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bindings/2.2074/GeometryDash.bro b/bindings/2.2074/GeometryDash.bro index 7cf08ace5..abea79948 100644 --- a/bindings/2.2074/GeometryDash.bro +++ b/bindings/2.2074/GeometryDash.bro @@ -11774,7 +11774,7 @@ class GameObject : CCSpritePlus { bool init(char const* frame) = win inline, m1 0x4d7914, imac 0x58a2f0, ios 0x253dc0 { if (!CCSpritePlus::initWithSpriteFrameName(frame)) return false; this->commonSetup(); - m_bUnkBool2 = true; + m_bDisableScheduling = true; return true; } static bool isBasicEnterEffect(int id) = win inline, m1 0x4ec080, imac 0x5b3790, ios 0x261f04 { @@ -34821,7 +34821,7 @@ class SmartGameObject : GameObject { if (!GameObject::init(frame)) return false; m_baseFrame = frame; m_classType = GameObjectClassType::Smart; - m_bUnkBool2 = false; + m_isBasic = false; return true; } void updateSmartFrame() = win 0x487070, m1 0x162ab4, imac 0x19fe80, ios 0x379684; @@ -35303,7 +35303,7 @@ class SpecialAnimGameObject : EnhancedGameObject { bool init(char const* frame) = win inline, m1 0x1654e0, imac 0x1a2c70, ios inline { if (!EnhancedGameObject::init(frame)) return false; - m_bUnkBool2 = false; + m_isBasic = false; return true; } diff --git a/bindings/2.208/inline/GameObject.cpp b/bindings/2.208/inline/GameObject.cpp index 876ef59fa..6910cf1c3 100644 --- a/bindings/2.208/inline/GameObject.cpp +++ b/bindings/2.208/inline/GameObject.cpp @@ -512,7 +512,7 @@ bool GameObject::ignoreFade() { bool GameObject::init(char const* frame) { if (!CCSpritePlus::initWithSpriteFrameName(frame)) return false; this->commonSetup(); - m_bUnkBool2 = true; + m_bDisableScheduling = true; return true; } diff --git a/bindings/2.208/inline/SmartGameObject.cpp b/bindings/2.208/inline/SmartGameObject.cpp index 143b5d6df..cac7eaa11 100644 --- a/bindings/2.208/inline/SmartGameObject.cpp +++ b/bindings/2.208/inline/SmartGameObject.cpp @@ -22,7 +22,7 @@ bool SmartGameObject::init(char const* frame) { if (!GameObject::init(frame)) return false; m_baseFrame = frame; m_classType = GameObjectClassType::Smart; - m_bUnkBool2 = false; + m_bDisableScheduling = false; return true; } #endif diff --git a/bindings/2.208/inline/SpecialAnimGameObject.cpp b/bindings/2.208/inline/SpecialAnimGameObject.cpp index 4f59b1fa7..3f5ecef33 100644 --- a/bindings/2.208/inline/SpecialAnimGameObject.cpp +++ b/bindings/2.208/inline/SpecialAnimGameObject.cpp @@ -8,7 +8,7 @@ SpecialAnimGameObject::SpecialAnimGameObject() { #if defined(GEODE_IS_WINDOWS) || defined(GEODE_IS_IOS) bool SpecialAnimGameObject::init(char const* frame) { if (!EnhancedGameObject::init(frame)) return false; - m_bUnkBool2 = false; + m_bDisableScheduling = false; return true; } #endif diff --git a/bindings/2.2081/inline/GameObject.cpp b/bindings/2.2081/inline/GameObject.cpp index 6c116fd80..f624fdfda 100644 --- a/bindings/2.2081/inline/GameObject.cpp +++ b/bindings/2.2081/inline/GameObject.cpp @@ -512,7 +512,7 @@ bool GameObject::ignoreFade() { bool GameObject::init(char const* frame) { if (!CCSpritePlus::initWithSpriteFrameName(frame)) return false; this->commonSetup(); - m_bUnkBool2 = true; + m_bDisableScheduling = true; return true; } diff --git a/bindings/2.2081/inline/SmartGameObject.cpp b/bindings/2.2081/inline/SmartGameObject.cpp index 7182df710..da71ed3b6 100644 --- a/bindings/2.2081/inline/SmartGameObject.cpp +++ b/bindings/2.2081/inline/SmartGameObject.cpp @@ -22,7 +22,7 @@ bool SmartGameObject::init(char const* frame) { if (!GameObject::init(frame)) return false; m_baseFrame = frame; m_classType = GameObjectClassType::Smart; - m_bUnkBool2 = false; + m_bDisableScheduling = false; return true; } #endif diff --git a/bindings/2.2081/inline/SpecialAnimGameObject.cpp b/bindings/2.2081/inline/SpecialAnimGameObject.cpp index 51c59749a..9aa0128fd 100644 --- a/bindings/2.2081/inline/SpecialAnimGameObject.cpp +++ b/bindings/2.2081/inline/SpecialAnimGameObject.cpp @@ -8,7 +8,7 @@ SpecialAnimGameObject::SpecialAnimGameObject() { #if defined(GEODE_IS_WINDOWS) || defined(GEODE_IS_IOS) bool SpecialAnimGameObject::init(char const* frame) { if (!EnhancedGameObject::init(frame)) return false; - m_bUnkBool2 = false; + m_bDisableScheduling = false; return true; } #endif From 71c6be643a550d677a89a51cfdffc479bb5a1c64 Mon Sep 17 00:00:00 2001 From: SMJS Date: Thu, 23 Jul 2026 18:07:01 +0200 Subject: [PATCH 2/2] Fix some old refactors --- bindings/2.2074/GeometryDash.bro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/2.2074/GeometryDash.bro b/bindings/2.2074/GeometryDash.bro index abea79948..3ee4c4498 100644 --- a/bindings/2.2074/GeometryDash.bro +++ b/bindings/2.2074/GeometryDash.bro @@ -34821,7 +34821,7 @@ class SmartGameObject : GameObject { if (!GameObject::init(frame)) return false; m_baseFrame = frame; m_classType = GameObjectClassType::Smart; - m_isBasic = false; + m_bDisableScheduling = false; return true; } void updateSmartFrame() = win 0x487070, m1 0x162ab4, imac 0x19fe80, ios 0x379684; @@ -35303,7 +35303,7 @@ class SpecialAnimGameObject : EnhancedGameObject { bool init(char const* frame) = win inline, m1 0x1654e0, imac 0x1a2c70, ios inline { if (!EnhancedGameObject::init(frame)) return false; - m_isBasic = false; + m_bDisableScheduling = false; return true; }