// // cocos2d::extension::CCControlButton::setTitleTTFSizeForState from 0x5a1658 to 0x5a169e (70 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::setTitleTTFSizeForState( cocos2d::extension::CCControlButton *a1, float a2, unsigned int a3) { cocos2d::CCNode *v4; // r0 void *v5; // r0 cocos2d::CCLabelTTF *v6; // r0 v4 = a1->getTitleLabelForState(a1, a3); if ( v4 ) { v5 = _dynamic_cast( v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2); if ( v5 ) { v6 = (cocos2d::CCLabelTTF *)_dynamic_cast( v5, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelTTF, 508); if ( v6 ) cocos2d::CCLabelTTF::setFontSize(v6, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source