//
// sub_1006FFF20 from 0x1006fff20 to 0x1006fff7f (95 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b96400
//
// 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 12:35:58 +0000
//
__int64 __fastcall sub_1006FFF20(__int64 a1, __int64 a2)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 344) )
{
CCScrollLayerExt::ccTouchCancelled(a1 - 320);
result = (__int64)TableView::touchFinish(a1 - 320, a2);
if ( *(_BYTE *)(a1 + 216) == 1 )
{
result = cocos2d::CCNode::unschedule(a1 - 320, (__int64)TableView::checkBoundaryOfContent, 0);
*(_BYTE *)(a1 + 216) = 0;
}
}
return result;
}