// // cocos2d::CCActionManager::removeAllActionsFromTarget from 0x7c0228 to 0x7c030e (230 bytes) // // 3 xrefs: // > CCCountdown::startTimerWithSeconds @ 0x3c547e // > cocos2d::CCActionManager::removeAllActions @ 0x7c032e // > cocos2d::CCNode::stopAllActions @ 0x7c4c22 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:20 +0000 // void __fastcall cocos2d::CCActionManager::removeAllActionsFromTarget( cocos2d::CCActionManager *this, cocos2d::CCObject *a2, int a3) { int v4; // r1 _DWORD *v5; // r6 int v6; // r0 unsigned int v7; // r2 unsigned int v8; // r3 int v9; // r0 unsigned int v10; // r2 unsigned int v11; // r3 int v12; // r0 int v13; // r5 int v14; // r3 _DWORD v15[2]; // [sp+4h] [bp-8h] BYREF v15[1] = a3; v15[0] = a2; if ( a2 ) { v4 = *((_DWORD *)this + 13); if ( v4 ) { v5 = *(_DWORD **)(v4 + 20); v6 = (LOBYTE(v15[0]) + 17973517 + (HIBYTE(v15[0]) << 24) + (BYTE2(v15[0]) << 16) + (BYTE1(v15[0]) << 8)) ^ 0x7F76D; v7 = (-1622558010 - v6) ^ (v6 << 8); v8 = (-17973517 - v6 - v7) ^ (v7 >> 13); v9 = (v6 - v7 - v8) ^ (v8 >> 12); v10 = (v7 - v8 - v9) ^ (v9 << 16); v11 = (v8 - v9 - v10) ^ (v10 >> 5); v12 = (v9 - v10 - v11) ^ (v11 >> 3); v13 = *(_DWORD *)(*v5 + 12 * (((v11 - v12 - ((v10 - v11 - v12) ^ (v12 << 10))) ^ (((v10 - v11 - v12) ^ (v12 << 10)) >> 15)) & (v5[1] - 1))); if ( v13 ) v13 -= v5[5]; while ( v13 ) { if ( *(_DWORD *)(v13 + 44) == 4 && !memcmp(*(const void **)(v13 + 40), v15, 4u) ) { if ( cocos2d::ccArrayContainsObject(*(_DWORD *)v13, *(_DWORD *)(v13 + 12)) && !*(_BYTE *)(v13 + 16) ) { cocos2d::CCObject::retain(*(cocos2d::CCObject **)(v13 + 12)); *(_BYTE *)(v13 + 16) = 1; } cocos2d::ccArrayRemoveAllObjects(*(_DWORD *)v13); if ( *((_DWORD *)this + 14) == v13 ) *((_BYTE *)this + 60) = 1; else cocos2d::CCActionManager::deleteHashElement((int)this, v13); return; } v14 = *(_DWORD *)(v13 + 36); if ( !v14 ) return; v13 = v14 - v5[5]; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source