// // cocos2d::extension::CCControlButton::setTitleColorForState from 0xa9b3cc to 0xa9b4ac (224 bytes) // // 3 xrefs: // > @ 0x750f0 // > @ 0x11f5278 // > @ 0x11fa888 // // 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 // // local variable allocation has failed, the output may be wrong! void cocos2d::extension::CCControlButton::setTitleColorForState( cocos2d::extension::CCControlButton *a1, cocos2d::ccColor3B a2, unsigned int a3) { intptr_t v3; // x22 __int64 v5; // x19 int v6; // [xsp+58h] [xbp+58h] v6 = *(_DWORD *)&a2.r; v3 = a3; cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)&a1[1].m_fScaleX, a3); v5 = operator new(0x40u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v5); *(_WORD *)(v5 + 56) = v6; *(_QWORD *)v5 = &off_11F4C70; *(_BYTE *)(v5 + 58) = BYTE2(v6); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)&a1[1].m_fScaleX, (cocos2d::CCObject *)v5, v3); if ( (_DWORD)v3 == a1->m_eState ) a1->needsLayout(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source