//
// SetupPickupTriggerPopup::onPlusButton from 0x100043914 to 0x100043974 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x10076f408
//
// 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 SetupPickupTriggerPopup::onPlusButton(SetupPickupTriggerPopup *a1, cocos2d::CCObject *a2)
{
LevelEditorLayer *m_levelEditorLayer; // x0
int NextFreeItemID; // 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;
NextFreeItemID = LevelEditorLayer::getNextFreeItemID(m_levelEditorLayer, &v5);
sub_100017A98((__int64)&v5);
SetupTriggerPopup::updateValue(a1, 80, (float)NextFreeItemID);
}