//
// sub_100746A30 from 0x100746a30 to 0x100746a6d (61 bytes)
//
// 4 xrefs:
// > cocos2d::CCActionManager::addAction @ 0x100218930
// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x100218aa9
// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x10043783c
// > sub_1007FF080 @ 0x1007ff089
//
// 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 12:36:31 +0000
//
bool __fastcall sub_100746A30(__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;
}