// // cocos2d::extension::CCControlButton::getTitleBMFontForState from 0x5a177c to 0x5a17cc (80 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 // const char *cocos2d::extension::CCControlButton::getTitleBMFontForState( cocos2d::extension::CCControlButton *a1, unsigned int a2) { cocos2d::CCNode *v2; // r0 void *v3; // r0 cocos2d::CCLabelBMFont *v4; // r0 v2 = a1->getTitleLabelForState(a1, a2); if ( !v2 ) return (const char *)&unk_939830; v3 = _dynamic_cast( v2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2); if ( !v3 ) return (const char *)&unk_939830; v4 = (cocos2d::CCLabelBMFont *)_dynamic_cast( v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelBMFont, 288); if ( v4 ) return cocos2d::CCLabelBMFont::getFntFile(v4); else return (const char *)&unk_939830; }
GD Web Decomp Icon

GD Web Decomp

Raw Source