// // cocos2d::extension::CCControlButton::init from 0xa9a994 to 0xa9a9e8 (84 bytes) // // 3 xrefs: // > @ 0x63d68 // > @ 0x11f4d20 // > @ 0x11fa330 // // 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 // bool cocos2d::extension::CCControlButton::init(cocos2d::extension::CCControlButton *a1) { bool (__fastcall *initWithLabelAndBackgroundSprite)(cocos2d::extension::CCControlButton *__hidden, cocos2d::CCNode *, cocos2d::extension::CCScale9Sprite *); // x20 cocos2d::extension::CCScale9Sprite *v3; // x0 __int64 v5; // [xsp+28h] [xbp+28h] initWithLabelAndBackgroundSprite = a1->initWithLabelAndBackgroundSprite; v5 = cocos2d::CCLabelTTF::create( (cocos2d::CCLabelTTF *)&byte_F288A0, "Helvetica", (const char *)a1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable, 12.0); v3 = cocos2d::extension::CCScale9Sprite::create(); return initWithLabelAndBackgroundSprite(a1, (cocos2d::CCNode *)v5, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source