//
// EditorUI::deleteTypeFromObjects from 0x100034710 to 0x1000347ce (190 bytes)
//
// 1 xrefs:
// > EditorUI::spriteFromObjectString @ 0x100034151
//
// 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 __fastcall EditorUI::deleteTypeFromObjects(EditorUI *a1, int a2, cocos2d::CCArray *a3)
{
unsigned int v5; // r12d
__int64 v6; // rax
GameObject *v7; // r13
int v8; // esi
cocos2d::CCArray *StickyGroup; // rax
if ( (unsigned int)sub_100720070(a3) )
{
v5 = 0;
do
{
while ( 1 )
{
v6 = sub_1007200C0(a3, v5);
if ( *(_DWORD *)(v6 + 1028) == a2 )
break;
if ( ++v5 >= (unsigned int)sub_100720070(a3) )
return;
}
v7 = (GameObject *)v6;
v8 = *(_DWORD *)(v6 + 872);
if ( v8 > 0 )
{
StickyGroup = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, v8);
if ( StickyGroup )
sub_100720220(StickyGroup, v7, 1);
}
EditorUI::deleteObject(a1, v7, 1);
sub_100720230(a3, v5, 1);
}
while ( v5 < (unsigned int)sub_100720070(a3) );
}
}