// // LevelEditorLayer::addToUndoList from 0x78a014 to 0x78a090 (124 bytes) // // 15 xrefs: // > LevelEditorLayer::removeObject @ 0x7908bc // > LevelEditorLayer::removeAllObjectsOfType @ 0x790ae4 // > LevelEditorLayer::createObjectsFromString @ 0x7a1144 // > LevelEditorLayer::createObject @ 0x7a15a0 // > LevelEditorLayer::handleAction @ 0x7a1c44 // > EditorUI::createUndoObject @ 0x7c2508 // > EditorUI::createUndoSelectObject @ 0x7c2620 // > EditorUI::createSmartObjectsFromTemplate @ 0x7cb6c8 // > EditorUI::createSmartObjectsFromTemplate @ 0x7cb9b4 // > EditorUI::onDelete @ 0x7d1a1c // > EditorUI::onDeleteSelected @ 0x7d1e98 // > EditorUI::ccTouchEnded @ 0xbd62e4 // > EditorUI::pasteObjects @ 0xbd9c9c // > EditorUI::moveObjectCall @ 0xc02548 // > @ 0xd0ff0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:53:26 +0000 // __int64 __fastcall LevelEditorLayer::addToUndoList(cocos2d::CCArray **this, UndoObject *a2, char a3) { unsigned int v5; // w20 if ( !a3 ) cocos2d::CCArray::removeAllObjects(*(this + 1783)); if ( *((_BYTE *)this + 14007) ) v5 = 1000; else v5 = 200; if ( (unsigned int)cocos2d::CCArray::count(*(this + 1782)) >= v5 ) cocos2d::CCArray::removeObjectAtIndex(*(this + 1782), 0, 1); return cocos2d::CCArray::addObject(*(this + 1782), a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source