// // cocos2d::CCActionManager::getActionByTag from 0xac5d94 to 0xac5f20 (396 bytes) // // 2 xrefs: // > cocos2d::CCNode::getActionByTag @ 0xacd080 // > @ 0x9b658 // // 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 // cocos2d::CCAction *cocos2d::CCActionManager::getActionByTag( cocos2d::CCActionManager *a1, unsigned int a2, cocos2d::CCObject *a3) { cocos2d::_hashElement *m_pTargets; // x6 int v4; // w0 unsigned int v5; // w3 unsigned int v6; // w2 __int64 v7; // x20 int v8; // w0 unsigned int v9; // w3 unsigned int v10; // w2 int v11; // w0 __int64 v12; // x0 char *v13; // x19 cocos2d::CCAction *result; // x0 int v16; // w3 _QWORD *v17; // x2 _QWORD *v18; // x3 cocos2d::CCAction *v19; // t1 cocos2d::CCObject *v20; // [xsp+38h] [xbp+38h] BYREF m_pTargets = a1->m_pTargets; v20 = a3; if ( !m_pTargets ) return nullptr; v4 = ((unsigned __int8)v20 + 17973517 + (BYTE3(v20) << 24) + (BYTE2(v20) << 16) + (BYTE1(v20) << 8)) ^ 0x7F76D; v5 = (-1622558010 - v4) ^ (v4 << 8); v6 = (-17973517 - v4 - v5) ^ (v5 >> 13); v7 = *((_QWORD *)m_pTargets + 5); v8 = (v4 - v5 - v6) ^ (v6 >> 12); v9 = (v5 - v6 - v8) ^ (v8 << 16); v10 = (v6 - v8 - v9) ^ (v9 >> 5); v11 = (v8 - v9 - v10) ^ (v10 >> 3); v12 = *(_QWORD *)(*(_QWORD *)v7 + 16LL * (((v10 - v11 - ((v9 - v10 - v11) ^ (v11 << 10))) ^ (((v9 - v10 - v11) ^ (v11 << 10)) >> 15)) & (*(_DWORD *)(v7 + 8) - 1))); v13 = v12 ? (char *)(v12 - *(_QWORD *)(v7 + 32)) : nullptr; if ( !v13 ) return nullptr; while ( *((_DWORD *)v13 + 22) != 4 || memcmp(*((const void **)v13 + 10), &v20, 4u) ) { result = *((cocos2d::CCAction **)v13 + 9); if ( !result ) return result; v13 = (char *)result - *(_QWORD *)(v7 + 32); if ( !v13 ) return nullptr; } result = *(cocos2d::CCAction **)v13; if ( !*(_QWORD *)v13 ) return result; v16 = (int)result->__vftable; if ( !LODWORD(result->__vftable) ) return nullptr; v17 = *(_QWORD **)&result->cocos2d::CCObject::m_nTag; result = (cocos2d::CCAction *)*v17; if ( *(_DWORD *)(*v17 + 72LL) != a2 ) { v18 = &v17[v16 - 1]; while ( v17 != v18 ) { v19 = (cocos2d::CCAction *)v17[1]; ++v17; result = v19; if ( v19->m_nTag == a2 ) return result; } return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source