//
// cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState from 0x1800067a0 to 0x1800067d8 (56 bytes)
//
// 4 xrefs:
// > ??> @ 0x180026750
// > ??> @ 0x18002a6c8
// > ??> @ 0x180032408
// > ??> @ 0x18004b624
//
// 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:36 +0000
//
void __fastcall cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState(
cocos2d::extension::CCControlButton *this,
struct cocos2d::CCSpriteFrame *a2,
unsigned int a3)
{
struct cocos2d::extension::CCScale9Sprite *v5; // rax
v5 = cocos2d::extension::CCScale9Sprite::createWithSpriteFrame(a2);
(*(void (__fastcall **)(cocos2d::extension::CCControlButton *, struct cocos2d::extension::CCScale9Sprite *, _QWORD))(*(_QWORD *)this + 1312LL))(
this,
v5,
a3);
}