//
// cocos2d::CCScheduler::resumeTargets from 0x1800c5330 to 0x1800c53f1 (193 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c37e0
//
// 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 11:22:26 +0000
//
void __fastcall cocos2d::CCScheduler::resumeTargets(cocos2d::CCScheduler *this, struct cocos2d::CCSet *a2)
{
__int64 *v4; // rbx
__int64 **v5; // rcx
__int64 *i; // rax
__int64 *j; // rcx
__int64 v8; // [rsp+40h] [rbp+18h] BYREF
__int64 v9; // [rsp+48h] [rbp+20h] BYREF
v4 = (__int64 *)*cocos2d::CCSet::begin((__int64)a2, &v9);
while ( v4 != (__int64 *)*cocos2d::CCSet::end((__int64)a2, &v8) )
{
cocos2d::CCScheduler::resumeTarget(this, (struct cocos2d::CCObject *)v4[4]);
v5 = (__int64 **)v4[2];
if ( *((_BYTE *)v5 + 25) )
{
for ( i = (__int64 *)v4[1]; !*((_BYTE *)i + 25); i = (__int64 *)i[1] )
{
if ( v4 != (__int64 *)i[2] )
break;
v4 = i;
}
v4 = i;
}
else
{
v4 = (__int64 *)v4[2];
for ( j = *v5; !*((_BYTE *)j + 25); j = (__int64 *)*j )
v4 = j;
}
}
}