//
// cocos2d::CCActionManager::resumeTarget from 0x1002f44c8 to 0x1002f45c0 (248 bytes)
//
// 1 xrefs:
// > cocos2d::CCNode::resumeSchedulerAndActions @ 0x10023c1d0
//
// 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
//
void __fastcall cocos2d::CCActionManager::resumeTarget(cocos2d::CCActionManager *a1, cocos2d::CCObject *a2)
{
cocos2d::_hashElement *m_pTargets; // x8
int v3; // w9
unsigned int v4; // w10
unsigned int v5; // w11
int v6; // w9
unsigned int v7; // w10
unsigned int v8; // w11
int v9; // w9
__int64 v10; // x8
__int64 v11; // x9
__int64 v12; // x8
__int64 v13; // x9
m_pTargets = a1->m_pTargets;
if ( m_pTargets )
{
v3 = ((_DWORD)a2 + 17973517) ^ 0x7F76D;
v4 = (-1622558010 - v3) ^ (v3 << 8);
v5 = (-17973517 - v3 - v4) ^ (v4 >> 13);
v6 = (v3 - v4 - v5) ^ (v5 >> 12);
v7 = (v4 - v5 - v6) ^ (v6 << 16);
v8 = (v5 - v6 - v7) ^ (v7 >> 5);
v9 = (v6 - v7 - v8) ^ (v8 >> 3);
v10 = *((_QWORD *)m_pTargets + 5);
v11 = *(_QWORD *)(*(_QWORD *)v10
+ 16LL
* (((v8 - v9 - ((v7 - v8 - v9) ^ (v9 << 10)))
^ (((v7 - v8 - v9) ^ (v9 << 10)) >> 15))
& (*(_DWORD *)(v10 + 8) - 1)));
if ( v11 )
{
v12 = -*(_QWORD *)(v10 + 32);
while ( 1 )
{
v13 = v11 + v12;
if ( *(_DWORD *)(v13 + 88) == 4 && **(_DWORD **)(v13 + 80) == (_DWORD)a2 )
break;
v11 = *(_QWORD *)(v13 + 72);
if ( !v11 )
return;
}
*(_BYTE *)(v13 + 33) = 0;
}
}
}