//
// SetupObjectOptions2Popup::onPlusButton from 0x100041a9c to 0x100041afc (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x10076e3a8
//
// 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 SetupObjectOptions2Popup::onPlusButton(SetupObjectOptions2Popup *a1, cocos2d::CCObject *a2)
{
LevelEditorLayer *m_levelEditorLayer; // x0
int NextFreeEnterChannel; // w20
std::unordered_set v5; // [xsp+0h] [xbp-40h] BYREF
m_levelEditorLayer = GameManager::sharedState()->m_levelEditorLayer;
memset(&v5, 0, 32);
v5.__table_.__p3_.__value_ = 1.0;
NextFreeEnterChannel = LevelEditorLayer::getNextFreeEnterChannel(m_levelEditorLayer, &v5);
sub_100017A98((__int64)&v5);
SetupTriggerPopup::updateValue(a1, 343, (float)NextFreeEnterChannel);
}