// // cocos2d::extension::CCControlButton::setTitleLabelForState from 0xa9ac2c to 0xa9ad48 (284 bytes) // // 3 xrefs: // > @ 0x6e3b8 // > @ 0x11f5288 // > @ 0x11fa898 // // 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::setTitleLabelForState( cocos2d::extension::CCControlButton *a1, cocos2d::CCNode *a2, unsigned int a3) { intptr_t v3; // x22 cocos2d::CCNode *v7; // x1 void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 cocos2d::CCPoint v9; // [xsp+50h] [xbp+50h] BYREF v3 = a3; v7 = (cocos2d::CCNode *)cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)&a1[1].m_fVertexZ, a3); if ( v7 ) { a1->removeChild_0(a1, v7, 1); cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)&a1[1].m_fVertexZ, v3); } cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)&a1[1].m_fVertexZ, a2, v3); a2->setVisible(a2, 0); setAnchorPoint = a2->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v9, 0.5, 0.5); setAnchorPoint(a2, &v9); a1->addChild_0(a1, a2, 1); if ( a3 == a1->m_eState ) a1->needsLayout(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source