//
// cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0x180006010 to 0x180006059 (73 bytes)
//
// 4 xrefs:
// > ??> @ 0x180024190
// > ??> @ 0x180027fd8
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004957c
//
// 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 __fastcall cocos2d::extension::CCControlButton::initWithBackgroundSprite(
cocos2d::extension::CCControlButton *this,
struct cocos2d::extension::CCScale9Sprite *a2)
{
struct cocos2d::CCLabelTTF *v4; // rax
v4 = cocos2d::CCLabelTTF::create(byte_180023460, "Arial", 30.0);
return (*(bool (__fastcall **)(cocos2d::extension::CCControlButton *, struct cocos2d::CCLabelTTF *, struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)this + 1168LL))(
this,
v4,
a2);
}