// // cocos2d::extension::CCControlButton::getTitleBMFontForState from 0x100354780 to 0x1003547e6 (102 bytes) // // 2 xrefs: // > @ 0x100916200 // > @ 0x100947948 // // 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 *__fastcall cocos2d::extension::CCControlButton::getTitleBMFontForState( cocos2d::extension::CCControlButton *a1, unsigned int a2) { const void *v2; // rax void *v3; // rax cocos2d::CCLabelBMFont *v4; // rax v2 = (const void *)((__int64 (__fastcall *)(cocos2d::extension::CCControlButton *, unsigned int))a1->getTitleLabelForState)( a1, 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::CCLabelBMFont *)__dynamic_cast( v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelBMFont, 360)) != nullptr ) { return cocos2d::CCLabelBMFont::getFntFile(v4); } else { return ""; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source