//
// cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0xd0c510 to 0xd0c560 (80 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCEditBox::initWithSizeAndBackgroundSprite @ 0xd1b618
// > ??> @ 0x8e528
// > ??> @ 0x150aa08
// > ??> @ 0x1510188
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:00 +0000
//
__int64 __fastcall cocos2d::extension::CCControlButton::initWithBackgroundSprite(
cocos2d::extension::CCControlButton *this,
cocos2d::extension::CCScale9Sprite *a2,
const char *a3)
{
__int64 v4; // x0
v4 = cocos2d::CCLabelTTF::create((cocos2d::CCLabelTTF *)&byte_11B8890, "Arial", a3, 30.0);
return (*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *, __int64, cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)this + 1416LL))(
this,
v4,
a2);
}