//
// sub_1800A1470 from 0x1800a1470 to 0x1800a149c (44 bytes)
//
// 5 xrefs:
// > cocos2d::CCArray::containsObject @ 0x180006a04
// > cocos2d::CCActionManager::addAction @ 0x18003850e
// > cocos2d::CCActionManager::removeAllActions @ 0x180038efe
// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x180039092
// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c5f88
//
// 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 11:22:13 +0000
//
bool __fastcall sub_1800A1470(__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;
}