// // LevelEditorLayer::addToUndoList from 0x366330 to 0x36637a (74 bytes) // // 14 xrefs: // > LevelEditorLayer::removeObject @ 0x36ac18 // > LevelEditorLayer::removeAllObjectsOfType @ 0x36ad02 // > LevelEditorLayer::createObjectsFromString @ 0x3712d8 // > LevelEditorLayer::createObject @ 0x3714ba // > LevelEditorLayer::handleAction @ 0x3718f4 // > EditorUI::createUndoSelectObject @ 0x37d910 // > EditorUI::createUndoObject @ 0x39d272 // > EditorUI::moveObjectCall @ 0x39f7ee // > EditorUI::pasteObjects @ 0x3a3758 // > EditorUI::onDelete @ 0x3a4496 // > EditorUI::onDeleteSelected @ 0x3a45e2 // > EditorUI::createSmartObjectsFromTemplate @ 0x3a52cc // > EditorUI::createSmartObjectsFromTemplate @ 0x3a530c // > EditorUI::ccTouchEnded @ 0x3a56da // // 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; // r7 if ( !a3 ) cocos2d::CCArray::removeAllObjects(a1->m_redoObjects); if ( a1->m_increaseMaxUndoRedo ) v5 = 1000; else v5 = 200; if ( 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