//
// EditorUI::deleteTypeFromObjects from 0x3879e8 to 0x387a48 (96 bytes)
//
// 1 xrefs:
// > EditorUI::spriteFromObjectString @ 0x387ae6
//
// 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 EditorUI::deleteTypeFromObjects(EditorUI *a1, int a2, cocos2d::CCArray *a3)
{
unsigned int v6; // r4
GameObject *v7; // r0
GameObject *v8; // r5
int m_linkedGroup; // r1
cocos2d::CCArray *StickyGroup; // r0
v6 = 0;
while ( v6 < cocos2d::CCArray::count(a3) )
{
v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a3, v6);
v8 = v7;
if ( v7->m_objectID == a2 )
{
m_linkedGroup = v7->m_linkedGroup;
if ( m_linkedGroup > 0 )
{
StickyGroup = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, m_linkedGroup);
if ( StickyGroup )
cocos2d::CCArray::removeObject(StickyGroup, v8, 1);
}
EditorUI::deleteObject(a1, v8, 1);
cocos2d::CCArray::removeObjectAtIndex(a3, v6, 1);
}
else
{
++v6;
}
}
}