// // LevelEditorLayer::removeObject from 0x66589c to 0x665928 (140 bytes) // // 8 xrefs: // > LevelEditorLayer::removeSpecial @ 0x665888 // > LevelEditorLayer::removeAllObjects @ 0x6659a8 // > LevelEditorLayer::removeAllObjectsOfType @ 0x665b60 // > LevelEditorLayer::breakApartTextObject @ 0x6721ac // > EditorUI::deleteObject @ 0x696a30 // > EditorUI::spriteFromObjectString @ 0x696d10 // > EditorUI::spriteFromObjectString @ 0x696fcc // > @ 0x40fb0 // // 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::removeObject(LevelEditorLayer *a1, GameObject *a2, bool a3) { UndoObject *v5; // x0 if ( a2 ) { if ( !a3 ) { cocos2d::CCArray::removeAllObjects(a1->m_redoObjects); v5 = UndoObject::create(a2, Delete); LevelEditorLayer::addToUndoList(a1, v5, 0); } a2->deactivateObject(a2, 1); GJBaseGameLayer::removeObjectFromSection(a1, a2); LevelEditorLayer::removeSpecial(a1, a2); a1->m_unk3b22 = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source