//
// cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0x5a12d0 to 0x5a12f6 (38 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCEditBox::initWithSizeAndBackgroundSprite @ 0x5aacb2
//
// 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)
{
float v2; // r3
cocos2d::CCNode *v5; // r0
v5 = (cocos2d::CCNode *)cocos2d::CCLabelTTF::create(
(cocos2d::CCLabelTTF *)&unk_939830,
"Arial",
(const char *)0x41F00000,
v2);
return a1->initWithLabelAndBackgroundSprite(a1, v5, a2);
}