// // cocos2d::CCActionManager::getActionByTag from 0x100234600 to 0x10023471c (284 bytes) // // 1 xrefs: // > cocos2d::CCNode::getActionByTag @ 0x10027402f // // 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 *__fastcall cocos2d::CCActionManager::getActionByTag( cocos2d::CCActionManager *a1, unsigned int a2, cocos2d::CCObject *a3) { cocos2d::_hashElement *m_pTargets; // rax int v4; // edx unsigned int v5; // ecx unsigned int v6; // edi int v7; // r8d unsigned int v8; // edx unsigned int v9; // ecx int v10; // edi unsigned int v11; // r8d __int64 v12; // rdx __int64 v13; // rcx cocos2d::CCAction *result; // rax __int64 v15; // rdx unsigned int *v16; // rax __int64 v17; // rcx __int64 v18; // rdx __int64 v19; // rdi int v20; // [rsp+0h] [rbp-8h] v20 = (int)a3; m_pTargets = a1->m_pTargets; if ( !m_pTargets ) return nullptr; v4 = ((_DWORD)a3 + 17973517) ^ 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 = (v9 - (((v8 - v9 - v10) ^ (v10 << 10)) + v10)) ^ (((v8 - v9 - v10) ^ (v10 << 10)) >> 15); v12 = *((_QWORD *)m_pTargets + 5); v13 = *(_QWORD *)(*(_QWORD *)v12 + 16LL * (v11 & (*(_DWORD *)(v12 + 8) - 1))); result = nullptr; if ( !v13 ) return result; v15 = -*(_QWORD *)(v12 + 32); while ( *(_DWORD *)(v13 + v15 + 88) != 4 || **(_DWORD **)(v13 + v15 + 80) != v20 ) { v13 = *(_QWORD *)(v13 + v15 + 72); if ( !v13 ) return result; } v16 = *(unsigned int **)(v13 + v15); if ( !v16 ) return nullptr; v17 = *v16; if ( !*v16 ) return nullptr; v18 = *((_QWORD *)v16 + 2); v19 = 0; do { result = *(cocos2d::CCAction **)(v18 + 8 * v19); if ( result->m_nTag == a2 ) break; ++v19; result = nullptr; } while ( v17 != v19 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source