// // cocos2d::extension::CCControlButton::setTitleBMFontForState from 0xd0d994 to 0xd0da90 (252 bytes) // // 3 xrefs: // > @ 0xe3080 // > @ 0x150aa60 // > @ 0x15101e0 // // 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:01 +0000 // __int64 __fastcall cocos2d::extension::CCControlButton::setTitleBMFontForState( cocos2d::extension::CCControlButton *this, const char *a2, unsigned int a3) { __int64 v6; // x21 cocos2d::CCString *v7; // x0 void (__fastcall *v8)(cocos2d::extension::CCControlButton *, __int64, _QWORD); // x21 cocos2d::CCLabelBMFont *CString; // x0 const char *v10; // x2 __int64 v11; // x0 __int64 v13[2]; // [xsp+40h] [xbp+40h] BYREF void *v14; // [xsp+50h] [xbp+50h] v6 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *, _QWORD))(*(_QWORD *)this + 1440LL))(this, a3); if ( !v6 ) { v13[0] = 0; v13[1] = 0; v14 = nullptr; std::string::__init(v13, &byte_11B8890, 0); v6 = cocos2d::CCString::create(v13); if ( (v13[0] & 1) != 0 ) operator delete(v14); } v7 = (cocos2d::CCString *)v6; v8 = *(void (__fastcall **)(cocos2d::extension::CCControlButton *, __int64, _QWORD))(*(_QWORD *)this + 1480LL); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v7); v11 = cocos2d::CCLabelBMFont::create(CString, a2, v10); v8(this, v11, a3); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source