//
// sub_10042DD80 from 0x10042dd80 to 0x10042ddca (74 bytes)
//
// 1 xrefs:
// > ??> @ 0x100935a78
//
// 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 sub_10042DD80(__int64 a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
__int64 v4; // r14
__int64 v5; // rdi
v4 = a1 - 320;
cocos2d::extension::CCScrollView::ccTouchCancelled((cocos2d::extension::CCScrollView *)(a1 - 320), a2, a3);
if ( *(_QWORD *)(a1 + 256) )
{
v5 = *(_QWORD *)(a1 + 328);
if ( v5 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 48LL))(v5, v4);
*(_QWORD *)(a1 + 256) = 0;
}
}