// // cocos2d::CCScheduler::unscheduleAllForTarget from 0x1800c2560 to 0x1800c26db (379 bytes) // // 8 xrefs: // > cocos2d::CCNode::cleanup @ 0x180002da2 // > cocos2d::CCNode::setScheduler @ 0x180004f6f // > cocos2d::CCNode::unscheduleAllSelectors @ 0x18000547a // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x1800c271b // > @ 0x1801421e0 // > @ 0x1801421f0 // > @ 0x1801438a8 // > @ 0x1801b957c // // 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::unscheduleAllForTarget(cocos2d::CCScheduler *this, struct cocos2d::CCObject *a2) { cocos2d::_hashSelectorEntry *m_pHashForTimers; // r9 __int64 v5; // r10 int v6; // edx unsigned int v7; // r8d unsigned int v8; // ecx int v9; // edx unsigned int v10; // r8d unsigned int v11; // ecx int v12; // edx __int64 v13; // rbx __int64 v14; // rcx __int64 v15; // rbx __int64 v16; // rbx if ( a2 ) { m_pHashForTimers = this->m_pHashForTimers; if ( m_pHashForTimers ) { v5 = *((_QWORD *)m_pHashForTimers + 5); v6 = (((BYTE1(a2) + ((BYTE2(a2) + (BYTE3(a2) << 8)) << 8)) << 8) + (unsigned __int8)a2 + 17973517) ^ 0x7F76D; v7 = (v6 << 8) ^ (-1622558010 - v6); v8 = (v7 >> 13) ^ (-17973517 - v7 - v6); v9 = (v8 >> 12) ^ (v6 - v7 - v8); v10 = (v9 << 16) ^ (v7 - v9 - v8); v11 = (v10 >> 5) ^ (v8 - v10 - v9); v12 = (v11 >> 3) ^ (v9 - v10 - v11); v13 = *(_QWORD *)(*(_QWORD *)v5 + 16 * ((unsigned int)(*(_DWORD *)(v5 + 8) - 1) & (((unsigned __int64)((v12 << 10) ^ (v10 - v12 - v11)) >> 15) ^ (v11 - ((v12 << 10) ^ (v10 - v12 - v11)) - v12)))); if ( v13 ) { v14 = *(_QWORD *)(v5 + 32); v15 = v13 - v14; if ( v15 ) { while ( *(_DWORD *)(v15 + 88) != 4 || **(_DWORD **)(v15 + 80) != (_DWORD)a2 ) { v16 = *(_QWORD *)(v15 + 72); if ( v16 ) { v15 = v16 - v14; if ( v15 ) continue; } goto LABEL_16; } if ( sub_18009D7E0(*(_QWORD *)v15, *(_QWORD *)(v15 + 24)) && !*(_BYTE *)(v15 + 32) ) { cocos2d::CCObject::retain(*(cocos2d::CCObject **)(v15 + 24)); *(_BYTE *)(v15 + 32) = 1; } sub_18009DD50(*(unsigned int **)v15); if ( this->m_pCurrentTarget == (cocos2d::_hashSelectorEntry *)v15 ) this->m_bCurrentTargetSalvaged = 1; else cocos2d::CCScheduler::removeHashElement(this, (struct cocos2d::_hashSelectorEntry *)v15); } } } LABEL_16: cocos2d::CCScheduler::unscheduleUpdateForTarget(this, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source