// // LevelEditorLayer::addToUndoList from 0x65d670 to 0x65d6ec (124 bytes) // // 15 xrefs: // > LevelEditorLayer::removeObject @ 0x665920 // > LevelEditorLayer::removeAllObjectsOfType @ 0x665b48 // > LevelEditorLayer::createObjectsFromString @ 0x671b64 // > LevelEditorLayer::createObject @ 0x671fb4 // > LevelEditorLayer::handleAction @ 0x672834 // > EditorUI::createUndoSelectObject @ 0x689218 // > EditorUI::createUndoObject @ 0x6b5b94 // > EditorUI::moveObjectCall @ 0x6b93d8 // > EditorUI::pasteObjects @ 0x6bfa40 // > EditorUI::onDelete @ 0x6c0c9c // > EditorUI::onDeleteSelected @ 0x6c0f3c // > EditorUI::createSmartObjectsFromTemplate @ 0x6c2208 // > EditorUI::createSmartObjectsFromTemplate @ 0x6c2728 // > EditorUI::ccTouchEnded @ 0x6c2acc // > @ 0x9ec58 // // 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 LevelEditorLayer::addToUndoList(LevelEditorLayer *a1, UndoObject *a2, bool a3) { unsigned int v5; // w20 if ( !a3 ) cocos2d::CCArray::removeAllObjects(a1->m_redoObjects); if ( a1->m_increaseMaxUndoRedo ) v5 = 1000; else v5 = 200; if ( (unsigned int)cocos2d::CCArray::count(a1->m_undoObjects) >= v5 ) cocos2d::CCArray::removeObjectAtIndex(a1->m_undoObjects, 0, 1); cocos2d::CCArray::addObject(a1->m_undoObjects, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source