//
// sub_1003F2F38 from 0x1003f2f38 to 0x1003f2f78 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x100240460
// > sub_1002E7638 @ 0x1002e763c
// > cocos2d::CCActionManager::addAction @ 0x10039112c
// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x1003912a0
//
// This function is hookable on this platform (idp: arm, 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:04:31 +0000
//
bool __fastcall sub_1003F2F38(__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;
}