//
// cocos2d::extension::CCControlButton::init from 0x5a1304 to 0x5a1330 (44 bytes)
//
// 0 xrefs:
//
// 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 *); // r5
cocos2d::CCNode *v3; // r6
cocos2d::extension::CCScale9Sprite *v4; // r0
initWithLabelAndBackgroundSprite = a1->initWithLabelAndBackgroundSprite;
v3 = (cocos2d::CCNode *)cocos2d::CCLabelTTF::create(
(cocos2d::CCLabelTTF *)&unk_939830,
"Helvetica",
(const char *)0x41400000,
*(float *)&a1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable);
v4 = cocos2d::extension::CCScale9Sprite::create();
return initWithLabelAndBackgroundSprite(a1, v3, v4);
}