//
// SetupTriggerPopup::updateEditorLabel from 0x10012fa90 to 0x10012fb08 (120 bytes)
//
// 34 xrefs:
// > SetupOpacityPopup::onTargetIDArrow @ 0x100023978
// > SetupOpacityPopup::textChanged @ 0x100023fc8
// > SetupCountTriggerPopup::onItemIDArrow @ 0x1000f47a4
// > SetupCountTriggerPopup::updateTargetID @ 0x1000f4d3c
// > SetupCountTriggerPopup::textChanged @ 0x1000f4e58
// > SetupTriggerPopup::onClose @ 0x100130968
// > GJFollowCommandLayer::onUpdateGroupID @ 0x100137400
// > GJFollowCommandLayer::textChanged @ 0x100137e20
// > GJPFollowCommandLayer::onUpdateGroupID @ 0x10015fffc
// > GJPFollowCommandLayer::textChanged @ 0x100160ab8
// > SetupInstantCountPopup::onTargetIDArrow @ 0x1001bc9d4
// > SetupInstantCountPopup::textChanged @ 0x1001bd0dc
// > SetupRandTriggerPopup::onTargetIDArrow @ 0x1001ca7ec
// > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1001ca840
// > SetupRandTriggerPopup::textChanged @ 0x1001caecc
// > SetTargetIDLayer::valueDidChange @ 0x1002136c4
// > SetupCollisionTriggerPopup::onTargetIDArrow @ 0x1002301bc
// > SetupCollisionTriggerPopup::textChanged @ 0x100230ab4
// > SetupCameraEdgePopup::onTargetIDArrow @ 0x10023a990
// > SetupCameraEdgePopup::onUnlockEdge @ 0x10023ab50
// > SetupCameraEdgePopup::textChanged @ 0x10023ad10
// > SetupTouchTogglePopup::onTargetIDArrow @ 0x10024bb34
// > SetupTouchTogglePopup::textChanged @ 0x10024c050
// > SetupEndPopup::onTargetIDArrow @ 0x1002ad990
// > SetupEndPopup::textChanged @ 0x1002add1c
// > SetupGradientPopup::valueDidChange @ 0x1003438b0
// > SetupPulsePopup::onUpdateCustomColor @ 0x1003b6348
// > SetupPulsePopup::colorSelectClosed @ 0x1003b7120
// > SetupPulsePopup::textChanged @ 0x1003b7b00
// > SetupAnimationPopup::onTargetIDArrow @ 0x1003c3d58
// > SetupAnimationPopup::textChanged @ 0x1003c4170
// > ColorSelectPopup::onUpdateCopyColor @ 0x10041f0b0
// > ColorSelectPopup::textChanged @ 0x1004206f4
// > ColorSelectPopup::colorSelectClosed @ 0x1004209d4
//
// 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 SetupTriggerPopup::updateEditorLabel(SetupTriggerPopup *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) );
}
}