// // cocos2d::CCScheduler::unscheduleAllWithMinPriority from 0x1800c26e0 to 0x1800c27c4 (228 bytes) // // 7 xrefs: // > cocos2d::CCScheduler::~CCScheduler @ 0x1800c0398 // > sub_1800C03C0 @ 0x1800c042c // > cocos2d::CCScheduler::unscheduleAll @ 0x1800c2555 // > @ 0x18014220c // > @ 0x18014221c // > @ 0x1801438a8 // > @ 0x1801b95a0 // // 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::unscheduleAllWithMinPriority(cocos2d::CCScheduler *this, int a2) { cocos2d::_hashSelectorEntry *m_pHashForTimers; // rdx cocos2d::_hashSelectorEntry *v5; // rbx cocos2d::_listEntry *m_pUpdatesNegList; // rdx cocos2d::_listEntry *v7; // rbx cocos2d::_listEntry *m_pUpdates0List; // rdx cocos2d::_listEntry *v9; // rbx cocos2d::_listEntry *m_pUpdatesPosList; // rdx cocos2d::_listEntry *v11; // rbx cocos2d::CCArray *m_pScriptHandlerEntries; // rcx m_pHashForTimers = this->m_pHashForTimers; if ( m_pHashForTimers ) { do { v5 = *((cocos2d::_hashSelectorEntry **)m_pHashForTimers + 7); cocos2d::CCScheduler::unscheduleAllForTarget(this, *((struct cocos2d::CCObject **)m_pHashForTimers + 1)); m_pHashForTimers = v5; } while ( v5 ); } if ( a2 >= 0 ) { if ( a2 > 0 ) goto LABEL_12; } else { m_pUpdatesNegList = this->m_pUpdatesNegList; if ( m_pUpdatesNegList ) { do { v7 = *((cocos2d::_listEntry **)m_pUpdatesNegList + 1); if ( *((_DWORD *)m_pUpdatesNegList + 6) >= a2 ) cocos2d::CCScheduler::unscheduleUpdateForTarget( this, *((const struct cocos2d::CCObject **)m_pUpdatesNegList + 2)); m_pUpdatesNegList = v7; } while ( v7 ); } } m_pUpdates0List = this->m_pUpdates0List; if ( m_pUpdates0List ) { do { v9 = *((cocos2d::_listEntry **)m_pUpdates0List + 1); cocos2d::CCScheduler::unscheduleUpdateForTarget(this, *((const struct cocos2d::CCObject **)m_pUpdates0List + 2)); m_pUpdates0List = v9; } while ( v9 ); } LABEL_12: m_pUpdatesPosList = this->m_pUpdatesPosList; if ( m_pUpdatesPosList ) { do { v11 = *((cocos2d::_listEntry **)m_pUpdatesPosList + 1); if ( *((_DWORD *)m_pUpdatesPosList + 6) >= a2 ) cocos2d::CCScheduler::unscheduleUpdateForTarget( this, *((const struct cocos2d::CCObject **)m_pUpdatesPosList + 2)); m_pUpdatesPosList = v11; } while ( v11 ); } m_pScriptHandlerEntries = this->m_pScriptHandlerEntries; if ( m_pScriptHandlerEntries ) cocos2d::CCArray::removeAllObjects(m_pScriptHandlerEntries); }
GD Web Decomp Icon

GD Web Decomp

Raw Source