//
// cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState from 0x7a74b0 to 0x7a74ce (30 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:59 +0000
//
int __fastcall cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState(
cocos2d::extension::CCControlButton *this,
cocos2d::CCSpriteFrame *a2,
unsigned int a3)
{
int v5; // r0
v5 = cocos2d::extension::CCScale9Sprite::createWithSpriteFrame(a2, a2);
return (*(int (__fastcall **)(cocos2d::extension::CCControlButton *, int, unsigned int))(*(_DWORD *)this + 772))(
this,
v5,
a3);
}