// // cocos2d::extension::CCControlButton::getTitleTTFSizeForState from 0x5a16ac to 0x5a16ee (66 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 // float cocos2d::extension::CCControlButton::getTitleTTFSizeForState( cocos2d::extension::CCControlButton *a1, unsigned int a2) { cocos2d::CCNode *v2; // r0 void *v3; // r0 cocos2d::CCLabelTTF *v4; // r0 v2 = a1->getTitleLabelForState(a1, a2); if ( v2 && (v3 = _dynamic_cast( v2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2)) != nullptr && (v4 = (cocos2d::CCLabelTTF *)_dynamic_cast( v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelTTF, 508)) != nullptr ) { return COERCE_FLOAT(cocos2d::CCLabelTTF::getFontSize(v4)); } else { return 0.0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source