// // cocos2d::CCActionManager::numberOfRunningActionsInTarget from 0xd37e20 to 0xd37f7c (348 bytes) // // 2 xrefs: // > cocos2d::CCNode::numberOfRunningActions @ 0xd3effc // > @ 0x7a290 // // This function is hookable on this platform (idp: arm, 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 13:07:24 +0000 // unsigned int *__fastcall cocos2d::CCActionManager::numberOfRunningActionsInTarget( cocos2d::CCActionManager *this, cocos2d::CCObject *a2) { __int64 v2; // x5 int v3; // w0 unsigned int v4; // w2 unsigned int v5; // w1 __int64 v6; // x20 int v7; // w0 unsigned int v8; // w2 unsigned int v9; // w1 int v10; // w0 __int64 v11; // x0 unsigned int **v12; // x19 unsigned int *result; // x0 cocos2d::CCObject *v14; // [xsp+38h] [xbp+38h] BYREF v14 = a2; v2 = *((_QWORD *)this + 7); if ( !v2 ) return nullptr; v3 = ((unsigned __int8)v14 + 17973517 + (BYTE3(v14) << 24) + (BYTE2(v14) << 16) + (BYTE1(v14) << 8)) ^ 0x7F76D; v4 = (-1622558010 - v3) ^ (v3 << 8); v5 = (-17973517 - v3 - v4) ^ (v4 >> 13); v6 = *(_QWORD *)(v2 + 40); v7 = (v3 - v4 - v5) ^ (v5 >> 12); v8 = (v4 - v5 - v7) ^ (v7 << 16); v9 = (v5 - v7 - v8) ^ (v8 >> 5); v10 = (v7 - v8 - v9) ^ (v9 >> 3); v11 = *(_QWORD *)(*(_QWORD *)v6 + 16LL * (((v9 - v10 - ((v8 - v9 - v10) ^ (v10 << 10))) ^ (((v8 - v9 - v10) ^ (v10 << 10)) >> 15)) & (*(_DWORD *)(v6 + 8) - 1))); v12 = v11 ? (unsigned int **)(v11 - *(_QWORD *)(v6 + 32)) : nullptr; if ( !v12 ) return nullptr; while ( *((_DWORD *)v12 + 22) != 4 || memcmp(v12[10], &v14, 4u) ) { result = v12[9]; if ( !result ) return result; v12 = (unsigned int **)((char *)result - *(_QWORD *)(v6 + 32)); if ( !v12 ) return nullptr; } result = *v12; if ( *v12 ) return (unsigned int *)*result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source