//
// cocos2d::extension::CCControlButton::ccTouchCancelled from 0x5a11ee to 0x5a1210 (34 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlButton::ccTouchCancelled @ 0x5a1214
//
// 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 cocos2d::extension::CCControlButton::ccTouchCancelled(
cocos2d::extension::CCControlButton *a1,
cocos2d::CCTouch *a2,
cocos2d::CCEvent *a3)
{
cocos2d::extension::CCControlButton_vtbl *v3; // r3
v3 = a1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
LOBYTE(a1[1].m_unknown2) = 0;
((void (*)(void))v3->setHighlighted)();
a1->sendActionsForControlEvents(a1, 128);
}