//
// sub_100353648 from 0x100353648 to 0x100353688 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1001ab6e4
// > sub_10024A420 @ 0x10024a424
// > cocos2d::CCActionManager::addAction @ 0x1002f49b0
// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x1002f4b24
//
// 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_100353648(__int64 a1, __int64 a2)
{
__int64 v2; // x8
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;
}