//
// ScrollViewPopup::ccTouchCancelled from 0x140622320 to 0x140622392 (114 bytes)
//
// 4 xrefs:
// > ??> @ 0x1407b6eb0
// > ??> @ 0x1407b6f10
// > ??> @ 0x140816ce0
// > ??> @ 0x1409304e8
//
// This function is hookable on this platform (idp: pc, 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 11:35:22 +0000
//
__int64 __fastcall ScrollViewPopup::ccTouchCancelled(__int64 a1, __int64 a2)
{
__int64 v3; // rcx
v3 = *(_QWORD *)(a1 + 352);
if ( v3 && *(_DWORD *)(a2 + 56) == *(_DWORD *)(v3 + 440) )
{
*(_DWORD *)(v3 + 440) = -1;
*(_QWORD *)(v3 + 472) = 0;
*(_WORD *)(v3 + 480) = 0;
*(_BYTE *)(v3 + 508) = 0;
cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)v3);
}
return FLAlertLayer::ccTouchCancelled(a1, a2);
}