// // cocos2d::extension::CCControlButton::setTitleColorForState from 0x100354310 to 0x1003543b6 (166 bytes) // // 2 xrefs: // > @ 0x1009161c0 // > @ 0x100947908 // // 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 cocos2d::extension::CCControlButton::setTitleColorForState( cocos2d::extension::CCControlButton *a1, cocos2d::ccColor3B a2, unsigned int a3) { intptr_t v4; // r15 char *v5; // r13 v4 = a3; cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)&a1[1].m_fScaleX, a3); v5 = (char *)operator new(0x40u); cocos2d::CCObject::CCObject(v5); *(_QWORD *)v5 = off_1009163C8; *(cocos2d::ccColor3B *)(v5 + 56) = a2; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)&a1[1].m_fScaleX, (cocos2d::CCObject *)v5, v4); if ( a1->m_eState == a3 ) ((void (__fastcall *)(cocos2d::extension::CCControlButton *))a1->needsLayout)(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source