//
// sub_100667500 from 0x100667500 to 0x10066753d (61 bytes)
//
// 4 xrefs:
// > cocos2d::CCActionManager::addAction @ 0x1002340f0
// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x100234269
// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x10044344c
// > sub_100720160 @ 0x100720169
//
// 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_100667500(__int64 a1, __int64 a2)
{
__int64 v2; // rax
if ( !*(_DWORD *)a1 )
return 0;
v2 = 0;
while ( *(_QWORD *)(*(_QWORD *)(a1 + 16) + 8 * v2) != a2 )
{
if ( *(_DWORD *)a1 == (_DWORD)++v2 )
{
LODWORD(v2) = -1;
return (_DWORD)v2 != -1;
}
}
return (_DWORD)v2 != -1;
}