//
// cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0x7a6f7c to 0x7a6fa2 (38 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCEditBox::initWithSizeAndBackgroundSprite @ 0x7b092a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:59 +0000
//
int __fastcall cocos2d::extension::CCControlButton::initWithBackgroundSprite(
cocos2d::extension::CCControlButton *this,
cocos2d::extension::CCScale9Sprite *a2,
int a3,
float a4)
{
int v6; // r0
v6 = cocos2d::CCLabelTTF::create((cocos2d::CCLabelTTF *)&unk_B6B226, "Arial", (const char *)0x41F00000, a4);
return (*(int (__fastcall **)(cocos2d::extension::CCControlButton *, int, cocos2d::extension::CCScale9Sprite *))(*(_DWORD *)this + 708))(
this,
v6,
a2);
}