// // cocos2d::CCActionManager::numberOfRunningActionsInTarget from 0x1800380b0 to 0x1800381bb (267 bytes) // // 2 xrefs: // > cocos2d::CCNode::numberOfRunningActions @ 0x18000417a // > @ 0x1801438a8 // // 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 // __int64 __fastcall cocos2d::CCActionManager::numberOfRunningActionsInTarget( cocos2d::CCActionManager *this, struct cocos2d::CCObject *a2) { cocos2d::_hashElement *m_pTargets; // r10 int v3; // r9d __int64 v4; // r11 int v5; // edx unsigned int v6; // r8d unsigned int v7; // ecx int v8; // edx unsigned int v9; // r8d unsigned int v10; // ecx int v11; // edx __int64 v12; // rax __int64 v13; // rdx unsigned int **v14; // rax unsigned int *v15; // rax unsigned int *v17; // rax int v18; // [rsp+10h] [rbp+10h] m_pTargets = this->m_pTargets; v3 = (int)a2; v18 = (int)a2; if ( !m_pTargets ) return 0; v4 = *((_QWORD *)m_pTargets + 5); v5 = (((BYTE1(a2) + ((BYTE2(a2) + (BYTE3(a2) << 8)) << 8)) << 8) + (unsigned __int8)a2 + 17973517) ^ 0x7F76D; v6 = (((((BYTE1(v18) + ((BYTE2(v18) + (HIBYTE(v18) << 8)) << 8)) << 8) + (unsigned __int8)v3 + 17973517) ^ 0x7F76D) << 8) ^ (-1622558010 - v5); v7 = (v6 >> 13) ^ (-17973517 - v6 - v5); v8 = (v7 >> 12) ^ (v5 - v6 - v7); v9 = (v8 << 16) ^ (v6 - v8 - v7); v10 = (v9 >> 5) ^ (v7 - v9 - v8); v11 = (v10 >> 3) ^ (v8 - v9 - v10); v12 = *(_QWORD *)(*(_QWORD *)v4 + 16 * ((unsigned int)(*(_DWORD *)(v4 + 8) - 1) & (((unsigned __int64)((v11 << 10) ^ (v9 - v11 - v10)) >> 15) ^ (v10 - ((v11 << 10) ^ (v9 - v11 - v10)) - v11)))); if ( !v12 ) return 0; v13 = *(_QWORD *)(v4 + 32); v14 = (unsigned int **)(v12 - v13); if ( !v14 ) return 0; while ( *((_DWORD *)v14 + 22) != 4 || *v14[10] != v3 ) { v15 = v14[9]; if ( v15 ) { v14 = (unsigned int **)((char *)v15 - v13); if ( v14 ) continue; } return 0; } v17 = *v14; if ( v17 ) return *v17; else return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source