//
// ScrollableContentLayer::handleTouchCancelled from 0x6e22a8 to 0x6e22e0 (56 bytes)
//
// 14 xrefs:
// > CCTextInputNode::ccTouchCancelled @ 0x6b8780
// > ScrollableContentLayer::feedTouchCancelled @ 0x6e29d0
// > KeybindingsLayer::ccTouchCancelled @ 0x9950ac
// > SetGroupIDLayer::ccTouchCancelled @ 0xab901c
// > NewsPopup::ccTouchCancelled @ 0xb8a428
// > ScrollViewPopup::ccTouchCancelled @ 0xb99738
// > DeathTrackerPopup::ccTouchCancelled @ 0xca9c48
// > DropdownListPopup::ccTouchCancelled @ 0xcb6148
// > EditorSFXActionConfigLayer::ccTouchCancelled @ 0xcbde10
// > EditorSoundConfigInfoLayer::ccTouchCancelled @ 0xccca70
// > EditorSoundsLayer::ccTouchCancelled @ 0xcd5bbc
// > EditorWindowPopup::ccTouchCancelled @ 0xcd9374
// > EditorWindowPopup::beginTouch @ 0xcd9f60
// > ??> @ 0x103978
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:51:40 +0000
//
__int64 __fastcall ScrollableContentLayer::handleTouchCancelled(__int64 this, cocos2d::CCTouch *a2)
{
if ( *((_DWORD *)a2 + 14) == *(_DWORD *)(this + 440) )
{
*(_BYTE *)(this + 480) = 0;
*(_DWORD *)(this + 440) = -1;
*(_BYTE *)(this + 508) = 0;
*(_BYTE *)(this + 481) = 0;
*(_DWORD *)(this + 472) = 0;
*(_DWORD *)(this + 476) = 0;
return cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)this);
}
return this;
}