//
// ScrollableContentLayer::handleTouchCancelled from 0x3f4dd8 to 0x3f4e08 (48 bytes)
//
// 13 xrefs:
// > CCTextInputNode::ccTouchCancelled @ 0x3dcc2e
// > ScrollableContentLayer::feedTouchCancelled @ 0x3f5084
// > KeybindingsLayer::ccTouchCancelled @ 0x589148
// > SetGroupIDLayer::ccTouchCancelled @ 0x6395f4
// > NewsPopup::ccTouchCancelled @ 0x6c1694
// > ScrollViewPopup::ccTouchCancelled @ 0x6ca11e
// > DeathTrackerPopup::ccTouchCancelled @ 0x770b96
// > DropdownListPopup::ccTouchCancelled @ 0x77711c
// > EditorSFXActionConfigLayer::ccTouchCancelled @ 0x77bd3c
// > EditorSoundConfigInfoLayer::ccTouchCancelled @ 0x784a56
// > EditorSoundsLayer::ccTouchCancelled @ 0x78a164
// > EditorWindowPopup::ccTouchCancelled @ 0x78c802
// > EditorWindowPopup::beginTouch @ 0x78d112
//
// 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:47:16 +0000
//
int __fastcall ScrollableContentLayer::handleTouchCancelled(int this, cocos2d::CCTouch *a2)
{
if ( *((_DWORD *)a2 + 13) == *(_DWORD *)(this + 340) )
{
*(_DWORD *)(this + 368) = 0;
*(_DWORD *)(this + 372) = 0;
*(_DWORD *)(this + 340) = -1;
*(_BYTE *)(this + 376) = 0;
*(_BYTE *)(this + 396) = 0;
*(_BYTE *)(this + 377) = 0;
return cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)this);
}
return this;
}