// // cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize from 0x100353ba0 to 0x100353be4 (68 bytes) // // 2 xrefs: // > @ 0x100916198 // > @ 0x1009478e0 // // 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 // __int64 __fastcall cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize( __int64 a1, __int64 a2, const char *a3, float a4) { const char *v4; // rsi cocos2d::CCLabelTTF *v5; // r14 cocos2d::extension::CCScale9Sprite *v6; // rax if ( (*(_BYTE *)a2 & 1) != 0 ) v4 = *(const char **)(a2 + 16); else v4 = (const char *)(a2 + 1); v5 = cocos2d::CCLabelTTF::create_2(v4, a3, a4); v6 = cocos2d::extension::CCScale9Sprite::create_4(); return (*(__int64 (__fastcall **)(__int64, cocos2d::CCLabelTTF *, cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)a1 + 1400LL))( a1, v5, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source