//
// sub_100353614 from 0x100353614 to 0x100353648 (52 bytes)
//
// 1 xrefs:
// > cocos2d::CCActionManager::removeAction @ 0x1002f4c84
//
// 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
//
__int64 __fastcall sub_100353614(int *a1, __int64 a2)
{
int v2; // w9
__int64 result; // x0
__int64 v5; // x8
v2 = *a1;
if ( !*a1 )
return 0xFFFFFFFFLL;
result = 0;
v5 = *((_QWORD *)a1 + 2);
while ( *(_QWORD *)(v5 + 8 * result) != a2 )
{
if ( v2 == (_DWORD)++result )
return 0xFFFFFFFFLL;
}
return result;
}