//
// CollisionBlockPopup::updateEditorLabel from 0x100085810 to 0x100085888 (120 bytes)
//
// 5 xrefs:
// > CollisionBlockPopup::onClose @ 0x1000855ec
// > CollisionBlockPopup::onNextItemID @ 0x100085680
// > CollisionBlockPopup::onItemIDArrow @ 0x1000856f0
// > CollisionBlockPopup::onDynamicBlock @ 0x1000857cc
// > CollisionBlockPopup::textChanged @ 0x100085988
//
// 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 __fastcall CollisionBlockPopup::updateEditorLabel(CollisionBlockPopup *a1)
{
cocos2d::CCArray *m_gameObjects; // x19
__int64 v3; // x20
GameObject *v4; // x0
if ( a1->m_gameObject )
{
m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(a1);
sub_10024A2D0(m_gameObjects, a1->m_gameObject);
if ( !m_gameObjects )
return;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( !m_gameObjects )
return;
}
if ( (unsigned int)sub_10024A36C(m_gameObjects) )
{
v3 = 0;
do
{
v4 = (GameObject *)sub_10024A388(m_gameObjects, v3);
LevelEditorLayer::updateObjectLabel(v4);
v3 = (unsigned int)(v3 + 1);
}
while ( (unsigned int)v3 < (unsigned int)sub_10024A36C(m_gameObjects) );
}
}