// // cocos2d::CCActionManager::getActionByTag from 0xd37c94 to 0xd37e20 (396 bytes) // // 2 xrefs: // > cocos2d::CCNode::getActionByTag @ 0xd3eff0 // > @ 0xccc70 // // 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 // int *__fastcall cocos2d::CCActionManager::getActionByTag(cocos2d::CCActionManager *this, int a2, cocos2d::CCObject *a3) { __int64 v3; // 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 __int64 v13; // x19 int *result; // x0 int v16; // w3 _QWORD *v17; // x2 _QWORD *v18; // x3 __int64 v19; // t1 cocos2d::CCObject *v20; // [xsp+38h] [xbp+38h] BYREF v20 = a3; v3 = *((_QWORD *)this + 7); if ( !v3 ) 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 *)(v3 + 40); 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 ? v12 - *(_QWORD *)(v7 + 32) : 0LL; if ( !v13 ) return nullptr; while ( *(_DWORD *)(v13 + 88) != 4 || memcmp(*(const void **)(v13 + 80), &v20, 4u) ) { result = *(int **)(v13 + 72); if ( !result ) return result; v13 = (__int64)result - *(_QWORD *)(v7 + 32); if ( !v13 ) return nullptr; } result = *(int **)v13; if ( !*(_QWORD *)v13 ) return result; v16 = *result; if ( !*result ) return nullptr; v17 = *((_QWORD **)result + 2); result = (int *)*v17; if ( *(_DWORD *)(*v17 + 72LL) != a2 ) { v18 = &v17[v16 - 1]; while ( v17 != v18 ) { v19 = v17[1]; ++v17; result = (int *)v19; if ( *(_DWORD *)(v19 + 72) == a2 ) return result; } return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source