//
// SetupCameraOffsetTrigger::valuePopupClosed from 0x1405adf40 to 0x1405ae003 (195 bytes)
//
// 5 xrefs:
// > ??> @ 0x1407ee4e8
// > ??> @ 0x1407f69b8
// > ??> @ 0x1408df2b8
// > ??> @ 0x1408df2c8
// > ??> @ 0x14092d8c0
//
// This function is hookable on this platform (idp: pc, 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 11:34:41 +0000
//
// Merged with: SetupCameraOffsetTrigger::valuePopupClosed, SetupMGTrigger::valuePopupClosed
__int64 __fastcall SetupCameraOffsetTrigger::valuePopupClosed(__int64 a1, __int64 a2, float a3)
{
cocos2d::CCString *v4; // rax
float v5; // xmm1_4
int v6; // xmm0_4
__int64 v7; // rax
unsigned int i; // ebx
struct cocos2d::CCObject *v9; // rax
v4 = cocos2d::CCString::createWithFormat("%.02f", a3);
v5 = fminf(20.0, cocos2d::CCString::floatValue(v4));
v6 = 1036831949;
if ( v5 >= 0.1 )
v6 = LODWORD(v5);
*(_DWORD *)(a1 + 372) = v6;
v7 = *(_QWORD *)(a1 + 16);
if ( v7 )
{
*(_DWORD *)(v7 + 1516) = v6;
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 24)); *((_DWORD *)v9 + 379) = *(_DWORD *)(a1 + 372) )
v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 24), i++);
}
return SetupCameraOffsetTrigger::updateEasingRateLabel(a1 - 664);
}