// // SetupEventLinkPopup::updateEventIDs from 0x1004074e8 to 0x100407570 (136 bytes) // // 1 xrefs: // > SelectEventLayer::onClose @ 0x100409178 // // 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 SetupEventLinkPopup::updateEventIDs(SetupEventLinkPopup *a1, std::set *a2) { EffectGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x0 cocos2d::ccArray *data; // x9 __int64 num; // x8 cocos2d::CCObject **arr; // x20 unsigned __int64 v9; // x21 cocos2d::CCObject *v10; // x8 m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A1B8((__int64)m_gameObject); if ( !m_gameObjects ) return; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) return; } data = m_gameObjects->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; v9 = (unsigned __int64)&arr[num - 1]; do { v10 = *arr; if ( !*arr ) break; if ( &v10[32].m_uOrderOfArrival != (int *)a2 ) sub_10041245C(&v10[32].m_uOrderOfArrival, a2->__tree_.__begin_node_, &a2->__tree_.__pair1_); ++arr; } while ( (unsigned __int64)arr <= v9 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source