// // cocos2d::CCActionManager::numberOfRunningActionsInTarget from 0x5b9e34 to 0x5b9ee6 (178 bytes) // // 1 xrefs: // > cocos2d::CCNode::numberOfRunningActions @ 0x5be232 // // 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 // unsigned int cocos2d::CCActionManager::numberOfRunningActionsInTarget( cocos2d::CCActionManager *a1, cocos2d::CCObject *a2) { unsigned int result; // r0 _DWORD *v3; // r5 int v4; // r1 unsigned int v5; // r2 unsigned int v6; // r3 int v7; // r1 unsigned int v8; // r2 unsigned int v9; // r3 int v10; // r1 int v11; // r4 cocos2d::CCObject *v12; // [sp+4h] [bp-4h] BYREF v12 = a2; result = (unsigned int)a1->m_pTargets; v12 = a2; if ( result ) { v3 = *(_DWORD **)(result + 20); v4 = ((unsigned __int8)v12 + 17973517 + (HIBYTE(v12) << 24) + (BYTE2(v12) << 16) + (BYTE1(v12) << 8)) ^ 0x7F76D; v5 = (-1622558010 - v4) ^ (v4 << 8); v6 = (-17973517 - v4 - v5) ^ (v5 >> 13); v7 = (v4 - v5 - v6) ^ (v6 >> 12); v8 = (v5 - v6 - v7) ^ (v7 << 16); v9 = (v6 - v7 - v8) ^ (v8 >> 5); v10 = (v7 - v8 - v9) ^ (v9 >> 3); v11 = *(_DWORD *)(*v3 + 12 * (((v9 - v10 - ((v8 - v9 - v10) ^ (v10 << 10))) ^ (((v8 - v9 - v10) ^ (v10 << 10)) >> 15)) & (v3[1] - 1))); if ( v11 ) v11 -= v3[5]; while ( 1 ) { if ( !v11 ) return 0; if ( *(_DWORD *)(v11 + 44) == 4 && !memcmp(*(const void **)(v11 + 40), &v12, 4u) ) break; result = *(_DWORD *)(v11 + 36); if ( !result ) return result; v11 = result - v3[5]; } result = *(_DWORD *)v11; if ( *(_DWORD *)v11 ) return *(_DWORD *)result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source