// // cocos2d::extension::CCControlButton::getTitleTTFSizeForState from 0x7a72e0 to 0x7a7322 (66 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:59:59 +0000 // int __fastcall cocos2d::extension::CCControlButton::getTitleTTFSizeForState( cocos2d::extension::CCControlButton *this, unsigned int a2) { const void *v2; // r0 void *v3; // r0 cocos2d::CCLabelTTF *v4; // r0 v2 = (const void *)(*(int (__fastcall **)(cocos2d::extension::CCControlButton *, unsigned int))(*(_DWORD *)this + 736))( this, 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 cocos2d::CCLabelTTF::getFontSize(v4); } else { return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source