//
// SetupEventLinkPopup::updateEventIDs from 0x57ef6a to 0x57efac (66 bytes)
//
// 1 xrefs:
// > SelectEventLayer::onClose @ 0x57efc2
//
// 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 SetupEventLinkPopup::updateEventIDs(SetupEventLinkPopup *a1, std::set *a2)
{
EffectGameObject *m_gameObject; // r0
cocos2d::CCArray *m_gameObjects; // r0
cocos2d::ccArray *data; // r2
cocos2d::CCObject **arr; // r5
cocos2d::CCObject **v8; // r4
int v9; // r0
int v10; // t1
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(
(cocos2d::CCArray *)m_gameObject,
(cocos2d::CCObject *)a2);
else
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
data = m_gameObjects->data;
if ( data->num )
{
arr = data->arr;
v8 = &arr[data->num] + 0x3FFFFFFF;
while ( arr <= v8 )
{
v10 = (int)*arr++;
v9 = v10;
if ( !v10 )
break;
std::_Rb_tree,std::less,std::allocator>::operator=(v9 + 1636, (int)a2);
}
}
}
}