//
// cocos2d::CCScheduler::resumeTargets from 0xd252a8 to 0xd25338 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x9a258
//
// 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 13:07:13 +0000
//
__int64 __fastcall cocos2d::CCScheduler::resumeTargets(cocos2d::CCScheduler *this, cocos2d::CCSet *a2)
{
__int64 v4; // x19
__int64 result; // x0
_QWORD *v6; // x0
__int64 v7; // x0
bool v8; // zf
v4 = cocos2d::CCSet::begin(a2);
while ( 1 )
{
result = cocos2d::CCSet::end(a2);
if ( v4 == result )
break;
while ( 1 )
{
cocos2d::CCScheduler::resumeTarget((__int64)this, *(cocos2d::CCObject **)(v4 + 32));
v6 = *(_QWORD **)(v4 + 8);
if ( !v6 )
break;
do
{
v4 = (__int64)v6;
v6 = (_QWORD *)*v6;
}
while ( v6 );
result = cocos2d::CCSet::end(a2);
if ( v4 == result )
return result;
}
v7 = v4;
do
{
v4 = *(_QWORD *)(v4 + 16);
v8 = v7 == *(_QWORD *)v4;
v7 = v4;
}
while ( !v8 );
}
return result;
}