//
// SetupCameraOffsetTrigger::valuePopupClosed from 0x100663720 to 0x1006637cf (175 bytes)
//
// 2 xrefs:
// > sub_100663850 @ 0x10066385c
// > ??> @ 0x100987878
//
// 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 SetupCameraOffsetTrigger::valuePopupClosed(
SetupCameraOffsetTrigger *a1,
ConfigureValuePopup *a2,
float a3)
{
cocos2d::CCString *v3; // rax
float v4; // xmm0_4
EffectGameObject *m_gameObject; // rax
unsigned int v6; // r14d
char v7; // [rsp+0h] [rbp-10h]
v3 = (cocos2d::CCString *)sub_1007AB580("%.02f", v7);
v4 = fmaxf(fminf(cocos2d::CCString::floatValue(v3), 20.0), 0.1);
a1->m_cameraEasingRate = v4;
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_easingRate = v4;
}
else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )
{
v6 = 0;
do
*(float *)(sub_1007200C0(a1->m_gameObjects, v6++) + 1500) = a1->m_cameraEasingRate;
while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) );
}
SetupCameraOffsetTrigger::updateEasingRateLabel(a1);
}