// // ButtonSprite::setColor from 0x10005fac0 to 0x10005fb40 (128 bytes) // // 11 xrefs: // > RateLevelLayer::selectRating @ 0x10005ea14 // > RateStarsLayer::selectRating @ 0x1000808fc // > NumberInputLayer::updateNumberState @ 0x1000f94a4 // > GJRateLevelLayer::selectRating @ 0x1001b1734 // > EditorUI::updateButtons @ 0x1003e5bd8 // > EditorUI::toggleSpecialEditButtons @ 0x1003e65b4 // > EditorUI::updateDeleteButtons @ 0x1003e9808 // > EditorUI::updateDeleteButtons @ 0x1003e985c // > EditorUI::updateDeleteButtons @ 0x1003e98c0 // > EditorUI::updateEditButtonColor @ 0x1003ef0d0 // > RateDemonLayer::selectRating @ 0x10042680c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall ButtonSprite::setColor(ButtonSprite *a1, cocos2d::ccColor3B a2) { cocos2d::CCLabelBMFont *m_label; // x0 cocos2d::CCSprite *m_subSprite; // x0 void *m_BGSprite; // x0 cocos2d::ccColor3B v6; // [xsp+Ch] [xbp-14h] BYREF v6 = a2; m_label = a1->m_label; if ( m_label ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *, cocos2d::ccColor3B *))m_label->setColor)(m_label, &v6); m_subSprite = a1->m_subSprite; if ( m_subSprite ) ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::ccColor3B *))m_subSprite->setColor)(m_subSprite, &v6); m_BGSprite = a1->m_BGSprite; if ( m_BGSprite || (m_BGSprite = a1->m_subBGSprite) != nullptr ) (*(void (__fastcall **)(void *, cocos2d::ccColor3B *))(*(_QWORD *)m_BGSprite + 944LL))(m_BGSprite, &v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source