//
// cocos2d::extension::CCControl::setSelected from 0x7a6612 to 0x7a661e (12 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlButton::setSelected @ 0x7a805e
//
// 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:57 +0000
//
int __fastcall cocos2d::extension::CCControl::setSelected(cocos2d::extension::CCControl *this, bool a2)
{
int v2; // r3
v2 = *(_DWORD *)this;
*((_BYTE *)this + 338) = a2;
return (*(int (**)(void))(v2 + 656))();
}