//
// EditorUI::createExtras from 0x100616090 to 0x10061611b (139 bytes)
//
// 1 xrefs:
// > EditorUI::createSmartObjectsFromType @ 0x100044155
//
// 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)
{
cocos2d::CCArray *v3; // r15
unsigned int v4; // r12d
GameObject *v5; // rax
int m_objectID; // esi
if ( !a2 || !(unsigned int)sub_100720070(a2) )
return nullptr;
sub_10071F9E0(a2, a2);
v3 = (cocos2d::CCArray *)sub_10071F9E0(a2, a2);
if ( (unsigned int)sub_100720070(a2) )
{
v4 = 0;
do
{
v5 = (GameObject *)sub_1007200C0(a2, v4);
m_objectID = v5->m_objectID;
if ( (unsigned int)(m_objectID - 2808) <= 0x1D )
EditorUI::createExtrasForObject(a1, m_objectID, v5, v3);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(a2) );
}
return v3;
}