//
// EditorUI::createExtras from 0x100079bd4 to 0x100079c74 (160 bytes)
//
// 1 xrefs:
// > EditorUI::createSmartObjectsFromType @ 0x1003f285c
//
// 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
//
cocos2d::CCArray *__fastcall EditorUI::createExtras(EditorUI *a1, cocos2d::CCArray *a2)
{
__int64 v4; // x0
__int64 v5; // x0
cocos2d::CCArray *v6; // x21
__int64 v7; // x22
GameObject *v8; // x0
int m_objectID; // w1
if ( !a2 )
return nullptr;
v4 = sub_10024A36C(a2);
if ( !(_DWORD)v4 )
return nullptr;
v5 = sub_10024A15C(v4);
v6 = (cocos2d::CCArray *)sub_10024A15C(v5);
if ( (unsigned int)sub_10024A36C(a2) )
{
v7 = 0;
do
{
v8 = (GameObject *)sub_10024A388(a2, v7);
m_objectID = v8->m_objectID;
if ( (unsigned int)(m_objectID - 2808) <= 0x1D )
EditorUI::createExtrasForObject(a1, m_objectID, v8, v6);
v7 = (unsigned int)(v7 + 1);
}
while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(a2) );
}
return v6;
}