//
// CollisionBlockPopup::updateEditorLabel from 0x4cd588 to 0x4cd5c8 (64 bytes)
//
// 5 xrefs:
// > CollisionBlockPopup::onDynamicBlock @ 0x4cd612
// > CollisionBlockPopup::onClose @ 0x4cd636
// > CollisionBlockPopup::textChanged @ 0x4cdf88
// > CollisionBlockPopup::onItemIDArrow @ 0x4cdfce
// > CollisionBlockPopup::onNextItemID @ 0x4ce056
//
// 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 CollisionBlockPopup::updateEditorLabel(CollisionBlockPopup *a1)
{
cocos2d::CCArray *m_gameObjects; // r5
unsigned int i; // r4
GameObject *v4; // r0
if ( a1->m_gameObject )
{
m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject);
}
else
{
m_gameObjects = a1->m_gameObjects;
}
if ( m_gameObjects )
{
for ( i = 0; i < cocos2d::CCArray::count(m_gameObjects); ++i )
{
v4 = (GameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, i);
LevelEditorLayer::updateObjectLabel(v4);
}
}
}