//
// cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState from 0xd0cd1c to 0xd0cd5c (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x102f40
// > ??> @ 0x150aa80
// > ??> @ 0x1510200
//
// 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::setBackgroundSpriteFrameForState(
cocos2d::extension::CCControlButton *this,
cocos2d::CCSpriteFrame *a2,
__int64 a3)
{
__int64 v4; // x0
v4 = cocos2d::extension::CCScale9Sprite::createWithSpriteFrame(a2, a2);
return (*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *, __int64, __int64))(*(_QWORD *)this + 1544LL))(
this,
v4,
a3);
}