//
// cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0x180005a30 to 0x180005a7c (76 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800266d8
// > ??> @ 0x18002a650
// > ??> @ 0x180032408
// > ??> @ 0x18004b4c8
//
// This function is hookable on this platform (idp: pc, 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 12:15:35 +0000
//
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_180025968, "Arial", 30.0);
return (*(bool (__fastcall **)(cocos2d::extension::CCControlButton *, struct cocos2d::CCLabelTTF *, struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)this + 1184LL))(
this,
v4,
a2);
}