//
// cocos2d::CCScheduler::pauseAllTargetsWithMinPriority from 0x7b60a0 to 0x7b6138 (152 bytes)
//
// 1 xrefs:
// > cocos2d::CCScheduler::pauseAllTargets @ 0x7b613c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:11 +0000
//
cocos2d::CCSet *__fastcall cocos2d::CCScheduler::pauseAllTargetsWithMinPriority(cocos2d::CCScheduler *this, int a2)
{
cocos2d::CCSet *v4; // r4
int i; // r5
int j; // r3
int k; // r3
int v8; // r5
int v9; // r5
int m; // r3
int v11; // r5
v4 = (cocos2d::CCSet *)operator new(0x38u);
cocos2d::CCSet::CCSet(v4);
cocos2d::CCObject::autorelease(v4);
for ( i = *((_DWORD *)this + 18); i; i = *(_DWORD *)(i + 28) )
{
*(_BYTE *)(i + 17) = 1;
cocos2d::CCSet::addObject(v4, *(cocos2d::CCObject **)(i + 4));
}
if ( a2 < 0 )
{
for ( j = *((_DWORD *)this + 14); j; j = v8 )
{
v8 = *(_DWORD *)(j + 4);
if ( *(_DWORD *)(j + 12) >= a2 )
{
*(_BYTE *)(j + 16) = 1;
cocos2d::CCSet::addObject(v4, *(cocos2d::CCObject **)(j + 8));
}
}
goto LABEL_7;
}
if ( !a2 )
{
LABEL_7:
for ( k = *((_DWORD *)this + 15); k; k = v9 )
{
v9 = *(_DWORD *)(k + 4);
*(_BYTE *)(k + 16) = 1;
cocos2d::CCSet::addObject(v4, *(cocos2d::CCObject **)(k + 8));
}
}
for ( m = *((_DWORD *)this + 16); m; m = v11 )
{
v11 = *(_DWORD *)(m + 4);
if ( *(_DWORD *)(m + 12) >= a2 )
{
*(_BYTE *)(m + 16) = 1;
cocos2d::CCSet::addObject(v4, *(cocos2d::CCObject **)(m + 8));
}
}
return v4;
}