// // cocos2d::extension::CCControlButton::getTitleTTFForState from 0x180006880 to 0x1800068ec (108 bytes) // // 4 xrefs: // > @ 0x1800241d0 // > @ 0x180028018 // > @ 0x18002fdf8 // > @ 0x180049684 // // 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 // char *__fastcall cocos2d::extension::CCControlButton::getTitleTTFForState(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 (char *)cocos2d::CCLabelTTF::getFontName(v3); else return byte_180023460; }