//
// cocos2d::extension::CCControlButton::ccTouchCancelled from 0x180007710 to 0x180007749 (57 bytes)
//
// 4 xrefs:
// > ??> @ 0x180023cb0
// > ??> @ 0x180027af8
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049774
//
// 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::ccTouchCancelled(
cocos2d::extension::CCControlButton *this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
char *v3; // rbx
v3 = (char *)this - 320;
*((_BYTE *)this + 204) = 0;
(*(void (__fastcall **)(char *, _QWORD, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1048LL))(
(char *)this - 320,
0,
a3);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 1072LL))(v3, 128);
}