//
// SetGroupIDLayer::valuePopupClosed from 0x100042e4c to 0x100042ea8 (92 bytes)
//
// 2 xrefs:
// > j_SetGroupIDLayer::valuePopupClosed @ 0x100042ea8
// > ??> @ 0x1008b97d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 10:57:37 +0000
//
__int64 __fastcall SetGroupIDLayer::valuePopupClosed(float a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a3 + 64LL))(a3);
if ( (_DWORD)result == 26 )
{
result = GameManager::sharedState(result);
*(_DWORD *)(*(_QWORD *)(*(_QWORD *)(result + 552) + 3272LL) + 436LL) = (int)fmaxf(roundf(a1), 0.0);
}
return result;
}