//
// EditorUI::createExtras from 0x53941c to 0x53946e (82 bytes)
//
// 1 xrefs:
// > EditorUI::createSmartObjectsFromType @ 0x3a499e
//
// 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 *EditorUI::createExtras(EditorUI *a1, cocos2d::CCArray *a2)
{
cocos2d::CCArray *v4; // r0
cocos2d::CCArray *v6; // r0
unsigned int v7; // r5
cocos2d::CCArray *v8; // r4
GameObject *v9; // r0
int m_objectID; // r1
if ( !a2 )
return nullptr;
v4 = (cocos2d::CCArray *)cocos2d::CCArray::count(a2);
if ( !v4 )
return nullptr;
v6 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4);
v7 = 0;
v8 = (cocos2d::CCArray *)cocos2d::CCArray::create(v6);
while ( v7 < cocos2d::CCArray::count(a2) )
{
v9 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v7);
m_objectID = v9->m_objectID;
if ( (unsigned int)(m_objectID - 2808) <= 0x1D )
EditorUI::createExtrasForObject(a1, m_objectID, v9, v8);
++v7;
}
return v8;
}