//
// EditorUI::createExtras from 0x66e568 to 0x66e5ba (82 bytes)
//
// 1 xrefs:
// > EditorUI::createSmartObjectsFromType @ 0x482db6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:47 +0000
//
cocos2d::CCArray *__fastcall EditorUI::createExtras(EditorUI *this, cocos2d::CCArray *a2)
{
cocos2d::CCArray *v4; // r0
cocos2d::CCArray *v6; // r0
unsigned int v7; // r5
cocos2d::CCArray *v8; // r4
GameObject *v9; // r0
int v10; // 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);
v10 = *((_DWORD *)v9 + 223);
if ( (unsigned int)(v10 - 2808) <= 0x1D )
EditorUI::createExtrasForObject(this, v10, v9, v8);
++v7;
}
return v8;
}