//
// cocos2d::extension::CCControlButton::setSelected from 0x180006120 to 0x18000614a (42 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800240f8
// > ??> @ 0x180027f40
// > ??> @ 0x18002fdf8
// > ??> @ 0x1800495a0
//
// 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
//
void __fastcall cocos2d::extension::CCControlButton::setSelected(cocos2d::extension::CCControlButton *this, char a2)
{
__int64 v2; // rax
v2 = *(_QWORD *)this;
*((_BYTE *)this + 442) = a2;
(*(void (**)(void))(v2 + 1064))();
(*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1064LL))(this);
}