//
// cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0xa9a944 to 0xa9a994 (80 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCEditBox::initWithSizeAndBackgroundSprite @ 0xaa9730
// > ??> @ 0x69150
// > ??> @ 0x11f5258
// > ??> @ 0x11fa868
//
// 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::initWithBackgroundSprite(
cocos2d::extension::CCControlButton *a1,
cocos2d::extension::CCScale9Sprite *a2)
{
const char *v2; // x2
cocos2d::CCNode *v4; // x0
v4 = (cocos2d::CCNode *)cocos2d::CCLabelTTF::create((cocos2d::CCLabelTTF *)&byte_F288A0, "Arial", v2, 30.0);
return a1->initWithLabelAndBackgroundSprite(a1, v4, a2);
}