// // cocos2d::extension::CCControlButton::setTitleForState from 0x5a19d4 to 0x5a1a0c (56 bytes) // // 0 xrefs: // // 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 cocos2d::extension::CCControlButton::setTitleForState( cocos2d::extension::CCControlButton *a1, cocos2d::CCString *a2, unsigned int a3) { cocos2d::CCDictionary::removeObjectForKey((cocos2d::CCDictionary *)a1[1].m_nZOrder, a3); if ( a2 ) cocos2d::CCDictionary::setObject((cocos2d::CCDictionary *)a1[1].m_nZOrder, a2, a3); if ( a1->m_eState == a3 ) a1->needsLayout(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source