// // cocos2d::extension::CCControlButton::getTitleTTFSizeForState from 0x180006970 to 0x1800069d8 (104 bytes) // // 4 xrefs: // > @ 0x1800241e0 // > @ 0x180028028 // > @ 0x18002fdf8 // > @ 0x18004969c // // 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 __fastcall cocos2d::extension::CCControlButton::getTitleTTFSizeForState( cocos2d::extension::CCControlButton *this) { __int64 v1; // rax __int64 v2; // rax cocos2d::CCLabelTTF *v3; // rax v1 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1224LL))(this); v2 = _RTDynamicCast( v1, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCLabelProtocol `RTTI Type Descriptor', 0); v3 = (cocos2d::CCLabelTTF *)_RTDynamicCast( v2, 0, &cocos2d::CCLabelProtocol `RTTI Type Descriptor', &cocos2d::CCLabelTTF `RTTI Type Descriptor', 0); if ( v3 ) return cocos2d::CCLabelTTF::getFontSize(v3); else return 0.0; }