// // cocos2d::extension::CCControlButton::setTitleBMFontForState from 0x7a7c80 to 0x7a7cfc (124 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 12:00:00 +0000 // int __fastcall cocos2d::extension::CCControlButton::setTitleBMFontForState( cocos2d::extension::CCControlButton *this, const char *a2, unsigned int a3) { cocos2d::CCString *v6; // r4 int (__fastcall *v7)(cocos2d::extension::CCControlButton *, int, unsigned int); // r5 cocos2d::CCLabelBMFont *CString; // r0 const char *v9; // r2 int v10; // r0 int v12[3]; // [sp+0h] [bp-14h] BYREF v6 = (cocos2d::CCString *)(*(int (__fastcall **)(cocos2d::extension::CCControlButton *, unsigned int))(*(_DWORD *)this + 720))( this, a3); if ( !v6 ) { memset(v12, 0, sizeof(v12)); std::string::__init(v12, &unk_B6B226, 0); v6 = (cocos2d::CCString *)cocos2d::CCString::create(v12); std::string::~string((int)v12); } v7 = *(int (__fastcall **)(cocos2d::extension::CCControlButton *, int, unsigned int))(*(_DWORD *)this + 740); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v6); v10 = cocos2d::CCLabelBMFont::create(CString, a2, v9); return v7(this, v10, a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source