//
// sub_18009D7E0 from 0x18009d7e0 to 0x18009d80c (44 bytes)
//
// 5 xrefs:
// > cocos2d::CCArray::containsObject @ 0x1800068c4
// > cocos2d::CCActionManager::addAction @ 0x180037df8
// > cocos2d::CCActionManager::removeAllActions @ 0x1800387db
// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x18003895f
// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c2685
//
// 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_18009D7E0(__int64 a1, __int64 a2)
{
unsigned int v2; // eax
_QWORD *v3; // r8
v2 = 0;
v3 = *(_QWORD **)(a1 + 16);
if ( *(_DWORD *)a1 )
{
while ( *v3 != a2 )
{
++v2;
++v3;
if ( v2 >= *(_DWORD *)a1 )
goto LABEL_4;
}
}
else
{
LABEL_4:
v2 = -1;
}
return v2 != -1;
}