// // cocos2d::CCActionManager::getActionByTag from 0x180038690 to 0x1800387c3 (307 bytes) // // 2 xrefs: // > cocos2d::CCNode::getActionByTag @ 0x18000334a // > @ 0x18014cf68 // // This function is hookable on this platform (idp: pc, 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 11:21:36 +0000 // struct cocos2d::CCAction *__fastcall cocos2d::CCActionManager::getActionByTag( cocos2d::CCActionManager *this, int a2, struct cocos2d::CCObject *a3) { __int64 v3; // r11 int v4; // r9d __int64 v6; // r11 int v7; // r8d unsigned int v8; // edx unsigned int v9; // ecx int v10; // r8d unsigned int v11; // edx unsigned int v12; // ecx int v13; // r8d __int64 v14; // rax __int64 v15; // rdx struct cocos2d::CCAction *result; // rax __int64 v17; // rcx __int64 v18; // r8 unsigned int v19; // edx __int64 v20; // rcx __int64 v21; // r8 int v22; // [rsp+18h] [rbp+18h] v3 = *((_QWORD *)this + 7); v4 = (int)a3; v22 = (int)a3; if ( !v3 ) return nullptr; v6 = *(_QWORD *)(v3 + 40); v7 = (((BYTE1(a3) + ((BYTE2(a3) + (BYTE3(a3) << 8)) << 8)) << 8) + (unsigned __int8)a3 + 17973517) ^ 0x7F76D; v8 = (((((BYTE1(v22) + ((BYTE2(v22) + (HIBYTE(v22) << 8)) << 8)) << 8) + (unsigned __int8)v4 + 17973517) ^ 0x7F76D) << 8) ^ (-1622558010 - v7); v9 = (v8 >> 13) ^ (-17973517 - v8 - v7); v10 = (v9 >> 12) ^ (v7 - v9 - v8); v11 = (v10 << 16) ^ (v8 - v9 - v10); v12 = (v11 >> 5) ^ (v9 - v11 - v10); v13 = (v12 >> 3) ^ (v10 - v12 - v11); v14 = *(_QWORD *)(*(_QWORD *)v6 + 16 * ((unsigned int)(*(_DWORD *)(v6 + 8) - 1) & (((unsigned __int64)((v13 << 10) ^ (v11 - v13 - v12)) >> 15) ^ (v12 - ((v13 << 10) ^ (v11 - v13 - v12)) - v13)))); if ( !v14 ) return nullptr; v15 = *(_QWORD *)(v6 + 32); result = (struct cocos2d::CCAction *)(v14 - v15); if ( !result ) return nullptr; while ( *((_DWORD *)result + 22) != 4 || **((_DWORD **)result + 10) != v4 ) { v17 = *((_QWORD *)result + 9); if ( !v17 ) return nullptr; result = (struct cocos2d::CCAction *)(v17 - v15); if ( v17 == v15 ) return result; } v18 = *(_QWORD *)result; if ( !*(_QWORD *)result ) return nullptr; v19 = *(_DWORD *)v18; v20 = 0; if ( !*(_DWORD *)v18 ) return nullptr; v21 = *(_QWORD *)(v18 + 16); while ( 1 ) { result = *(struct cocos2d::CCAction **)(v21 + 8 * v20); if ( *((_DWORD *)result + 18) == a2 ) break; v20 = (unsigned int)(v20 + 1); if ( (unsigned int)v20 >= v19 ) return nullptr; } return result; }