//
// cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState from 0xa9b144 to 0xa9b184 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0xc70b0
// > ??> @ 0x11f52d0
// > ??> @ 0x11fa8e0
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState(
cocos2d::extension::CCControlButton *a1,
cocos2d::CCSpriteFrame *a2,
unsigned int a3)
{
cocos2d::extension::CCScale9Sprite *v4; // x0
__int64 v5; // [xsp+28h] [xbp+28h]
v5 = *(_QWORD *)&a3;
v4 = cocos2d::extension::CCScale9Sprite::createWithSpriteFrame(a2);
a1->setBackgroundSpriteForState(a1, v4, v5);
}