// // cocos2d::CCScheduler::unscheduleUpdateForTarget from 0x5af37c to 0x5af440 (196 bytes) // // 5 xrefs: // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x5af524 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x5af588 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x5af59c // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x5af5b4 // > cocos2d::CCNode::unscheduleUpdate @ 0x5be262 // // 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 // void cocos2d::CCScheduler::unscheduleUpdateForTarget(cocos2d::CCScheduler *a1, const cocos2d::CCObject *a2) { cocos2d::_hashUpdateEntry *m_pHashForUpdates; // r1 _DWORD *v4; // r6 int v5; // r0 unsigned int v6; // r2 unsigned int v7; // r3 int v8; // r0 unsigned int v9; // r2 unsigned int v10; // r3 int v11; // r0 int v12; // r5 int v13; // r3 const cocos2d::CCObject *v14; // [sp+4h] [bp-8h] BYREF v14 = a2; if ( a2 ) { m_pHashForUpdates = a1->m_pHashForUpdates; if ( m_pHashForUpdates ) { v4 = *((_DWORD **)m_pHashForUpdates + 3); v5 = ((unsigned __int8)v14 + 17973517 + (HIBYTE(v14) << 24) + (BYTE2(v14) << 16) + (BYTE1(v14) << 8)) ^ 0x7F76D; v6 = (-1622558010 - v5) ^ (v5 << 8); v7 = (-17973517 - v5 - v6) ^ (v6 >> 13); v8 = (v5 - v6 - v7) ^ (v7 >> 12); v9 = (v6 - v7 - v8) ^ (v8 << 16); v10 = (v7 - v8 - v9) ^ (v9 >> 5); v11 = (v8 - v9 - v10) ^ (v10 >> 3); v12 = *(_DWORD *)(*v4 + 12 * (((v10 - v11 - ((v9 - v10 - v11) ^ (v11 << 10))) ^ (((v9 - v10 - v11) ^ (v11 << 10)) >> 15)) & (v4[1] - 1))); if ( v12 ) v12 -= v4[5]; while ( v12 ) { if ( *(_DWORD *)(v12 + 36) == 4 && !memcmp(*(const void **)(v12 + 32), &v14, 4u) ) { if ( a1->m_bUpdateHashLocked ) *(_BYTE *)(*(_DWORD *)(v12 + 4) + 17) = 1; else cocos2d::CCScheduler::removeUpdateFromHash(a1, *(cocos2d::_listEntry **)(v12 + 4)); return; } v13 = *(_DWORD *)(v12 + 28); if ( !v13 ) return; v12 = v13 - v4[5]; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source