// // cocos2d::CCScheduler::unscheduleUpdateForTarget from 0x100443110 to 0x100443224 (276 bytes) // // 6 xrefs: // > cocos2d::CCNode::scheduleUpdateWithPriorityLua @ 0x10027411c // > cocos2d::CCNode::unscheduleUpdate @ 0x100274183 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x10044329b // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x1004432e9 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x10044330d // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1004434a6 // // 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; // rax int v3; // r8d unsigned int v4; // ecx unsigned int v5; // edx int v6; // esi unsigned int v7; // r8d unsigned int v8; // ecx int v9; // edx unsigned int v10; // esi __int64 v11; // rdx __int64 v12; // rax cocos2d::_listEntry *v13; // rsi int v14; // [rsp+0h] [rbp-8h] v14 = (int)a2; 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 = (v8 - (((v7 - v8 - v9) ^ (v9 << 10)) + v9)) ^ (((v7 - v8 - v9) ^ (v9 << 10)) >> 15); v11 = *((_QWORD *)m_pHashForUpdates + 3); v12 = *(_QWORD *)(*(_QWORD *)v11 + 16LL * (v10 & (*(_DWORD *)(v11 + 8) - 1))); if ( v12 ) { while ( *(_DWORD *)(v12 - *(_QWORD *)(v11 + 32) + 72) != 4 || **(_DWORD **)(v12 - *(_QWORD *)(v11 + 32) + 64) != v14 ) { v12 = *(_QWORD *)(v12 - *(_QWORD *)(v11 + 32) + 56); if ( !v12 ) return; } v13 = *(cocos2d::_listEntry **)(v12 - *(_QWORD *)(v11 + 32) + 8); if ( a1->m_bUpdateHashLocked ) *((_BYTE *)v13 + 29) = 1; else cocos2d::CCScheduler::removeUpdateFromHash(a1, v13); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source