//
// SetGroupIDLayer::valuePopupClosed from 0x63969a to 0x6396da (64 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetGroupIDLayer::valuePopupClosed @ 0x6396de
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:23 +0000
//
int __fastcall SetGroupIDLayer::valuePopupClosed(SetGroupIDLayer *this, ConfigureValuePopup *a2, float a3)
{
float v3; // r4
float v5; // s15
bool v6; // cc
int result; // r0
v5 = COERCE_FLOAT(roundf());
v6 = v5 <= 0.0;
if ( v5 <= 0.0 )
v3 = 0.0;
else
LODWORD(v5) = (int)v5;
if ( !v6 )
v3 = v5;
result = (*(int (__fastcall **)(ConfigureValuePopup *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 26 )
{
result = GameManager::sharedState((GameManager *)((char *)&dword_18 + 2));
*(float *)(*(_DWORD *)(*(_DWORD *)(result + 408) + 2084) + 356) = v3;
}
return result;
}