//
// cocos2d::CCScheduler::resumeTargets from 0x100438110 to 0x10043819f (143 bytes)
//
// 0 xrefs:
//
// 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:30:25 +0000
//
__int64 __fastcall cocos2d::CCScheduler::resumeTargets(__int64 a1, __int64 a2)
{
_QWORD *v2; // r15
__int64 result; // rax
_QWORD *v4; // rax
_QWORD *v5; // r12
bool v6; // zf
v2 = (_QWORD *)cocos2d::CCSet::begin(a2);
result = cocos2d::CCSet::end(a2);
if ( v2 != (_QWORD *)result )
{
do
{
cocos2d::CCScheduler::resumeTarget(a1, v2[4]);
v4 = (_QWORD *)v2[1];
if ( v4 )
{
do
{
v5 = v4;
v4 = (_QWORD *)*v4;
}
while ( v4 );
}
else
{
do
{
v5 = (_QWORD *)v2[2];
v6 = *v5 == (_QWORD)v2;
v2 = v5;
}
while ( !v6 );
}
result = cocos2d::CCSet::end(a2);
v2 = v5;
}
while ( v5 != (_QWORD *)result );
}
return result;
}