//
// SetGroupIDLayer::valuePopupClosed from 0x974794 to 0x9747ec (88 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetGroupIDLayer::valuePopupClosed @ 0x9747f0
// > ??> @ 0xc7170
// > ??> @ 0x11c2220
//
// 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 SetGroupIDLayer::valuePopupClosed(SetGroupIDLayer *a1, ConfigureValuePopup *a2, float a3)
{
float v3; // s0
int v4; // w19
v3 = roundf(a3);
if ( v3 <= 0.0 )
v4 = 0;
else
v4 = (int)v3;
if ( ((unsigned int (*)(void))a2->getTag)() == 26 )
GameManager::sharedState()->m_levelEditorLayer->m_levelSettings->m_nextFreeID = v4;
}