//
// sub_100668370 from 0x100668370 to 0x1006683b2 (66 bytes)
//
// 2 xrefs:
// > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x1004cbd51
// > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x1004cbf53
//
// 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
//
bool __fastcall sub_100668370(__int64 a1, __int64 a2)
{
__int64 v2; // rcx
if ( !*(_DWORD *)a1 )
return 0;
v2 = 0;
while ( *(_QWORD *)(*(_QWORD *)(a1 + 16) + 8 * v2) != a2 )
{
if ( *(_DWORD *)a1 == ++v2 )
return 0;
}
return v2 != 0xFFFFFFFFLL;
}