//
// LevelEditorLayer::resetEffectTriggerOptim from 0x1000f19b0 to 0x1000f1a46 (150 bytes)
//
// 5 xrefs:
// > SetupTriggerPopup::onClose @ 0x1002390e7
// > SetupPortalPopup::onClose @ 0x100570173
// > SetupPortalPopup::keyBackClicked @ 0x1005709f3
// > sub_100570A20 @ 0x100570a4b
// > ColorSelectPopup::closeColorSelect @ 0x1007276b1
//
// 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 LevelEditorLayer::resetEffectTriggerOptim(LevelEditorLayer *a1, GameObject *a2, cocos2d::CCArray *a3)
{
cocos2d::ccArray *data; // rax
cocos2d::CCObject **arr; // r14
unsigned __int64 v5; // r15
if ( a2 )
{
if ( a2->m_dontIgnoreDuration )
sub_10028CC90();
}
else if ( a3 )
{
data = a3->data;
if ( data->num )
{
arr = data->arr;
v5 = (unsigned __int64)&arr[data->num - 1];
do
{
if ( !*arr )
break;
if ( HIBYTE((*arr)[22].m_uReference) == 1 )
sub_10028CC90();
++arr;
}
while ( (unsigned __int64)arr <= v5 );
}
}
}