// // cocos2d::extension::CCControlButton::getTitleBMFontForState from 0xd0cacc to 0xd0cb40 (116 bytes) // // 3 xrefs: // > @ 0x49a50 // > @ 0x150aa68 // > @ 0x15101e8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:07:00 +0000 // char *__fastcall cocos2d::extension::CCControlButton::getTitleBMFontForState(cocos2d::extension::CCControlButton *this) { const void *v1; // x0 void *v2; // x0 cocos2d::CCLabelBMFont *v3; // x0 v1 = (const void *)(*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1472LL))(this); if ( v1 && (v2 = _dynamic_cast( v1, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2)) != nullptr && (v3 = (cocos2d::CCLabelBMFont *)_dynamic_cast( v2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelBMFont, 360)) != nullptr ) { return (char *)cocos2d::CCLabelBMFont::getFntFile(v3); } else { return &byte_11B8890; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source