// // cocos2d::CCScheduler::unscheduleUpdateForTarget from 0x1001ab39c to 0x1001ab4c8 (300 bytes) // // 5 xrefs: // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x1001ab524 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x1001ab548 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x1001ab574 // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1001ab748 // > cocos2d::CCNode::unscheduleUpdate @ 0x10023c580 // // 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 __fastcall cocos2d::CCScheduler::unscheduleUpdateForTarget(cocos2d::CCScheduler *a1, const cocos2d::CCObject *a2) { cocos2d::_hashUpdateEntry *m_pHashForUpdates; // x8 int v3; // w9 unsigned int v4; // w10 unsigned int v5; // w11 int v6; // w9 unsigned int v7; // w10 unsigned int v8; // w11 int v9; // w9 __int64 v10; // x8 __int64 v11; // x9 __int64 v12; // x8 __int64 v13; // x9 cocos2d::_listEntry *v14; // x1 if ( a2 ) { m_pHashForUpdates = a1->m_pHashForUpdates; if ( m_pHashForUpdates ) { v3 = ((_DWORD)a2 + 17973517) ^ 0x7F76D; v4 = (-1622558010 - v3) ^ (v3 << 8); v5 = (-17973517 - v3 - v4) ^ (v4 >> 13); v6 = (v3 - v4 - v5) ^ (v5 >> 12); v7 = (v4 - v5 - v6) ^ (v6 << 16); v8 = (v5 - v6 - v7) ^ (v7 >> 5); v9 = (v6 - v7 - v8) ^ (v8 >> 3); v10 = *((_QWORD *)m_pHashForUpdates + 3); v11 = *(_QWORD *)(*(_QWORD *)v10 + 16LL * (((v8 - v9 - ((v7 - v8 - v9) ^ (v9 << 10))) ^ (((v7 - v8 - v9) ^ (v9 << 10)) >> 15)) & (*(_DWORD *)(v10 + 8) - 1))); if ( v11 ) { v12 = -*(_QWORD *)(v10 + 32); while ( 1 ) { v13 = v11 + v12; if ( *(_DWORD *)(v13 + 72) == 4 && **(_DWORD **)(v13 + 64) == (_DWORD)a2 ) break; v11 = *(_QWORD *)(v13 + 56); if ( !v11 ) return; } v14 = *(cocos2d::_listEntry **)(v13 + 8); if ( a1->m_bUpdateHashLocked ) *((_BYTE *)v14 + 29) = 1; else cocos2d::CCScheduler::removeUpdateFromHash(a1, v14); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source