// // cocos2d::extension::CCControlButton::setTitleTTFSizeForState from 0x1800068f0 to 0x180006968 (120 bytes) // // 4 xrefs: // > @ 0x1800241d8 // > @ 0x180028020 // > @ 0x18002fdf8 // > @ 0x180049690 // // 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 __fastcall cocos2d::extension::CCControlButton::setTitleTTFSizeForState( cocos2d::extension::CCControlButton *this, float a2, unsigned int a3) { __int64 v3; // rax __int64 v4; // rax cocos2d::CCLabelTTF *v5; // rax v3 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *, _QWORD))(*(_QWORD *)this + 1224LL))(this, a3); v4 = _RTDynamicCast( v3, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCLabelProtocol `RTTI Type Descriptor', 0); if ( v4 ) { v5 = (cocos2d::CCLabelTTF *)_RTDynamicCast( v4, 0, &cocos2d::CCLabelProtocol `RTTI Type Descriptor', &cocos2d::CCLabelTTF `RTTI Type Descriptor', 0); if ( v5 ) cocos2d::CCLabelTTF::setFontSize(v5, a2); } }