// // SetupEventLinkPopup::onSelectEvent from 0x57fee4 to 0x57ff6e (138 bytes) // // 0 xrefs: // // 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::onSelectEvent(SetupEventLinkPopup *a1, cocos2d::CCObject *a2) { EffectGameObject *m_gameObject; // r1 int v4; // r1 SelectEventLayer *v5; // r0 std::set v6; // [sp+4h] [bp-4h] BYREF memset(&v6._M_t._M_impl._M_header, 0, 20); m_gameObject = a1->m_gameObject; v6._M_t._M_impl._M_header._M_left = &v6._M_t._M_impl._M_header; v6._M_t._M_impl._M_header._M_right = &v6._M_t._M_impl._M_header; if ( m_gameObject ) { v4 = (int)(&m_gameObject->m_canSpawnTriggers + 1); } else { if ( !cocos2d::CCArray::count(a1->m_gameObjects) ) goto LABEL_4; v4 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, 0) + 1636; } std::_Rb_tree,std::less,std::allocator>::operator=((int)&v6, v4); LABEL_4: v5 = SelectEventLayer::create(a1, &v6); v5->show(v5); std::_Rb_tree,std::less,std::allocator>::_M_erase( (int)&v6, v6._M_t._M_impl._M_header._M_parent); }
GD Web Decomp Icon

GD Web Decomp

Raw Source