// // cocos2d::CCScheduler::unscheduleUpdateForTarget from 0xab2988 to 0xab2b08 (384 bytes) // // 8 xrefs: // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0xab2c2c // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0xab2cac // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0xab2cc4 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0xab2d48 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0xab2d98 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0xab2db8 // > cocos2d::CCNode::unscheduleUpdate @ 0xacd0c8 // > @ 0x944a0 // // 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; // x6 int v3; // w1 unsigned int v4; // w3 unsigned int v5; // w2 __int64 v6; // x20 int v7; // w1 unsigned int v8; // w3 unsigned int v9; // w2 int v10; // w1 __int64 v11; // x1 __int64 v12; // x19 __int64 v14; // x1 const cocos2d::CCObject *v15; // [xsp+38h] [xbp+38h] BYREF v15 = a2; if ( a2 ) { m_pHashForUpdates = a1->m_pHashForUpdates; if ( m_pHashForUpdates ) { v3 = ((unsigned __int8)v15 + 17973517 + (BYTE3(v15) << 24) + (BYTE2(v15) << 16) + (BYTE1(v15) << 8)) ^ 0x7F76D; v4 = (-1622558010 - v3) ^ (v3 << 8); v5 = (-17973517 - v3 - v4) ^ (v4 >> 13); v6 = *((_QWORD *)m_pHashForUpdates + 3); v7 = (v3 - v4 - v5) ^ (v5 >> 12); v8 = (v4 - v5 - v7) ^ (v7 << 16); v9 = (v5 - v7 - v8) ^ (v8 >> 5); v10 = (v7 - v8 - v9) ^ (v9 >> 3); v11 = *(_QWORD *)(*(_QWORD *)v6 + 16LL * (((v9 - v10 - ((v8 - v9 - v10) ^ (v10 << 10))) ^ (((v8 - v9 - v10) ^ (v10 << 10)) >> 15)) & (*(_DWORD *)(v6 + 8) - 1))); v12 = v11 ? v11 - *(_QWORD *)(v6 + 32) : 0LL; if ( v12 ) { while ( *(_DWORD *)(v12 + 72) != 4 || memcmp(*(const void **)(v12 + 64), &v15, 4u) ) { v14 = *(_QWORD *)(v12 + 56); if ( v14 ) { v12 = v14 - *(_QWORD *)(v6 + 32); if ( v12 ) continue; } return; } if ( a1->m_bUpdateHashLocked ) *(_BYTE *)(*(_QWORD *)(v12 + 8) + 29LL) = 1; else cocos2d::CCScheduler::removeUpdateFromHash(a1, *(cocos2d::_listEntry **)(v12 + 8)); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source