// // LevelEditorLayer::removeObject from 0x36abf4 to 0x36ac42 (78 bytes) // // 7 xrefs: // > LevelEditorLayer::removeSpecial @ 0x36aa30 // > LevelEditorLayer::removeAllObjects @ 0x36acc4 // > LevelEditorLayer::removeAllObjectsOfType @ 0x36adae // > LevelEditorLayer::breakApartTextObject @ 0x37153c // > EditorUI::deleteObject @ 0x387972 // > EditorUI::spriteFromObjectString @ 0x387b46 // > EditorUI::spriteFromObjectString @ 0x387b66 // // 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 *v6; // r0 if ( a2 ) { if ( !a3 ) { cocos2d::CCArray::removeAllObjects(a1->m_redoObjects); v6 = UndoObject::create(a2, Delete); LevelEditorLayer::addToUndoList(a1, v6, a3); } 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